/* Sections prêtes de l'accueil (patterns/). Chargé sur le site et dans l'éditeur. */

/* Pages à sections : l'article Astra n'ajoute ni marge ni espacement, les
   sections vont d'un bord à l'autre. */
.picom-page-sections #primary,
body.picom-page-sections.ast-page-builder-template .site-main > article.page,
.picom-page-sections .entry-content {
	margin: 0;
	padding: 0;
}

/* Les sections occupent toute la largeur, leur contenu reste centré. */
.picom-section,
.picom-hero {
	margin-block: 0;
}

.picom-section {
	padding: var(--picom-section) 1rem;
}

.picom-section > * {
	max-width: var(--picom-container);
	margin-inline: auto;
}

.picom-section h2 {
	font-size: clamp(1.875rem, 3.8vw, 2.75rem);
	font-weight: 800;
	line-height: 1.12;
	margin: 0.625rem auto 1.25rem;
}

.picom-surtitre {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--picom-font-title);
	font-size: 1rem;
	font-weight: 700;
	color: var(--picom-green-dark);
	margin-bottom: 0;
}

/* Losange du logo PICOM avant le surtitre (moitié grise, moitié verte). */
.picom-surtitre::before {
	content: "";
	flex: none;
	width: 11px;
	height: 11px;
	margin: 0 2px 0 3px;
	border-radius: 2px;
	transform: rotate(45deg);
	background: linear-gradient(135deg, var(--picom-logo-gray) 50%, var(--picom-green) 50%);
}

.picom-intro {
	font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
	line-height: 1.7;
	margin-bottom: 2.5rem;
}

.picom-section--gris {
	background: var(--picom-gray-soft);
}

/* Bannière d'accueil */
.picom-hero.wp-block-cover {
	padding: clamp(5rem, 12vw, 9rem) 1rem;
	align-items: center;
}

.picom-hero .wp-block-cover__inner-container {
	max-width: var(--picom-container);
	margin-inline: auto;
	width: 100%;
}

/* Le contenu de la bannière est aligné à gauche dans la largeur du site
   (la mise en page « constrained » du cover centre chaque enfant). */
.picom-hero .wp-block-cover__inner-container > .picom-hero__contenu {
	max-width: var(--picom-container);
	width: 100%;
}

.picom-hero__contenu > * {
	max-width: 820px;
}

.picom-hero h1 {
	font-size: clamp(2.25rem, 5vw, 4.25rem);
	font-weight: 800;
	line-height: 1.05;
	color: var(--picom-white);
	margin: 1rem 0;
}

/* Astra colore les paragraphes des bannières (body .wp-block-cover:not(...) p) :
   sélecteurs plus précis pour garder le texte clair sur la photo. */
body .picom-hero.wp-block-cover .wp-block-cover__inner-container .picom-surtitre {
	color: var(--picom-accent-on-dark);
}

body .picom-hero.wp-block-cover .wp-block-cover__inner-container .picom-hero__texte {
	font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
	line-height: 1.55;
	color: var(--picom-on-dark);
	max-width: 620px;
	margin-left: 0;
}

.picom-hero .wp-block-buttons {
	margin-top: 1.5rem;
	gap: 0.75rem;
}

.picom-hero .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
	background: var(--picom-white);
	color: var(--picom-navy);
	border: 0;
}

/* Bannière en deux parties : texte à gauche, vraie photo du magasin à droite. */
.picom-hero--split {
	position: relative;
	overflow: hidden;
	padding: clamp(3rem, 7vw, 5.5rem) 1rem;
	background: var(--picom-navy);
	color: var(--picom-on-dark);
}

/* Halo vert discret derrière la photo. */
.picom-hero--split::before {
	content: "";
	position: absolute;
	right: -10%;
	top: -30%;
	width: 60%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgb(84 180 53 / 22%), rgb(84 180 53 / 0%) 70%);
	pointer-events: none;
}

.picom-hero--split > .picom-hero__grille {
	position: relative;
	max-width: var(--picom-container);
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.picom-hero__grille > * {
	margin: 0;
	max-width: none;
}

.picom-hero--split .picom-hero__contenu > * {
	margin-left: 0;
}

.picom-hero--split h1 {
	font-size: clamp(2.25rem, 4.6vw, 4rem);
	font-weight: 800;
	line-height: 1.05;
	color: var(--picom-white);
	margin: 1rem 0 1.25rem;
}

.picom-hero--split .picom-surtitre {
	color: var(--picom-accent-on-dark);
}

.picom-hero--split .picom-hero__texte {
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	line-height: 1.6;
	color: var(--picom-on-dark);
	max-width: 34rem;
}

.picom-hero--split .wp-block-buttons {
	margin-top: 2rem;
	gap: 0.75rem;
}

.picom-hero--split .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
	background: transparent;
	color: var(--picom-white);
	border: 2px solid rgb(255 255 255 / 55%);
}

.picom-hero--split .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
	background: var(--picom-white);
	color: var(--picom-navy);
}

.picom-hero__preuve {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2rem;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	background: rgb(255 255 255 / 8%);
	font-size: 0.9375rem;
	color: var(--picom-on-dark);
}

.picom-hero__preuve strong {
	color: var(--picom-white);
}

.picom-hero__photo {
	position: relative;
	margin: 0;
	border-radius: 1.5rem;
	overflow: hidden;
	box-shadow: 0 30px 60px rgb(0 0 0 / 35%);
	border: 4px solid rgb(255 255 255 / 8%);
}

.picom-hero__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	max-height: 34rem;
	object-fit: cover;
}

@media (max-width: 921px) {
	.picom-hero--split > .picom-hero__grille {
		grid-template-columns: minmax(0, 1fr);
	}

	.picom-hero__photo img {
		aspect-ratio: 4 / 3;
		max-height: 22rem;
		object-position: 50% 30%;
	}
}

/* Bannière de page (À propos) : photo pleine largeur, plus basse que l'accueil. */
.picom-hero--page.wp-block-cover {
	padding-block: clamp(4rem, 9vw, 6.5rem);
}

.picom-hero--page h1 {
	font-size: clamp(2.25rem, 4.6vw, 3.75rem);
}

