/* ==========================================================================
   ABC Pro Services — thème premium
   Design system : bleu marine du logo, orange pour l'action, gris très clair
   pour les surfaces secondaires. Une seule famille : Plus Jakarta Sans.
   ========================================================================== */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"),
		url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
	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;
}

:root {
	--navy: #0a2f66;
	--navy-700: #0b3878;
	--navy-900: #062048;
	--ink: #031a38;
	--blue: #1d5fd6;
	--orange: #f26a0f;          /* décoratif : icônes, filets */
	--orange-btn: #c2470a;      /* boutons : contraste AA avec le blanc */
	--orange-btn-hover: #a63c07;
	--amber: #f7a21b;           /* mise en valeur sur fond marine */
	--paper: #f1f5f9;
	--paper-2: #f7f9fc;
	--line: #dbe3ee;
	--text: #10213f;
	--muted: #4a5a76;
	--white: #fff;
	--wa: #0e7a43;
	--wa-float: #25d366;
	--danger: #b42318;
	--success: #0e7a43;

	--font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--radius: 6px;
	--radius-lg: 10px;
	--shadow: 0 1px 2px rgba(6, 32, 72, .06), 0 8px 24px -12px rgba(6, 32, 72, .22);
	--gutter: 20px;
	--container: 1240px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 92px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--navy); font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
.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: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--navy); color: var(--white); font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }
.site-main:focus { outline: none; }
.icon { flex: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }
.section { padding-block: 56px; }
@media (min-width: 1024px) { .section { padding-block: 80px; } }
.section--paper { background: var(--paper); }

.section-head { margin-bottom: 28px; }
.section-head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head--center::before {
	content: ""; display: block; width: 64px; height: 4px; margin: 0 auto 18px;
	background: var(--orange); border-radius: 2px;
}
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.section-head--split .section-lead { margin-bottom: 0; }
.section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); margin-bottom: .3em; }
.section-title--light { color: var(--white); }
.section-lead { color: var(--muted); font-size: 1.0625rem; margin-bottom: 0; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 11px 22px;
	border: 2px solid transparent; border-radius: var(--radius);
	font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
	cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange-btn); color: var(--white); }
.btn--primary:hover { background: var(--orange-btn-hover); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-900); color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--whatsapp { background: var(--wa); color: var(--white); }
.btn--whatsapp:hover { background: #0a5f34; color: var(--white); }
.btn--large { min-height: 54px; padding: 13px 26px; font-size: 1.0625rem; }
.btn--small { min-height: 44px; padding: 9px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--wa-icon {
	width: 44px; min-height: 44px; padding: 0; flex: none;
	color: var(--wa); border-color: #b6dfc8; background: #f1faf5;
}
.btn--wa-icon:hover { background: var(--wa); border-color: var(--wa); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link { font-weight: 700; color: var(--navy); }
.pill {
	display: inline-flex; align-items: center; min-height: 30px; padding: 3px 12px;
	border: 1.5px solid var(--orange); border-radius: 6px; background: var(--white);
	color: var(--orange-btn); font-size: .8125rem; font-weight: 700; text-decoration: none;
}
.pill:hover { background: var(--orange-btn); border-color: var(--orange-btn); color: var(--white); }

/* ---------- Barre de coordonnées ---------- */
.topbar { background: var(--navy); color: var(--white); font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; gap: 8px 24px; min-height: 40px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar__address { display: none; align-items: center; gap: 8px; margin: 0; min-height: 40px; }
.topbar__links { display: flex; align-items: center; gap: 4px 20px; list-style: none; margin-left: auto; }
.topbar__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; white-space: nowrap; }
.topbar__mail { display: none; }
.topbar__social { display: none; }
.social { display: flex; gap: 6px; list-style: none; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--white); }
.social a:hover { background: rgba(255,255,255,.12); }
@media (max-width: 479px) { .topbar__links { margin-inline: auto; } }
@media (min-width: 768px) {
	.topbar__address { display: inline-flex; }
	.topbar__mail { display: list-item; }
}
@media (min-width: 1024px) { .topbar__social { display: flex; } }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--white); border-bottom: 1px solid var(--line);
	transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(6, 32, 72, .35); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.site-header__brand { flex: none; }
.custom-logo-link { display: block; }
.custom-logo { width: 128px; height: auto; }
@media (min-width: 1024px) { .custom-logo { width: 170px; } }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-header__quote { display: none; }
@media (min-width: 560px) { .site-header__quote { display: inline-flex; min-height: 44px; padding: 8px 16px; font-size: .9375rem; } }

.menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: var(--radius);
	background: var(--white); color: var(--navy); cursor: pointer;
}
.menu-toggle .menu-toggle__open { display: inline-flex; }
.menu-toggle .menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex; }

