/*
Theme Name: Polissage Béton HD
Theme URI: https://polissagebetonhd.com
Author: Polissage Béton HD inc.
Description: Thème basé sur Underscores (_s) pour Polissage Béton HD inc. Chaque section de page (héros avec formulaire, chiffres, services, pourquoi nous choisir, avis, badges, galerie, soumission, bandeau d'appel) est une composition de blocs que le client ajoute et modifie directement dans l'éditeur WordPress. Noir, rouge et chrome.
Version: 3.1.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: polissage-hd

Basé sur Underscores https://underscores.me/, (C) 2012-2024 Automattic, Inc.
Underscores est distribué selon les termes de la licence GNU GPL v2 ou ultérieure.
*/

/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
	--hd-noir: #111111;
	--hd-noir-2: #1a1a1a;
	--hd-gris: #2a2a2a;
	--hd-ligne: #333333;
	--hd-rouge: #e3141b;
	--hd-rouge-fonce: #b30e14;
	--hd-chrome: #d9dde1;
	--hd-chrome-fonce: #9aa0a6;
	--hd-texte: #1d1d1f;
	--hd-texte-pale: #5b6066;
	--hd-fond: #ffffff;
	--hd-fond-gris: #f1f1f2;
	--hd-largeur: 1200px;
	--hd-rayon: 10px;
	--hd-rayon-petit: 6px;
	--hd-police: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--hd-entete-h: 84px;
	--hd-icone-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
	--hd-icone-crochet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--hd-icone-crochet-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 6 9 17l-5-5%22/%3E%3C/svg%3E");
	--hd-icone-durable: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 6v6c0 5 3.5 8.5 8 10 4.5-1.5 8-5 8-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-entete-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--hd-fond);
	color: var(--hd-texte);
	font-family: var(--hd-police);
	font-size: 1.0625rem;
	line-height: 1.65;
}
main { display: block; }
img { border-style: none; height: auto; max-width: 100%; }
button, input, select, textarea { font: inherit; margin: 0; }
svg { flex-shrink: 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hd-police);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	color: var(--hd-noir);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--hd-rouge); }
p { margin: 0 0 1.1em; }
a { color: var(--hd-rouge); }
a:hover, a:focus { color: var(--hd-rouge-fonce); }

/* Accessibilité */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: #fff; clip: auto !important; clip-path: none; color: var(--hd-noir);
	display: block; font-size: 0.875rem; font-weight: 700; height: auto;
	left: 5px; padding: 15px 23px; top: 5px; width: auto; z-index: 100000;
}
:focus-visible { outline: 3px solid var(--hd-rouge); outline-offset: 2px; }

.hd-conteneur { max-width: var(--hd-largeur); margin: 0 auto; padding: 0 24px; }
.hd-centre { text-align: center; }