/* À propos : texte et valeurs côte à côte */
.picom-apropos {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.picom-apropos > *,
.picom-apropos__texte > * {
	margin-left: 0;
	max-width: none;
}

.picom-apropos__texte h2 {
	margin-left: 0;
}

.picom-valeurs {
	display: grid;
	gap: 1rem;
}

.picom-valeurs > * {
	margin: 0;
	max-width: none;
}

.picom-valeur {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 1rem;
	padding: 1.375rem 1.5rem;
	border: 1px solid var(--picom-line);
	border-radius: var(--picom-radius);
	background: var(--picom-white);
	transition: transform 0.35s var(--picom-ease), box-shadow 0.35s var(--picom-ease), border-color 0.35s var(--picom-ease);
}

.picom-valeur:hover {
	border-color: var(--picom-green);
	box-shadow: var(--picom-shadow-hover);
	transform: translateY(-3px);
}

.picom-section .picom-valeur > * {
	margin: 0;
	grid-column: 2;
}

.picom-section .picom-valeur > .picom-atout__num {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.picom-valeur h3 {
	font-size: 1.125rem;
	font-weight: 800;
	margin-bottom: 0.25rem;
}

.picom-valeur p {
	font-size: 0.9375rem;
}

/* Mission et vision */
.picom-mv {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--picom-gap);
}

.picom-mv > * {
	margin: 0;
	max-width: none;
}

.picom-mv__carte {
	padding: clamp(1.75rem, 4vw, 2.75rem);
	border-radius: 1.25rem;
	background: var(--picom-white);
	border: 1px solid var(--picom-line);
}

.picom-mv__carte h3 {
	font-size: clamp(1.375rem, 2.4vw, 1.75rem);
	font-weight: 800;
	margin: 0.5rem 0 1rem;
}

.picom-mv__carte--sombre {
	background: var(--picom-navy);
	border-color: var(--picom-navy);
	color: var(--picom-on-dark);
}

.picom-mv__carte--sombre h3 {
	color: var(--picom-white);
}

.picom-section .picom-mv__carte--sombre .picom-surtitre {
	color: var(--picom-accent-on-dark);
}

/* Chiffres clés */
.picom-chiffres {
	padding-block: clamp(3rem, 6vw, 4.5rem);
}

.picom-chiffres__grille {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--picom-gap);
	text-align: center;
}

.picom-chiffres__grille > * {
	margin: 0;
	max-width: none;
}

.picom-section .picom-chiffre__nombre {
	margin: 0;
	font-family: var(--picom-font-title);
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 800;
	line-height: 1;
	color: var(--picom-green);
}

.picom-section .picom-chiffre__label {
	margin: 0.5rem 0 0;
	font-size: 0.9375rem;
	color: var(--picom-on-dark);
}

@media (max-width: 921px) {
	.picom-apropos,
	.picom-mv {
		grid-template-columns: minmax(0, 1fr);
	}

	.picom-chiffres__grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 2rem;
	}
}

/* Boutons des sections */
.picom-section .wp-block-button__link,
.picom-hero .wp-block-button__link {
	background: var(--picom-green-dark);
	color: var(--picom-white);
	padding: 0.9375rem 1.625rem;
	border-radius: var(--picom-radius-sm);
	font-weight: 700;
}

.picom-section .wp-block-button__link:hover,
.picom-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--picom-green-deep);
	color: var(--picom-white);
}

/* Grilles de cartes : colonnes qui s'empilent seules sur mobile. */
.picom-grille {
	display: grid;
	gap: var(--picom-gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	margin-top: 2.5rem;
}

.picom-grille--3 {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

.picom-grille--4 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
}

.picom-grille--2 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	gap: 1.75rem;
}

.picom-grille > * {
	margin: 0;
	max-width: none;
}

.picom-carte {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--picom-white);
	border: 1px solid var(--picom-line);
	border-radius: var(--picom-radius);
	overflow: hidden;
	padding-bottom: 1.5rem;
}

.picom-carte > * {
	margin-inline: 1.5rem;
}

.picom-carte .picom-carte__photo {
	margin: 0 0 1rem;
}

.picom-carte .picom-carte__photo img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.picom-carte h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-block: 0 0.25rem;
}

.picom-carte p {
	margin-block: 0;
	font-size: 0.9375rem;
}

/* Toute la carte est cliquable via le lien du titre. */
.picom-section .picom-carte h3 a {
	color: var(--picom-navy);
	text-decoration: none;
}

.picom-section .picom-carte h3 a:hover {
	color: var(--picom-green-dark);
}

.picom-carte h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.picom-carte {
	transition: transform 0.35s var(--picom-ease), box-shadow 0.35s var(--picom-ease), border-color 0.35s var(--picom-ease);
}

.picom-carte .picom-carte__photo img {
	transition: transform 0.6s var(--picom-ease);
}

.picom-carte:has(h3 a):hover {
	border-color: var(--picom-green);
	box-shadow: var(--picom-shadow-hover);
	transform: translateY(-4px);
}

.picom-carte:has(h3 a):hover .picom-carte__photo img {
	transform: scale(1.04);
}

.picom-carte--agence {
	background: var(--picom-gray-soft);
	border: 0;
}

.picom-carte--agence h3 {
	font-weight: 800;
}

.picom-lien-fleche {
	margin-top: 1.5rem;
	font-weight: 700;
}

.picom-lien-fleche a {
	color: var(--picom-green-dark);
	text-decoration: none;
}

.picom-lien-fleche a::after {
	content: " \2192";
}

.picom-carte .picom-lien-fleche {
	margin-top: 0.75rem;
}

/* Nos agences : grande photo et cartes d'adresse. */
.picom-agences {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--picom-gap);
	margin-top: 2rem;
	align-items: stretch;
}

.picom-agences > * {
	margin: 0;
	max-width: none;
}

.picom-agences__photo {
	position: relative;
	margin: 0;
	border-radius: var(--picom-radius);
	overflow: hidden;
	min-height: 22rem;
}

.picom-agences__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.picom-agences__photo figcaption {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	margin: 0;
	padding: 0.375rem 0.75rem;
	border-radius: 999px;
	background: rgb(255 255 255 / 92%);
	color: var(--picom-navy);
	font-size: 0.8125rem;
	font-weight: 600;
}

.picom-agences__liste {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.875rem;
}

