/* ==========================================================================
   CHARTE ECOM APPS — couche PARTAGEE, scopee sous .hm
   ==========================================================================
   Extrait de page-home.php (le bloc <style> inline) le 2026-07-27, pour que
   toutes les pages refondues heritent de la charte et pas seulement la home :
   /solutions, /solutions/*, /fonctions/*...

   Contenu : les tokens du design system (.hm{}), les ambiances (data-amb), le
   container, la typo, les CTA, les cards, le decor generique, le NAP, les
   reveals. Chargee site-wide par functions.php (handle « ecom-charte »).

   Ce qui N'EST PAS ici : tout ce qui n'appartient qu'a la home (hero + rosace,
   deck 3D, accordeon fonctions, offres sticky, cas clients, moteur, Grande
   Region, FAQ, CTA final). Ces regles restent inline dans page-home.php.

   REGLE : une page refondue ne redefinit jamais un token. Elle consomme
   var(--...) et ajoute sa propre couche (ex. assets/css/solutions.css).
   ========================================================================== */

/* ==========================================================================
   HOME — scopé sous .hm · réutilise les tokens du design system
   Palette : violet / noir / blanc (+ touches secondaires parcimonieuses)
   ========================================================================== */
.hm{
	--v-1:#E6E1FE;   /* lavande clair  */
	--v-2:#B7ABFF;   /* violet primary */
	--v-3:#8F8FEF;   /* violet profond */
	--v-4:#6E62E6;   /* accent lisible */
	--ink:#000;
	--paper:#fff;
	--text:#3F3F3F;
	--muted:#71717A;
	--line:#ECECF1;
	--f-title: var(--e-global-typography-primary-font-family,"Poppins"),sans-serif;
	/* Texte courant + .hm-h2 en Questrial. Pose EN DUR et non via la globale
	   Elementor : le kit du site impose encore "Poppins" et ecraserait tout.
	   Tant que la globale n'a pas ete changee dans Elementor, le header, le
	   footer et les autres pages restent en Poppins.
	   ATTENTION : Questrial n'existe qu'en 400 romain — aucun autre poids, aucun
	   italique. Tout font-weight > 400 pose sur cette police serait synthetise
	   par le navigateur (faux-gras bave). Les regles ci-dessous le garantissent. */
	--f-text:  "Questrial",sans-serif;
	--f-mono:  var(--e-global-typography-accent-font-family,"Inconsolata"),ui-monospace,monospace;
	--motion-fast:.18s; --motion-medium:.32s; --motion-slow:.6s;
	/* Les 3 fonds d'ambiance. SOURCE UNIQUE : les bords dissous les relisent
	   via var(--amb-<nom>-bg), donc ils ne peuvent pas deriver des sections. */
	/* Deux fonds, et deux seulement : le violet n'est JAMAIS un aplat de
	   fond — il reste l'ACCENT (texte, blobs, motifs, CTA). */
	--amb-light-bg:#FFFFFF; --amb-dark-bg:#050409;
	/* Defaut = clair (sert de repli si une section ne declare pas d'ambiance) */
	--amb-bg:var(--amb-light-bg); --amb-ink:#000000; --amb-muted:#71717A;
	--amb-line:#ECECF1; --amb-accent:#6E62E6; --amb-gfx:1.45;

	/* ==================================================================
	   DESIGN SYSTEM — tokens centralises (Phase 0, purement additif).
	   Source unique pour largeur, typo, espacements, rayons, CTA.
	   Aucun style ne les consomme encore : zero changement visuel ici.
	   ================================================================== */
	/* -- Teintes complementaires (les autres couleurs = --v-1..4 / --amb-*) */
	--v-bg-soft:#F5F3FC;   /* lavage violet tres clair (fonds de section) */
	--v-fill:#DAD0FB;      /* aplat doux (ex. remplissage Luxembourg)       */
	--ink-2:#2A2642;       /* encre violette profonde (sur fonds clairs)    */
	/* -- Container : UNE largeur de contenu + gouttieres constantes ------ */
	--container-max:2000px;
	--gutter:clamp(20px,4vw,64px);           /* padding horizontal partout  */
	--reading:min(760px,100%);               /* sous-largeur texte long     */
	/* -- Echelle typographique (fluide, clamp). H2 std + variante display  */
	--fs-h1:clamp(2.4rem,5vw,4.6rem);        /* hero / titre de page unique  */
	--fs-h2-display:clamp(2.4rem,4.6vw,4.4rem); /* sections d'impact / phare */
	--fs-h2:clamp(2rem,3.3vw,3.1rem);        /* titre de section standard    */
	--fs-h3:clamp(1.45rem,2.1vw,2rem);       /* cartes / sous-blocs          */
	--fs-lead:clamp(1.15rem,1.5vw,1.4rem);   /* sous-titre / intro           */
	--fs-body:clamp(1rem,1.05vw,1.12rem);    /* texte courant                */
	--fs-sm:.92rem;                          /* petit texte                  */
	--fs-label:.8rem;                        /* kicker / label mono uppercase*/
	--lh-title:1.04; --lh-lead:1.4; --lh-body:1.6;
	--tr-title:-.03em; --tr-label:.14em;
	/* -- Echelle d'espacement (petit -> tres grand) --------------------- */
	--space-xs:clamp(8px,1vw,12px);
	--space-sm:clamp(14px,1.6vw,20px);
	--space-md:clamp(24px,3vw,40px);
	--space-lg:clamp(40px,5vw,72px);
	--space-xl:clamp(64px,8vw,110px);
	--space-2xl:clamp(88px,11vw,150px);
	--space-section:clamp(72px,9vw,128px);   /* rythme vertical de section   */
	/* -- Rayons + bordure standard -------------------------------------- */
	--radius-sm:10px; --radius-md:16px; --radius-lg:24px; --radius-pill:999px;
	--radius-card:18px;                      /* rayon standard des cartes    */
	--border-w:1.5px;                        /* epaisseur de bordure standard*/
	/* -- CTA (dimensions communes ; les couleurs viennent des variantes) - */
	--cta-h:52px; --cta-pad-x:clamp(20px,2vw,30px);
	--cta-fs:.8rem; --cta-radius:var(--radius-pill);

	font-family:var(--f-text); color:var(--amb-ink); background:var(--amb-bg);
	letter-spacing:-.012em; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:clip;
	position:relative;
}