/*--------------------------------------------------------------
# Boutons et liens
--------------------------------------------------------------*/
.hd-bouton,
.wp-block-button__link,
.hd-form-carte input[type="submit"],
.hd-form input[type="submit"],
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--hd-rouge);
	color: #fff;
	border: 2px solid var(--hd-rouge);
	border-radius: 999px;
	padding: 13px 28px;
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hd-bouton svg { width: 18px; height: 18px; }
.hd-bouton:hover, .hd-bouton:focus,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--hd-rouge-fonce);
	border-color: var(--hd-rouge-fonce);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(227, 20, 27, 0.28);
}
.hd-bouton--contour {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}
.hd-bouton--contour:hover, .hd-bouton--contour:focus {
	background: #fff;
	border-color: #fff;
	color: var(--hd-noir);
	box-shadow: none;
}
.hd-bouton--blanc { background: #fff; border-color: #fff; color: var(--hd-noir); }
.hd-bouton--blanc:hover, .hd-bouton--blanc:focus { background: var(--hd-noir); border-color: var(--hd-noir); color: #fff; box-shadow: none; }
.hd-bouton--petit { padding: 10px 20px; font-size: 0.92rem; margin-top: 8px; }

.hd-lien-fleche {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	text-decoration: none;
	color: var(--hd-rouge);
}
.hd-lien-fleche svg { width: 18px; height: 18px; transition: transform 0.2s; }
.hd-lien-fleche:hover svg { transform: translateX(4px); }

/*--------------------------------------------------------------
# Barre du haut
--------------------------------------------------------------*/
.hd-barre-haut {
	background: var(--hd-noir);
	color: var(--hd-chrome-fonce);
	font-size: 0.86rem;
	border-bottom: 1px solid var(--hd-gris);
}
.hd-barre-haut .hd-conteneur {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 38px;
}
.hd-barre-liens { display: flex; gap: 22px; }
.hd-barre-haut a {
	color: #fff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 600;
}
.hd-barre-haut a:hover { color: var(--hd-rouge); }
.hd-barre-haut svg { width: 15px; height: 15px; color: var(--hd-rouge); }
@media (max-width: 700px) {
	.hd-barre-region { display: none; }
	.hd-barre-haut .hd-conteneur { justify-content: center; }
	.hd-barre-liens a:first-child:not(:last-child) span { display: none; }
}

/*--------------------------------------------------------------
# En-tête
--------------------------------------------------------------*/
.site-header {
	background: rgba(17, 17, 17, 0.96);
	backdrop-filter: blur(8px);
	position: sticky;
	top: 0;
	z-index: 60;
	transition: box-shadow 0.25s;
}
.site-header.hd-defile { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header .hd-conteneur {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: var(--hd-entete-h);
}
.site-branding { display: flex; align-items: center; margin-right: auto; }
.site-branding img, .site-branding .custom-logo { max-height: 66px; width: auto; display: block; }

/* Menu */
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 2px;
}
.main-navigation li { position: relative; }
.main-navigation a {
	display: block;
	color: var(--hd-chrome);
	text-decoration: none;
	padding: 10px 14px;
	font-weight: 700;
	font-size: 0.95rem;
	border-radius: var(--hd-rayon-petit);
	transition: color 0.2s, background 0.2s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { color: #fff; }
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { box-shadow: inset 0 -3px 0 var(--hd-rouge); border-radius: 0; }
.main-navigation .menu-item-has-children > a::after,
.main-navigation .page_item_has_children > a::after {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	margin-left: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.main-navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 250px;
	background: var(--hd-noir-2);
	border-top: 3px solid var(--hd-rouge);
	border-radius: 0 0 var(--hd-rayon-petit) var(--hd-rayon-petit);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
	flex-direction: column;
	align-items: stretch;
	padding: 8px;
	z-index: 99;
}
.main-navigation ul ul a { padding: 10px 12px; }
.main-navigation ul ul a:hover { background: var(--hd-gris); }
.main-navigation li:hover > ul,
.main-navigation li.focus > ul { display: flex; }
.main-navigation .hd-menu-soumission { display: none; }

.menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	width: 46px; height: 46px;
	cursor: pointer;
	padding: 0;
	position: relative;
}
.hd-burger, .hd-burger::before, .hd-burger::after {
	position: absolute;
	left: 11px;
	width: 24px; height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.25s, opacity 0.25s;
}
.hd-burger { top: 22px; }
.hd-burger::before, .hd-burger::after { content: ""; left: 0; }
.hd-burger::before { top: -8px; }
.hd-burger::after { top: 8px; }
.toggled .hd-burger { background: transparent; }
.toggled .hd-burger::before { transform: translateY(8px) rotate(45deg); }
.toggled .hd-burger::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1000px) {
	.site-header .hd-conteneur { gap: 12px; }
	.menu-toggle { display: block; order: 3; }
	.hd-entete-bouton { order: 2; padding: 10px 18px; font-size: 0.9rem; }
	.main-navigation { order: 3; }
	.main-navigation ul.menu,
	.main-navigation ul.nav-menu { display: none; }
	.main-navigation.toggled ul.menu,
	.main-navigation.toggled ul.nav-menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - var(--hd-entete-h));
		overflow-y: auto;
		background: var(--hd-noir);
		padding: 12px 24px 24px;
		border-top: 1px solid var(--hd-gris);
		box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
	}
	.main-navigation.toggled a { padding: 14px 4px; border-bottom: 1px solid var(--hd-gris); border-radius: 0; box-shadow: none !important; }
	.main-navigation ul ul {
		display: flex;
		position: static;
		border: 0;
		background: transparent;
		box-shadow: none;
		padding: 0 0 0 16px;
		min-width: 0;
	}
	.main-navigation .menu-item-has-children > a::after,
	.main-navigation .page_item_has_children > a::after { display: none; }
}
@media (max-width: 480px) {
	.hd-entete-bouton { display: none; }
	.site-branding img, .site-branding .custom-logo { max-height: 56px; }
}

