/*
Theme Name: HYPEMEAL
Theme URI: https://hypemeal.com
Author: HYPEMEAL
Author URI: https://hypemeal.com
Description: Thème bloc sur mesure pour le site institutionnel HYPEMEAL (Trendy food. Seriously good.). Conçu pour fonctionner avec l'extension HYPEMEAL Core (formulaires, exemple chiffré, installation des pages).
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hypemeal
*/

/* ------------------------------------------------------------------
   0. Bases
   ------------------------------------------------------------------ */
:root {
	--hm-noir: #171717;
	--hm-creme-clair: #FBF1E6;
	--hm-creme: #F6E8CE;
	--hm-rouge: #9E0F0B;
	--hm-rouge-ligne: #BF3A2C;
	--hm-jaune: #FCC85B;
	--hm-orange: #F44700;
	--hm-texte: #45423D;
	--hm-texte-doux: #5E5B55;
	--hm-bordure: #E8D9BE;
	--hm-bordure-forte: #E2CFAE;
	--hm-gutter: var(--wp--style--root--padding-left, clamp(20px, 5.6vw, 80px));
	--hm-radius: 28px;
}

html { scroll-padding-top: 100px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2 { font-stretch: 92%; }
img { height: auto; max-width: 100%; }
:focus-visible { outline: 2px solid var(--hm-rouge); outline-offset: 3px; }
.hm-bg-noir :focus-visible, .hm-bg-rouge :focus-visible { outline-color: var(--hm-jaune); }

.skip-link.screen-reader-text:focus { background: var(--hm-noir); color: var(--hm-creme-clair); }

/* Les grilles maison neutralisent les marges automatiques de WordPress */
.hm-grid > *, .hm-steps > *, .hm-benefits > *, .hm-criteria > *,
.hm-upcoming__cards > *, .hm-footer__cols > *, .hm-brandcard > *,
.hm-zone > *, .hm-split > * { margin-block: 0; }

/* ------------------------------------------------------------------
   1. Typographie utilitaire
   ------------------------------------------------------------------ */
.hm-eyebrow {
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--hm-texte-doux);
}
.hm-eyebrow--dot { display: flex; align-items: center; gap: 12px; }
.hm-eyebrow--dot::before {
	content: "";
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: var(--hm-jaune);
}
.hm-lead { font-size: var(--wp--preset--font-size--large) !important; line-height: 1.5; color: var(--hm-texte); max-width: 600px; }
.hm-muted { color: var(--hm-texte-doux); }
.hm-small { font-size: 15px !important; line-height: 1.5; }
.hm-title-xl { font-size: clamp(52px, 8.4vw, 128px) !important; line-height: 0.95 !important; letter-spacing: -0.04em !important; font-stretch: 90%; }
.hm-title-cta { font-size: clamp(44px, 5.8vw, 88px) !important; max-width: 1060px; }
.hm-maxw-md { max-width: 640px; }
.hm-maxw-lg { max-width: 860px; }