.picom-agences__liste > * {
	margin: 0;
	max-width: none;
}

.picom-agence {
	position: relative;
	padding: 1.375rem 1.375rem 1.25rem 4rem;
	border: 1px solid var(--picom-line);
	border-radius: var(--picom-radius);
	background: var(--picom-white);
	transition: border-color 0.35s var(--picom-ease), box-shadow 0.35s var(--picom-ease), transform 0.35s var(--picom-ease);
}

.picom-agence:hover {
	border-color: var(--picom-green);
	box-shadow: var(--picom-shadow-hover);
	transform: translateY(-3px);
}

/* Pastille « lieu » : icône dessinée par masque, couleur de la charte. */
.picom-agence::before {
	content: "";
	position: absolute;
	top: 1.125rem;
	left: 1rem;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--picom-green-soft);
}

.picom-agence::after {
	content: "";
	position: absolute;
	top: calc(1.125rem + 7px);
	left: calc(1rem + 7px);
	width: 18px;
	height: 18px;
	background: var(--picom-green-dark);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.picom-agence > * {
	margin: 0;
}

.picom-section .picom-agence__ville {
	margin: 0;
	padding-top: 4px;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
}

.picom-section .picom-agence > * + * {
	margin-block-start: 0;
}

.picom-section .picom-agence__nb {
	display: inline-block;
	margin: 0.375rem 0 0.125rem;
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	background: var(--picom-green-soft);
	color: var(--picom-green-deep);
	font-size: 0.75rem;
	font-weight: 700;
}

.picom-section .picom-agence__site {
	position: relative;
	margin: 0.625rem 0 0;
	padding: 0.75rem 0.875rem 0.75rem 1rem;
	border-left: 3px solid var(--picom-green);
	border-radius: 0 var(--picom-radius-sm) var(--picom-radius-sm) 0;
	background: var(--picom-gray-soft);
}

.picom-section .picom-agence__site > *,
.picom-section .picom-agence__site > * + * {
	margin: 0;
	margin-block-start: 0;
}

.picom-section .picom-agence__quartier {
	font-family: var(--picom-font-title);
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.3;
	color: var(--picom-navy);
}

.picom-section .picom-agence__site p {
	font-size: 0.9375rem;
	line-height: 1.45;
}

.picom-section .picom-agence .picom-lien-fleche {
	margin-top: 0.375rem;
	font-size: 0.875rem;
}

/* Lien d'itinéraire en haut à droite de chaque agence (sur grand écran). */
@media (min-width: 545px) {
	.picom-section .picom-agence__site .picom-lien-fleche {
		position: absolute;
		top: 0.75rem;
		right: 0.875rem;
		margin: 0;
	}

	.picom-section .picom-agence__quartier {
		padding-right: 6.5rem;
	}
}

@media (max-width: 921px) {
	.picom-agences {
		grid-template-columns: minmax(0, 1fr);
	}

	.picom-agences__photo {
		min-height: 16rem;
	}
}

/* Téléphone : agences sur deux colonnes, icône au-dessus du texte. */
@media (max-width: 544px) {
	.picom-agences__liste {
		gap: 0.625rem;
	}

	.picom-agence {
		padding: 3.25rem 0.875rem 0.875rem;
	}

	.picom-agence::before {
		top: 0.875rem;
		left: 0.875rem;
	}

	.picom-agence::after {
		top: calc(0.875rem + 7px);
		left: calc(0.875rem + 7px);
	}

	.picom-section .picom-agence__ville {
		font-size: 1.0625rem;
	}

	.picom-agence__site p {
		font-size: 0.8125rem;
	}
}

/* Grille produits dans la section nouveautés */
.picom-section .woocommerce {
	margin-top: 2rem;
}

/* Pourquoi PICOM (section sombre) */
.picom-section--sombre {
	background: var(--picom-navy);
	color: var(--picom-on-dark);
}

.picom-section--sombre h2,
.picom-section--sombre h3 {
	color: var(--picom-white);
}

.picom-section--sombre .picom-surtitre {
	color: var(--picom-accent-on-dark);
}

.picom-pourquoi {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	align-items: center;
}

.picom-pourquoi__texte {
	flex: 1 1 26rem;
	min-width: 0;
}

.picom-pourquoi__photo {
	flex: 1 1 22rem;
	min-width: 0;
	margin: 0;
}

.picom-pourquoi__photo img {
	width: 100%;
	height: clamp(18rem, 40vw, 28rem);
	object-fit: cover;
	border-radius: var(--picom-radius);
	display: block;
}

.picom-atout h3 {
	font-size: 1.1875rem;
	margin: 0.75rem 0 0.375rem;
}

.picom-atout p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.picom-section .picom-atout__num {
	width: 44px;
	height: 44px;
	border-radius: var(--picom-radius-sm);
	background: var(--picom-green);
	color: var(--picom-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--picom-font-title);
	font-weight: 800;
}

/* Téléphone : catégories et agences sur deux colonnes, page plus courte. */
@media (max-width: 600px) {
	.picom-grille--3,
	.picom-grille--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.picom-grille--3 .picom-carte,
	.picom-grille--4 .picom-carte {
		padding-bottom: 0.875rem;
	}

	.picom-grille--3 .picom-carte > *,
	.picom-grille--4 .picom-carte > * {
		margin-inline: 0.75rem;
	}

	.picom-grille--3 .picom-carte .picom-carte__photo,
	.picom-grille--4 .picom-carte .picom-carte__photo {
		margin: 0 0 0.625rem;
	}

	/* Nombre impair de cartes : la dernière prend toute la largeur. */
	.picom-grille--3 > :last-child:nth-child(odd),
	.picom-grille--4 > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.picom-grille > :last-child:nth-child(odd) .picom-carte__photo img {
		aspect-ratio: 16 / 9;
	}

	.picom-carte h3 {
		font-size: 1rem;
		line-height: 1.25;
	}

	.picom-carte p {
		font-size: 0.8125rem;
	}
}

/* Appel devis professionnel */
.picom-appel {
	background: var(--picom-green-soft);
	border-radius: 1.5rem;
	padding: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
}

.picom-appel__texte {
	flex: 1 1 28rem;
	min-width: 0;
}

.picom-appel h2 {
	font-size: clamp(1.5rem, 3vw, 2.125rem);
	margin: 0 0 0.5rem;
}

.picom-appel p {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--picom-navy);
}