/* Navigation mobile : panneau sous l'en-tête */
.site-nav {
	position: fixed; inset: calc(var(--header-h) + var(--topbar-h, 0px)) 0 0 0; z-index: 99;
	display: none; flex-direction: column; gap: 20px;
	padding: 16px var(--gutter) 32px; overflow-y: auto;
	background: var(--white); border-top: 1px solid var(--line);
}
.site-nav.is-open { display: flex; }
.site-nav .menu { list-style: none; }
.site-nav .menu > li { border-bottom: 1px solid var(--line); position: relative; }
.site-nav .menu a {
	display: flex; align-items: center; min-height: 52px; padding: 6px 48px 6px 0;
	color: var(--navy); font-weight: 700; font-size: 1.0625rem; text-decoration: none;
}
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current-menu-ancestor > a,
.site-nav .menu .current_page_parent > a { color: var(--orange-btn); }
.site-nav .sub-menu { display: none; list-style: none; padding: 0 0 10px 14px; border-left: 2px solid var(--line); margin-left: 4px; }
.site-nav .sub-menu a { min-height: 44px; font-weight: 600; font-size: 1rem; }
.site-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
.submenu-toggle {
	position: absolute; right: 0; top: 4px; width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: var(--radius); background: var(--paper); color: var(--navy); cursor: pointer;
}
.submenu-toggle .icon { transition: transform .2s var(--ease); }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-nav__extra { display: grid; gap: 10px; }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
	.menu-toggle { display: none; }
	.site-nav {
		position: static; display: flex; flex-direction: row; align-items: center;
		padding: 0; overflow: visible; border: 0; background: none; margin-left: auto;
	}
	.site-nav__extra { display: none; }
	.site-header__actions { margin-left: 8px; }
	.site-header__quote { display: inline-flex; min-height: 48px; padding: 10px 20px; font-size: 1rem; }
	.site-nav .menu { display: flex; align-items: center; gap: 2px; }
	.site-nav .menu > li { border: 0; }
	.site-nav .menu > li > a {
		position: relative; min-height: var(--header-h); padding: 0 14px;
		font-size: .9688rem; font-weight: 700;
	}
	.site-nav .menu > li > a::after {
		content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 3px;
		border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s var(--ease);
	}
	.site-nav .menu > li > a:hover::after,
	.site-nav .menu > .current-menu-item > a::after,
	.site-nav .menu > .current-menu-ancestor > a::after,
	.site-nav .menu > .current_page_parent > a::after { transform: scaleX(1); }
	.site-nav .menu > .current-menu-item > a,
	.site-nav .menu > .current-menu-ancestor > a,
	.site-nav .menu > .current_page_parent > a { color: var(--orange-btn); }
	.site-nav .menu > .menu-item-has-children > a { padding-right: 32px; }
	.site-nav .menu > .menu-item-has-children > a::after { right: 32px; }
	.submenu-toggle { top: 50%; right: 4px; width: 26px; height: 26px; margin-top: -13px; background: none; }
	.site-nav .sub-menu {
		position: absolute; left: 0; top: calc(100% - 12px); min-width: 280px; z-index: 10;
		display: block; padding: 10px; margin: 0; border: 1px solid var(--line); border-top: 3px solid var(--orange);
		border-radius: 0 0 var(--radius) var(--radius); background: var(--white); box-shadow: var(--shadow);
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
	}
	.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 { min-height: 40px; padding: 8px 12px; border-radius: 4px; font-size: .9375rem; }
	.site-nav .sub-menu a:hover { background: var(--paper); color: var(--orange-btn); }
}
@media (min-width: 1024px) and (max-width: 1239px) {
	.custom-logo { width: 136px; }
	.site-header__inner { gap: 8px; }
	.site-nav .menu > li > a { padding: 0 9px; font-size: .9063rem; }
	.site-nav .menu > li > a::after { left: 9px; right: 9px; }
	.site-nav .menu > .menu-item-has-children > a { padding-right: 27px; }
	.site-nav .menu > .menu-item-has-children > a::after { right: 27px; }
	.site-nav .submenu-toggle { right: 2px; }
	.site-header__quote { padding: 8px 14px; font-size: .9375rem; }
	.site-header__quote .icon { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__photo { position: relative; aspect-ratio: 16 / 9; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__panel { display: none; }
.hero__inner { position: relative; z-index: 2; padding-block: 32px 40px; }
.hero__text { max-width: 600px; }
.hero__eyebrow {
	display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
	color: var(--amber); font-weight: 800; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase;
}
.hero__eyebrow::before { content: ""; width: 40px; height: 3px; border-radius: 2px; background: var(--orange); }
.hero__title { color: var(--white); font-size: clamp(2rem, 1.35rem + 2.9vw, 3.25rem); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 18px; }
.hero__highlight { color: var(--amber); }
.hero__lead { font-size: 1.0625rem; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }

/* Le panneau marine recouvre la photo en diagonale ; la photo commence au pied de la diagonale
   (--pl, en % de la largeur) et le haut du panneau s'arrête à --pw %. */
@media (min-width: 1024px) {
	.hero { --pw: 56; --pl: 45; min-height: 480px; display: flex; align-items: center; }
	.hero__photo { position: absolute; inset: 0 0 0 auto; width: calc((100 - var(--pl)) * 1%); aspect-ratio: auto; z-index: -2; }
	.hero__photo img { object-position: 0% 40%; }
	.hero__panel {
		display: block; position: absolute; inset: 0 auto 0 0; width: calc(var(--pw) * 1%); z-index: -1;
		background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
		clip-path: polygon(0 0, 100% 0, calc(var(--pl) / var(--pw) * 100%) 100%, 0 100%);
	}
	.hero__panel::after {
		content: ""; position: absolute; inset: 0; background: var(--orange);
		clip-path: polygon(calc(100% - 7px) 0, 100% 0, calc(var(--pl) / var(--pw) * 100% + 1px) 100%, calc(var(--pl) / var(--pw) * 100% - 6px) 100%);
	}
	.hero__inner { padding-block: 56px; }
	.hero__text { max-width: 470px; }
	.hero__title { font-size: 2.5rem; }
	.hero__lead { font-size: 1rem; max-width: 430px; }
	.hero__actions .btn--large { min-height: 50px; padding: 11px 18px; font-size: 1rem; }
}
@media (min-width: 1280px) {
	.hero { --pw: 54; --pl: 45; min-height: 540px; }
	.hero__text { max-width: 580px; }
	.hero__title { font-size: 2.875rem; }
	.hero__lead { font-size: 1.0625rem; max-width: 520px; }
	.hero__actions .btn--large { min-height: 54px; padding: 13px 24px; font-size: 1.0625rem; }
}
@media (min-width: 1440px) { .hero { --pw: 54; --pl: 45; min-height: 580px; } .hero__text { max-width: 600px; } .hero__title { font-size: 3.125rem; } }
@media (min-width: 1700px) { .hero { --pw: 56; --pl: 48; min-height: 640px; } }

/* ---------- Arguments ---------- */
.advantages { background: var(--paper); border-bottom: 1px solid var(--line); }
.advantages__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 24px; list-style: none; }
.advantage { display: flex; align-items: center; gap: 14px; }
.advantage__icon { color: var(--orange); display: inline-flex; }
.advantage__text { display: grid; line-height: 1.35; }
.advantage__text strong { color: var(--navy); font-size: 1rem; }
.advantage__text span { color: var(--muted); font-size: .9063rem; }
@media (min-width: 600px) { .advantages__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; } }
@media (min-width: 1024px) { .advantages__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 22px; } }
@media (min-width: 1024px) and (max-width: 1279px) { .advantage__icon .icon { width: 30px; height: 30px; } .advantage__text strong { font-size: .9375rem; } .advantage__text span { font-size: .8438rem; } }

