/* ==========================================================================
   Habitat CCR — feuille de style principale
   Couleurs reprises du logo : bleu #10588C, vert #42A828.
   Motif signature : la trame du maillage acier galvanisé (Betolatt).
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--blue: #10588c;
	--blue-900: #0a3556;
	--blue-800: #0d4672;
	--blue-50: #eaf2f8;
	--green: #42a828;
	--green-700: #2e7d1e;
	--green-800: #256817;
	--ink: #16232f;
	--muted: #556676;
	--line: #d9e1e7;
	--concrete: #f2f4f3;
	--white: #fff;
	--steel: rgba(16, 88, 140, .14);

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-base: 1.0625rem;
	--fs-md: 1.3125rem;
	--fs-lg: 1.625rem;
	--fs-xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
	--fs-2xl: clamp(2.125rem, 1.3rem + 3.2vw, 3.5rem);

	--radius: 6px;
	--radius-lg: 14px;
	--gutter: clamp(16px, 4vw, 40px);
	--max: 1240px;
	--section: clamp(56px, 8vw, 104px);
	--header-h: 84px;

	/* Trame du maillage galvanisé */
	--mesh: repeating-linear-gradient(0deg, transparent 0 13px, var(--steel) 13px 14px), repeating-linear-gradient(90deg, transparent 0 13px, var(--steel) 13px 14px);
	--mesh-light: repeating-linear-gradient(0deg, transparent 0 13px, rgba(255, 255, 255, .08) 13px 14px), repeating-linear-gradient(90deg, transparent 0 13px, rgba(255, 255, 255, .08) 13px 14px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-900); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 {
	font-family: var(--font);
	font-stretch: 112%;
	font-weight: 760;
	line-height: 1.12;
	letter-spacing: -.01em;
	color: var(--blue-900);
	margin: 0 0 .6em;
	text-wrap: balance;
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); line-height: 1.25; }
h4 { font-size: var(--fs-base); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.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:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--white); padding: 10px 16px; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.35em;
	font: 650 var(--fs-sm)/1.2 var(--font); font-stretch: 105%;
	border-radius: var(--radius); border: 2px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { min-height: 54px; padding-inline: 1.6em; font-size: var(--fs-base); }
.btn--primary { background: var(--green-700); color: var(--white); }
.btn--primary:hover { background: var(--green-800); color: var(--white); }
.btn--ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--ghost:hover { background: var(--blue); color: var(--white); }
.btn--light { background: var(--white); color: var(--blue-900); }
.btn--light:hover { background: var(--blue-50); color: var(--blue-900); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .15s; }

/* ---------- En-tête ---------- */
.topbar { background: var(--blue-900); color: #cfe0ee; font-size: var(--fs-xs); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 6px; }
.topbar__links { gap: 20px !important; }
.topbar a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #9fd38e; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.masthead { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-logo { display: block; flex: none; }
.site-logo__img { width: auto; height: 58px; max-width: 200px; object-fit: contain; transition: height .2s; }
.site-header.is-scrolled .site-logo__img { height: 46px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: block; padding: 10px 12px; font-weight: 600; font-size: var(--fs-sm);
	color: var(--ink); text-decoration: none; border-radius: var(--radius);
}
.site-nav .menu > li > a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--blue); background: var(--blue-50); }
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 260px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(10, 53, 86, .12);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.site-nav .menu-item-has-children:hover > .sub-menu, .site-nav .menu-item-has-children:focus-within > .sub-menu, .site-nav .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { font-weight: 500; }
.site-nav .sub-menu a:hover { background: var(--concrete); color: var(--blue); }
.submenu-toggle { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--blue-900); padding: 8px; cursor: pointer; }