/* ==========================================================================
   Accueil v2 (orientation validée le 2026-11-20) : bannière, bande des
   rayons, cartes d'univers, bandeau des agences, carrousel des produits.
   Icônes : variables --picom-i-* (assets/css/icones.css), en masque.
   ========================================================================== */

/* Bannière */
.picom-hero--v2 {
	position: relative;
	overflow: hidden;
	padding: clamp(3rem, 6vw, 5rem) 1rem clamp(5.5rem, 9vw, 7.5rem);
	background:
		radial-gradient(55% 70% at 100% 100%, rgb(84 180 53 / 20%), rgb(84 180 53 / 0%) 70%),
		linear-gradient(115deg, var(--picom-navy) 0%, #10222f 60%, #122f27 100%);
	color: var(--picom-on-dark);
	border-radius: 0 0 50% 50% / 0 0 48px 48px;
}

.picom-hero--v2 > .picom-hero__grille {
	position: relative;
	max-width: var(--picom-container);
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.picom-hero--v2 .picom-hero__grille > *,
.picom-hero--v2 .picom-hero__contenu > * {
	margin-left: 0;
	max-width: none;
}

.picom-hero--v2 .picom-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	padding: 0.5rem 1.125rem;
	border-radius: 999px;
	background: var(--picom-green-dark);
	color: var(--picom-white);
	font-family: var(--picom-font-title);
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.picom-hero--v2 .picom-hero__badge::before {
	content: "";
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--picom-i-casque-chantier) center / contain no-repeat;
	mask: var(--picom-i-casque-chantier) center / contain no-repeat;
}

.picom-hero--v2 h1 {
	margin: 1.25rem 0;
	font-size: clamp(2.125rem, 4.1vw, 3.625rem);
	font-weight: 800;
	font-style: italic;
	line-height: 1.14;
	letter-spacing: -0.02em;
	color: var(--picom-white);
}

.picom-hero--v2 h1 em {
	position: relative;
	color: var(--picom-lime);
	font-style: italic;
}

/* Trait de pinceau sous « embellir », comme tracé à la main. */
.picom-hero--v2 .picom-trait {
	position: relative;
	white-space: nowrap;
}

.picom-hero--v2 .picom-trait::after {
	content: "";
	position: absolute;
	left: -2%;
	right: -2%;
	bottom: -0.1em;
	height: 0.2em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M4 11 C 45 5 110 3 196 6' fill='none' stroke='%237ed957' stroke-width='4' stroke-linecap='round' stroke-opacity='.85'/%3E%3Cpath d='M30 13 C 80 9 130 8 170 9' fill='none' stroke='%237ed957' stroke-width='2' stroke-linecap='round' stroke-opacity='.45'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}

.picom-hero--v2 .picom-hero__texte {
	max-width: 34rem;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	line-height: 1.55;
	color: rgb(255 255 255 / 88%);
}

.picom-hero--v2 .wp-block-buttons {
	margin-top: 2rem;
	gap: 0.875rem;
}

.picom-hero--v2 .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	min-height: 54px;
	padding: 0 1.5rem;
	border-radius: var(--picom-radius-sm);
	font-size: 1.0625rem;
}

.picom-hero--v2 .wp-block-button .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--picom-i-panier) center / contain no-repeat;
	mask: var(--picom-i-panier) center / contain no-repeat;
}

.picom-hero--v2 .picom-btn-devis-hero .wp-block-button__link::before {
	-webkit-mask-image: var(--picom-i-devis);
	mask-image: var(--picom-i-devis);
}

.picom-hero--v2 .picom-btn-boutique .wp-block-button__link {
	background: var(--picom-green);
	color: var(--picom-navy);
	box-shadow: 0 6px 16px rgb(84 180 53 / 18%);
}

.picom-hero--v2 .picom-btn-boutique .wp-block-button__link:hover {
	background: var(--picom-lime);
	color: var(--picom-navy);
}

.picom-hero--v2 .picom-btn-boutique .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--picom-i-fleche) center / contain no-repeat;
	mask: var(--picom-i-fleche) center / contain no-repeat;
}

.picom-hero--v2 .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
	background: transparent;
	color: var(--picom-white);
	border: 2px solid rgb(255 255 255 / 70%);
}

.picom-hero--v2 .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
	background: var(--picom-white);
	color: var(--picom-navy);
}

/* Quatre atouts */
.picom-hero--v2 .picom-hero__atouts {
	list-style: none;
	margin: 2.25rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.picom-hero--v2 .picom-hero__atouts li {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.3;
	color: var(--picom-white);
}

.picom-hero--v2 .picom-hero__atouts li + li {
	padding-left: 1rem;
	border-left: 1px solid rgb(255 255 255 / 18%);
}

.picom-hero--v2 .picom-hero__atouts li::before {
	content: "";
	flex: none;
	width: 30px;
	height: 30px;
	background: var(--picom-green);
	-webkit-mask: var(--ico, var(--picom-i-camion)) center / contain no-repeat;
	mask: var(--ico, var(--picom-i-camion)) center / contain no-repeat;
}

.picom-hero__atouts li:nth-child(2) { --ico: var(--picom-i-qualite); }
.picom-hero__atouts li:nth-child(3) { --ico: var(--picom-i-casque); }
.picom-hero__atouts li:nth-child(4) { --ico: var(--picom-i-lieu); }

/* Photo dans un cadre incliné, chiffres clés en surimpression */
.picom-hero--v2 .picom-hero__visuel {
	position: relative;
	margin: 0;
}

.picom-hero--v2 .picom-hero__photo {
	margin: 0 4.5rem 0 0;
	padding: 6px;
	border-radius: 2rem;
	background: rgb(84 180 53 / 75%);
	transform: rotate(-2.5deg);
	box-shadow: 0 30px 60px rgb(0 0 0 / 40%);
	overflow: hidden;
	border: 0;
}

.picom-hero--v2 .picom-hero__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 4;
	max-height: none;
	object-fit: cover;
	object-position: 50% 30%;
	border-radius: 1.625rem;
}