/* ---------- Univers de produits ---------- */
.univers__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; list-style: none; }
@media (min-width: 600px) { .univers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .univers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .univers__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1280px) { .univers__grid { gap: 18px; } }
.univers-tile { min-width: 0; }
.univers-tile__link {
	display: flex; flex-direction: column; height: 100%; overflow: hidden;
	border-radius: var(--radius-lg); background: var(--navy); color: var(--white); text-decoration: none;
	box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.univers-tile__link:hover { color: var(--white); transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(6,32,72,.5); }
.univers-tile__media { position: relative; display: block; aspect-ratio: 2 / 1; background: var(--navy-700); overflow: hidden; }
.univers-tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.univers-tile__link:hover .univers-tile__media img { transform: scale(1.04); }
.univers-tile__body { position: relative; display: grid; align-content: start; gap: 6px; padding: 14px 64px 18px 18px; flex: 1; }
.univers-tile__name { font-weight: 800; font-size: 1.0625rem; line-height: 1.25; }
.univers-tile__desc { font-size: .875rem; line-height: 1.45; color: rgba(255,255,255,.85); }
.univers-tile__arrow {
	position: absolute; right: 16px; bottom: 18px; display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 5px; background: var(--orange); color: var(--white);
}
@media (min-width: 1024px) {
	.univers-tile__media { aspect-ratio: 16 / 10; }
	.univers-tile__body { padding: 12px 14px 52px; }
	.univers-tile__name { font-size: 1rem; }
	.univers-tile__desc { font-size: .8125rem; }
	.univers-tile__arrow { right: 12px; bottom: 12px; width: 30px; height: 30px; }
}
@media (min-width: 1280px) {
	.univers-tile__body { padding: 14px 54px 16px 16px; }
	.univers-tile__name { font-size: 1.0625rem; }
	.univers-tile__desc { font-size: .875rem; }
	.univers-tile__arrow { right: 14px; bottom: 16px; }
}

/* ---------- Services (bloc partagé) ---------- */
.services-split { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper-2); border-block: 1px solid var(--line); }
.services-split__visual { position: relative; background: var(--navy); min-height: 260px; display: flex; align-items: center; justify-content: center; padding: 28px var(--gutter); }
.services-split__visual--photo { padding: 0; }
.services-split__visual--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.services-split__content { padding: 44px var(--gutter) 52px; }
.services-split__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 26px 0 30px; }
.service-list { list-style: none; display: grid; gap: 18px; align-content: start; }
.service-item { display: flex; gap: 14px; align-items: flex-start; }
.service-item__icon { color: var(--orange); display: inline-flex; padding-top: 2px; }
.service-item__title { display: block; font-weight: 800; color: var(--navy); text-decoration: none; line-height: 1.3; font-size: 1.0313rem; }
a.service-item__title:hover { color: var(--orange-btn); text-decoration: underline; }
.service-item__text { display: block; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
@media (min-width: 700px) {
	.services-split__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
	.services-split__cols .service-list + .service-list { border-left: 1px solid var(--line); padding-left: 24px; margin-left: 24px; }
}
@media (min-width: 1024px) {
	.services-split { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
	.services-split__visual { min-height: 460px; padding: 40px; }
	.services-split__content { padding: 56px var(--gutter) 56px 44px; max-width: 800px; }
}
@media (min-width: 1280px) { .services-split { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); } .services-split__content { padding: 64px var(--gutter) 64px 56px; } }

/* Schéma d'installation (fond marine) */
.diagram { margin: 0; width: 100%; max-width: 380px; }
.diagram__svg { display: block; width: 100%; height: auto; overflow: visible; }
.diagram--dark .diagram__wire { stroke: #7fa8ea; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.diagram--dark .diagram__current { display: none; }
.diagram--dark .diagram__sun { fill: var(--amber); }
.diagram--dark .diagram__rays path { stroke: var(--amber); stroke-width: 3; stroke-linecap: round; fill: none; }
.diagram--dark .diagram__panel { fill: var(--blue); stroke: #cfe0ff; stroke-width: 2; stroke-linejoin: round; }
.diagram--dark .diagram__panel-grid { stroke: #cfe0ff; stroke-width: 1.3; fill: none; }
.diagram--dark .diagram__mask { fill: var(--navy); }
.diagram--dark .diagram__dot { fill: #cfe0ff; }
.diagram--dark .diagram__box { fill: var(--navy-900); stroke: #cfe0ff; stroke-width: 2.5; }
.diagram--dark .diagram__symbol { stroke: #cfe0ff; stroke-width: 2.5; stroke-linecap: round; fill: none; }
.diagram--dark .diagram__symbol--thin { stroke-width: 2; }
.diagram--dark .diagram__battery { stroke-width: 3; }
.diagram--dark .diagram__house { fill: var(--navy-900); stroke: #cfe0ff; stroke-width: 2.5; stroke-linejoin: round; }
.diagram--dark .diagram__window { fill: var(--amber); }
.diagram--dark .diagram__roof { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.diagram--dark .diagram__link text { fill: var(--white); font-family: var(--font); font-size: 17px; font-weight: 800; }
.diagram--dark .diagram__link .diagram__sub { fill: #b9c9e4; font-size: 13px; font-weight: 500; }
.diagram--dark .diagram__link:hover text:not(.diagram__sub),
.diagram--dark .diagram__link:focus-visible text:not(.diagram__sub) { fill: var(--amber); text-decoration: underline; }
.diagram--dark .diagram__link:focus-visible { outline: none; }
.diagram__caption { margin-top: 12px; font-size: .8125rem; color: #b9c9e4; text-align: center; }

/* ---------- Stockage d'énergie ---------- */
.storage { background: linear-gradient(120deg, var(--navy-900), var(--navy) 60%, var(--navy-700)); color: var(--white); position: relative; overflow: hidden; }
.storage::before {
	content: ""; position: absolute; right: 0; top: 0; width: 150px; height: 150px;
	background: var(--orange); clip-path: polygon(45% 0, 100% 0, 100% 55%);
}
.storage__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.storage__text { color: rgba(255,255,255,.88); font-size: 1.0625rem; max-width: 560px; }
.storage__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.storage__products { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: center; }
@media (min-width: 600px) { .storage__products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .storage__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; } }
@media (min-width: 1024px) and (max-width: 1279px) { .storage__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; } .storage__products { grid-template-columns: minmax(0, 1fr); } }
.mini-product__link {
	display: flex; gap: 14px; align-items: center; height: 100%; padding: 12px;
	border-radius: var(--radius-lg); background: var(--white); color: var(--text); text-decoration: none;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.mini-product__link:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(0,0,0,.6); color: var(--text); }
.mini-product__media { flex: none; width: 92px; border-radius: var(--radius); overflow: hidden; }
.mini-product__media .abc-media { aspect-ratio: 4 / 3; }
.mini-product__media .abc-media__note { display: none; }
.mini-product__body { display: grid; gap: 2px; min-width: 0; }
.mini-product__name { font-weight: 800; color: var(--navy); line-height: 1.25; }
.mini-product__text { font-size: .875rem; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.check-list { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.check-list .icon { color: var(--orange); margin-top: 2px; }
.check-list--light li { color: var(--white); font-weight: 600; }
.check-list--light .icon { color: var(--amber); }

/* ---------- À propos (accueil) ---------- */
.about-split__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.about-split__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.about-split__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-split__text p { color: var(--muted); }
.about-split__points { list-style: none; display: grid; gap: 16px; }
.about-split__points li { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--navy); }
.about-split__icon { color: var(--orange); display: inline-flex; }
@media (min-width: 700px) { .about-split__points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.about-split__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2.8fr); gap: 32px; }
	.about-split__grid--noimg { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
	.about-split__photo { aspect-ratio: 11 / 8; }
	.about-split__points { grid-template-columns: minmax(0, 1fr); border-left: 1px solid var(--line); padding-left: 28px; gap: 20px; }
	.about-split__points li { font-size: .9375rem; }
}
@media (min-width: 1280px) { .about-split__grid { gap: 44px; } }

/* ---------- Chiffres clés ---------- */
.stats { background: var(--navy); color: var(--white); }
.stats__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-block: 28px; }
@media (min-width: 1024px) { .stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: flex; align-items: center; gap: 14px; }
.stat__icon { color: var(--amber); display: inline-flex; }
.stat__value { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.stat__label { font-size: .9063rem; color: rgba(255,255,255,.85); }

/* ---------- Articles ---------- */
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.post-card {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow);
}
.post-card__media { display: block; aspect-ratio: 16 / 7; background: var(--paper); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--orange); }
.post-card > .post-card__cat {
	display: inline-flex; position: relative; align-self: flex-start; margin: -17px 0 0 18px; z-index: 1;
	min-height: 30px; align-items: center; padding: 3px 12px; border: 1.5px solid var(--orange); border-radius: 6px;
	background: var(--white); color: var(--orange-btn); font-size: .8125rem; font-weight: 700; text-decoration: none;
}
.post-card > .post-card__cat:hover { background: var(--orange-btn); color: var(--white); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 20px 18px; }
.post-card__title { font-size: 1.1875rem; line-height: 1.3; margin-bottom: 12px; }
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:hover { color: var(--orange-btn); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: auto 0 0; font-size: .8125rem; color: var(--muted); }
.post-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta > span + span { padding-left: 14px; border-left: 1px solid var(--line); }
.post-meta--light { color: rgba(255,255,255,.85); }
.post-meta--light > span + span { border-color: rgba(255,255,255,.3); }

/* ---------- Appel à l'action ---------- */
.cta-band { padding-block: 0 56px; }
.section + .cta-band, .services-page + .cta-band { padding-top: 0; }
.cta-band__box {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; gap: 14px; padding: 32px 24px;
	border-radius: var(--radius-lg); background: linear-gradient(110deg, var(--navy-900), var(--navy) 55%, #0d4a96);
	color: var(--white);
}
.cta-band__box::after {
	content: ""; position: absolute; top: 0; right: 0; width: 120px; height: 100%; z-index: -1;
	background: var(--orange); clip-path: polygon(55% 0, 100% 0, 100% 55%);
}
.cta-band__photo { display: none; }
.cta-band__title { color: var(--white); font-size: clamp(1.3rem, 1rem + 1.2vw, 1.75rem); margin: 0; }
.cta-band__text { margin: 0; color: rgba(255,255,255,.88); }
.cta-band__action .btn { width: 100%; }
@media (min-width: 900px) {
	.cta-band__box { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) auto; align-items: center; gap: 28px; padding: 30px 40px 30px 0; }
	.cta-band__photo {
		display: block; position: absolute; inset: 0 auto 0 0; width: 26%; z-index: -1;
		clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
	}
	.cta-band__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,32,72,.15), rgba(6,32,72,.75)); }
	.cta-band__photo img { width: 100%; height: 100%; object-fit: cover; }
	.cta-band__title { padding-left: calc(20% + 16px); }
	.cta-band__text { padding-left: 24px; border-left: 3px solid var(--orange); }
	.cta-band__action .btn { width: auto; white-space: nowrap; }
	.cta-band__box::after { width: 110px; }
}
@media (min-width: 900px) and (max-width: 1179px) {
	.cta-band__box { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-right: 32px; }
	.cta-band__action { grid-column: 1 / -1; padding-left: calc(20% + 16px); }
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.85); font-size: .9375rem; padding-top: 48px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 36px; }
.site-footer__logo { width: 180px; height: auto; }
.site-footer__text { margin: 18px 0 14px; max-width: 360px; }
.site-footer__title { color: var(--white); font-size: 1.0625rem; margin-bottom: 14px; }
.site-footer__menu { list-style: none; display: grid; gap: 4px; }
.site-footer__menu a { display: inline-flex; min-height: 34px; align-items: center; }
.site-footer__list { list-style: none; display: grid; gap: 12px; }
.site-footer__list li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__list .icon { color: var(--white); margin-top: 3px; }
.site-footer__social { margin-left: -8px; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
	padding-block: 18px 96px; border-top: 1px solid rgba(255,255,255,.18); font-size: .875rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { list-style: none; display: flex; gap: 16px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.site-footer__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.3fr); gap: 40px; }
	.site-footer__brand { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 32px; align-items: start; }
	.site-footer__brand .site-footer__text { margin-top: 18px; }
	.site-footer__brand .site-footer__social { grid-column: 1; }
	.site-footer__bottom { padding-bottom: 22px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.site-footer__brand { display: block; }
}

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float {
	position: fixed; z-index: 90;
	right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
	display: inline-flex; align-items: center; justify-content: center;
	width: 58px; height: 58px; border-radius: 50%;
	background: var(--wa-float); color: var(--white);
	box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .45), 0 0 0 4px rgba(255,255,255,.9);
	transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); color: var(--white); }
.wa-float .icon { width: 32px; height: 32px; }
body.menu-open .wa-float { display: none; }

/* ---------- En-tête des pages intérieures ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--white); }
.page-head__inner { position: relative; padding-block: 28px 36px; }
.page-head__title { color: var(--white); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); margin: 6px 0 8px; max-width: 760px; }
.page-head__intro { max-width: 640px; color: rgba(255,255,255,.88); font-size: 1.0625rem; margin: 0; }
.page-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.page-head__photo { display: none; }
@media (max-width: 1023px) { .page-head__inner { padding-right: calc(var(--gutter) + 34px); } }
.page-head::after {
	content: ""; position: absolute; right: 0; top: 0; width: 52px; height: 100%; z-index: -1;
	background: var(--orange); clip-path: polygon(70% 0, 100% 0, 100% 100%, 40% 100%);
	opacity: .95;
}
@media (min-width: 1024px) {
	.page-head::after { width: 90px; }
	.page-head { min-height: 280px; display: flex; align-items: center; }
	.page-head__inner { padding-block: 44px; width: 100%; }
	.page-head--image .page-head__inner > * { max-width: 560px; }
	.page-head--image::after { display: none; }
	.page-head--image .page-head__photo { display: block; position: absolute; inset: 0 0 0 auto; width: 52%; z-index: -2; }
	.page-head--image .page-head__photo img { width: 100%; height: 100%; object-fit: cover; }
	.page-head--image::before {
		content: ""; position: absolute; inset: 0 auto 0 0; width: 58%; z-index: -1;
		background:
			linear-gradient(var(--orange), var(--orange)) right / 7px 100% no-repeat,
			linear-gradient(115deg, var(--navy-900), var(--navy) 60%);
		clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
	}
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; font-size: .875rem; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.page-head .breadcrumbs a { color: rgba(255,255,255,.9); }
.page-head .breadcrumbs a:hover { color: var(--amber); }
.page-head .breadcrumbs [aria-current] { color: var(--amber); font-weight: 600; }
.page-head .pill { border-color: var(--amber); color: var(--navy); background: var(--amber); }
.page-head .pill:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

/* ---------- Filtres / puces ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 24px; }
.chip {
	display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px;
	border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
	color: var(--navy); font-weight: 700; font-size: .9375rem; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-current="page"], .chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (max-width: 899px) {
	.chips--scroll {
		flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent);
		mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent);
	}
	.chips--scroll::-webkit-scrollbar { display: none; }
	.chips--scroll li { flex: none; }
}

/* ---------- Catalogue ---------- */
.catalogue__tools { display: grid; gap: 4px; margin-bottom: 8px; }
.catalogue__search { position: relative; max-width: 420px; margin-bottom: 24px; }
.catalogue__search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.catalogue__search input {
	width: 100%; min-height: 48px; padding: 10px 14px 10px 44px;
	border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.catalogue__search input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(29,95,214,.2); }
@media (min-width: 900px) {
	.catalogue__tools { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 24px; }
	.catalogue__search { margin-bottom: 0; }
}
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.product-card {
	position: relative; display: flex; flex-direction: column; min-width: 0;
	border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
	box-shadow: var(--shadow); overflow: hidden;
}
.product-card[hidden] { display: none; }
.product-card__media { display: block; border-bottom: 1px solid var(--line); }
.abc-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #eef2f8; }
.abc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.abc-media--illustration img { object-fit: contain; }
.abc-media__note {
	position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 4px;
	background: rgba(255,255,255,.94); color: var(--muted); font-size: .75rem; font-weight: 600;
}
.product-card__body { padding: 16px 18px 6px; flex: 1; }
.product-card__cat { margin: 0 0 4px; color: var(--orange-btn); font-size: .8125rem; font-weight: 700; }
.product-card__title { font-size: 1.125rem; line-height: 1.3; margin-bottom: 6px; }
.product-card__title a { color: var(--navy); text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.product-card__title a:hover { color: var(--orange-btn); }
.product-card__text { color: var(--muted); font-size: .9375rem; line-height: 1.5; margin: 0; }
.product-card__actions { position: relative; z-index: 1; display: flex; gap: 8px; padding: 14px 18px 18px; }
.product-card__actions .btn--primary { flex: 1; }
@media (max-width: 599px) {
	.product-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "media body" "actions actions"; }
	.product-card__media { grid-area: media; border-bottom: 0; border-right: 1px solid var(--line); }
	.product-card__media .abc-media { aspect-ratio: auto; height: 100%; min-height: 112px; }
	.product-card__media .abc-media__note { display: none; }
	.product-card__body { grid-area: body; padding: 12px 14px 8px; }
	.product-card__title { font-size: 1.0625rem; }
	.product-card__text { font-size: .875rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.product-card__actions { grid-area: actions; border-top: 1px solid var(--line); padding: 10px 12px; }
}
.catalogue__note {
	display: grid; gap: 16px; margin-top: 40px; padding: 24px;
	border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius-lg); background: var(--paper);
}
.catalogue__note-icon { color: var(--orange); display: inline-flex; }
.catalogue__note-title { font-size: 1.25rem; margin-bottom: 4px; }
.catalogue__note p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .catalogue__note { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; } }
.empty-state { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius-lg); text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state .btn { margin-top: 8px; }