@media (max-width: 1100px) {
	.site-nav .menu a { padding-inline: 8px; }
}
@media (max-width: 980px) {
	.topbar__zone { display: none !important; }
	.topbar__inner { justify-content: center; }
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; z-index: 60;
		flex-direction: column; align-items: stretch; gap: 16px; padding: 20px var(--gutter) 120px;
		background: var(--white); overflow-y: auto;
		transform: translateX(100%); transition: transform .25s; visibility: hidden;
	}
	.site-nav.is-open { transform: none; visibility: visible; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
	.site-nav .menu > li > a { flex: 1; padding: 14px 4px; font-size: var(--fs-base); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; width: 100%; display: none; }
	.site-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
	.submenu-toggle { display: block; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
	.submenu-toggle::after { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
	.submenu-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
	.nav-open { overflow: hidden; }
	.site-logo__img { height: 48px; }
	:root { --header-h: 70px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section__title { font-size: var(--fs-xl); max-width: 22ch; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section__head .section__title { margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--concrete); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 88px); }
.hero__kicker { font-weight: 600; color: var(--green-700); font-size: var(--fs-sm); margin-bottom: 18px; }
.hero__title {
	font-size: clamp(2.125rem, 1.1rem + 3vw, 3.35rem);
	font-stretch: 118%; font-weight: 800; line-height: 1.04; letter-spacing: -.02em;
	margin-bottom: 22px;
}
.hero__lead { font-size: var(--fs-md); line-height: 1.55; color: #33475a; max-width: 38em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 38px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin: 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__facts div { min-width: 0; }
.hero__facts dt { font-size: var(--fs-lg); font-weight: 800; font-stretch: 118%; color: var(--blue); line-height: 1; }
.hero__facts dd { margin: 6px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.hero__media { position: relative; margin: 0; }
.hero__media::before {
	content: ""; position: absolute; inset: -28px -28px 28px 28px; z-index: 0;
	background: var(--mesh); border: 1px solid var(--steel); border-radius: var(--radius-lg);
}
.hero__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-lg); }
.hero__badge {
	position: absolute; z-index: 2; left: -24px; bottom: 28px; display: flex; align-items: center; gap: 12px;
	background: var(--blue-900); color: var(--white); padding: 14px 18px; border-radius: var(--radius); max-width: 300px;
	font-size: var(--fs-sm); line-height: 1.35;
}
.hero__badge strong { display: block; font-stretch: 110%; }
.hero__badge .icon { color: var(--green); }
@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__media::before { inset: -14px -14px 14px 14px; }
	.hero__media img { aspect-ratio: 4 / 3; }
	.hero__badge { left: 12px; bottom: 12px; }
}

/* ---------- Réassurance ---------- */
.reassurance { background: var(--blue-900); color: var(--white); padding-block: 28px; background-image: var(--mesh-light); }
.reassurance--light { background: var(--white); color: var(--ink); background-image: none; border-bottom: 1px solid var(--line); }
.reassurance__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.reassurance__item { display: flex; gap: 14px; align-items: flex-start; }
.reassurance__item .icon { color: var(--green); margin-top: 2px; }
.reassurance__item strong { display: block; font-stretch: 108%; font-size: var(--fs-base); line-height: 1.25; }
.reassurance__item span { font-size: var(--fs-sm); opacity: .85; line-height: 1.4; display: block; margin-top: 3px; }
.reassurance--light .reassurance__item span { color: var(--muted); opacity: 1; }
.reassurance__labels { display: flex; gap: 20px; margin-top: 20px; }
.reassurance__labels img { height: 56px; width: auto; background: var(--white); padding: 4px; border-radius: 4px; }
@media (max-width: 900px) { .reassurance__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .reassurance__list { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Services ---------- */
.services__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.services__intro { position: sticky; top: 140px; }
.services__intro p { color: var(--muted); }
.services__figure { margin: 28px 0 0; }
.services__figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); }
.services__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services__item a {
	display: grid; grid-template-columns: 52px 1fr 28px; gap: 18px; align-items: center;
	padding: 22px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
	transition: background-color .15s;
}
.services__item a:hover { background: var(--concrete); }
.services__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.services__text strong { display: block; font-size: var(--fs-md); font-stretch: 110%; color: var(--blue-900); line-height: 1.25; }
.services__text span { display: block; color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }
.services__arrow { color: var(--blue); }
.services__item--partner .services__icon { background: var(--blue-900); color: var(--green); }
@media (max-width: 900px) {
	.services__inner { grid-template-columns: 1fr; }
	.services__intro { position: static; }
	.services__figure { display: none; }
}

/* ---------- Partenaires Betosteel / Murex ---------- */
.partners { background: var(--blue-900); color: #dbe7f1; background-image: var(--mesh-light); }
.partners .section__title { color: var(--white); max-width: 26ch; }
.partners__head { max-width: 860px; }
.partners__lead { font-size: var(--fs-md); line-height: 1.6; }
.partners__logos { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.partners__plus { font-size: 28px; color: var(--green); font-weight: 300; }
.partner-logo { display: inline-flex; align-items: center; background: var(--white); border-radius: var(--radius); padding: 10px 18px; min-height: 64px; text-decoration: none; }
.partner-logo__img { max-height: 48px; width: auto; }
.partner-wordmark { font-stretch: 125%; font-weight: 800; letter-spacing: .02em; color: var(--blue-900); line-height: 1; font-size: 22px; }
.partner-wordmark b { color: #7e8b95; font-weight: 800; }
.partner-wordmark--murex { display: inline-flex; flex-direction: column; color: var(--green-700); }
.partner-wordmark--murex small { font-size: 11px; font-weight: 600; font-stretch: 100%; color: var(--blue-900); margin-top: 4px; letter-spacing: 0; }
.partners__process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 44px 0; }
.partners__process figure { margin: 0; position: relative; }
.partners__process img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.partners__process figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 650; color: var(--white); }
.partners__process figcaption b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green-700); font-size: var(--fs-sm); }
.partners__feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); overflow: hidden; }
.partners__feats li { background: var(--blue-900); padding: 22px; }
.partners__feats .icon { color: var(--green); display: block; margin-bottom: 10px; }
.partners__feats strong { display: block; color: var(--white); font-stretch: 110%; font-size: var(--fs-md); margin-bottom: 4px; }
.partners__feats span { font-size: var(--fs-sm); line-height: 1.5; }
.partners__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 860px) {
	.partners__process, .partners__feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.partners__process { grid-template-columns: 1fr; }
	.partners__feats { grid-template-columns: 1fr; }
}