/* Fonds */
.hm-bg-creme { background: var(--hm-creme); }
.hm-bg-noir { background: var(--hm-noir); color: var(--hm-creme-clair); }
.hm-bg-rouge { background: var(--hm-rouge); color: var(--hm-creme-clair); }
.hm-bg-noir :where(h1, h2, h3, h4), .hm-bg-rouge :where(h1, h2, h3, h4) { color: var(--hm-creme-clair); }
.hm-bg-noir .hm-eyebrow { color: #B5B1A9; }
.hm-bg-rouge .hm-eyebrow { color: #F3D9B5; }
.hm-bg-noir .hm-lead, .hm-bg-noir .hm-muted { color: #C9C5BD; }
.hm-bg-rouge .hm-lead, .hm-bg-rouge .hm-muted, .hm-bg-rouge p { color: #F6E2C4; }
.hm-bg-rouge .hm-lead--fort { color: var(--hm-creme-clair) !important; }
.hm-bg-noir a:where(:not(.wp-element-button)), .hm-bg-rouge a:where(:not(.wp-element-button)) { color: var(--hm-creme-clair); }
.hm-bg-noir a:where(:not(.wp-element-button)):hover, .hm-bg-rouge a:where(:not(.wp-element-button)):hover { color: var(--hm-jaune); }

/* Sections */
.hm-section { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.hm-section--tight { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); }
.hm-section--xl { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.hm-border-top { border-top: 1px solid var(--hm-bordure); }
.wp-site-blocks > main, .hm-main { margin-block-start: 0; }
.hm-main > .wp-block-post-content > .alignfull:first-child { margin-block-start: 0; }
body .wp-block-post-content > .alignfull { margin-block-start: 0; margin-block-end: 0; }
/* Textes plus étroits que la colonne : alignés à gauche de la colonne de 1280 px */
body .is-layout-constrained > :is(.hm-maxw-lg, .hm-maxw-md, .hm-lead, .hm-title-cta, .hm-quote, h1) {
	margin-left: max(0px, calc((100% - 1280px) / 2)) !important;
	margin-right: auto !important;
}

/* ------------------------------------------------------------------
   2. Boutons
   ------------------------------------------------------------------ */
.wp-block-button .wp-block-button__link { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--hm-noir);
	border: 1.5px solid var(--hm-noir);
	padding: 15.5px 28.5px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus { background: var(--hm-noir); color: var(--hm-creme-clair); }
.hm-bg-noir .wp-block-button.is-style-outline .wp-block-button__link,
.hm-bg-rouge .wp-block-button.is-style-outline .wp-block-button__link { color: var(--hm-creme-clair); border-color: var(--hm-creme-clair); }
.hm-btn-jaune .wp-block-button__link { background: var(--hm-jaune) !important; color: var(--hm-noir) !important; }
.hm-btn-jaune .wp-block-button__link:hover, .hm-btn-jaune .wp-block-button__link:focus { background: var(--hm-creme-clair) !important; }
.hm-btn-sm .wp-block-button__link { padding: 12px 22px !important; font-size: 15px !important; }
.hm-btn-arrow .wp-block-button__link::after { content: "\2192"; display: inline-block; margin-left: 10px; transition: transform .2s ease; }
.hm-btn-arrow .wp-block-button__link:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------------
   3. En-tête
   ------------------------------------------------------------------ */
body .wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.hm-header {
	background: var(--hm-creme-clair);
	border-bottom: 1px solid var(--hm-bordure);
}
.hm-header__inner {
	box-sizing: border-box;
	max-width: 1440px;
	margin: 0 auto;
	min-height: 88px;
	padding: 0 var(--hm-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.hm-header .hm-logo { margin: 0; flex: 0 0 auto; }
.hm-header .hm-logo img { height: 24px; width: auto; display: block; }
.hm-header__nav { display: flex; align-items: center; gap: 36px; margin: 0; }
.hm-nav .wp-block-navigation-item__content { text-decoration: none; color: var(--hm-noir); }
.hm-nav .wp-block-navigation-item__content:hover { color: var(--hm-rouge); }
.hm-nav .wp-block-navigation__container { gap: 36px; }
.hm-nav .hm-nav__home, .hm-nav .hm-nav__cta { display: none; }
.hm-header__cta { margin: 0; }

/* Menu mobile plein écran */
.hm-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--hm-noir) !important;
	color: var(--hm-creme-clair) !important;
	padding: 28px var(--hm-gutter) 40px;
}
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; align-items: stretch; }
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; align-items: stretch; }
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid #2E2E2E; }
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .hm-nav__home { display: flex; }
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch !important; }
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { justify-content: flex-start; }
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { width: 100%; text-align: left; }
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .hm-nav__cta { display: flex; border-bottom: 0; margin-top: 32px; }
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .hm-nav__cta .wp-block-navigation-item__content {
	background: var(--hm-jaune);
	color: var(--hm-noir);
	border-radius: 999px;
	font-size: 17px;
	letter-spacing: 0;
	font-stretch: 100%;
	padding: 17px 24px;
	box-sizing: border-box;
	text-align: center;
	justify-content: center;
}
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: var(--hm-creme-clair);
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -0.02em;
	font-stretch: 92%;
	padding: 16px 0;
}
.hm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover { color: var(--hm-jaune); }
.hm-nav .wp-block-navigation__responsive-container-open,
.hm-nav .wp-block-navigation__responsive-container-close { color: inherit; padding: 10px; margin: -10px; }

@media (max-width: 600px) {
	.hm-header__inner { min-height: 68px; gap: 10px; padding: 0 16px; }
	.hm-header .hm-logo img { height: 16px; }
	.hm-header__nav { gap: 10px; flex-direction: row-reverse; }
	.hm-header__cta .wp-block-button__link { padding: 11px 14px !important; font-size: 14px !important; }
}

/* ------------------------------------------------------------------
   4. Accueil — haut de page
   ------------------------------------------------------------------ */
.hm-hero { padding-top: 40px; padding-bottom: var(--wp--preset--spacing--60); }
.hm-brandcard {
	box-sizing: border-box;
	border-radius: var(--hm-radius);
	background: var(--hm-noir);
	color: var(--hm-creme-clair);
	padding: 44px 56px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px 64px;
}
.hm-brandcard__logo { flex: 1 1 420px; max-width: 600px; display: flex; flex-direction: column; gap: 18px; }
.hm-brandcard__logo > * { margin: 0 !important; }
.hm-brandcard__logo .hm-img-logo img { width: 100%; max-width: 560px; }
.hm-brandcard__logo .hm-img-signature img { width: 64%; max-width: 360px; }
.hm-brandcard__text { flex: 1 1 300px; max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
.hm-brandcard__text > * { margin: 0 !important; }
.hm-brandcard__text p { color: #C9C5BD; font-size: 18px; }
.hm-metiers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #B5B1A9;
}
.hm-metiers li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hm-metiers li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--hm-jaune); flex: 0 0 6px; }

.hm-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
	gap: 56px 64px;
	align-items: center;
	margin-top: 80px !important;
}
.hm-split__text > * + * { margin-top: 28px; }
.hm-split__text .wp-block-buttons { margin-top: 36px; }
.hm-fresque { margin: 0; }
.hm-fresque img { border-radius: var(--hm-radius); width: 100%; display: block; }
.hm-fresque figcaption, .hm-caption-dot {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--hm-texte);
	text-align: left;
}
.hm-fresque figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--hm-rouge); flex: 0 0 8px; }

/* ------------------------------------------------------------------
   5. Étapes (Notre modèle)
   ------------------------------------------------------------------ */