/* -- Ambiances : chaque section possede sa couleur ------------------------
   Avant, un moteur JS interpolait UNE couleur pour toute la page selon la
   surface visible de chaque section. Effet de bord : en plein scroll entre
   une section lavande et une noire, la page entiere virait au gris-violet
   (mesure : rgb(51,48,73)) — la fameuse boue. Ici chaque section garde sa
   couleur franche, et les frontieres entre elles sont nettes.
   Corollaire : plus de --amb-* pilotes par JS, tout est statique et le decor
   d'une section herite automatiquement de la bonne teinte. */
/* Selecteur DESCENDANT et non `.hm > section` : depuis que le hero et la barre
   de reassurance vivent dans .hm-pull__panel, ils ne sont plus enfants directs
   de .hm — la barre se retrouvait sans fond et laissait voir le blanc de la
   piste. (Le hero, lui, masquait le bug : son canvas WebGL peint le noir.) */
.hm section{background:var(--amb-bg);color:var(--amb-ink);position:relative;overflow:clip;}
.hm [data-amb="light"]{
	--amb-bg:var(--amb-light-bg); --amb-ink:#000000; --amb-muted:#71717A;
	--amb-line:#ECECF1; --amb-accent:#6E62E6; --amb-gfx:1.45;}
.hm [data-amb="dark"]{
	--amb-bg:var(--amb-dark-bg); --amb-ink:#FFFFFF; --amb-muted:#9E98BA;
	--amb-line:#2A2642; --amb-accent:#B7ABFF; --amb-gfx:.95;}
/* Troisieme ambiance : le lavage lavande. Meme encre et meme accent que `light`
   — SEUL le fond change. Elle existe pour donner du rythme a une longue suite de
   sections claires sans repasser par du noir : sur une page de cocon, alterner
   blanc / lavande se lit comme une respiration, alterner blanc / noir se lit
   comme un changement de sujet. `--v-bg-soft` etait declare comme « fond de
   section » depuis l'origine et n'etait consomme par personne : c'est ici.
   La home n'emet pas cette valeur, elle est donc inchangee. */
.hm [data-amb="soft"]{
	--amb-bg:var(--v-bg-soft); --amb-ink:#000000; --amb-muted:#71717A;
	--amb-line:#E4DEF8; --amb-accent:#6E62E6; --amb-gfx:1.2;}

.hm *{box-sizing:border-box;}
.hm-wrap{max-width:var(--container-max);margin:0 auto;padding:0 var(--gutter);}
.hm-sec{padding:var(--space-section) 0;position:relative;}

/* -- Masses organiques (esprit Dragonfruit) -------------------------------
   Grandes taches douces, duotone, posees derriere le contenu.
   Faites en radial-gradient (et non en filter:blur) : meme rendu, cout GPU nul.
   Le plateau (accent jusqu'a 28%) donne une MASSE a bord doux plutot qu'un
   simple degrade qui s'eteint — c'est lui qui fait lire la forme.
   Toutes suivent --amb-accent : sur chaque ambiance l'accent est du meme cote
   que l'encre, donc la lisibilite du texte est preservee partout. */
.hm-decor{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:clip;}
.hm-blob{position:absolute;pointer-events:none;z-index:0;border-radius:50%;
	background:radial-gradient(circle at 50% 50%,
		var(--amb-accent) 0%, var(--amb-accent) 28%, transparent 68%);
	opacity:calc(.19 * var(--amb-gfx, 1));}
@media (prefers-reduced-motion: no-preference){
	.hm-blob{animation:hmBlob 26s ease-in-out infinite;}
	.hm-blob:nth-of-type(2n){animation-duration:34s;animation-delay:-8s;}
	.hm-blob:nth-of-type(3n){animation-duration:40s;animation-delay:-16s;}
}
@keyframes hmBlob{
	0%,100%{transform:translate3d(0,0,0) scale(1);}
	50%{transform:translate3d(3%,-4%,0) scale(1.12);}
}

/* -- Grandes arches (esprit Halftone) -------------------------------------
   Posees a cheval sur les changements de section : elles cousent visuellement
   la transition au lieu de la souligner. Reprend le motif `arch` du design
   system, en grand format. Aplat pur, zero ombre. */
.hm-arch{position:absolute;pointer-events:none;z-index:0;
	border-radius:999px 999px 0 0;background:var(--amb-accent);opacity:calc(.10 * var(--amb-gfx, 1));
	-webkit-mask-image:linear-gradient(to bottom, #000 0%, #000 38%, transparent 94%);
	        mask-image:linear-gradient(to bottom, #000 0%, #000 38%, transparent 94%);}
/* NB : uniquement en APLAT, jamais en contour. Une arche a des cotes droits et
   un bas plat ; tracee au border, elle lit comme un rectangle egare en travers
   du texte (teste sur la FAQ : les cotes coupaient les filets des questions).
   En aplat basse opacite aucun bord n'est trace, on ne percoit qu'une masse. */
@media (prefers-reduced-motion: no-preference){
	.hm-arch{animation:hmArch 30s ease-in-out infinite;}
	.hm-arch:nth-of-type(2n){animation-duration:38s;animation-delay:-12s;}
}
@keyframes hmArch{
	0%,100%{transform:translate3d(0,0,0);}
	50%{transform:translate3d(0,-2.2%,0);}
}

/* -- Grain (esprit Halftone) : texture fixe sur toute la page --------------
   NB : surtout PAS mix-blend-mode:overlay — sur un fond blanc pur, overlay
   renvoie 1.0 quel que soit le grain, donc la texture serait invisible sur
   toute l'ambiance claire (l'essentiel de la page). Bruit desature + opacite
   simple : ca tient sur le blanc, le lavande ET le noir. */
.hm-grain{position:fixed;inset:0;z-index:8;pointer-events:none;opacity:.07;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");}
@media (max-width:760px){
	.hm-grain{opacity:.05;}
	.hm-blob{opacity:calc(.14 * var(--amb-gfx, 1));}
	.hm-arch{display:none;}
}

/* -- Pictos : petits symboles vivants ------------------------------------
   Inline dans les kickers (suivent --amb-accent via currentColor) + quelques
   micro-symboles flottants. Transform only, coupés en reduced-motion. */
.hm-kicker{display:flex;align-items:center;gap:9px;}
.hm-pic{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:2;
	stroke-linecap:round;stroke-linejoin:round;}
.hm-pic--fill{fill:currentColor;stroke:none;}
.hm-float{position:absolute;pointer-events:none;color:var(--amb-accent);opacity:.45;z-index:0;
	transition:color .25s linear;}
.hm-float svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;
	stroke-linecap:round;stroke-linejoin:round;}
.hm-float--fill svg{fill:currentColor;stroke:none;}
@media (prefers-reduced-motion: no-preference){
	.hm-float{animation:hmFloat 9s ease-in-out infinite;}
	.hm-float:nth-of-type(2n){animation-duration:12s;animation-delay:-3s;}
	.hm-float:nth-of-type(3n){animation-duration:14s;animation-delay:-6s;}
}
@keyframes hmFloat{0%,100%{transform:translateY(0) rotate(0);}50%{transform:translateY(-16px) rotate(9deg);}}
@media (max-width:760px){ .hm-float{display:none;}
}


/* -- Typo ---------------------------------------------------------------- */
.hm-kicker{font-family:var(--f-mono);font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--amb-accent);margin:0 0 18px;}
.hm-h1{font-family:var(--f-title);font-weight:400;font-size:clamp(1.9rem,3.6vw,3rem);line-height:1.04;letter-spacing:-.025em;color:var(--ink);margin:0;}
/* font-weight:400 impose : Questrial n'a que ce poids, un 500 declencherait
   le faux-gras du navigateur. Le contraste avec le .hl (reste en Poppins 800
   italique, la signature de la marque) porte desormais toute la hierarchie. */
.hm-h2{font-family:var(--f-text);font-weight:400;font-size:var(--fs-h2);line-height:var(--lh-title);letter-spacing:var(--tr-title);color:var(--amb-ink);margin:0 0 16px;}
/* Variante « display » : sections d'impact / phare (memes famille/poids/rythme, taille superieure) */
.hm-h2--display{font-size:var(--fs-h2-display);}
.hm-h3{font-family:var(--f-title);font-weight:600;font-size:1.12rem;color:var(--ink);margin:0 0 8px;}
.hl{font-family:var(--f-title);font-weight:800;font-style:italic;text-transform:uppercase;letter-spacing:-.005em;}
.hm-lead{font-size:var(--fs-lead);line-height:var(--lh-lead);max-width:62ch;color:var(--amb-muted);margin:20px 0 0;}
/* Questrial n'a pas de gras : laisser <strong> a son 700 par defaut donnerait
   un faux-gras. Son emphase repose donc sur la couleur (deja le cas dans le
   markup : color:#fff sur du texte attenue). */
.hm-lead strong,.hm-lead b{font-weight:400;}
.hm-sec__head{max-width:64ch;margin-bottom:44px;}

/* -- CTA (pill outline + 4 pastilles, sans ombre) ------------------------ */
.hm-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:2.2rem;
	font-family:var(--f-mono);text-transform:uppercase;letter-spacing:.16em;font-size:.9rem;
	color:var(--ink);background:var(--paper);border:var(--border-w) solid var(--ink);border-radius:999px;
	padding:1rem 1.4rem 1rem 2rem;text-decoration:none;transition:background var(--motion-medium),color var(--motion-medium);}
.hm-cta:hover{background:var(--ink);color:var(--paper);}
.hm-cta--solid{background:var(--ink);color:var(--paper);}
.hm-cta--solid:hover{background:var(--v-3);border-color:var(--v-3);color:var(--ink);}
.hm-cta:focus-visible,.hm-cta--text:focus-visible,.hm-motor__pop-cta:focus-visible{outline:2px solid var(--amb-accent);outline-offset:3px;}
/* Variante texte-lien (CTA tertiaire) : sans fond ni bordure, fleche qui glisse. */
.hm-cta--text,.hm-motor__pop-cta{display:inline-flex;align-items:center;gap:8px;font-family:var(--f-mono);text-transform:uppercase;letter-spacing:.1em;font-size:.74rem;color:var(--v-4);background:none;border:none;padding:0;text-decoration:none;transition:color var(--motion-medium);}
.hm-cta--text svg,.hm-motor__pop-cta svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .35s cubic-bezier(.22,1,.36,1);}
.hm-cta--text:hover svg,.hm-motor__pop-cta:hover svg{transform:translateX(4px);}
.hm-cta svg{width:26px;height:26px;fill:currentColor;flex:none;transform-origin:50% 50%;}
.hm-cta:hover svg{animation:dotsRotate .8s ease-in-out forwards;}
.hm-ctas{display:flex;flex-wrap:wrap;gap:14px;margin-top:36px;}

.hm-link{font-family:var(--f-mono);font-size:.82rem;text-transform:uppercase;letter-spacing:.1em;
	color:var(--v-4);text-decoration:none;border-bottom:1.5px solid currentColor;padding-bottom:2px;
	transition:color var(--motion-fast);}
.hm-link:hover{color:var(--ink);}

/* -- Barre de réassurance ------------------------------------------------ */

/* -- Cards « deux zones » (contenu + motif traversant) ------------------- */
.hm-grid{display:grid;gap:20px;}
.hm-grid--3{grid-template-columns:repeat(3,1fr);}
.hm-grid--2{grid-template-columns:repeat(2,1fr);}
.hm-card{position:relative;border:var(--border-w) solid var(--ink);border-radius:var(--radius-card);overflow:hidden;
	background:var(--paper);display:flex;flex-direction:column;min-height:270px;
	transition:background var(--motion-medium),color var(--motion-medium);}
.hm-card__pat{position:relative;height:104px;flex:none;z-index:0;pointer-events:none;
	border-top:1.5px solid currentColor;opacity:.9;}
.hm-card__body{position:relative;z-index:2;padding:26px 26px 0;flex:1;}
.hm-card__foot{position:relative;z-index:2;padding:0 26px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;}
.hm-card p{color:var(--muted);font-size:.95rem;margin:0;}
/* Numero au style de la charte : meme traitement que .hl (Poppins 800 italique)
   plutot que du mono gris — c'est ce qui est valide sur les cards du site. */
/* Selecteur qualifie : le numero EST un <p>, et `.hm-card p{color:var(--muted)}`
   a une specificite de (0,1,1). Un simple `.hm-card__num` (0,1,0) etait ecrase
   quel que soit l'ordre — le numero rendait en gris (mesure : rgb(113,113,122))
   au lieu du violet. */
.hm-card p.hm-card__num{font-family:var(--f-title);font-weight:800;font-style:italic;
	font-size:clamp(3.2rem,5vw,4.6rem);color:var(--v-4);letter-spacing:-.03em;margin:0 0 4px;line-height:.9;}
.hm-card .hm-arrow{flex:none;width:38px;height:38px;border-radius:10px;border:var(--border-w) solid var(--ink);
	display:flex;align-items:center;justify-content:center;transition:background var(--motion-medium);}
.hm-card .hm-arrow svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.hm-card:hover .hm-arrow{background:var(--v-2);}
/* Arcs concentriques qui ENTRENT ET SORTENT du cadre (coupés par overflow:hidden).
   `currentColor` => ton sur ton automatique : noir sur carte blanche, blanc sur
   carte encre, encre sur carte lavande. Aucun markup, aucune ombre. */
.hm-card::before,.hm-card::after{content:none;}
.hm-card__arc-desactive::before,.hm-card__arc-desactive::after{content:"";position:absolute;border:var(--border-w) solid currentColor;
	border-radius:50%;z-index:0;pointer-events:none;
	transition:transform var(--motion-slow) cubic-bezier(.22,1,.36,1);}
.hm-card::before{top:-30%;right:-20%;width:66%;aspect-ratio:1;opacity:.15;}
.hm-card::after{top:-12%;right:4%;width:30%;aspect-ratio:1;opacity:.11;}
.hm-card:hover::before{transform:translate(-14px,12px) scale(1.05);}
.hm-card:hover::after{transform:translate(9px,-7px) scale(.94);}
/* micro-interaction : le motif glisse, aucune ombre, aucun flottement */
.hm-card .ecom-pattern__fill,.hm-card .ecom-pattern{transition:transform var(--motion-medium) ease;}
.hm-card:hover .ecom-pattern{transform:translateY(-8px);}

/* Carte pleine (pilier / featured) */
.hm-card--fill{background-color:var(--v-1);border-color:var(--v-1);}
.hm-card--ink{background-color:var(--ink);border-color:var(--ink);color:var(--paper);}
.hm-card--ink .hm-h3{color:var(--paper);}
.hm-card--ink p{color:rgba(255,255,255,.7);}
.hm-card--ink .hm-arrow{border-color:var(--paper);}
.hm-card--ink .hm-card__num{color:var(--v-2);}

/* -- Remplissage au survol (esprit Spur) ---------------------------------
   Un aplat d'accent monte depuis le bas et le texte s'inverse. Fait en
   background-image + background-size : ::before/::after portent deja les arcs,
   donc pas de 3e pseudo ni de markup en plus.
   La couleur vient de --amb-accent et le texte de --amb-bg : dans chaque
   ambiance l'accent et le fond sont opposes, donc UNE regle suffit pour les
   trois (une couleur fixe disparaitrait dans le lavande des sections purple). */
.hm-card{background-image:linear-gradient(var(--amb-accent),var(--amb-accent));
	background-repeat:no-repeat;background-position:0 100%;background-size:100% 0%;
	transition:background-size .5s cubic-bezier(.22,1,.36,1), color .3s ease;}
.hm-card:hover{background-size:100% 100%;color:var(--amb-bg);}
.hm-card:hover .hm-h3,
.hm-card:hover .hm-card__num,
.hm-card:hover .hm-link{color:var(--amb-bg);}
/* Pas d'opacite ici : elle melange le texte a l'aplat et fait tomber la
   description a 3.58:1 en ambiance claire (mesure), sous le seuil AA de 4.5:1
   pour du 15.2px. En pleine opacite : 4.61:1. La hierarchie avec le titre est
   deja portee par la taille et la graisse. */
.hm-card:hover p{color:var(--amb-bg);}
.hm-card:hover .hm-arrow{background:transparent;border-color:var(--amb-bg);color:var(--amb-bg);}
/* Toute la card devient cliquable : un remplissage integral annonce un clic,
   il faut que la surface entiere l'honore et pas seulement le petit lien.
   (Contrepartie assumee : la description n'est plus selectionnable.) */
.hm-card .hm-link::after{content:"";position:absolute;inset:0;z-index:3;}
@media (prefers-reduced-motion: reduce){ .hm-card{transition:none;}
}

/* -- Final CTA + NAP ----------------------------------------------------- */
.hm-final{position:relative;overflow:hidden;}
.hm-final .hm-wrap{position:relative;z-index:2;}
/* Contenu centre, resserre */
.hm-final__in{max-width:760px;margin-inline:auto;text-align:center;}
.hm-final__in .hm-lead{margin-inline:auto;}
.hm-final .hl{color:var(--amb-accent);}
.hm-final .hm-ctas{justify-content:center;}
/* CTA blanc sur fond noir (contraste premium) */
.hm-final .hm-cta--solid{background:var(--paper);color:var(--ink);border-color:var(--paper);}
.hm-final .hm-cta--solid:hover{background:var(--v-3);border-color:var(--v-3);color:var(--ink);}
/* NAP simplifie : rangee centree, lisible sur fond noir */
.hm-nap{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(24px,5vw,72px);
	margin-top:clamp(40px,5vw,64px);padding-top:clamp(28px,3vw,36px);border-top:1px solid var(--amb-line);}
.hm-nap > div{text-align:center;}
.hm-nap h3{font-family:var(--f-mono);font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;color:var(--amb-accent);margin:0 0 8px;}
.hm-nap p,.hm-nap a{color:var(--amb-muted);margin:0;font-size:.95rem;text-decoration:none;line-height:1.6;}
.hm-nap a:hover{color:var(--amb-ink);}

/* -- Reveals (clip-path + translate) -------------------------------------
   Progressive enhancement : l'état masqué n'est appliqué QUE si le JS a posé
   .hm-js sur <html> (donc IntersectionObserver dispo + motion autorisée).
   Sans JS / sans IO / en reduced-motion, le contenu est visible d'emblée. */
@media (prefers-reduced-motion: no-preference){
	.hm-js .hm-rev{opacity:0;transform:translateY(24px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1);}
	.hm-js .hm-rev.is-in{opacity:1;transform:none;}
	.hm-js .hm-clip{clip-path:inset(0 0 100% 0);transition:clip-path .9s cubic-bezier(.22,1,.36,1);}
	.hm-js .hm-clip.is-in{clip-path:inset(0 0 0 0);}
	.hm-par{will-change:transform;}
}
@media (max-width:1080px){
	.hm-grid--3{grid-template-columns:repeat(2,1fr);}
	.hm-nap{grid-template-columns:1fr 1fr;}
}
@media (max-width:760px){
	.hm-wrap{padding:0 20px;}
	.hm-grid--3,.hm-grid--2{grid-template-columns:1fr;}
	.hm-nap{grid-template-columns:1fr;}
		/* motifs simplifiés / allégés sur mobile */
	.hm-card__pat{height:34%;opacity:.7;}
}