/* ---------- Réalisations ---------- */
.works { background: var(--concrete); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters__btn {
	font: 600 var(--fs-sm)/1 var(--font); padding: 11px 16px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none;
}
.filters__btn span { color: var(--muted); font-weight: 500; }
.filters__btn:hover { border-color: var(--blue); color: var(--blue); }
.filters__btn.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.filters__btn.is-active span { color: #cfe0ee; }
.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card[hidden] { display: none; }
.work-card__link { display: block; text-decoration: none; color: inherit; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; height: 100%; border: 1px solid var(--line); }
.work-card__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--blue-50); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work-card__link:hover img { transform: scale(1.04); }
.work-card__body { padding: 18px 20px 22px; }
.work-card__cats { font-size: var(--fs-xs); font-weight: 650; color: var(--green-700); margin: 0 0 6px; }
.work-card__title { font-size: var(--fs-base); line-height: 1.3; margin: 0; color: var(--blue-900); }
.work-card__loc { display: flex; align-items: center; gap: 4px; margin: 10px 0 0; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 900px) { .works__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .works__grid { grid-template-columns: 1fr; } }

/* ---------- Méthode ---------- */
.process__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process__step { counter-increment: step; position: relative; padding: 56px 22px 0 0; }
.process__step::before {
	content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; display: grid; place-items: center;
	border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 750;
}
.process__step::after { content: ""; position: absolute; top: 20px; left: 48px; right: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); }
.process__step:last-child::after { display: none; }
.process__step h3 { font-size: var(--fs-base); margin-bottom: 8px; }
.process__step p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
@media (max-width: 900px) {
	.process__list { grid-template-columns: 1fr; gap: 26px; }
	.process__step { padding: 0 0 0 58px; }
	.process__step::after { display: none; }
}