.hm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 80px !important; }
.hm-step { border-top: 1.5px solid var(--hm-noir); padding-top: 32px; }
.hm-bg-noir .hm-step, .hm-bg-rouge .hm-step { border-top-color: currentColor; }
.hm-step > * { margin: 0; }
.hm-step__num {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 64px !important;
	line-height: 1 !important;
	font-weight: 500;
	letter-spacing: -0.03em;
	margin-bottom: 40px !important;
}
.hm-step__num::before { content: ""; width: 14px; height: 14px; background: var(--hm-jaune); flex: 0 0 14px; }
.hm-step h3 { font-size: 28px; margin-bottom: 14px; }
.hm-step p:not(.hm-step__num) { color: var(--hm-texte-doux); }
.hm-bg-noir .hm-step p:not(.hm-step__num), .hm-bg-rouge .hm-step p:not(.hm-step__num) { color: inherit; opacity: .85; }

/* ------------------------------------------------------------------
   6. Curry Social Club
   ------------------------------------------------------------------ */
.hm-csc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.hm-csc__visual {
	position: relative;
	min-height: 640px;
	border-radius: var(--hm-radius);
	overflow: hidden;
	background: #3B1F4F;
}
.hm-cover { position: absolute !important; inset: 0; margin: 0 !important; }
.hm-cover img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 30%; display: block; }
.hm-zones {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 24px;
	box-sizing: border-box;
	background: var(--hm-creme-clair);
	color: var(--hm-noir);
	border-radius: 20px;
	padding: 28px 28px 20px;
	margin: 0 !important;
}
.hm-zones > * { margin: 0; }
.hm-zones .hm-eyebrow { color: var(--hm-rouge); margin-bottom: 16px; }
.hm-zone {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--hm-bordure-forte);
}
.hm-zone__ville { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.hm-zone__ville::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background: var(--hm-rouge);
	-webkit-mask: 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 21s-6-5.3-6-11a6 6 0 0 1 12 0c0 5.7-6 11-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.3-6-11a6 6 0 0 1 12 0c0 5.7-6 11-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hm-zone__pays { font-size: 15px; color: var(--hm-texte-doux); }
.hm-zones__note { font-size: 14px !important; color: var(--hm-texte-doux); margin-top: 6px !important; }

.hm-csc__text > * + * { margin-top: 20px; }
.hm-csc__text .hm-csc-logo { margin-top: 36px !important; }
.hm-csc-logo img { width: 300px; max-width: 100%; }
.hm-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hm-status-row > * { margin: 0 !important; }
.hm-status {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--hm-rouge);
	color: var(--hm-creme-clair);
	font-size: 13px !important;
	font-weight: 600;
}
.hm-tags { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hm-tags li { margin: 0; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--hm-noir); font-size: 15px; font-weight: 500; }

/* ------------------------------------------------------------------
   7. Notre différence (rouge)
   ------------------------------------------------------------------ */