.picom-hero--v2 .picom-hero__stats {
	position: absolute;
	right: 0;
	top: 50%;
	display: grid;
	gap: 1rem;
	margin: 0;
	transform: translateY(-50%);
}

.picom-hero--v2 .picom-hero__stats > * {
	margin: 0;
}

.picom-hero--v2 .picom-stat {
	display: grid;
	grid-template-columns: auto auto;
	justify-content: start;
	column-gap: 0.75rem;
	align-items: center;
	padding: 1rem 1.25rem;
	border-radius: 1.25rem;
	background: var(--picom-white);
	box-shadow: 0 18px 40px rgb(0 0 0 / 25%);
}

.picom-hero--v2 .picom-stat::before {
	content: "";
	grid-row: 1 / span 2;
	width: 38px;
	height: 38px;
	background: var(--picom-green-dark);
	-webkit-mask: var(--picom-i-couches) center / contain no-repeat;
	mask: var(--picom-i-couches) center / contain no-repeat;
}

.picom-hero--v2 .picom-stat--agences::before {
	-webkit-mask-image: var(--picom-i-magasin);
	mask-image: var(--picom-i-magasin);
}

.picom-hero--v2 .picom-stat .picom-stat__nombre {
	margin: 0;
	font-family: var(--picom-font-title);
	font-size: 2.25rem;
	font-weight: 800;
	font-style: italic;
	line-height: 1;
	color: var(--picom-green-dark);
}

.picom-hero--v2 .picom-stat .picom-stat__label {
	margin: 0.125rem 0 0;
	font-family: var(--picom-font-title);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--picom-navy);
}

/* Bande verte des six rayons, à cheval sur la bannière */
.picom-rayons-bande {
	position: relative;
	z-index: 2;
	margin-top: -2.25rem;
	padding: 0 1rem;
}

.picom-rayons-bande > .picom-rayons {
	max-width: var(--picom-container);
	list-style: none;
	margin: 0 auto;
	padding: 0.375rem;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	border-radius: 1.25rem;
	background: var(--picom-green-dark);
	box-shadow: 0 12px 28px rgb(14 27 51 / 16%);
}

.picom-rayons li {
	margin: 0;
}

.picom-rayons li + li {
	border-left: 1px solid rgb(255 255 255 / 18%);
}

.picom-rayons-bande .picom-rayons a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 60px;
	border-radius: 0.875rem;
	color: var(--picom-white);
	font-family: var(--picom-font-title);
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease;
}

.picom-rayons-bande .picom-rayons a:hover {
	background: rgb(255 255 255 / 12%);
	color: var(--picom-white);
}

.picom-rayons a::before {
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: var(--ico, var(--picom-i-carreaux)) center / contain no-repeat;
	mask: var(--ico, var(--picom-i-carreaux)) center / contain no-repeat;
}

.picom-rayons li:nth-child(2) { --ico: var(--picom-i-robinet); }
.picom-rayons li:nth-child(3) { --ico: var(--picom-i-eclair); }
.picom-rayons li:nth-child(4) { --ico: var(--picom-i-lustre); }
.picom-rayons li:nth-child(5) { --ico: var(--picom-i-rouleau); }
.picom-rayons li:nth-child(6) { --ico: var(--picom-i-outils); }

/* Cartes d'univers : six sur une ligne, pastille icône et flèche */
.picom-grille--3 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
}

.picom-grille--3 .picom-carte {
	padding-bottom: 1.25rem;
	box-shadow: 0 8px 24px rgb(14 27 51 / 6%);
}

.picom-grille--3 .picom-carte .picom-carte__photo img {
	aspect-ratio: 1 / 0.85;
}

.picom-grille--3 .picom-carte p {
	display: none;
}

.picom-grille--3 .picom-carte h3 {
	position: relative;
	margin-top: 0.75rem;
	padding: 0 2.25rem 0 0;
	font-size: 1.0625rem;
	line-height: 1.25;
}

/* Pastille ronde blanche, posée à cheval sur la photo */
.picom-grille--3 .picom-carte h3::before {
	content: "";
	position: absolute;
	top: -3.25rem;
	left: 0;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--picom-white);
	box-shadow: 0 6px 16px rgb(14 27 51 / 18%);
}

/* Icône verte dans la pastille */
.picom-section .picom-grille--3 .picom-carte h3 a::before {
	content: "";
	position: absolute;
	top: -3.25rem;
	left: 0;
	width: 46px;
	height: 46px;
	background: var(--picom-green-dark);
	-webkit-mask: var(--ico, var(--picom-i-carreaux)) center / 24px no-repeat;
	mask: var(--ico, var(--picom-i-carreaux)) center / 24px no-repeat;
}

.picom-grille--3 .picom-carte:nth-child(2) { --ico: var(--picom-i-robinet); }
.picom-grille--3 .picom-carte:nth-child(3) { --ico: var(--picom-i-eclair); }
.picom-grille--3 .picom-carte:nth-child(4) { --ico: var(--picom-i-lustre); }
.picom-grille--3 .picom-carte:nth-child(5) { --ico: var(--picom-i-rouleau); }
.picom-grille--3 .picom-carte:nth-child(6) { --ico: var(--picom-i-outils); }

/* Flèche ronde en bas à droite */
.picom-grille--3 .picom-carte h3::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -0.125rem;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--picom-green-soft) var(--picom-i-fleche-verte) center / 14px no-repeat;
	box-shadow: inset 0 0 0 1.5px var(--picom-green-dark);
}

.picom-section .picom-grille--3 .picom-carte h3 a {
	position: static;
}

/* Bandeau des agences */
.picom-section--serree {
	padding-block: clamp(2rem, 4vw, 3rem);
}

.picom-bandeau-agences {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	border-radius: 1.5rem;
	overflow: hidden;
	background: linear-gradient(120deg, var(--picom-forest) 0%, #134a2c 100%);
	box-shadow: 0 20px 50px rgb(14 27 51 / 18%);
}

.picom-bandeau-agences > * {
	margin: 0;
	max-width: none;
}

.picom-bandeau-agences .picom-bandeau-agences__photo {
	position: relative;
	margin: 0;
	clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}

.picom-bandeau-agences__photo img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 18rem;
	object-fit: cover;
}

.picom-bandeau-agences__texte {
	padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem) 1rem;
	color: rgb(255 255 255 / 88%);
}