/* ---------- Avis ---------- */
.reviews { background: var(--concrete); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; background: var(--white); padding: 28px; border-radius: var(--radius-lg); border-top: 4px solid var(--green); display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 18px; flex: 1; }
.review blockquote p { margin: 0; font-size: var(--fs-sm); line-height: 1.65; }
.review figcaption strong { display: block; color: var(--blue-900); }
.review figcaption span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ---------- Zones ---------- */
.zones__inner { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 64px); }
.zones__intro p { color: var(--muted); }
.zones__list { list-style: none; margin: 0; padding: 0; columns: 3 180px; column-gap: 24px; }
.zones__list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.zones__list a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 2px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: var(--fs-sm); }
.zones__list a span { color: var(--muted); font-weight: 400; }
.zones__list a:hover { color: var(--blue); }
@media (max-width: 860px) { .zones__inner { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg); background: var(--blue-50); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding-top: 16px; }
.post-card__meta { font-size: var(--fs-xs); color: var(--green-700); font-weight: 650; margin: 0 0 6px; }
.post-card__title { font-size: var(--fs-md); line-height: 1.25; margin: 0 0 8px; }
.post-card__title a { color: var(--blue-900); text-decoration: none; }
.post-card__title a:hover { color: var(--blue); text-decoration: underline; }
.post-card__excerpt { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
@media (max-width: 900px) { .news__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .news__grid { grid-template-columns: 1fr; } }

/* ---------- Devis ---------- */
.quote { background: var(--concrete); background-image: var(--mesh); }
.quote__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.quote__aside > p { color: #33475a; }
.quote__form { background: var(--white); padding: clamp(22px, 3vw, 38px); border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(10, 53, 86, .1); }
@media (max-width: 900px) { .quote__inner { grid-template-columns: 1fr; } }

.contact-card { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-card li { display: flex; gap: 14px; align-items: flex-start; }
.contact-card .icon { color: var(--blue); background: var(--white); border: 1px solid var(--line); border-radius: 50%; padding: 10px; width: 44px; height: 44px; }
.contact-card span { font-size: var(--fs-xs); color: var(--muted); display: flex; flex-direction: column; }
.contact-card a, .contact-card em { font-size: var(--fs-base); font-style: normal; font-weight: 650; color: var(--blue-900); text-decoration: none; }
.contact-card a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- Formulaires ---------- */
.hccr-form__title { font-size: var(--fs-lg); margin-bottom: 6px; }
.hccr-form__intro { color: var(--muted); font-size: var(--fs-sm); }
.hccr-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.hccr-form-wrap--compact .hccr-form__grid { grid-template-columns: 1fr; }
.hccr-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.hccr-field--full { grid-column: 1 / -1; }
.hccr-field label { font-size: var(--fs-sm); font-weight: 600; }
.hccr-field label span { color: #b3261e; }
.hccr-field input, .hccr-field select, .hccr-field textarea {
	width: 100%; font: 400 var(--fs-base)/1.4 var(--font); color: var(--ink);
	padding: 12px 14px; min-height: 48px; border: 1px solid #b9c6d0; border-radius: var(--radius); background: var(--white);
}
.hccr-field textarea { resize: vertical; }
.hccr-field input:focus, .hccr-field select:focus, .hccr-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(16, 88, 140, .2); }
.hccr-field .is-invalid { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.hccr-field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.hccr-field--check input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--green-700); }
.hccr-field--check label { font-weight: 400; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.hccr-form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 20px 0 0; }
.hccr-form-wrap--compact .hccr-form__actions .btn { width: 100%; }
.hccr-form__alt { font-size: var(--fs-sm); color: var(--muted); }
.hccr-form__status { margin-top: 12px; font-size: var(--fs-sm); }
.hccr-form__status.is-error, .hccr-form__notice.is-error { color: #8c1d18; }
.hccr-form__notice { padding: 16px 18px; border-radius: var(--radius); margin-bottom: 16px; }
.hccr-form__notice.is-success { background: #e6f4e1; color: #1d5512; border-left: 4px solid var(--green-700); font-weight: 600; }
.hccr-form__notice.is-error { background: #fbe9e7; border-left: 4px solid #b3261e; }
.hccr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .hccr-form__grid { grid-template-columns: 1fr; } }

/* ---------- En-tête de page ---------- */
.page-header { background: var(--concrete); padding-block: clamp(28px, 5vw, 64px); background-image: var(--mesh); }
.page-header__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.page-header--image .page-header__inner { grid-template-columns: 1.15fr .85fr; }
.page-header__title { font-size: var(--fs-2xl); font-stretch: 116%; margin-bottom: 14px; max-width: 24ch; }
.page-header__meta { color: var(--green-700); font-weight: 600; font-size: var(--fs-sm); }
.page-header__meta a { color: inherit; }
.page-header__intro { font-size: var(--fs-md); color: #33475a; max-width: 42em; }
.page-header__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.page-header__media { margin: 0; }
.page-header__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 860px) {
	.page-header--image .page-header__inner { grid-template-columns: 1fr; }
	.page-header__media { order: -1; }
	.page-header__media img { aspect-ratio: 16 / 9; }
}
.breadcrumb ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: #9aa8b3; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }

/* ---------- Mise en page article + colonne ---------- */
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.layout-aside__side { display: grid; gap: 24px; }
.sticky-card { position: sticky; top: 130px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 14px 34px rgba(10, 53, 86, .08); }
.sticky-card .hccr-form__title { font-size: var(--fs-md); }
.side-panel { background: var(--concrete); border-radius: var(--radius-lg); padding: 24px; }
.side-panel h2, .side-links h2 { font-size: var(--fs-md); }
.side-links ul { list-style: none; padding: 0; margin: 0; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links a { display: block; padding: 10px 0; text-decoration: none; font-weight: 550; font-size: var(--fs-sm); }
.mini-steps { margin: 0; padding-left: 1.2em; }
.mini-steps li { margin-bottom: 8px; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 980px) {
	.layout-aside { grid-template-columns: 1fr; }
	.sticky-card { position: static; }
}

/* ---------- Contenu éditorial ---------- */
.prose { max-width: 760px; }
.layout-aside .prose, .layout-aside__main.prose { max-width: none; }
.prose > * + h2 { margin-top: 1.8em; }
.prose h2 { font-size: var(--fs-lg); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--green-700); }
.prose ol li::marker { color: var(--blue); font-weight: 700; }
.prose img { border-radius: var(--radius); }
.prose figure { margin: 1.6em 0; }
.prose figure img { width: 100%; max-height: 520px; object-fit: cover; }
.prose .lead { font-size: var(--fs-md); color: #33475a; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--green); color: #33475a; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: var(--fs-sm); }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px; text-align: left; }
.entry-thumb { margin: 0 0 28px; }
.entry-thumb img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.entry-tags a { display: inline-block; font-size: var(--fs-xs); padding: 4px 10px; border-radius: 999px; background: var(--concrete); text-decoration: none; margin: 0 4px 4px 0; }
.gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 1.5em 0 !important; }
.gallery .gallery-item { margin: 0 !important; width: auto !important; max-width: none !important; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 0 !important; border-radius: var(--radius); }
.gallery br { display: none; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } }

.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ville-services { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ville-services li { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.ville-services a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue-900); }
.ville-services a .icon { color: var(--blue); }
.ville-services a:hover strong { text-decoration: underline; }
.ville-services span { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: 6px; }
@media (max-width: 600px) { .ville-services { grid-template-columns: 1fr; } }
.partner-callout { margin: 2em 0; padding: 28px; border-radius: var(--radius-lg); background-color: var(--blue-900); background-image: var(--mesh-light); color: #dbe7f1; }
.partner-callout h2 { color: var(--white); margin-top: 0 !important; font-size: var(--fs-lg); }
.partner-callout a { color: #a9dd96; }
.partner-callout__logos { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.partner-callout__logos > * { background: var(--white); padding: 8px 14px; border-radius: var(--radius); }
.partner-callout .partner-wordmark { font-size: 18px; }
.partner-callout .partner-logo__img { max-height: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 650; color: var(--blue-900); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #33475a; }
.neighbors { list-style: none; padding: 0 !important; columns: 2 260px; }
.neighbors li { break-inside: avoid; }
.neighbors span { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Annuaire des villes ---------- */
.villes-directory { display: grid; gap: 40px; }
.villes-directory h2 { font-size: var(--fs-lg); border-bottom: 2px solid var(--blue); padding-bottom: 10px; }
.villes-directory h2 small { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; font-stretch: 100%; }
.villes-directory ul { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: 24px; }
.villes-directory li { break-inside: avoid; }
.villes-directory a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink); font-size: var(--fs-sm); }
.villes-directory a:hover { color: var(--blue); text-decoration: underline; }
.villes-directory a span { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-layout__info h2 { font-size: var(--fs-lg); }
.contact-layout__forms { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 34px); }
.map-embed { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--concrete); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs button { font: 650 var(--fs-sm)/1 var(--font); padding: 14px 16px; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- Encadré devis (articles) ---------- */
.cta-box {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
	margin: 2em 0; padding: 26px 28px; border-radius: var(--radius-lg);
	background: var(--blue-50); border-left: 5px solid var(--green-700);
}
.cta-box__text { flex: 1 1 320px; }
.cta-box__title { font-size: var(--fs-md); font-weight: 750; font-stretch: 110%; color: var(--blue-900); margin: 0 0 4px; }
.cta-box__text p:last-child { margin: 0; color: #33475a; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-box--end { background-color: var(--blue-900); background-image: var(--mesh-light); border-left-color: var(--green); }
.cta-box--end .cta-box__title { color: var(--white); }
.cta-box--end .cta-box__text p:last-child { color: #dbe7f1; }
.cta-box--end .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .6); }
.cta-box--end .btn--ghost:hover { background: var(--white); color: var(--blue-900); }
body > .site-main > .cta-box { max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto var(--section); width: calc(100% - 2 * var(--gutter)); }

/* ---------- Pagination / recherche ---------- */
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 40px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pagination .current { background: var(--blue); color: var(--white); border-color: var(--blue); }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b9c6d0; border-radius: var(--radius); font: inherit; }
.search-submit { min-height: 48px; padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--blue); color: var(--white); font: 600 var(--fs-sm) var(--font); cursor: pointer; }

/* ---------- Pied de page ---------- */
.site-footer { background: #082a45; color: #b9cddd; font-size: var(--fs-sm); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 48px; }
.site-footer .site-logo__img { height: 70px; max-width: 220px; margin-bottom: 18px; }
.site-footer__title { color: var(--white); font-size: var(--fs-base); margin-bottom: 16px; }
.site-footer a { color: #dbe7f1; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .btn { width: auto; }
.site-footer__contact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--green); margin-top: 3px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__links--cols { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.site-footer__more { display: inline-block; margin-top: 14px; font-weight: 650; color: #a9dd96 !important; }
.site-footer__partners { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.site-footer__partners > span { width: 100%; font-size: var(--fs-xs); color: #8fa8bd; }
.site-footer__partners a { background: var(--white); border-radius: var(--radius); padding: 6px 12px; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__partners .partner-wordmark { font-size: 15px; }
.site-footer__partners .partner-wordmark--murex small { font-size: 9px; }
.site-footer__partners .partner-logo__img { max-height: 32px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 20px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 2px; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 980px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
	.site-footer__grid { grid-template-columns: 1fr; padding-top: 44px; }
	.site-footer { padding-bottom: 70px; }
}

/* ---------- Barre de contact mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1.3fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 70;
		background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 53, 86, .08);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; font-size: 12px; font-weight: 650; color: var(--blue-900); text-decoration: none; }
	.mobile-bar__main { background: var(--green-700); color: var(--white) !important; }
	body { padding-bottom: 62px; }
}

/* ---------- Chatbot WhatsApp ---------- */
.hccr-chat { position: fixed; right: 20px; bottom: 20px; z-index: 80; font-size: var(--fs-sm); }
.hccr-chat__toggle {
	display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
	background: #1f9d55; color: var(--white); border-radius: 999px; padding: 10px 18px 10px 12px;
	font: 650 var(--fs-sm)/1 var(--font); box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}
.hccr-chat__toggle:hover { background: #17834a; }
.hccr-chat.is-open .hccr-chat__toggle-label { display: none; }
.hccr-chat.is-open .hccr-chat__toggle { padding: 12px; }
.hccr-chat.has-hint .hccr-chat__toggle { animation: hccr-nudge 1.2s ease 2; }
@keyframes hccr-nudge { 0%, 100% { transform: none; } 30% { transform: translateY(-6px); } 60% { transform: translateY(0); } }
.hccr-chat__panel {
	position: absolute; right: 0; bottom: 70px; width: min(380px, calc(100vw - 24px));
	background: #efeae2; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
	display: flex; flex-direction: column; max-height: min(620px, calc(100vh - 120px));
}
.hccr-chat__panel[hidden] { display: none; }
.hccr-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #075e54; color: var(--white); }
.hccr-chat__head strong { display: block; font-size: var(--fs-base); }
.hccr-chat__head span { font-size: var(--fs-xs); opacity: .85; }
.hccr-chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--green-700); display: grid; place-items: center; flex: none; }
.hccr-chat__close { margin-left: auto; background: none; border: 0; color: var(--white); cursor: pointer; padding: 6px; }
.hccr-chat__body { padding: 16px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 260px; }
.hccr-msg { max-width: 85%; padding: 9px 12px; border-radius: 10px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); white-space: pre-line; }
.hccr-msg--bot { background: var(--white); align-self: flex-start; border-top-left-radius: 2px; }
.hccr-msg--me { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.hccr-msg--typing { display: flex; gap: 4px; padding: 12px 14px; }
.hccr-msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa5ad; animation: hccr-dot 1s infinite; }
.hccr-msg--typing span:nth-child(2) { animation-delay: .15s; }
.hccr-msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes hccr-dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.hccr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.hccr-chip {
	font: 600 var(--fs-xs)/1.2 var(--font); padding: 9px 12px; min-height: 36px; border-radius: 999px; cursor: pointer;
	background: var(--white); border: 1px solid #0b8a73; color: #075e54; text-decoration: none; display: inline-flex; align-items: center;
}
.hccr-chip:hover { background: #075e54; color: var(--white); }
.hccr-chip--wa { background: #1f9d55; border-color: #1f9d55; color: var(--white); }
.hccr-chat__input { display: flex; gap: 8px; padding: 10px; background: #f0f0f0; }
.hccr-chat__input[hidden] { display: none; }
.hccr-chat__input input { flex: 1; min-height: 44px; border: 0; border-radius: 999px; padding: 0 16px; font: 400 var(--fs-base) var(--font); }
.hccr-chat__send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #075e54; color: var(--white); display: grid; place-items: center; cursor: pointer; }
.hccr-chat__legal { margin: 0; padding: 8px 14px 10px; font-size: 11px; color: #5d6b74; background: #f0f0f0; }
.hccr-chat__legal a { color: inherit; }
@media (max-width: 760px) {
	.hccr-chat { right: 12px; bottom: 76px; }
	.hccr-chat__toggle-label { display: none; }
	.hccr-chat__toggle { padding: 12px; }
	.hccr-chat__panel { bottom: 64px; }
}

/* ---------- Divers ---------- */
.home-text { padding-top: 0; }
.widget { margin-bottom: 32px; }
.alignwide { max-width: var(--max); }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: var(--fs-xs); color: var(--muted); }
.is-elementor .site-main > .elementor { width: 100%; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .mobile-bar, .hccr-chat, .sticky-card, .cta-box { display: none !important; }
}