.hm-diff__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 72px; margin-top: 72px !important; }
.hm-diff__cols > * { margin: 0; }
.hm-diff__cols .hm-lead { font-size: 27px !important; line-height: 1.4; max-width: none; letter-spacing: -0.01em; }
.hm-diff__cols .hm-diff__body > * + * { margin-top: 20px; }
.hm-criteria-title { margin-top: 96px !important; }
.hm-criteria { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.hm-criteria li { border-top: 1px solid var(--hm-bordure-forte); padding: 22px 0 26px; font-size: 20px; font-weight: 500; margin: 0; }
.hm-bg-rouge .hm-criteria li { border-top-color: var(--hm-rouge-ligne); }
.hm-criteria--une-colonne { grid-template-columns: minmax(0, 1fr) !important; margin-top: 0; }
.hm-criteria--une-colonne li:last-child { border-bottom: 1px solid var(--hm-bordure-forte); }
.hm-bg-noir .hm-criteria li { border-top-color: #2E2E2E; }
.hm-quote { font-size: clamp(30px, 3.6vw, 52px) !important; line-height: 1.12 !important; font-weight: 600; letter-spacing: -0.03em; font-stretch: 92%; max-width: 1060px; }

.hm-steps--compact { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 8px !important; }
.hm-steps--compact .hm-step { padding-top: 20px; }
.hm-steps--compact .hm-step__num { font-size: 32px !important; margin-bottom: 12px !important; }
.hm-steps--compact .hm-step__num::before { width: 10px; height: 10px; flex-basis: 10px; }
.hm-steps--compact .hm-step h3 { font-size: 20px; margin-bottom: 6px; }
.hm-gallery { margin-top: 40px !important; }
.hm-placeholder { margin-top: 16px !important; }
.hm-section .hm-note, .hm-section--tight .hm-note { margin-top: 32px; }
.hm-prose .hm-note { margin-top: 0; }

/* ------------------------------------------------------------------
   8. Pourquoi devenir partenaire
   ------------------------------------------------------------------ */
.hm-partner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.hm-partner__intro > * + * { margin-top: 24px; }
.hm-partner__intro > h2:not(.has-x-large-font-size), .hm-exemple-sec__intro > h2 { font-size: clamp(34px, 3.6vw, 52px); }
.hm-partner__intro .wp-block-buttons { margin-top: 36px; }
.hm-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hm-benefit {
	position: relative;
	background: var(--hm-creme);
	border-radius: 22px;
	padding: 104px 32px 32px;
}
.hm-bg-creme .hm-benefit { background: var(--hm-creme-clair); }
.hm-benefit > * { margin: 0; }
.hm-benefit h3 { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.hm-benefit p { font-size: 17px; color: var(--hm-texte-doux); }
.hm-benefit::before {
	content: "";
	position: absolute;
	top: 32px;
	left: 32px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--hm-noir);
}
.hm-benefit::after {
	content: "";
	position: absolute;
	top: 44px;
	left: 44px;
	width: 24px;
	height: 24px;
	background: var(--hm-jaune);
	-webkit-mask: var(--hm-ico) center / contain no-repeat;
	mask: var(--hm-ico) center / contain no-repeat;
}
.hm-ico-etoile { --hm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.2 5.6L20 11l-5.8 2.4L12 19l-2.2-5.6L4 11l5.8-2.4z'/%3E%3C/svg%3E"); }
.hm-ico-cuisine { --hm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v6a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3z'/%3E%3Cpath d='M2 11h20'/%3E%3Cpath d='M9 7.5c0-1 1-1.5 1-2.5'/%3E%3Cpath d='M14 7.5c0-1 1-1.5 1-2.5'/%3E%3C/svg%3E"); }
.hm-ico-marketing { --hm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11v2a1 1 0 0 0 1 1h2l5 4V6L6 10H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M15 9a4 4 0 0 1 0 6'/%3E%3Cpath d='M18 6a8 8 0 0 1 0 12'/%3E%3C/svg%3E"); }
.hm-ico-etapes { --hm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4v-5h4v-5h4V5h4'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------------
   9. Exemple chiffré
   ------------------------------------------------------------------ */
.hm-exemple-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.hm-exemple-sec__intro > * + * { margin-top: 22px; }
.hm-exemple-sec__intro .wp-block-buttons { margin-top: 32px; }
.hm-exemple { display: flex; flex-direction: column; gap: 28px; }
.hm-exemple__total {
	background: var(--hm-rouge);
	color: var(--hm-creme-clair);
	border-radius: 22px;
	padding: 36px 40px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
}
.hm-exemple__label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #F3D9B5; }
.hm-exemple__montant { margin: 12px 0 0; font-size: clamp(52px, 6vw, 80px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-stretch: 92%; font-variant-numeric: tabular-nums; }
.hm-exemple__precision { margin: 0; max-width: 300px; font-size: 17px; line-height: 1.5; color: #F6E2C4; }
.hm-exemple__barre { display: flex; gap: 3px; height: 56px; border-radius: 14px; overflow: hidden; }
.hm-exemple__barre span { display: block; min-width: 2px; }
.hm-exemple__legende { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--hm-bordure-forte); }
.hm-exemple__legende li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hm-bordure-forte); margin: 0; }
.hm-exemple__pastille { flex: 0 0 14px; width: 14px; height: 14px; border-radius: 4px; }
.hm-exemple__poste { flex: 1 1 auto; font-size: 18px; }
.hm-exemple__poste.is-fort { font-weight: 600; }
.hm-exemple__pct { flex: 0 0 64px; text-align: right; font-size: 15px; color: var(--hm-texte-doux); font-variant-numeric: tabular-nums; }
.hm-exemple__eur { flex: 0 0 120px; text-align: right; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------
   10. Prochainement
   ------------------------------------------------------------------ */
.hm-upcoming { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.hm-upcoming__intro > * + * { margin-top: 20px; }
.hm-upcoming__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hm-brand-mini { background: var(--hm-creme); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.hm-brand-mini > * { margin: 0 !important; }
.hm-brand-mini .wp-block-image { height: 180px; display: flex; align-items: center; justify-content: center; }
.hm-brand-mini .wp-block-image img { max-height: 150px; max-width: 80%; width: auto; }
.hm-brand-mini__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--hm-bordure-forte); padding-top: 18px; }
.hm-brand-mini__foot > * { margin: 0 !important; }
.hm-brand-mini__foot h3 { font-size: 20px; letter-spacing: -0.01em; }
.hm-brand-mini__foot p { font-size: 15px; color: var(--hm-texte-doux); }

/* ------------------------------------------------------------------
   11. Pages intérieures
   ------------------------------------------------------------------ */
.hm-pagehero { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--50); }
.hm-pagehero > * + * { margin-top: 24px; }
.hm-pagehero h1 { max-width: 1000px; }
.hm-two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 72px; }
.hm-two-cols > * { margin: 0; }
.hm-two-cols > * > * + * { margin-top: 18px; }
.hm-card { background: var(--hm-creme); border-radius: 22px; padding: 32px; }
.hm-card > * { margin: 0; }
.hm-card > * + * { margin-top: 14px; }
.hm-brand-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; background: var(--hm-creme); border-radius: var(--hm-radius); padding: 48px; }
.hm-brand-feature > * { margin: 0; }
.hm-brand-feature__text > * + * { margin-top: 20px; }
.hm-brand-feature .hm-brand-feature__img img { border-radius: 22px; width: 100%; }
.hm-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-gallery > * { margin: 0 !important; }
.hm-gallery img { border-radius: 22px; width: 100%; aspect-ratio: 9 / 14; object-fit: cover; }
.hm-placeholder { border: 1.5px dashed var(--hm-bordure-forte); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; justify-content: center; min-height: 240px; }
.hm-placeholder > * { margin: 0; }
.hm-placeholder > * + * { margin-top: 10px; }
.hm-prose > * + * { margin-top: 18px; }
.hm-prose h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 48px; }
.hm-prose h3 { margin-top: 28px; }
.hm-prose ul { padding-left: 1.2em; }
.hm-note { font-size: 15px; color: var(--hm-texte-doux); background: var(--hm-creme); border-radius: 14px; padding: 16px 20px; }

/* ------------------------------------------------------------------
   12. Formulaires
   ------------------------------------------------------------------ */
.hm-form-wrap { background: var(--hm-creme); border-radius: var(--hm-radius); padding: clamp(24px, 4vw, 48px); }
.hm-form { display: flex; flex-direction: column; gap: 28px; }
.hm-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.hm-fieldset > legend { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hm-rouge); padding: 0; margin: 0 0 16px; }
.hm-fieldset__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hm-checkgroup { border: 0; margin: 0; padding: 0; min-width: 0; }
.hm-checkgroup > legend { padding: 0; margin: 0 0 8px; }
.hm-alert ul { margin: 8px 0 0; padding-left: 1.2em; }
.hm-alert a { color: inherit; }
.hm-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hm-field--full { grid-column: 1 / -1; }
.hm-field label, .hm-field .hm-field__label { font-size: 15px; font-weight: 600; }
.hm-field .hm-req { color: var(--hm-rouge); }
.hm-field input[type="text"], .hm-field input[type="email"], .hm-field input[type="tel"], .hm-field select, .hm-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1.5px solid var(--hm-bordure-forte);
	border-radius: 12px;
	background: #FFFDF8;
	color: var(--hm-noir);
	font: inherit;
	font-size: 17px;
}
.hm-field textarea { min-height: 140px; resize: vertical; }
.hm-field input:focus, .hm-field select:focus, .hm-field textarea:focus { outline: 2px solid var(--hm-rouge); outline-offset: 1px; border-color: var(--hm-rouge); }
.hm-field.has-error input, .hm-field.has-error select, .hm-field.has-error textarea { border-color: var(--hm-rouge); }
.hm-field__error { color: var(--hm-rouge); font-size: 14px; font-weight: 500; margin: 0; }
.hm-field__help { color: var(--hm-texte-doux); font-size: 14px; margin: 0; }
.hm-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-checks label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--hm-bordure-forte); border-radius: 999px; background: #FFFDF8; font-weight: 500; font-size: 15px; cursor: pointer; }
.hm-checks input { accent-color: var(--hm-rouge); width: 18px; height: 18px; margin: 0; }
.hm-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 400 !important; }
.hm-consent input { accent-color: var(--hm-rouge); width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 20px; }
.hm-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.hm-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.hm-submit button {
	appearance: none;
	border: 0;
	cursor: pointer;
	background: var(--hm-noir);
	color: var(--hm-creme-clair);
	border-radius: 999px;
	padding: 17px 32px;
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	transition: background-color .2s ease;
}
.hm-submit button:hover, .hm-submit button:focus-visible { background: var(--hm-rouge); }
.hm-submit p { margin: 0; font-size: 15px; color: var(--hm-texte-doux); }
.hm-alert { border-radius: 14px; padding: 16px 20px; font-size: 16px; margin: 0 0 8px; }
.hm-alert--error { background: #FBE3DF; color: #7A0C08; }
.hm-alert--success { background: var(--hm-noir); color: var(--hm-creme-clair); }

/* ------------------------------------------------------------------
   13. Pied de page
   ------------------------------------------------------------------ */
.hm-footer { background: var(--hm-noir); color: var(--hm-creme-clair); border-top: 1px solid #2E2E2E; }
.hm-footer__inner { box-sizing: border-box; max-width: 1440px; margin: 0 auto; padding: 88px var(--hm-gutter) 40px; }
.hm-footer__cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; }
.hm-footer__brand > * { margin: 0; }
.hm-footer__brand > * + * { margin-top: 18px; }
.hm-footer__brand .hm-footer-logo img { width: 210px; }
.hm-footer__brand .hm-footer-signature img { width: 250px; }
.hm-footer p, .hm-footer li { color: #A9A6A0; font-size: 16px; }
.hm-footer .hm-footer__title { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #A9A6A0; margin: 0 0 14px; }
.hm-footer ul { list-style: none; margin: 0; padding: 0; }
.hm-footer li { margin: 0 0 12px; }
.hm-footer a { color: var(--hm-creme-clair); text-decoration: none; }
.hm-footer a:hover, .hm-footer a:focus { color: var(--hm-jaune); }
.hm-footer__title--social { margin-top: 28px !important; }
.hm-footer .hm-social { gap: 10px; margin: 0; padding: 0; }
.hm-footer .hm-social .wp-social-link {
	background: transparent !important;
	color: var(--hm-creme-clair) !important;
	border: 1px solid #3A3A3A;
	border-radius: 999px;
	margin: 0;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hm-footer .hm-social .wp-social-link a { padding: 10px; color: inherit; }
.hm-footer .hm-social .wp-social-link svg { width: 20px; height: 20px; }
.hm-footer .hm-social .wp-social-link:hover,
.hm-footer .hm-social .wp-social-link:focus-within { background: var(--hm-jaune) !important; color: var(--hm-noir) !important; border-color: var(--hm-jaune); }
.hm-footer__bottom { margin-top: 80px !important; padding-top: 24px; border-top: 1px solid #2E2E2E; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.hm-footer__bottom > * { margin: 0; }
.hm-footer__bottom p, .hm-footer__bottom a { font-size: 14px; color: #A9A6A0; }
.hm-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hm-footer__legal > * { margin: 0 !important; }
.hm-footer__legal a { text-decoration: underline; color: #A9A6A0; }

/* ------------------------------------------------------------------
   14. Apparition douce au défilement
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
	.hm-js .hm-reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
	.hm-js .hm-reveal.is-visible { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
   15. Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1000px) {
	.hm-split, .hm-csc, .hm-partner, .hm-exemple-sec, .hm-upcoming, .hm-brand-feature { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.hm-split { gap: 40px; }
	.hm-split .hm-fresque { max-width: 480px; }
	.hm-steps { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 44px !important; }
	.hm-step__num { font-size: 44px !important; margin-bottom: 18px !important; }
	.hm-footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.hm-footer__brand { grid-column: 1 / -1; }
	.hm-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	:root { --hm-radius: 22px; }
	.hm-hero { padding-top: 20px; }
	.hm-brandcard { padding: 26px 22px; gap: 20px; flex-direction: column; align-items: stretch; }
	.hm-brandcard__logo { flex-basis: auto; gap: 12px; order: 2; }
	.hm-brandcard__text { flex-basis: auto; display: contents; }
	.hm-metiers { order: 1; gap: 6px 16px; font-size: 11px; letter-spacing: .1em; }
	.hm-brandcard__text p { order: 3; font-size: 15px; }
	.hm-brandcard__logo .hm-img-signature img { width: 78%; }
	.hm-split { margin-top: 40px !important; }
	.hm-split .hm-fresque { max-width: none; }
	.hm-eyebrow { font-size: 12px !important; }
	.hm-lead { font-size: 18px !important; }
	.hm-csc { gap: 32px; }
	.hm-csc__visual { min-height: 480px; }
	.hm-zones { left: 14px; right: 14px; bottom: 14px; padding: 20px 20px 14px; border-radius: 16px; }
	.hm-zone { padding: 11px 0; }
	.hm-zone__ville { font-size: 18px; }
	.hm-csc-logo img { width: 220px; }
	.hm-diff__cols { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 36px !important; }
	.hm-diff__cols .hm-lead { font-size: 22px !important; }
	.hm-criteria-title { margin-top: 52px !important; }
	.hm-criteria { grid-template-columns: minmax(0, 1fr); }
	.hm-criteria li { padding: 16px 0; font-size: 18px; }
	.hm-benefits { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.hm-benefit { padding: 22px 22px 22px 82px; min-height: 88px; }
	.hm-benefit::before { top: 22px; left: 22px; width: 44px; height: 44px; border-radius: 12px; }
	.hm-benefit::after { top: 33px; left: 33px; width: 22px; height: 22px; }
	.hm-benefit h3 { font-size: 19px; margin-bottom: 4px; }
	.hm-benefit p { font-size: 16px; }
	.hm-exemple__total { padding: 24px; }
	.hm-exemple__montant { font-size: 56px; }
	.hm-exemple__barre { height: 40px; border-radius: 10px; gap: 2px; }
	.hm-exemple__legende li { gap: 12px; padding: 14px 0; }
	.hm-exemple__poste { font-size: 16px; line-height: 1.3; }
	.hm-exemple__pct { flex-basis: 44px; font-size: 13px; }
	.hm-exemple__eur { flex-basis: 84px; font-size: 16px; }
	.hm-upcoming__cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.hm-brand-mini { padding: 22px; gap: 18px; }
	.hm-brand-mini .wp-block-image { height: 140px; }
	.hm-brand-mini .wp-block-image img { max-height: 124px; }
	.hm-two-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.hm-brand-feature { padding: 24px; }
	.hm-gallery { grid-template-columns: minmax(0, 1fr); }
	.hm-fieldset__grid { grid-template-columns: minmax(0, 1fr); }
	.hm-submit button { width: 100%; }
	.hm-footer__inner { padding-top: 56px; padding-bottom: 32px; }
	.hm-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.hm-footer__brand .hm-footer-logo img { width: 170px; }
	.hm-footer__brand .hm-footer-signature img { width: 220px; }
	.hm-footer__bottom { margin-top: 40px !important; flex-direction: column; }
	.wp-block-buttons.hm-stack-mobile { flex-direction: column; align-items: stretch; }
	.wp-block-buttons.hm-stack-mobile .wp-block-button { width: 100%; }
	.wp-block-buttons.hm-stack-mobile .wp-block-button__link { width: 100%; box-sizing: border-box; text-align: center; }
}

/* ------------------------------------------------------------------
   16. Direction « affiches » (accueil v2)
   ------------------------------------------------------------------ */
.hm-hero2 { padding-top: 32px; padding-bottom: var(--wp--preset--spacing--60); }
.hm-topline { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 40px !important; }
.hm-topline > * { margin: 0 !important; font-size: 13px; font-weight: 700; letter-spacing: .2em; line-height: 1.5; text-transform: uppercase; }
.hm-topline > *::after { content: ""; display: block; width: 96px; height: 1.5px; background: var(--hm-noir); margin-top: 22px; }
.hm-topline > *:last-child { text-align: right; }
.hm-topline > *:last-child::after { margin-left: auto; }
.hm-kicker { text-align: center; font-size: 17px !important; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; line-height: 1.5; }
.hm-logoblock {
	box-sizing: border-box;
	max-width: 890px;
	margin: 36px auto 0 !important;
	padding: 48px 40px 40px;
	background: var(--hm-noir);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.hm-logoblock > * { margin: 0 !important; }
.hm-logoblock__logo img { width: min(680px, 86vw); }
.hm-logoblock__signature img { width: min(540px, 66vw); }
.hm-plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: end; margin-top: 40px !important; }
.hm-plats > * { margin: 0 !important; }
.hm-plats img { width: 100%; display: block; }
.hm-h1-hero { font-size: clamp(38px, 5.2vw, 76px) !important; font-weight: 700; line-height: 1.02 !important; max-width: 1080px; margin-top: 40px !important; }
.hm-hero2 .hm-lead { font-size: clamp(20px, 2.2vw, 30px) !important; max-width: none; color: var(--hm-noir); margin-top: 16px !important; }
.hm-hero2 .wp-block-buttons { margin-top: 36px !important; }
.hm-trio { list-style: none; margin: 72px 0 0 !important; padding: 0; display: flex; justify-content: center; }
.hm-trio li { margin: 0; padding: 4px 64px; font-size: clamp(18px, 2vw, 28px); line-height: 1.2; }
.hm-trio li + li { border-left: 1.5px solid var(--hm-noir); }

h1, h2, h3 { font-weight: 700; }
.hm-centered > h2, .hm-centered > .hm-lead, .hm-centered > .hm-punch { text-align: center; }
body .hm-centered.is-layout-constrained > :is(h2, .hm-lead, .hm-punch) { margin-left: auto !important; margin-right: auto !important; }
.hm-centered > h2 { max-width: 1000px; }
.hm-h2-xl { font-size: clamp(38px, 5vw, 72px) !important; line-height: 1.02 !important; }
.hm-section .hm-kicker + h2 { margin-top: 28px; }
.hm-section > .hm-lead { margin-top: 20px; }

.hm-cols { display: grid; gap: 0; margin-top: 64px !important; }
.hm-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-col { padding: 0 32px; text-align: left; display: flex; flex-direction: column; }
.hm-col > * { margin: 0 !important; }
.hm-col + .hm-col { border-left: 1px solid #8A8178; }
.hm-col:first-child { padding-left: 0; }
.hm-col:last-child { padding-right: 0; }
.hm-col h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.hm-col p { font-size: 19px; line-height: 1.45; color: #3F3B36; margin-top: 18px !important; }
.hm-col--icone::before {
	content: "";
	display: block;
	width: 72px;
	height: 72px;
	margin: 0 auto 36px;
	background: var(--hm-noir);
	-webkit-mask: var(--hm-ico) center / contain no-repeat;
	mask: var(--hm-ico) center / contain no-repeat;
}
.hm-col--icone h3 { min-height: 2.3em; }
.hm-ico-ampoule { --hm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 18h5M10.5 20.5h3'/%3E%3Cpath d='M12 5a5.5 5.5 0 0 0-3.3 9.9c.6.5.9 1.1.9 1.8v.3h4.8v-.3c0-.7.3-1.3.9-1.8A5.5 5.5 0 0 0 12 5z'/%3E%3Cpath d='M12 1.5v1.4M4.2 4.6l1 1M19.8 4.6l-1 1M1.8 11h1.5M20.7 11h1.5'/%3E%3C/svg%3E"); }
.hm-ico-boutique { --hm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16l1.5 5h-19z'/%3E%3Cpath d='M2.5 9a2.4 2.4 0 0 0 4.8 0 2.4 2.4 0 0 0 4.7 0 2.4 2.4 0 0 0 4.7 0 2.4 2.4 0 0 0 4.8 0'/%3E%3Cpath d='M4 11.5V20h16v-8.5'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E"); }
.hm-ico-courbe { --hm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19.5h3.5v-4H3zM9.5 19.5H13v-7H9.5zM16 19.5h3.5V9H16z'/%3E%3Cpath d='M2.5 10c6 0 11-2.4 16-6.5'/%3E%3Cpath d='M15 3h4v4'/%3E%3C/svg%3E"); }
.hm-col--image img { height: 200px; width: 100%; object-fit: contain; display: block; margin-bottom: 28px; }
.hm-col--image h3 { font-size: clamp(22px, 2.2vw, 30px); }
.hm-col--cible h3 { font-size: clamp(26px, 2.8vw, 40px); }
.hm-col--cible img { width: 100%; height: 240px; object-fit: contain; margin-top: auto !important; padding-top: 24px; display: block; }
.hm-punch {
	margin-top: 72px !important;
	font-size: clamp(28px, 3.6vw, 52px) !important;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	font-stretch: 92%;
	max-width: 1000px;
}
.hm-centered .hm-punch, .hm-section > .hm-punch { text-align: center; margin-left: auto !important; margin-right: auto !important; }

.hm-bcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px !important; }
.hm-bcard {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	padding: 36px 32px 0;
	min-height: 560px;
	display: flex;
	flex-direction: column;
}
.hm-bcard > * { margin: 0 !important; }
.hm-bcard h3 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -0.03em; }
.hm-bcard h3::after { content: ""; display: block; width: 60px; height: 3px; background: currentColor; margin-top: 28px; }
.hm-bcard p { font-size: 21px; line-height: 1.35; margin-top: 22px !important; }
.hm-bcard .hm-bcard__lien { font-size: 16px; font-weight: 600; margin-top: 14px !important; }
.hm-bcard .hm-bcard__lien a { color: inherit; }
.hm-bcard .wp-block-image { margin: auto -32px 0 !important; }
.hm-bcard .wp-block-image img { width: 100%; display: block; }
.hm-bcard--curry { background: #6E0806; color: var(--hm-creme-clair); }
.hm-bcard--burgers { background: #F5DEC0; color: var(--hm-noir); }
.hm-bcard--crousty { background: #3B1902; color: var(--hm-creme-clair); }
.hm-bcard--curry h3, .hm-bcard--crousty h3 { color: var(--hm-creme-clair); }

.hm-ctasec { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); }
.hm-ctabar {
	box-sizing: border-box;
	background: var(--hm-noir);
	color: var(--hm-creme-clair);
	border-radius: 16px;
	padding: 40px 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.hm-ctabar > * { margin: 0 !important; }
.hm-ctabar__texte > * { margin: 0 !important; }
.hm-ctabar__titre { color: var(--hm-creme-clair); font-size: clamp(30px, 4vw, 56px) !important; line-height: 1.05; }
.hm-ctabar__sous { color: var(--hm-creme-clair); font-size: clamp(20px, 2.6vw, 36px) !important; line-height: 1.2; margin-top: 6px !important; }
.hm-btn-rond .wp-block-button__link {
	position: relative;
	display: block;
	width: 96px;
	height: 96px;
	padding: 0 !important;
	border-radius: 999px !important;
	background: var(--hm-creme-clair) !important;
	color: transparent !important;
	font-size: 0 !important;
	overflow: hidden;
}
.hm-btn-rond .wp-block-button__link::after {
	content: "\2192";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--hm-noir);
	font-size: 40px;
	transition: transform .2s ease;
}
.hm-btn-rond .wp-block-button__link:hover { background: var(--hm-jaune) !important; }
.hm-btn-rond .wp-block-button__link:hover::after { transform: translateX(4px); }
.hm-signature-line { margin-top: 44px !important; font-size: 15px !important; font-weight: 600; letter-spacing: .3em; text-align: center !important; }


/* Grilles : pas d'espacement vertical hérité de la mise en page WordPress */
body .hm-cols > *, body .hm-bcards > *, body .hm-plats > *, body .hm-topline > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.hm-section:not(.hm-centered) > .hm-kicker:not(.hm-signature-line) { text-align: left; }
.hm-h1-hero { letter-spacing: -0.025em !important; }
.hm-plats img, .hm-col--image img, .hm-col--cible img, .hm-bcard .wp-block-image img {
	-webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
	mask-composite: intersect;
}

@media (max-width: 1000px) {
	.hm-cols--3 { grid-template-columns: minmax(0, 1fr); }
	.hm-cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.hm-cols--3 .hm-col { padding: 32px 0; border-left: 0; }
	.hm-cols--3 .hm-col + .hm-col { border-top: 1px solid #8A8178; }
	.hm-cols--4 .hm-col:nth-child(odd) { padding-left: 0; border-left: 0; }
	.hm-cols--4 .hm-col:nth-child(even) { padding-right: 0; }
	.hm-col--icone::before { margin: 0 0 24px; }
	.hm-col--icone h3 { min-height: 0; }
	.hm-bcards { grid-template-columns: minmax(0, 1fr); }
	.hm-bcard { min-height: 0; }
	.hm-bcard .wp-block-image { margin-top: 24px !important; }
}
@media (max-width: 720px) {
	.hm-topline { margin-bottom: 28px !important; }
	.hm-topline > * { font-size: 10.5px; letter-spacing: .16em; }
	.hm-topline > *::after { width: 56px; margin-top: 14px; }
	.hm-kicker { font-size: 12px !important; letter-spacing: .16em; }
	.hm-logoblock { padding: 28px 18px 24px; gap: 12px; margin-top: 24px !important; }
	.hm-plats { margin-top: 20px !important; }
	.hm-trio { margin-top: 40px !important; }
	.hm-trio li { padding: 2px 18px; }
	.hm-cols { margin-top: 36px !important; }
	.hm-cols--4 { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
	.hm-cols--4 .hm-col { padding: 28px 0; border-left: 0; }
	.hm-cols--4 .hm-col + .hm-col { border-top: 1px solid #8A8178; }
	.hm-col--image img { height: 160px; }
	.hm-col--cible img { height: 200px; }
	.hm-col p { font-size: 17px; }
	.hm-punch { margin-top: 44px !important; }
	.hm-bcard { padding: 28px 24px 0; }
	.hm-bcard .wp-block-image { margin-left: -24px !important; margin-right: -24px !important; }
	.hm-ctabar { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
	.hm-btn-rond .wp-block-button__link { width: 72px; height: 72px; }
	.hm-signature-line { font-size: 11px !important; letter-spacing: .18em; margin-top: 32px !important; }
}