/* ---------- Fiche produit ---------- */
.product-top { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 14px; }
.product-top .breadcrumbs [aria-current] { color: var(--muted); }
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1024px) { .product__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; } .product__media { position: sticky; top: calc(var(--header-h) + 24px); } }
.product__media .abc-media { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.product__title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin: 12px 0 10px; }
.product__lead { font-size: 1.125rem; color: var(--muted); }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
@media (max-width: 479px) { .product__actions .btn { width: 100%; } }
.product__phone { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9375rem; }
.product__phone a { font-weight: 700; }
.product__desc { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.product__desc h2, .product__features h2 { font-size: 1.25rem; }
.product__features { margin-top: 24px; }
.product__features dl { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product__features dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 10px 14px; }
.product__features dl > div:nth-child(odd) { background: var(--paper); }
.product__features dt { font-weight: 700; color: var(--navy); }
.product__features dd { margin: 0; }
.product__notice { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding: 14px 16px; background: var(--paper); border-radius: var(--radius); font-size: .9375rem; color: var(--muted); }
.product__notice .icon { color: var(--navy); }

/* ---------- Contenu éditorial ---------- */
.entry-content { font-size: 1.0625rem; }
.entry-content > * + * { margin-top: 1em; }
.entry-content p { margin: 0; }
.entry-content h2 { font-size: 1.5rem; margin-top: 1.8em; margin-bottom: .2em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content ul li::marker { color: var(--orange); }
.entry-content a { color: var(--blue); font-weight: 600; }
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content > :first-child { margin-top: 0; }

/* ---------- Article ---------- */
.page-head--article .page-head__title { max-width: 900px; }
.article__image { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 7; background: var(--paper); }
.article__image img { width: 100%; height: 100%; object-fit: cover; }
.article__lead { font-size: 1.1875rem; color: var(--navy); font-weight: 600; line-height: 1.5; }
.article__help { margin-top: 40px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--paper); border-left: 4px solid var(--orange); }
.article__help p { margin-bottom: 14px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.nav-links .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
	border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--navy); font-weight: 700; text-decoration: none;
}
.nav-links .current { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Pages À propos / Services / FAQ / Contact / Devis ---------- */
.about-page__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 1024px) { .about-page__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; } }
.about-page__photo { margin: 0 0 20px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.about-page__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-page__aside { display: grid; gap: 0; align-content: start; }
.fact-card, .help-card, .form-card, .map-card {
	padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow);
}
.fact-card__title, .help-card__title, .form-card__title { font-size: 1.25rem; margin-bottom: 16px; }
.fact-card .btn, .help-card .btn { margin-top: 10px; }
.help-card__icon { display: inline-flex; color: var(--orange); margin-bottom: 8px; }
.help-card--navy { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.9); }
.help-card--navy .help-card__title { color: var(--white); }
.domains { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 600px) { .domains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .domains { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.domain { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.domain__icon { display: inline-flex; color: var(--orange); margin-bottom: 10px; }
.domain__title { font-size: 1.125rem; margin-bottom: 6px; }
.domain p { margin: 0; color: var(--muted); font-size: .9688rem; }

.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff1e8; color: var(--orange-btn); }
.contact-list__icon--wa { background: #e7f6ee; color: var(--wa); }
.contact-list__label { display: block; font-size: .8125rem; font-weight: 700; color: var(--muted); }
.contact-list__value { font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-list__value:hover { text-decoration: underline; }
.contact-list address { color: var(--navy); font-weight: 600; }

.service-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); padding-top: 14px; }
.service-nav .chips { margin-bottom: 14px; }
.services-page .container { display: grid; gap: 24px; }
.service-block {
	display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
	border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--white);
	scroll-margin-top: calc(var(--header-h) + 80px);
}
.service-block__head { position: relative; padding: 26px 24px; background: var(--navy); color: rgba(255,255,255,.88); overflow: hidden; }
.service-block__head::after { content: ""; position: absolute; right: 0; bottom: 0; width: 70px; height: 70px; background: var(--orange); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.service-block__icon { display: inline-flex; color: var(--amber); margin-bottom: 10px; }
.service-block__title { color: var(--white); font-size: 1.5rem; }
.service-block__excerpt { margin: 0; max-width: 360px; }
.service-block__body { padding: 26px 24px; }
.service-block__body .entry-content { color: var(--text); }
@media (min-width: 900px) {
	.service-block { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.service-block__head { padding: 36px 32px; }
	.service-block__body { padding: 36px 40px; }
	.service-block .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1024px) {
	.split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
	.split--contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
	.split--contact .split__aside { order: 0; }
	.split__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
}
.split__aside { display: grid; gap: 20px; align-content: start; }
.contact-page__quick { display: grid; gap: 10px; margin-top: 20px; }
.contact-page__quick .btn { margin: 0; }
.map-card { padding: 0; overflow: hidden; }
.map-card__frame { display: block; width: 100%; height: 280px; border: 0; }
.map-card .link { display: block; padding: 14px 18px; }
.map-card__empty { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 18px 18px 8px; font-weight: 600; color: var(--navy); }
.map-card__empty .icon { color: var(--orange); }
.map-card > .btn { margin: 0 18px 18px; width: calc(100% - 36px); }

/* FAQ */
.abc-faq { display: grid; gap: 12px; }
.abc-faq__item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.abc-faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 60px; padding: 16px 20px; cursor: pointer; list-style: none;
	font-weight: 800; color: var(--navy); font-size: 1.0625rem; line-height: 1.35;
}
.abc-faq__q::-webkit-details-marker { display: none; }
.abc-faq__q::after {
	content: ""; flex: none; width: 30px; height: 30px; border-radius: 6px;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2470a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
	transition: transform .2s var(--ease);
}
.abc-faq__item[open] > .abc-faq__q::after { transform: rotate(45deg); }
.abc-faq__item[open] > .abc-faq__q { color: var(--orange-btn); }
.abc-faq__a { padding: 0 20px 18px; color: var(--muted); }
.abc-faq__a p { margin: 0 0 .6em; }

/* ---------- Formulaires ---------- */
.abc-form { position: relative; }
.abc-form__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.abc-form__group { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.abc-form__group legend { padding: 0; margin-bottom: 12px; font-weight: 800; color: var(--navy); font-size: 1.125rem; }
.abc-form__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .abc-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .abc-field--full { grid-column: 1 / -1; } }
.abc-field { display: grid; gap: 6px; min-width: 0; }
.abc-field label { font-weight: 700; color: var(--navy); font-size: .9375rem; }
.abc-field__req, .abc-field__opt { font-weight: 500; color: var(--muted); font-size: .8125rem; }
.abc-field input, .abc-field select, .abc-field textarea {
	width: 100%; min-height: 48px; padding: 11px 13px;
	border: 1.5px solid #c3cfdf; border-radius: var(--radius); background: var(--white); color: var(--text);
}
.abc-field input[type="file"] { padding: 9px; background: var(--paper-2); }
.abc-field textarea { min-height: 140px; resize: vertical; }
.abc-field input:focus, .abc-field select:focus, .abc-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(29,95,214,.22); }
.abc-field [aria-invalid="true"] { border-color: var(--danger); }
.abc-field__error { margin: 0; color: var(--danger); font-size: .875rem; font-weight: 600; }
.abc-field__help { margin: 0; color: var(--muted); font-size: .8438rem; }
.abc-form__actions { display: grid; gap: 10px; margin-top: 22px; }
.abc-form__actions .btn { justify-self: start; }
@media (max-width: 479px) { .abc-form__actions .btn { justify-self: stretch; } }
.abc-form__privacy { margin: 0; font-size: .875rem; color: var(--muted); }
.abc-form__notice { margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius); border-left: 4px solid var(--success); background: #e8f5ee; }
.abc-form__notice p { margin: 0; }
.abc-form__notice--error { border-color: var(--danger); background: #fdecea; }
.abc-form__notice:focus { outline: 3px solid var(--orange); }

/* Recherche WordPress */
.search-form { display: flex; gap: 8px; margin: 20px 0; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #c3cfdf; border-radius: var(--radius); }
.search-form .search-submit { min-height: 48px; padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--navy); color: var(--white); font-weight: 700; cursor: pointer; }
.search-results { list-style: none; display: grid; gap: 20px; margin-top: 24px; }
.search-results li { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.search-results__type { margin: 0; font-size: .8125rem; font-weight: 700; color: var(--orange-btn); }
.search-results__title { font-size: 1.25rem; margin: 2px 0 6px; }
.notfound .btn-row { margin-bottom: 24px; }

/* ---------- Apparition au défilement (catalogue uniquement) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js-reveal .product-grid .product-card { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
	.js-reveal .product-grid .product-card.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Impression ---------- */
@media print {
	.topbar, .site-header, .site-footer, .wa-float, .cta-band, .catalogue__tools, .service-nav { display: none !important; }
	.page-head { background: none; color: #000; }
	.page-head__title, .page-head__intro { color: #000; }
}