.picom-bandeau-agences__texte > * {
	margin-left: 0;
	max-width: none;
}

.picom-section .picom-bandeau-agences .picom-surtitre {
	color: var(--picom-lime);
}

.picom-section .picom-bandeau-agences h2 {
	margin: 0.5rem 0 0.75rem;
	font-style: italic;
	color: var(--picom-white);
}

.picom-section .picom-villes {
	margin-top: 1.5rem;
	gap: 0.625rem;
}

.picom-section .picom-villes .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0 1.125rem;
	border: 1.5px solid rgb(255 255 255 / 70%);
	border-radius: 999px;
	background: transparent;
	color: var(--picom-white);
	font-size: 0.9375rem;
}

.picom-section .picom-villes .wp-block-button__link::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--picom-i-lieu) center / contain no-repeat;
	mask: var(--picom-i-lieu) center / contain no-repeat;
}

.picom-section .picom-villes .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
	background: var(--picom-white);
	color: var(--picom-forest);
}

/* Carrousel des produits en vedette */
.picom-section--vedette .woocommerce ul.products {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0.25rem 0.25rem 1rem;
	margin: 0;
	scrollbar-width: thin;
}

.picom-section--vedette .woocommerce ul.products::before,
.picom-section--vedette .woocommerce ul.products::after {
	display: none;
}

.picom-section--vedette .woocommerce ul.products li.product {
	flex: 0 0 calc((100% - 4rem) / 5);
	min-width: 14rem;
	width: auto;
	margin: 0;
	float: none;
	scroll-snap-align: start;
}

.picom-carrousel-nav {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	margin: -3.75rem 0 1.25rem auto;
	max-width: var(--picom-container);
}

.picom-carrousel-nav button {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1.5px solid var(--picom-line-strong);
	border-radius: var(--picom-radius-sm);
	background: var(--picom-white);
	color: var(--picom-navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.picom-carrousel-nav button + button {
	border-color: var(--picom-green-dark);
	background: var(--picom-green-dark);
	color: var(--picom-white);
}

.picom-carrousel-nav button::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--picom-i-fleche) center / contain no-repeat;
	mask: var(--picom-i-fleche) center / contain no-repeat;
}

.picom-carrousel-nav button:first-child::before {
	transform: scaleX(-1);
}

/* Responsive de l'accueil v2 */
@media (max-width: 1200px) {
	.picom-grille--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 1.5rem;
	}
}

@media (max-width: 921px) {
	.picom-hero--v2 > .picom-hero__grille,
	.picom-bandeau-agences {
		grid-template-columns: minmax(0, 1fr);
	}

	.picom-hero--v2 .picom-hero__atouts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.picom-hero--v2 .picom-hero__atouts li + li {
		padding-left: 0;
		border-left: 0;
	}

	.picom-hero--v2 .picom-hero__photo {
		margin-right: 0;
	}

	.picom-hero--v2 .picom-hero__photo img {
		aspect-ratio: 16 / 10;
		max-height: 26rem;
	}

	.picom-hero--v2 .picom-hero__stats {
		position: static;
		transform: none;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 1.5rem;
	}

	.picom-rayons-bande > .picom-rayons {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.picom-rayons li + li {
		border-left: 0;
	}

	.picom-bandeau-agences .picom-bandeau-agences__photo {
		clip-path: none;
	}

	.picom-bandeau-agences__texte {
		padding: 1.75rem 1.5rem 2rem;
	}

	.picom-carrousel-nav {
		margin-top: 0;
	}

	.picom-section--vedette .woocommerce ul.products li.product {
		flex-basis: 70%;
	}
}

@media (max-width: 600px) {
	.picom-grille--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.picom-rayons-bande > .picom-rayons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.picom-rayons a {
		justify-content: flex-start;
		padding-left: 1rem;
		font-size: 0.9375rem;
	}

	.picom-hero--v2 .picom-stat {
		padding: 0.75rem 0.875rem;
	}

	.picom-hero--v2 .picom-stat .picom-stat__nombre {
		font-size: 1.75rem;
	}
}

/* Téléphone : boutons de la bannière en pleine largeur, faciles à toucher. */
@media (max-width: 600px) {
	.picom-hero--v2 .wp-block-buttons > .wp-block-button {
		flex: 1 1 100%;
	}

	.picom-hero--v2 .wp-block-button .wp-block-button__link {
		width: 100%;
		justify-content: center;
	}
}

/* Câble électrique qui traverse la bannière ; une impulsion le parcourt
   lentement (fixe si l'utilisateur réduit les animations). */
.picom-hero--v2::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 640' preserveAspectRatio='none'%3E%3Cpath d='M-40 560 C 200 600 380 400 620 450 S 960 640 1180 500 S 1380 260 1500 300' fill='none' stroke='%237ed957' stroke-opacity='.28' stroke-width='2.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M-40 560 C 200 600 380 400 620 450 S 960 640 1180 500 S 1380 260 1500 300' fill='none' stroke='%23b8f59c' stroke-opacity='.9' stroke-width='3' stroke-linecap='round' stroke-dasharray='70 1900' vector-effect='non-scaling-stroke'%3E%3Canimate attributeName='stroke-dashoffset' from='1970' to='0' dur='7s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

@media (prefers-reduced-motion: reduce) {
	.picom-hero--v2::before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 640' preserveAspectRatio='none'%3E%3Cpath d='M-40 560 C 200 600 380 400 620 450 S 960 640 1180 500 S 1380 260 1500 300' fill='none' stroke='%237ed957' stroke-opacity='.28' stroke-width='2.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
	}
}

.picom-hero--v2 > .picom-hero__grille {
	z-index: 1;
}

/* ==========================================================================
   Bannière éditoriale (picom-hero--edito, validée le 2026-11-20) : fond blanc
   cassé, titre droit à empattements, vert réservé à une expression, photo
   dans une forme organique bordée d'une vague verte. Remplace les effets de
   la v2 (dégradé, italique, cadre incliné, chiffres en surimpression).
   ========================================================================== */
.picom-hero--v2.picom-hero--edito {
	background: var(--picom-ivory);
	color: var(--picom-gray);
	border-radius: 0;
	padding: clamp(3rem, 6vw, 5rem) 1rem clamp(4.5rem, 7vw, 6rem);
}