/*--------------------------------------------------------------
# Icônes (masques CSS : la couleur suit currentColor)
# Pour changer l'icône d'une carte : Avancé > Classes CSS > hd-icone-XXX
--------------------------------------------------------------*/
.hd-icone-polir { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%228%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3Cpath d=%22M12 4v2M12 18v2M4 12h2M18 12h2%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%228%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3Cpath d=%22M12 4v2M12 18v2M4 12h2M18 12h2%22/%3E%3C/svg%3E"); }
.hd-icone-meuler { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M4 20h16%22/%3E%3Cpath d=%22M7 16h10l-1-5H8z%22/%3E%3Cpath d=%22M12 11V4%22/%3E%3Cpath d=%22M9 4h6%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M4 20h16%22/%3E%3Cpath d=%22M7 16h10l-1-5H8z%22/%3E%3Cpath d=%22M12 11V4%22/%3E%3Cpath d=%22M9 4h6%22/%3E%3C/svg%3E"); }
.hd-icone-scellant { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z%22/%3E%3Cpath d=%22M9.5 15a2.5 2.5 0 0 0 2.5 2.5%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z%22/%3E%3Cpath d=%22M9.5 15a2.5 2.5 0 0 0 2.5 2.5%22/%3E%3C/svg%3E"); }
.hd-icone-fissure { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%223%22 y=%223%22 width=%2218%22 height=%2218%22 rx=%222%22/%3E%3Cpath d=%22m8 3 3 6-3 4 4 4-1 4%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%223%22 y=%223%22 width=%2218%22 height=%2218%22 rx=%222%22/%3E%3Cpath d=%22m8 3 3 6-3 4 4 4-1 4%22/%3E%3C/svg%3E"); }
.hd-icone-garage { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M3 21V9l9-6 9 6v12%22/%3E%3Cpath d=%22M7 21v-8h10v8%22/%3E%3Cpath d=%22M7 16h10%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M3 21V9l9-6 9 6v12%22/%3E%3Cpath d=%22M7 21v-8h10v8%22/%3E%3Cpath d=%22M7 16h10%22/%3E%3C/svg%3E"); }
.hd-icone-usine { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M2 21h20%22/%3E%3Cpath d=%22M4 21V11l5 3V11l5 3V7l6 4v10%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M2 21h20%22/%3E%3Cpath d=%22M4 21V11l5 3V11l5 3V7l6 4v10%22/%3E%3C/svg%3E"); }
.hd-icone-expertise { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%225%22/%3E%3Cpath d=%22m8.5 12-1.5 9 5-3 5 3-1.5-9%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%225%22/%3E%3Cpath d=%22m8.5 12-1.5 9 5-3 5 3-1.5-9%22/%3E%3C/svg%3E"); }
.hd-icone-durable { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 2 4 6v6c0 5 3.5 8.5 8 10 4.5-1.5 8-5 8-10V6z%22/%3E%3Cpath d=%22m9 12 2 2 4-4%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 2 4 6v6c0 5 3.5 8.5 8 10 4.5-1.5 8-5 8-10V6z%22/%3E%3Cpath d=%22m9 12 2 2 4-4%22/%3E%3C/svg%3E"); }
.hd-icone-air { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M3 8h11a3 3 0 1 0-3-3%22/%3E%3Cpath d=%22M3 12h15a3 3 0 1 1-3 3%22/%3E%3Cpath d=%22M3 16h8%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M3 8h11a3 3 0 1 0-3-3%22/%3E%3Cpath d=%22M3 12h15a3 3 0 1 1-3 3%22/%3E%3Cpath d=%22M3 16h8%22/%3E%3C/svg%3E"); }
.hd-icone-prix { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 12 12 20l-9-9V3h8z%22/%3E%3Ccircle cx=%227.5%22 cy=%227.5%22 r=%221.5%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 12 12 20l-9-9V3h8z%22/%3E%3Ccircle cx=%227.5%22 cy=%227.5%22 r=%221.5%22/%3E%3C/svg%3E"); }
.hd-icone-tel { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z%22/%3E%3C/svg%3E"); }
.hd-icone-crochet { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 6 9 17l-5-5%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 6 9 17l-5-5%22/%3E%3C/svg%3E"); }
.hd-icone-fleche { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M5 12h14M13 6l6 6-6 6%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M5 12h14M13 6l6 6-6 6%22/%3E%3C/svg%3E"); }
.hd-icone-doc { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z%22/%3E%3Cpath d=%22M14 2v6h6M8 13h8M8 17h5%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z%22/%3E%3Cpath d=%22M14 2v6h6M8 13h8M8 17h5%22/%3E%3C/svg%3E"); }
.hd-icone-courriel { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%222%22 y=%224%22 width=%2220%22 height=%2216%22 rx=%222%22/%3E%3Cpath d=%22m22 6-10 7L2 6%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%222%22 y=%224%22 width=%2220%22 height=%2216%22 rx=%222%22/%3E%3Cpath d=%22m22 6-10 7L2 6%22/%3E%3C/svg%3E"); }
.hd-icone-lieu { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%223%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%223%22/%3E%3C/svg%3E"); }
.hd-icone-maison { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M3 10.5 12 3l9 7.5%22/%3E%3Cpath d=%22M5 9.5V21h14V9.5%22/%3E%3Cpath d=%22M9 21v-5h6v5%22/%3E%3Cpath d=%22M5 17h14%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M3 10.5 12 3l9 7.5%22/%3E%3Cpath d=%22M5 9.5V21h14V9.5%22/%3E%3Cpath d=%22M9 21v-5h6v5%22/%3E%3Cpath d=%22M5 17h14%22/%3E%3C/svg%3E"); }
.hd-icone-horloge { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 7v5l3 2%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 7v5l3 2%22/%3E%3C/svg%3E"); }
.hd-icone-coeur { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8z%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8z%22/%3E%3C/svg%3E"); }
.hd-icone-dalle { --hd-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22m12 3 9 5-9 5-9-5z%22/%3E%3Cpath d=%22m3 13 9 5 9-5%22/%3E%3C/svg%3E"); --hd-icone-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3141b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22m12 3 9 5-9 5-9-5z%22/%3E%3Cpath d=%22m3 13 9 5 9-5%22/%3E%3C/svg%3E"); }

/*--------------------------------------------------------------
# Conteneur des pages en blocs (accueil, pleine largeur)
--------------------------------------------------------------*/
.hd-blocs > * { margin-top: 0; margin-bottom: 0; }
.hd-blocs > :not(.alignfull) {
	max-width: var(--hd-largeur);
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}
.hd-blocs > :not(.alignfull):first-child { padding-top: 56px; }
.hd-blocs > :not(.alignfull):last-child { padding-bottom: 56px; }
.hd-avis-admin {
	background: #fff8d6;
	border: 1px dashed #c9a400;
	color: #5a4a00;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 0.9rem;
}
.hd-avis-admin--haut { max-width: var(--hd-largeur); margin: 16px auto !important; }

/* Toutes les sections pleine largeur : marges intérieures */
.hd-section,
.hd-heros,
.hd-stats,
.hd-appel {
	padding-left: 24px;
	padding-right: 24px;
}
.hd-section > *, .hd-heros > *, .hd-stats > *, .hd-appel > * {
	max-width: calc(var(--hd-largeur) - 48px);
	margin-left: auto !important;
	margin-right: auto !important;
}

/*--------------------------------------------------------------
# Boutons de blocs : variantes (classe sur le bouton)
--------------------------------------------------------------*/
.wp-block-buttons { gap: 14px; }
.wp-block-button.hd-contour .wp-block-button__link {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}
.wp-block-button.hd-contour .wp-block-button__link:hover {
	background: #fff;
	border-color: #fff;
	color: var(--hd-noir);
	box-shadow: none;
}
.wp-block-button.hd-blanc .wp-block-button__link { background: #fff; border-color: #fff; color: var(--hd-noir); }
.wp-block-button.hd-blanc .wp-block-button__link:hover { background: var(--hd-noir); border-color: var(--hd-noir); color: #fff; box-shadow: none; }
.wp-block-button.hd-tel .wp-block-button__link::before {
	content: "";
	width: 18px; height: 18px;
	background: currentColor;
	-webkit-mask: var(--hd-icone) center / contain no-repeat;
	mask: var(--hd-icone) center / contain no-repeat;
}
.wp-block-button.hd-tel { --hd-icone: var(--hd-icone-tel); }

/*--------------------------------------------------------------
# Héros
--------------------------------------------------------------*/
.hd-heros {
	position: relative;
	isolation: isolate;
	color: #fff;
	background-color: var(--hd-noir);
	background-image:
		repeating-conic-gradient(from 0deg at 80% 40%, rgba(227, 20, 27, 0.13) 0deg 5deg, transparent 5deg 13deg),
		radial-gradient(ellipse at 80% 40%, rgba(227, 20, 27, 0.32), transparent 60%),
		linear-gradient(180deg, #171717, #0b0b0b);
	background-size: cover;
	background-position: center;
	padding-top: clamp(48px, 7vw, 96px);
	padding-bottom: clamp(56px, 8vw, 110px);
}
/* Photo de fond choisie dans Styles > Arrière-plan : voile sombre pour la lisibilité */
.hd-heros[style*="background-image"]::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.75) 45%, rgba(10, 10, 10, 0.45) 100%);
}
.hd-heros-grille { gap: 56px !important; align-items: center !important; margin: 0; }
.hd-heros-texte { flex-basis: 55% !important; }
.hd-heros-form { flex-basis: 45% !important; }
.hd-surtitre {
	display: flex;
	align-items: center;
	gap: 10px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--hd-chrome);
	margin-bottom: 18px;
}
.hd-surtitre::before { content: ""; width: 32px; height: 2px; background: var(--hd-rouge); }
.hd-heros h1 { color: #fff; margin-bottom: 0.35em; font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.hd-pastille {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(227, 20, 27, 0.15);
	border: 1px solid rgba(227, 20, 27, 0.5);
	color: #fff;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 22px;
	--hd-icone: var(--hd-icone-crochet);
}
.hd-pastille::before {
	content: "";
	width: 16px; height: 16px;
	background: var(--hd-rouge);
	-webkit-mask: var(--hd-icone) center / contain no-repeat;
	mask: var(--hd-icone) center / contain no-repeat;
}
.hd-heros-intro { font-size: 1.15rem; color: var(--hd-chrome); max-width: 34em; margin-bottom: 30px; }

/* Carte du formulaire */
.hd-form-carte {
	background: #fff;
	color: var(--hd-texte);
	border-radius: var(--hd-rayon);
	padding: clamp(22px, 3vw, 34px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
	border-top: 5px solid var(--hd-rouge);
}
.hd-form-carte h2, .hd-form-carte h3 { color: var(--hd-noir); }
.hd-form-titre {
	font-size: 1.5rem !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: 18px;
}
.hd-section--noire .hd-form-carte { box-shadow: none; }

/*--------------------------------------------------------------
# Formulaires (Contact Form 7 et autres)
--------------------------------------------------------------*/
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="search"], input[type="password"],
select, textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #cfd3d7;
	border-radius: var(--hd-rayon-petit);
	background: #fff;
	color: var(--hd-texte);
	transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--hd-rouge);
	box-shadow: 0 0 0 3px rgba(227, 20, 27, 0.18);
}
.hd-form-carte label,
.hd-form label,
.hd-form .hd-titre { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 14px; }
.hd-form-carte label input,
.hd-form-carte label select,
.hd-form-carte label textarea,
.hd-form label input, .hd-form label select, .hd-form label textarea { margin-top: 5px; font-weight: 400; }
.hd-form .hd-champ { margin-bottom: 14px; }
.hd-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .hd-ligne { grid-template-columns: 1fr; } }
.hd-form .wpcf7-checkbox .wpcf7-list-item { display: block; margin: 6px 0 0; font-weight: 400; }
.hd-form input[type="file"] { display: block; margin-top: 8px; font-size: 0.9rem; }
.hd-consentement { font-size: 0.85rem; margin: 6px 0 16px; color: var(--hd-texte-pale); }
.hd-form-carte input[type="submit"], .hd-form input[type="submit"] { width: 100%; }
.wpcf7-spinner { display: block; margin: 10px auto 0; }
.hd-form-note { font-size: 0.82rem; color: var(--hd-texte-pale); margin: 14px 0 0; }

/*--------------------------------------------------------------
# Bande de chiffres
--------------------------------------------------------------*/
.hd-stats { background: var(--hd-rouge); color: #fff; }
.hd-stats-grille { display: grid; grid-template-columns: repeat(4, 1fr); }
.hd-stat {
	padding: 34px 20px;
	text-align: center;
	border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.hd-stat:first-child { border-left: 0; }
.hd-stat > * { margin: 0; }
.hd-stat-nombre {
	font-size: clamp(2.2rem, 4.5vw, 3.2rem);
	font-weight: 900;
	line-height: 1;
	margin-bottom: 8px !important;
	font-variant-numeric: tabular-nums;
}
.hd-stat-texte { font-size: 0.92rem; font-weight: 600; opacity: 0.92; }
@media (max-width: 760px) {
	.hd-stats-grille { grid-template-columns: repeat(2, 1fr); }
	.hd-stat:nth-child(3) { border-left: 0; }
	.hd-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.22); }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
.hd-section { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.hd-section--grise { background: var(--hd-fond-gris); }
.hd-section--noire { background: var(--hd-noir); color: var(--hd-chrome); }
.hd-section--noire h2, .hd-section--noire h3 { color: #fff; }
.hd-section--compacte { padding-top: 40px; padding-bottom: 40px; }
.hd-section > h2 { margin-bottom: 0.3em; }
.hd-section > h2 + * { margin-top: 0; }
.hd-entete-intro { font-size: 1.12rem; color: var(--hd-texte-pale); }
.hd-section > .hd-entete-intro, .hd-section > h2:not(:has(+ .hd-entete-intro)) { margin-bottom: 48px; }
.hd-section--noire .hd-entete-intro { color: var(--hd-chrome-fonce); }
.hd-numero {
	display: flex;
	align-items: center;
	gap: 12px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.8rem;
	font-weight: 800;
	color: var(--hd-texte-pale);
	margin-bottom: 14px;
}
.hd-numero.has-text-align-center { justify-content: center; }
.hd-section--noire .hd-numero { color: var(--hd-chrome-fonce); }
.hd-numero strong {
	color: var(--hd-rouge);
	font-size: 1rem;
	letter-spacing: 0;
	padding-right: 12px;
	border-right: 2px solid currentColor;
	line-height: 1;
}

/*--------------------------------------------------------------
# Services (numéros automatiques)
--------------------------------------------------------------*/
.hd-services-grille {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	counter-reset: hd-service;
}
@media (max-width: 960px) { .hd-services-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hd-services-grille { grid-template-columns: 1fr; } }
.hd-service-carte {
	counter-increment: hd-service;
	position: relative;
	background: #fff;
	border: 1px solid #e4e5e7;
	border-radius: var(--hd-rayon);
	padding: 108px 28px 30px;
	margin: 0 !important;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
	overflow: hidden;
}
/* Pastille noire de l'icône */
.hd-service-carte::before {
	content: "";
	position: absolute;
	top: 30px; left: 28px;
	width: 56px; height: 56px;
	border-radius: 14px;
	background: var(--hd-icone-rouge, none) center / 28px 28px no-repeat, var(--hd-noir);
}
/* Numéro en contour, en haut à droite */
.hd-service-carte::after {
	content: counter(hd-service, decimal-leading-zero);
	position: absolute;
	top: 26px; right: 26px;
	font-size: 2.4rem;
	font-weight: 900;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px #d4d6d9;
}
.hd-service-carte:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1); border-color: transparent; }
.hd-service-carte > * { margin-top: 0; }
.hd-service-carte h3 { margin-bottom: 0.45em; }
.hd-service-carte p { color: var(--hd-texte-pale); margin-bottom: 0; }
.hd-service-carte p + p { margin-top: 14px; }
.hd-service-carte a { font-weight: 700; text-decoration: none; }

/*--------------------------------------------------------------
# Pourquoi nous choisir
--------------------------------------------------------------*/
.hd-atouts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 72px !important;
}
@media (max-width: 960px) { .hd-atouts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hd-atouts { grid-template-columns: 1fr; } }
.hd-atout {
	position: relative;
	background: var(--hd-noir-2);
	border: 1px solid var(--hd-gris);
	border-radius: var(--hd-rayon);
	padding: 92px 24px 28px;
	margin: 0 !important;
	transition: border-color 0.25s, transform 0.25s;
}
.hd-atout::before {
	content: "";
	position: absolute;
	top: 28px; left: 24px;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: rgba(227, 20, 27, 0.14);
}
.hd-atout::after {
	content: "";
	position: absolute;
	top: 40px; left: 36px;
	width: 24px; height: 24px;
	background: var(--hd-rouge);
	-webkit-mask: var(--hd-icone, none) center / contain no-repeat;
	mask: var(--hd-icone, none) center / contain no-repeat;
}
.hd-atout:hover { border-color: var(--hd-rouge); transform: translateY(-3px); }
.hd-atout > * { margin-top: 0; }
.hd-atout h3 { font-size: 1.15rem; }
.hd-atout p { margin: 0; font-size: 0.95rem; color: var(--hd-chrome-fonce); }

.hd-duo { gap: 56px !important; align-items: center !important; }
@media (max-width: 781px) { .hd-duo { gap: 40px !important; } }
.hd-duo-photo { position: relative; }
.hd-duo-photo::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 2px solid var(--hd-rouge);
	border-radius: var(--hd-rayon);
}
.hd-duo-photo .wp-block-image { margin: 0; position: relative; z-index: 1; }
.hd-duo-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--hd-rayon); display: block; }
.hd-duo-texte > p { font-size: 1.08rem; }
.hd-liste-crochets { list-style: none; padding: 0 !important; margin: 0 0 28px; }
.hd-liste-crochets li {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--hd-gris);
	color: #fff;
	font-weight: 600;
}
.hd-section:not(.hd-section--noire) .hd-liste-crochets li { color: var(--hd-texte); border-color: #e4e5e7; }
.hd-liste-crochets li::before {
	content: "";
	flex: 0 0 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--hd-icone-crochet-blanc) center / 14px 14px no-repeat, var(--hd-rouge);
}

/*--------------------------------------------------------------
# Avis + badges
--------------------------------------------------------------*/
.hd-etoiles { color: #f5b301; letter-spacing: 0.15em; font-size: 1.15rem; margin: 0 0 12px; }
.hd-avis-grille {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 40px !important;
}
@media (max-width: 900px) { .hd-avis-grille { grid-template-columns: 1fr; } }
.hd-avis {
	margin: 0 !important;
	background: var(--hd-fond-gris);
	border-radius: var(--hd-rayon);
	padding: 30px 28px;
	position: relative;
}
.hd-avis::before {
	content: "\201C";
	position: absolute;
	top: 6px; right: 22px;
	font-size: 5rem;
	line-height: 1;
	font-family: Georgia, serif;
	color: var(--hd-rouge);
	opacity: 0.25;
}
.hd-avis > * { margin-top: 0; }
.hd-avis-texte { font-size: 1.02rem; }
.hd-avis-nom { font-weight: 800; color: var(--hd-noir); margin-bottom: 0; }

.hd-badges {
	list-style: none;
	padding: 0 !important;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin: 0 auto !important;
	--hd-icone: var(--hd-icone-durable);
}
.hd-badges li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1px solid #dcdee1;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
}
.hd-badges li::before {
	content: "";
	width: 18px; height: 18px;
	background: var(--hd-rouge);
	-webkit-mask: var(--hd-icone) center / contain no-repeat;
	mask: var(--hd-icone) center / contain no-repeat;
}

/*--------------------------------------------------------------
# Galerie (bloc Galerie natif en mosaïque, légende = étiquette)
--------------------------------------------------------------*/
.wp-block-gallery.hd-galerie {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 240px;
	gap: 14px !important;
	margin-top: 40px !important;
}
.wp-block-gallery.hd-galerie > .wp-block-image {
	width: auto !important;
	margin: 0 !important;
	position: relative;
	border-radius: var(--hd-rayon);
	overflow: hidden;
	background: #2b2d30;
}
.wp-block-gallery.hd-galerie > .wp-block-image:first-child { grid-row: span 2; grid-column: span 2; }
.wp-block-gallery.hd-galerie > .wp-block-image:only-child { grid-column: 1 / -1; }
.wp-block-gallery.hd-galerie > .wp-block-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.5s;
}
.wp-block-gallery.hd-galerie > .wp-block-image:hover img { transform: scale(1.05); }
.wp-block-gallery.hd-galerie > .wp-block-image figcaption {
	position: absolute !important;
	top: 14px !important; left: 14px !important;
	bottom: auto !important; right: auto !important;
	width: auto !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 5px 12px !important;
	background: var(--hd-rouge) !important;
	color: #fff !important;
	font-size: 0.75rem !important;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-radius: 999px;
	text-align: left;
	backdrop-filter: none !important;
}
.wp-block-gallery.hd-galerie > .wp-block-image figcaption::before { display: none !important; }
@media (max-width: 860px) {
	.wp-block-gallery.hd-galerie { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 520px) {
	.wp-block-gallery.hd-galerie { grid-template-columns: 1fr; }
	.wp-block-gallery.hd-galerie > .wp-block-image:first-child { grid-row: auto; grid-column: auto; }
}

/*--------------------------------------------------------------
# Formulaire du bas
--------------------------------------------------------------*/
.hd-form-bas { gap: 56px !important; }
.hd-form-bas > .wp-block-column:first-child { flex-basis: 42% !important; }
.hd-form-bas > .wp-block-column:last-child { flex-basis: 58% !important; }
.hd-form-bas p:not(.hd-numero):not(.hd-form-note) { font-size: 1.08rem; }
.hd-form-bas-tel {
	margin-top: 28px;
	padding: 20px 22px;
	border-left: 4px solid var(--hd-rouge);
	background: var(--hd-noir-2);
	border-radius: 0 var(--hd-rayon-petit) var(--hd-rayon-petit) 0;
}
.hd-form-bas-tel a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 900;
	text-decoration: none;
	--hd-icone: var(--hd-icone-tel);
}
.hd-form-bas-tel a::before {
	content: "";
	width: 24px; height: 24px;
	background: var(--hd-rouge);
	-webkit-mask: var(--hd-icone) center / contain no-repeat;
	mask: var(--hd-icone) center / contain no-repeat;
}
.hd-form-bas-tel a:hover { color: var(--hd-rouge); }

/*--------------------------------------------------------------
# Bandeau final
--------------------------------------------------------------*/
.hd-appel {
	background:
		repeating-linear-gradient(-55deg, rgba(0, 0, 0, 0.06) 0 18px, transparent 18px 36px),
		var(--hd-rouge);
	color: #fff;
	padding-top: 52px;
	padding-bottom: 52px;
}
.hd-appel-interieur { gap: 28px !important; }
.hd-appel h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.4rem); max-width: 18em; }
.hd-appel h2 em { color: var(--hd-noir); }

/*--------------------------------------------------------------
# Pages intérieures, articles
--------------------------------------------------------------*/
.site-main { display: block; }
body:not(.home) .site-main { padding: 56px 0 80px; background: var(--hd-fond-gris); }
.hd-titre-page {
	background:
		repeating-conic-gradient(from 0deg at 85% 50%, rgba(227, 20, 27, 0.1) 0deg 5deg, transparent 5deg 13deg),
		var(--hd-noir);
	color: #fff;
	padding: 56px 0;
	border-bottom: 4px solid var(--hd-rouge);
}
.hd-titre-page h1 { color: #fff; margin: 0; font-size: clamp(2rem, 5vw, 3rem); }
.hd-carte-contenu,
.site-main > .hd-conteneur > article {
	background: #fff;
	border-radius: var(--hd-rayon);
	padding: clamp(24px, 4vw, 48px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.entry-header { margin-bottom: 1.5em; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-meta { color: var(--hd-texte-pale); font-size: 0.92rem; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-footer { margin-top: 2em; font-size: 0.92rem; color: var(--hd-texte-pale); }
.post-thumbnail img { border-radius: var(--hd-rayon); margin-bottom: 1.5em; }
.hd-liste-articles article + article { margin-top: 24px; }
.page-header { margin-bottom: 32px; }
.posts-navigation, .post-navigation { margin-top: 32px; }
.nav-links { display: flex; justify-content: space-between; gap: 16px; }
.alignwide { max-width: calc(var(--hd-largeur) + 160px); }
.alignfull { width: 100%; max-width: none; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 0.9rem; }
blockquote { border-left: 4px solid var(--hd-rouge); margin: 1.5em 0; padding: 0.5em 1.2em; background: var(--hd-fond-gris); }
.comments-area { margin-top: 32px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: #fff; padding: 20px; border-radius: var(--hd-rayon); margin-bottom: 16px; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }

/*--------------------------------------------------------------
# Pied de page
--------------------------------------------------------------*/
.site-footer {
	background: #0a0a0a;
	color: var(--hd-chrome-fonce);
	font-size: 0.95rem;
	border-top: 4px solid var(--hd-rouge);
}
.site-footer .hd-conteneur { padding-top: 64px; padding-bottom: 28px; }
.hd-pied-grille {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--hd-gris);
}
@media (max-width: 960px) { .hd-pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hd-pied-grille { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h2 {
	color: #fff;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin-bottom: 18px;
}
.site-footer a.hd-bouton { color: #ffffff; text-decoration: none; }
.site-footer a.hd-bouton:hover { color: #ffffff; }
.site-footer a { color: var(--hd-chrome); text-decoration: none; }
.site-footer a:hover { color: var(--hd-rouge); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.hd-pied-logo img { max-width: 120px; margin-bottom: 16px; }
.hd-reseaux { display: flex; gap: 10px; }
.hd-reseaux a {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--hd-gris);
	color: #fff;
	transition: background 0.2s;
}
.hd-reseaux a:hover { background: var(--hd-rouge); color: #fff; }
.hd-reseaux svg { width: 18px; height: 18px; }
.hd-pied-contact li { display: flex; gap: 10px; align-items: flex-start; }
.hd-pied-contact svg { width: 18px; height: 18px; color: var(--hd-rouge); margin-top: 3px; }
.site-info {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 24px;
	font-size: 0.85rem;
}

/*--------------------------------------------------------------
# Barre d'actions fixe (cellulaire)
--------------------------------------------------------------*/
.hd-barre-mobile { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 64px; }
	.hd-barre-mobile {
		display: flex;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 70;
		background: var(--hd-noir);
		border-top: 1px solid var(--hd-gris);
		box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.hd-barre-mobile a {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		height: 64px;
		color: #fff;
		text-decoration: none;
		font-size: 0.78rem;
		font-weight: 700;
	}
	.hd-barre-mobile a + a { border-left: 1px solid var(--hd-gris); }
	.hd-barre-mobile svg { width: 22px; height: 22px; }
	.hd-barre-mobile .hd-barre-mobile-cta { background: var(--hd-rouge); flex: 1.4; }
}

/*--------------------------------------------------------------
# Animations d'apparition
--------------------------------------------------------------*/
.hd-anim .hd-service-carte,
.hd-anim .hd-atout,
.hd-anim .hd-avis,
.hd-anim .hd-galerie .wp-block-image,
.hd-anim .hd-duo {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s, border-color 0.25s;
}
.hd-anim .hd-visible,
.hd-anim .hd-galerie .wp-block-image.hd-visible { opacity: 1; transform: none; }
.hd-anim .hd-service-carte.hd-visible:hover { transform: translateY(-4px); }
.hd-anim .hd-atout.hd-visible:hover { transform: translateY(-3px); }

/* Les grilles de cartes n'utilisent pas l'espacement vertical automatique de WordPress */
.hd-services-grille > *, .hd-atouts > *, .hd-avis-grille > *, .hd-stats-grille > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }

/*--------------------------------------------------------------
# Forminator : bouton d'envoi identique aux autres boutons du site
--------------------------------------------------------------*/
.forminator-ui.forminator-custom-form .forminator-button.forminator-button-submit,
.forminator-ui .forminator-button-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	min-height: 0 !important;
	margin: 6px 0 0 !important;
	padding: 13px 28px !important;
	background: var(--hd-rouge) !important;
	color: #fff !important;
	border: 2px solid var(--hd-rouge) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	font-family: var(--hd-police) !important;
	font-size: 1rem !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.forminator-ui.forminator-custom-form .forminator-button.forminator-button-submit:hover,
.forminator-ui.forminator-custom-form .forminator-button.forminator-button-submit:focus,
.forminator-ui .forminator-button-submit:hover,
.forminator-ui .forminator-button-submit:focus {
	background: var(--hd-rouge-fonce) !important;
	border-color: var(--hd-rouge-fonce) !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(227, 20, 27, 0.28) !important;
}
.forminator-ui .forminator-button-submit:focus-visible {
	outline: 3px solid var(--hd-rouge) !important;
	outline-offset: 2px !important;
}
.forminator-ui .forminator-button-submit .forminator-button-text { color: inherit !important; }

/*--------------------------------------------------------------
# Forminator : formulaire plus compact dans les cartes
# (encore plus serré dans le haut de page)
--------------------------------------------------------------*/
.hd-form-carte .forminator-ui.forminator-custom-form { margin: 0 !important; }
.hd-form-carte .forminator-ui .forminator-row { margin-bottom: 14px !important; }
.hd-form-carte .forminator-ui .forminator-row:last-child { margin-bottom: 0 !important; }
.hd-form-carte .forminator-ui .forminator-row:not(.forminator-row-last) { margin-left: -6px !important; margin-right: -6px !important; }
.hd-form-carte .forminator-ui .forminator-col { padding-left: 6px !important; padding-right: 6px !important; }
.hd-form-carte .forminator-ui .forminator-label {
	font-size: 0.86rem !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin: 0 0 4px !important;
	padding: 0 !important;
}
.hd-form-carte .forminator-ui .forminator-input,
.hd-form-carte .forminator-ui .forminator-textarea,
.hd-form-carte .forminator-ui select,
.hd-form-carte .forminator-ui .select2-selection {
	min-height: 0 !important;
	padding: 9px 12px !important;
	font-size: 0.95rem !important;
	line-height: 1.4 !important;
}
.hd-form-carte .forminator-ui .forminator-textarea { min-height: 90px !important; height: 90px !important; resize: vertical; }
.hd-form-carte .forminator-ui .forminator-description,
.hd-form-carte .forminator-ui .forminator-checkbox-label,
.hd-form-carte .forminator-ui .forminator-checkbox span:not(.forminator-checkbox-box) {
	font-size: 0.82rem !important;
	line-height: 1.4 !important;
	margin-top: 4px !important;
}
.hd-form-carte .forminator-ui .forminator-button-submit { margin-top: 0 !important; }

/* Haut de page : encore plus compact */
.hd-heros .hd-form-carte { padding: 22px 24px 24px; }
.hd-heros .hd-form-titre { font-size: 1.25rem !important; margin-bottom: 12px !important; }
.hd-heros .hd-form-carte .forminator-ui .forminator-row { margin-bottom: 10px !important; }
.hd-heros .hd-form-carte .forminator-ui .forminator-input,
.hd-heros .hd-form-carte .forminator-ui select,
.hd-heros .hd-form-carte .forminator-ui .select2-selection { padding: 8px 11px !important; }
.hd-heros .hd-form-carte .forminator-ui .forminator-textarea { min-height: 70px !important; height: 70px !important; }
.hd-heros .hd-form-carte .forminator-ui .forminator-button-submit { padding: 11px 24px !important; }