.picom-hero--v2.picom-hero--edito::before {
	content: "";
	position: absolute;
	inset: auto;
	top: -12%;
	right: -6%;
	width: 46%;
	height: 70%;
	z-index: 0;
	border-radius: 0 0 0 100%;
	background: linear-gradient(200deg, rgb(126 217 87 / 26%), rgb(126 217 87 / 0%) 65%);
	pointer-events: none;
}

.picom-hero--edito .picom-hero__badge {
	padding: 0.5rem 1.125rem;
	background: #e3efd9;
	color: var(--picom-green-deep);
	font-family: var(--picom-font-text);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.picom-hero--edito .picom-hero__badge::before {
	width: 22px;
	height: 22px;
}

.picom-hero--v2.picom-hero--edito h1 {
	margin: 1.75rem 0 1.5rem;
	font-family: var(--picom-font-serif);
	font-size: clamp(2.25rem, 3.9vw, 3.75rem);
	font-weight: 600;
	font-style: normal;
	line-height: 1.22;
	letter-spacing: -0.01em;
	color: var(--picom-edito-navy);
}

.picom-hero--v2.picom-hero--edito h1 em {
	font-style: normal;
	color: var(--picom-edito-green);
}

/* Trait fin, à peine courbé, sous « embellir ». */
.picom-hero--edito .picom-trait::after {
	bottom: -0.06em;
	height: 0.12em;
	background: none;
	border-bottom: 2px solid var(--picom-edito-green);
	border-radius: 0 0 50% 50% / 0 0 100% 100%;
	opacity: 0.85;
}

.picom-hero--v2.picom-hero--edito .picom-hero__texte {
	color: var(--picom-gray);
	max-width: 32rem;
}

.picom-hero--v2.picom-hero--edito .picom-btn-boutique .wp-block-button__link {
	background: var(--picom-edito-green);
	color: var(--picom-white);
	box-shadow: none;
}

.picom-hero--v2.picom-hero--edito .picom-btn-boutique .wp-block-button__link:hover {
	background: var(--picom-green-deep);
	color: var(--picom-white);
}

.picom-hero--v2.picom-hero--edito .picom-btn-boutique .wp-block-button__link::after {
	display: none;
}

.picom-hero--v2.picom-hero--edito .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
	color: var(--picom-edito-navy);
	border: 1.5px solid var(--picom-edito-navy);
	background: transparent;
}

.picom-hero--v2.picom-hero--edito .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
	background: var(--picom-edito-navy);
	color: var(--picom-white);
}

.picom-hero--v2.picom-hero--edito .picom-hero__atouts {
	margin-top: 3.5rem;
}

.picom-hero--v2.picom-hero--edito .picom-hero__atouts li {
	color: var(--picom-navy);
	font-size: 0.9375rem;
}

.picom-hero--v2.picom-hero--edito .picom-hero__atouts li + li {
	border-left-color: var(--picom-line-strong);
}

.picom-hero--v2.picom-hero--edito .picom-hero__atouts li::before {
	background: var(--picom-green-dark);
}

/* Photo : forme organique qui sort par la droite, vague verte dessous. */
.picom-hero--edito .picom-hero__visuel {
	position: relative;
	align-self: stretch;
	display: flex;
	align-items: center;
	margin-right: calc((100vw - min(100vw, var(--picom-container))) / -2 - 1rem);
}

.picom-hero--edito .picom-hero__visuel::after {
	content: "";
	position: absolute;
	z-index: 0;
	right: -14%;
	bottom: -6%;
	width: 78%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 14px solid transparent;
	border-bottom-color: rgb(84 180 53 / 85%);
	border-right-color: rgb(84 180 53 / 35%);
	transform: rotate(18deg);
	pointer-events: none;
}

.picom-hero--v2.picom-hero--edito .picom-hero__photo {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0 0 1.5rem;
	padding: 0;
	background: none;
	transform: none;
	box-shadow: none;
	border-radius: 48% 0 0 40% / 62% 0 0 38%;
	overflow: hidden;
}

.picom-hero--v2.picom-hero--edito .picom-hero__photo img {
	aspect-ratio: 5 / 4;
	border-radius: 0;
	object-position: 45% 30%;
}

.picom-hero--v2.picom-hero--edito .picom-hero__stats {
	z-index: 2;
	left: -2.5rem;
	right: auto;
	top: auto;
	bottom: 10%;
	transform: none;
}

.picom-hero--v2.picom-hero--edito .picom-stat {
	box-shadow: 0 12px 30px rgb(20 34 56 / 14%);
}

@media (max-width: 921px) {
	.picom-hero--edito .picom-hero__visuel {
		margin-right: -1rem;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__photo {
		border-radius: 40% 0 0 30% / 50% 0 0 30%;
		margin-bottom: 0;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__photo img {
		aspect-ratio: 4 / 3;
		object-position: 40% 60%;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__atouts {
		margin-top: 2.25rem;
	}

	.picom-hero--v2.picom-hero--edito::before {
		width: 70%;
		height: 30%;
	}
}

/* Bannière éditoriale : la colonne de texte prend plus de place, atouts compacts. */
.picom-hero--v2.picom-hero--edito > .picom-hero__grille {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.picom-hero--v2.picom-hero--edito .picom-hero__atouts {
	grid-template-columns: repeat(4, auto);
	justify-content: start;
	gap: 1.25rem;
}

.picom-hero--v2.picom-hero--edito .picom-hero__atouts li + li {
	padding-left: 1.25rem;
}

@media (max-width: 1100px) {
	.picom-hero--v2.picom-hero--edito .picom-hero__atouts {
		grid-template-columns: repeat(2, auto);
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__atouts li:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 921px) {
	.picom-hero--v2.picom-hero--edito > .picom-hero__grille {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 921px) {
	.picom-hero--v2.picom-hero--edito .picom-hero__visuel {
		flex-direction: column;
		align-items: stretch;
		padding-right: 1rem;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__stats {
		position: static;
		margin: 1rem 0 0;
	}
}

/* ==========================================================================
   Bannière mobile et tablette (maquette du 2026-11-20) : photo en tête avec
   découpe courbe et vague verte (rappel architectural), titre bleu nuit
   avec surlignage vert, deux boutons côte à côte, avantages dans un encadré
   vert pâle, vague verte en pied.
   ========================================================================== */
@media (max-width: 921px) {
	.picom-hero--v2.picom-hero--edito {
		padding: 0 1rem 4.5rem;
	}

	.picom-hero--v2.picom-hero--edito::before {
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		width: auto;
		height: 54px;
		border-radius: 0;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 V30 C 60 10 120 50 200 38 C 280 26 330 4 400 16 V60 Z' fill='%2354b435' fill-opacity='.18'/%3E%3Cpath d='M0 60 V44 C 80 30 150 58 240 50 C 320 43 360 22 400 28 V60 Z' fill='%232e7a1e' fill-opacity='.9'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
	}

	.picom-hero--v2.picom-hero--edito > .picom-hero__grille {
		gap: 1.5rem;
	}

	/* Photo en tête, bord à bord, découpe courbe en bas ; les chiffres
	   clés passent après les avantages (le bloc visuel s'efface de la grille). */
	.picom-hero--v2.picom-hero--edito .picom-hero__visuel {
		display: contents;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__photo {
		order: -1;
		width: auto;
		margin: 0 -1rem;
		border-radius: 0 0 55% 45% / 0 0 18% 12%;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__photo img {
		aspect-ratio: 4 / 3.1;
		object-position: 40% 55%;
	}

	/* Vague verte en bas à droite de la photo, avec un bâtiment au trait */
	.picom-hero--edito .picom-hero__visuel::after {
		display: none;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__photo::after {
		content: "";
		position: absolute;
		z-index: 2;
		right: -6%;
		bottom: -12%;
		width: 52%;
		aspect-ratio: 1.7;
		border-radius: 100% 0 0 0 / 100% 0 0 0;
		background: linear-gradient(160deg, var(--picom-lime) 0%, var(--picom-green-dark) 85%);
		pointer-events: none;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__photo::before {
		content: "";
		position: absolute;
		z-index: 3;
		right: 9%;
		bottom: 9%;
		width: 15%;
		aspect-ratio: 1;
		background: rgb(255 255 255 / 85%);
		-webkit-mask: var(--picom-i-batiment) center / contain no-repeat;
		mask: var(--picom-i-batiment) center / contain no-repeat;
		pointer-events: none;
	}

	/* Chiffres clés après les avantages */
	.picom-hero--v2.picom-hero--edito .picom-hero__stats {
		order: 1;
		margin: 0;
	}

	/* Pastille en casse normale */
	.picom-hero--edito .picom-hero__badge {
		text-transform: none;
		letter-spacing: 0;
		font-size: 0.9375rem;
	}

	/* Titre : sans empattements, gras, bleu nuit ; ligne verte surlignée */
	.picom-hero--v2.picom-hero--edito h1 {
		margin: 1.25rem 0 1rem;
		font-family: var(--picom-font-title);
		font-size: clamp(2rem, 8.6vw, 3rem);
		font-weight: 800;
		font-style: italic;
		line-height: 1.14;
		letter-spacing: -0.02em;
	}

	.picom-hero--v2.picom-hero--edito h1 em {
		font-style: italic;
		padding: 0 0.12em;
		margin: 0 -0.12em;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cpath d='M6 14 C 60 6 160 4 292 9 C 296 16 290 26 284 30 C 180 34 80 36 10 33 C 2 28 1 20 6 14 Z' fill='%23cdeeb8' fill-opacity='.85'/%3E%3Cpath d='M40 30 C 120 33 220 31 296 27' fill='none' stroke='%23cdeeb8' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 62% / 100% 78% no-repeat;
		-webkit-box-decoration-break: clone;
		box-decoration-break: clone;
	}

	.picom-hero--edito .picom-trait::after {
		display: none;
	}

	/* Boutons côte à côte */
	.picom-hero--v2.picom-hero--edito .wp-block-buttons {
		flex-wrap: nowrap;
		gap: 0.5rem;
		margin-top: 1.5rem;
	}

	.picom-hero--v2.picom-hero--edito .wp-block-buttons > .wp-block-button {
		flex: 1 1 0;
		min-width: 0;
	}

	.picom-hero--v2.picom-hero--edito .wp-block-button .wp-block-button__link {
		width: 100%;
		justify-content: center;
		min-height: 54px;
		gap: 0.375rem;
		padding: 0.5rem 0.625rem;
		font-size: 0.875rem;
		line-height: 1.2;
		text-align: center;
	}

	.picom-hero--v2.picom-hero--edito .picom-btn-boutique .wp-block-button__link {
		box-shadow: 0 8px 18px rgb(39 133 31 / 25%);
	}

	/* Quatre avantages dans un encadré vert pâle */
	.picom-hero--v2.picom-hero--edito .picom-hero__atouts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0;
		margin-top: 1.75rem;
		padding: 1rem 0.25rem;
		border-radius: 1.25rem;
		background: #eef6e8;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__atouts li {
		flex-direction: column;
		justify-content: flex-start;
		gap: 0.5rem;
		padding: 0 0.25rem;
		text-align: center;
		font-size: 0.8125rem;
		line-height: 1.25;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__atouts li + li,
	.picom-hero--v2.picom-hero--edito .picom-hero__atouts li:nth-child(3) {
		padding-left: 0.25rem;
		border-left: 1px solid rgb(39 133 31 / 18%);
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__atouts li::before {
		width: 30px;
		height: 30px;
	}

	/* Bande des rayons : posée sous la vague */
	.picom-hero--edito + .picom-rayons-bande {
		margin-top: 1.25rem;
	}
}

@media (max-width: 380px) {
	.picom-hero--v2.picom-hero--edito .wp-block-button .wp-block-button__link::before {
		display: none;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__atouts li {
		font-size: 0.75rem;
	}
}

/* Tablette : photo moins haute, visage entier, vague plus discrète. */
@media (min-width: 601px) and (max-width: 921px) {
	.picom-hero--v2.picom-hero--edito .picom-hero__photo img {
		aspect-ratio: 16 / 9;
		object-position: 40% 30%;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__photo::after {
		width: 36%;
	}

	.picom-hero--v2.picom-hero--edito .picom-hero__photo::before {
		width: 9%;
		right: 7%;
		bottom: 8%;
	}
}
