/* =====================================================================
   Accueil de la plateforme — direction artistique « premium ».
   Chargé UNIQUEMENT sur la page d'accueil (body.p-home) : aucune autre page
   de la plateforme ne change. Les couleurs dérivent des réglages du Super
   Admin (--p-primary, --p-accent, --p-bg…) : changer la couleur principale
   recolore toute la page, pastels compris.
   Mobile d'abord. Points de rupture : 560 / 760 / 1000 / 1280 px.
   ===================================================================== */

body.p-home {
  --h-cream: var(--p-bg);
  --h-sage: color-mix(in srgb, var(--p-primary) 10%, var(--p-bg));
  --h-peach: color-mix(in srgb, var(--p-accent) 14%, var(--p-bg));
  --h-sand: color-mix(in srgb, #c49a5a 16%, var(--p-bg));
  --h-deep: var(--p-primary);
  --h-accent: var(--p-accent);
  --h-ink: color-mix(in srgb, var(--p-primary) 72%, #0b0f0d);
  --h-on-deep: var(--p-on-primary);
  --h-text-soft: color-mix(in srgb, var(--p-text) 74%, var(--p-bg));
  --h-r-lg: 28px;
  --h-r: 20px;
  --h-ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--h-cream);
}
body.p-home main { overflow-x: clip; }

/* ---------- Bords décoratifs (voir home/_edge.php) ---------- */
.h-edge { position: absolute; left: 0; right: 0; z-index: 1; height: clamp(26px, 4vw, 62px); color: var(--sec-bg); line-height: 0; pointer-events: none; }
.h-edge--top { bottom: calc(100% - 1px); }
.h-edge--bottom { top: calc(100% - 1px); transform: scaleY(-1); }
.h-edge svg { width: 100%; height: 100%; }
.h-edge--festoon { height: 22px; background: currentColor;
  -webkit-mask: radial-gradient(circle at 50% 100%, #000 21px, transparent 22px) 0 0 / 44px 22px repeat-x;
          mask: radial-gradient(circle at 50% 100%, #000 21px, transparent 22px) 0 0 / 44px 22px repeat-x; }
.h-edge--zigzag { height: 26px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='26'%3E%3Cpath d='M0 26 23 5.5a10 10 0 0 1 14 0L60 26Z'/%3E%3C/svg%3E") 0 0 / 60px 26px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='26'%3E%3Cpath d='M0 26 23 5.5a10 10 0 0 1 14 0L60 26Z'/%3E%3C/svg%3E") 0 0 / 60px 26px repeat-x; }

/* ---------- Typographie et en-têtes de section ---------- */
.h-sec { position: relative; padding-block: clamp(76px, 9vw, 132px); background: var(--sec-bg); }
.h-head { display: grid; gap: 14px; max-width: 48rem; margin: 0 auto clamp(38px, 5vw, 64px); text-align: center; justify-items: center; }
.h-head--left { margin-inline: 0; text-align: left; justify-items: start; }
.h-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--p-accent-text); }
.h-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p-accent) 20%, transparent); }
.h-title { font-size: clamp(2.05rem, 1.3rem + 2.7vw, 3.4rem); line-height: 1.06; letter-spacing: -.03em; max-width: 18ch; }
.h-lead { font-size: clamp(1.02rem, .96rem + .3vw, 1.16rem); color: var(--h-text-soft); max-width: 58ch; }
.h-note { margin-top: 22px; text-align: center; font-size: var(--fs-sm); color: var(--p-muted); }
.h-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--p-accent-text); text-decoration: none; }
.h-link:hover .icon { transform: translateX(3px); }
.h-link .icon { transition: transform .2s var(--h-ease); }

/* ---------- Boutons ---------- */
.h-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: 1rem; line-height: 1.15; text-decoration: none; white-space: nowrap;
  transition: transform .22s var(--h-ease), box-shadow .22s var(--h-ease), background-color .2s, color .2s, border-color .2s; }
.h-btn .icon { transition: transform .22s var(--h-ease); }
.h-btn:hover { transform: translateY(-2px); }
.h-btn:hover .icon { transform: translateX(4px); }
.h-btn:active { transform: translateY(0); }
.h-btn--primary { background: var(--p-primary); color: var(--p-on-primary); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--p-primary) 70%, transparent); }
.h-btn--primary:hover { color: var(--p-on-primary); box-shadow: 0 18px 34px -12px color-mix(in srgb, var(--p-primary) 75%, transparent); }
.h-btn--ghost { color: var(--p-text); border-color: color-mix(in srgb, var(--p-text) 22%, transparent); background: color-mix(in srgb, #fff 55%, transparent); }
.h-btn--ghost:hover { color: var(--p-text); background: #fff; border-color: color-mix(in srgb, var(--p-text) 40%, transparent); }
.h-btn--light { background: #fff; color: var(--p-primary); }
.h-btn--light:hover { color: var(--p-primary); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); }
.h-btn--white { background: #fff; color: #16201b; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); }
.h-btn--white:hover { color: #16201b; }
.h-btn--outline-light { color: var(--p-on-accent); border-color: color-mix(in srgb, var(--p-on-accent) 55%, transparent); }
.h-btn--outline-light:hover { color: var(--p-on-accent); background: color-mix(in srgb, var(--p-on-accent) 12%, transparent); }

/* ---------- Étiquettes de statut ---------- */
.h-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-style: normal; font-size: .72rem; font-weight: 650; white-space: nowrap; background: #eef0ec; color: #3b4540; }
.h-tag--ok { background: #e3f3e8; color: #1f6a3c; }
.h-tag--warn, .h-tag--wait { background: #fbefd9; color: #8a5a10; }
.h-tag--new { background: #e4edfb; color: #1f4f9c; }
.h-tag--prep { background: #efe8fa; color: #5b3b96; }
.h-tag--ship { background: #e0f2f2; color: #19655f; }
.h-tag--draft { background: #fbefd9; color: #8a5a10; }

/* ---------- Couleurs des illustrations SVG ---------- */
.f-ink { fill: var(--h-ink); } .f-ink2 { fill: color-mix(in srgb, var(--h-ink) 82%, #fff); }
.f-paper { fill: #fff; } .f-bar { fill: #f1eee8; } .f-line { fill: #e9e5de; } .f-muted { fill: #dcd7ce; }
.f-soft { fill: var(--h-sage); } .f-soft2 { fill: color-mix(in srgb, var(--p-primary) 20%, #fff); }
.f-peach { fill: color-mix(in srgb, var(--p-accent) 32%, #fff); }
.f-sand { fill: #ecdcc0; } .f-sand2 { fill: #d9c29b; }
.f-accent { fill: var(--p-accent); } .f-primary { fill: var(--p-primary); } .f-primary-soft { fill: color-mix(in srgb, var(--p-primary) 34%, #fff); }
.f-dot1 { fill: #e8826b; } .f-dot2 { fill: #e9c46a; } .f-dot3 { fill: #8cc08a; }
.s-line { stroke: #e3ded6; stroke-width: 1.2; } .s-primary { stroke: var(--p-primary); stroke-width: 4; stroke-linecap: round; } .s-ink { stroke: var(--h-ink); stroke-width: 1.6; }

/* =====================================================================
   1. HERO
   ===================================================================== */
.h-hero { position: relative; z-index: 2; background: var(--h-cream); padding-block: clamp(36px, 6vw, 84px) clamp(84px, 9vw, 128px); }
.h-hero__blob { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.h-hero__blob--a { width: min(60vw, 720px); aspect-ratio: 1; right: -12%; top: -24%; background: radial-gradient(closest-side, color-mix(in srgb, var(--p-accent) 22%, transparent), transparent); }
.h-hero__blob--b { width: min(52vw, 560px); aspect-ratio: 1; left: -16%; bottom: -10%; background: radial-gradient(closest-side, color-mix(in srgb, var(--p-primary) 14%, transparent), transparent); }
.h-hero__in { position: relative; display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) { .h-hero__in { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } }
.h-hero__title { margin-top: 18px; font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5rem); line-height: 1.01; letter-spacing: -.04em; max-width: 13ch; }
.h-hero__sub { margin-top: 22px; font-size: clamp(1.06rem, .98rem + .45vw, 1.28rem); color: var(--h-text-soft); max-width: 50ch; }
.h-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (min-width: 1000px) { .h-hero__actions .h-btn { padding-inline: 24px; } }
.h-hero__trust { margin-top: 26px; display: grid; gap: 12px; }
.h-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.h-pills li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--p-text) 10%, transparent); font-size: .84rem; font-weight: 600; }
.h-pills .icon { color: var(--p-ok); }
.h-hero__note { font-size: .86rem; color: var(--p-muted); }
.h-rise { animation: h-rise .8s var(--h-ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes h-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.h-hero__art { position: relative; max-width: 660px; margin-inline: auto; width: 100%; animation: h-rise 1s var(--h-ease) .25s both; }
.h-ill { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(20, 30, 25, .14)); }
.h-ill__bg { fill: color-mix(in srgb, var(--p-accent) 13%, var(--p-bg)); }
.h-ill__phone { animation: h-float 7s ease-in-out infinite; transform-box: fill-box; }
.h-ill__cards rect { transition: transform .3s; }
.h-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px; background: #fff;
  box-shadow: 0 18px 40px -16px rgba(20, 30, 25, .35), 0 2px 6px rgba(20, 30, 25, .06); font-size: .8rem; line-height: 1.3; animation: h-float 6s ease-in-out infinite; }
.h-float strong { display: block; font-size: .84rem; }
.h-float small { display: block; color: var(--p-muted); font-size: .74rem; }
.h-float__ok { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e3f3e8; color: #1f6a3c; }
.h-float__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--h-peach); color: var(--p-accent-text); }
.h-float--toast { left: -1%; top: 3%; animation-delay: -1.5s; }
.h-float--order { left: 2%; bottom: 13%; animation-delay: -3s; }
.h-float--stats { right: -2%; top: -4%; display: block; width: 156px; animation-delay: -.6s; }
.h-float--stats svg { margin-top: 8px; width: 100%; height: auto; }
.h-float--stats rect { fill: color-mix(in srgb, var(--p-primary) 22%, #fff); }
.h-float--stats rect.is-hi { fill: var(--p-accent); }
.h-float--variant { right: 25%; bottom: -5%; flex-wrap: wrap; animation-delay: -4.2s; }
.h-float__sw { display: flex; gap: 6px; }
.h-float__sw i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #e3ded6; }
.h-float__sz { display: flex; gap: 4px; }
.h-float__sz b { display: grid; place-items: center; min-width: 26px; height: 24px; border-radius: 7px; border: 1px solid #e3ded6; font-size: .72rem; }
.h-float__sz b.is-on { background: var(--p-primary); color: var(--p-on-primary); border-color: var(--p-primary); }
@keyframes h-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 759px) {
  .h-float--stats, .h-float--variant { display: none; }
  .h-float { padding: 8px 11px; }
  .h-float--toast { left: 0; top: -2%; }
  .h-float--order { left: 0; bottom: 6%; }
  .h-hero__actions .h-btn { flex: 1 1 100%; }
}

/* =====================================================================
   2. BANDEAU DE FAITS (fond profond)
   ===================================================================== */
.h-facts { position: relative; background: var(--h-deep); color: var(--h-on-deep); padding-block: clamp(40px, 5vw, 58px) clamp(40px, 5vw, 64px); }
.h-facts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
@media (min-width: 760px) { .h-facts__list { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); } }
.h-facts__item { display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid color-mix(in srgb, var(--p-accent) 75%, transparent); }
.h-facts__v { font-family: var(--p-font-heading); font-weight: 450; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em; }
.h-facts__l { font-size: .88rem; opacity: .84; }

/* =====================================================================
   3. AVANTAGES — composition « bento »
   ===================================================================== */
.h-bento { display: grid; gap: 16px; }
@media (min-width: 760px) { .h-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h-bento__item:first-child { grid-column: span 2; } }
@media (min-width: 1000px) {
  .h-bento[data-n="6"] { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); }
  .h-bento[data-n="6"] .h-bento__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .h-bento[data-n="6"] .h-bento__item:nth-child(2) { grid-column: span 2; }
  .h-bento[data-n="6"] .h-bento__item:nth-child(5), .h-bento[data-n="6"] .h-bento__item:nth-child(6) { grid-column: span 2; }
}
.h-bento__item { position: relative; overflow: hidden; display: grid; align-content: start; gap: 10px; padding: clamp(24px, 3vw, 34px); border-radius: var(--h-r-lg); min-height: 180px;
  transition: transform .3s var(--h-ease), box-shadow .3s var(--h-ease); }
.h-bento__item:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20, 30, 25, .4); }
.h-bento__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: color-mix(in srgb, #fff 70%, transparent); color: var(--p-primary); margin-bottom: 6px; }
.h-bento__t { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.45rem); line-height: 1.2; }
.h-bento__x { color: var(--h-text-soft); max-width: 44ch; }
.h-bento__item:first-child .h-bento__t { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); max-width: 16ch; }
.h-bento__art { width: min(100%, 300px); margin-top: auto; justify-self: end; filter: drop-shadow(0 16px 24px rgba(20, 30, 25, .14)); }
@media (min-width: 1000px) { .h-bento__item:first-child { align-content: space-between; } }
.h-tone--sage { background: var(--h-sage); }
.h-tone--peach { background: var(--h-peach); }
.h-tone--sand { background: var(--h-sand); }
.h-tone--cream { background: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p-text) 8%, transparent); }
.h-tone--deep { background: var(--h-deep); color: var(--h-on-deep); }
.h-tone--deep .h-bento__x { color: color-mix(in srgb, var(--h-on-deep) 80%, transparent); }
.h-tone--deep .h-bento__ico { background: color-mix(in srgb, #fff 14%, transparent); color: var(--h-on-deep); }

/* =====================================================================
   4. DÉMOS — grandes cartes photo, fond profond
   ===================================================================== */
.h-demos { background: var(--h-deep); color: var(--h-on-deep); overflow-x: clip; }
.h-demos .h-eyebrow { color: color-mix(in srgb, var(--h-on-deep) 85%, var(--p-accent)); }
.h-demos .h-lead { color: color-mix(in srgb, var(--h-on-deep) 80%, transparent); }
.h-demos__ring { position: absolute; right: -180px; top: 60px; width: 520px; aspect-ratio: 1; border-radius: 50%; border: 70px solid color-mix(in srgb, #fff 5%, transparent); pointer-events: none; }
.h-demos__top { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(30px, 4vw, 52px); }
.h-demos__top .h-head { margin-bottom: 0; }
.h-demos__grid { position: relative; display: grid; gap: 18px; }
@media (min-width: 760px) {
  .h-demos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 270px; }
  .h-demos__grid .h-demo:first-child { grid-row: span 2; }
}
@media (min-width: 1000px) {
  .h-demos__grid { grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: 290px; }
  .h-demos__grid[data-count="4"] .h-demo:last-child { grid-column: span 2; }
  .h-demos__grid[data-count="3"] { grid-template-columns: 1.3fr 1fr; }
  .h-demos__grid[data-count="6"] .h-demo:last-child { grid-column: span 3; grid-row: auto; }
}
.h-demo { position: relative; min-height: 300px; border-radius: var(--h-r-lg); overflow: hidden; background: color-mix(in srgb, #fff 8%, transparent); }
.h-demo__a { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.h-demo__a:hover { color: #fff; }
.h-demo__img, .h-demo__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--h-ease); }
.h-demo__ph { display: grid; place-items: center; font-family: var(--p-font-heading); font-size: 5rem; background: color-mix(in srgb, var(--p-accent) 40%, var(--h-deep)); }
.h-demo__a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 12, 0) 35%, rgba(10, 14, 12, .78) 100%); }
.h-demo__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: clamp(18px, 2.4vw, 28px); }
.h-demo__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.h-demo__chips span { padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 650; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.h-demo__name { font-family: var(--p-font-heading); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.1; letter-spacing: -.02em; }
.h-demo:first-child .h-demo__name { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); }
.h-demo__go { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 650; opacity: .9; }
.h-demo__a:hover .h-demo__img { transform: scale(1.05); }
.h-demo__a:hover .h-demo__go .icon { transform: translate(2px, -2px); }
.h-demo__go .icon { transition: transform .25s var(--h-ease); }
.h-demo__a:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: var(--h-r-lg); }
@media (max-width: 759px) {
  .h-demos__grid { grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--p-gutter)); padding-inline: var(--p-gutter); scroll-padding-inline: var(--p-gutter); }
  .h-demos__grid::-webkit-scrollbar { display: none; }
  .h-demo { min-height: 380px; scroll-snap-align: start; }
}

/* =====================================================================
   5. PERSONNALISATION — texte + maquette de l'éditeur
   ===================================================================== */
.h-split { display: grid; gap: clamp(44px, 6vw, 80px); align-items: center; }
@media (min-width: 1000px) { .h-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.h-split__text { display: grid; gap: 16px; justify-items: start; }
.h-split__cta { margin-top: 10px; }
.h-checks { display: grid; gap: 12px; margin-top: 6px; }
.h-checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; }
.h-checks li > span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--p-primary); color: var(--p-on-primary); margin-top: 1px; }
.h-split__art { position: relative; padding: 26px 0 34px; }
.h-editor { position: relative; border-radius: 22px; background: #fff; box-shadow: 0 40px 80px -36px rgba(20, 30, 25, .45), 0 0 0 1px rgba(20, 30, 25, .05); overflow: hidden; }
.h-editor__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #eee9e1; font-size: .78rem; }
.h-editor__crumb { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; color: #3b4540; margin-right: auto; }
.h-editor__pub { padding: 6px 14px; border-radius: 999px; background: var(--p-primary); color: var(--p-on-primary); font-weight: 650; }
.h-editor__body { display: grid; grid-template-columns: 172px 1fr; min-height: 330px; }
.h-editor__blocks { display: grid; align-content: start; gap: 6px; padding: 14px 12px; border-right: 1px solid #eee9e1; background: #fbfaf7; font-size: .76rem; font-weight: 600; color: #3b4540; }
.h-editor__blocks li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; }
.h-editor__blocks li i { width: 8px; height: 12px; background: radial-gradient(circle, #b9b3a9 1.2px, transparent 1.6px) 0 0 / 4px 4px; }
.h-editor__blocks li.is-on { background: var(--h-sage); color: var(--p-primary); box-shadow: inset 3px 0 0 var(--p-accent); }
.h-editor__add { color: var(--p-accent-text); border: 1.5px dashed color-mix(in srgb, var(--p-accent) 45%, transparent); justify-content: center; }
.h-editor__canvas { display: grid; gap: 12px; align-content: start; padding: 18px; background: #f6f4ef; }
.h-editor__hero { position: relative; display: grid; grid-template-columns: 1fr 42%; grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 8px; padding: 18px; border-radius: 12px; background: var(--h-sage); }
.h-editor__hero.is-selected { outline: 2px solid var(--p-accent); outline-offset: 3px; }
.h-editor__handle { position: absolute; top: -12px; left: 12px; padding: 2px 9px; border-radius: 6px; background: var(--p-accent); color: var(--p-on-accent); font-size: .66rem; font-weight: 700; }
.h-editor__hero b, .h-editor__ti b { display: block; height: 10px; border-radius: 5px; background: var(--h-ink); width: 90%; }
.h-editor__hero b.w7, .h-editor__ti b.w6 { width: 66%; }
.h-editor__hero i, .h-editor__ti i { display: block; width: 74px; height: 18px; border-radius: 9px; background: var(--p-accent); margin-top: 6px; }
.h-editor__img { grid-column: 2; grid-row: 1 / 4; border-radius: 10px; min-height: 92px; background: linear-gradient(135deg, color-mix(in srgb, var(--p-accent) 38%, #fff), color-mix(in srgb, var(--p-accent) 16%, #fff)); }
.h-editor__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.h-editor__row span { height: 64px; border-radius: 10px; background: #fff; box-shadow: inset 0 -22px 0 #f1eee8; }
.h-editor__ti { display: grid; grid-template-columns: 38% 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: #fff; }
.h-editor__ti > span:last-child { display: grid; gap: 7px; }
.h-editor__img2 { height: 70px; border-radius: 10px; background: var(--h-sand); }
.h-mini { position: absolute; z-index: 2; display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: #fff; font-size: .78rem;
  box-shadow: 0 22px 44px -18px rgba(20, 30, 25, .38); animation: h-float 7s ease-in-out infinite; }
.h-mini strong { font-size: .84rem; }
.h-mini small { color: var(--p-muted); }
.h-mini__sw { display: flex; gap: 6px; }
.h-mini__sw i { width: 24px; height: 24px; border-radius: 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.h-mini--colors { left: -4%; bottom: 0; animation-delay: -2s; }
.h-mini--themes { right: -4%; top: 30%; animation-delay: -4s; }
.h-mini--themes ul { display: grid; gap: 4px; }
.h-mini--themes li { padding: 5px 10px; border-radius: 8px; font-weight: 600; color: #3b4540; }
.h-mini--themes li.is-on { background: var(--h-sage); color: var(--p-primary); }
@media (max-width: 759px) {
  .h-editor__body { grid-template-columns: 1fr; }
  .h-editor__blocks { display: none; }
  .h-mini--themes { display: none; }
  .h-mini--colors { left: auto; right: 6px; bottom: -6px; }
}

/* =====================================================================
   6. TABLEAU DE BORD — maquette à onglets
   ===================================================================== */
.h-dash__ui { display: grid; gap: 22px; }
.h-dash__tabs { display: flex; gap: 6px; justify-self: center; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--p-text) 9%, transparent), var(--p-shadow-sm);
  max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.h-dash__tabs::-webkit-scrollbar { display: none; }
.h-dash__tabs button { flex: none; padding: 10px 18px; border: 0; border-radius: 999px; background: none; font-weight: 650; font-size: .9rem; color: var(--h-text-soft); transition: background-color .2s, color .2s; }
.h-dash__tabs button:hover { color: var(--p-text); }
.h-dash__tabs button[aria-selected="true"] { background: var(--p-primary); color: var(--p-on-primary); }
.h-app { display: grid; border-radius: 24px; overflow: hidden; background: #fff; min-height: 420px;
  box-shadow: 0 50px 90px -46px rgba(20, 30, 25, .5), 0 0 0 1px rgba(20, 30, 25, .06); }
@media (min-width: 760px) { .h-app { grid-template-columns: 200px 1fr; } }
.h-app__side { display: none; padding: 22px 16px; background: var(--h-ink); color: color-mix(in srgb, #fff 82%, transparent); font-size: .8rem; }
@media (min-width: 760px) { .h-app__side { display: block; } }
.h-app__logo { display: block; width: 92px; height: 12px; border-radius: 6px; background: color-mix(in srgb, #fff 70%, transparent); margin: 4px 8px 22px; }
.h-app__side ul { display: grid; gap: 4px; }
.h-app__side li { padding: 8px 10px; border-radius: 9px; }
.h-app__side li:first-child { background: color-mix(in srgb, #fff 12%, transparent); color: #fff; }
.h-app__main { padding: clamp(18px, 3vw, 30px); background: #fbfaf7; }
.h-pan { display: grid; gap: 18px; animation: h-fade .4s var(--h-ease); }
.js .h-pan[data-hidden] { display: none; }
@keyframes h-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.h-pan__head strong { font-family: var(--p-font-heading); font-size: 1.35rem; font-weight: 450; }
.h-pan__head p { color: var(--h-text-soft); font-size: .92rem; margin-top: 4px; max-width: 60ch; }
.h-pan__body { display: grid; gap: 10px; }
.h-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #efebe4; }
@media (min-width: 560px) { .h-row { grid-template-columns: 40px minmax(0, 1fr) auto 70px; } }
.h-row__l { display: grid; gap: 6px; min-width: 0; }
.h-row__l b { display: block; width: 62%; height: 9px; border-radius: 5px; background: #2d3a33; opacity: .85; }
.h-row__l small { font-size: .74rem; color: var(--p-muted); }
.h-row__l--txt { font-weight: 600; font-size: .9rem; }
.h-row__meta { display: none; gap: 8px; color: var(--p-muted); }
.h-thumb, .h-avatar { width: 40px; height: 40px; border-radius: 10px; }
.h-avatar { border-radius: 50%; }
.h-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--h-sage); color: var(--p-primary); }
.h-c--peach { background: color-mix(in srgb, var(--p-accent) 30%, #fff); } .h-c--sage { background: var(--h-sage); } .h-c--sand { background: #ecdcc0; } .h-c--soft2 { background: color-mix(in srgb, var(--p-primary) 22%, #fff); }
.h-bar { display: none; height: 8px; border-radius: 4px; background: #e6e1d9; }
@media (min-width: 560px) { .h-row > .h-bar { display: block; } }
.h-row__l small .h-bar { display: block; }
.h-bar.w3 { width: 60px; } .h-bar.w4 { width: 80px; } .h-bar.w5 { width: 110px; }
.h-bar--dark { background: #2d3a33; height: 12px; opacity: .85; }
.h-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.h-kpis > span { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #efebe4; }
.h-kpis small { font-size: .74rem; color: var(--p-muted); }
.h-kpis .h-bar { display: block; }
.h-chart { width: 100%; height: auto; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #efebe4; }
.h-chart__area { fill: color-mix(in srgb, var(--p-accent) 14%, #fff); }
.h-chart__line { fill: none; stroke: var(--p-accent); stroke-width: 3; stroke-linecap: round; }
.h-dash__note { text-align: center; font-size: .8rem; color: var(--p-muted); }

/* =====================================================================
   7. FONCTIONNALITÉS — vedettes + liste numérotée + outils
   ===================================================================== */
.h-feat__grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .h-feat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h-flist { grid-column: span 2; } }
@media (min-width: 1100px) { .h-feat__grid { grid-template-columns: 1fr 1fr 1.25fr; } .h-flist { grid-column: auto; } }
.h-star { position: relative; overflow: hidden; display: grid; align-content: start; gap: 12px; padding: clamp(26px, 3vw, 38px); border-radius: var(--h-r-lg); min-height: 280px; background: #fff;
  transition: transform .3s var(--h-ease); }
.h-star:hover { transform: translateY(-4px); }
.h-star--1 { background: var(--h-deep); color: var(--h-on-deep); }
.h-star__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--h-peach); color: var(--p-accent-text); margin-bottom: 8px; }
.h-star--1 .h-star__ico { background: color-mix(in srgb, #fff 14%, transparent); color: var(--h-on-deep); }
.h-star__t { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); max-width: 14ch; }
.h-star__x { color: var(--h-text-soft); max-width: 34ch; }
.h-star--1 .h-star__x { color: color-mix(in srgb, var(--h-on-deep) 80%, transparent); }
.h-star__deco { position: absolute; right: -40px; bottom: -40px; width: 170px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--p-accent) 55%, transparent), transparent 60%), color-mix(in srgb, var(--p-accent) 18%, transparent); opacity: .7; }
.h-star--2 .h-star__deco { background: repeating-radial-gradient(circle, color-mix(in srgb, var(--p-primary) 18%, transparent) 0 2px, transparent 2px 14px); }
.h-flist { display: grid; padding: 10px 26px; border-radius: var(--h-r-lg); background: #fff; }
.h-flist li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid #eee9e1; }
.h-flist li:last-child { border-bottom: 0; }
.h-flist__n { font-family: var(--p-font-heading); font-size: 1.4rem; color: var(--p-accent-text); line-height: 1.1; }
.h-flist__b { display: grid; gap: 4px; }
.h-flist__b strong { display: inline-flex; align-items: center; gap: 8px; font-size: 1.04rem; }
.h-flist__b strong .icon { color: var(--p-primary); }
.h-flist__b span { color: var(--h-text-soft); font-size: .94rem; }
.h-tools { display: grid; justify-items: center; gap: 14px; margin-top: clamp(32px, 4vw, 52px); text-align: center; }
.h-tools p { font-weight: 600; color: var(--h-text-soft); }
.h-tools ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.h-tools li { padding: 9px 16px; border-radius: 999px; background: #fff; font-weight: 650; font-size: .88rem; box-shadow: 0 0 0 1px color-mix(in srgb, var(--p-text) 8%, transparent); }
.h-tools a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--p-accent-text); text-decoration: none; }
.h-tools a:hover { text-decoration: underline; }

/* =====================================================================
   8. COMMENT ÇA MARCHE — chemin courbe
   ===================================================================== */
.h-path { position: relative; }
.h-path__line { display: none; }
.h-path__list { position: relative; display: grid; gap: 0; counter-reset: s; }
.h-step { position: relative; display: grid; grid-template-columns: 60px 1fr; column-gap: 18px; row-gap: 4px; padding-bottom: 30px; }
.h-step::before { content: ''; position: absolute; left: 29px; top: 60px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--p-accent) 60%, transparent) 0 6px, transparent 6px 12px); }
.h-step:last-child::before { display: none; }
.h-step__n { grid-row: span 2; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--p-primary);
  font-family: var(--p-font-heading); font-size: 1.5rem; box-shadow: 0 0 0 2px var(--p-primary), 0 14px 26px -14px rgba(20, 30, 25, .5); }
.h-step:nth-child(odd) .h-step__n { background: var(--p-primary); color: var(--p-on-primary); }
.h-step__t { font-size: 1.18rem; align-self: end; }
.h-step__x { color: var(--h-text-soft); font-size: .95rem; max-width: 32ch; }
@media (min-width: 1000px) {
  .h-path__line { display: block; position: absolute; left: 4%; right: 4%; top: 0; width: 92%; height: 120px; }
  .h-path__line path { fill: none; stroke: color-mix(in srgb, var(--p-accent) 65%, transparent); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }
  .h-path__list { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 20px; }
  .h-step { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-bottom: 0; }
  .h-step::before { display: none; }
  .h-step__n { grid-row: auto; width: 68px; height: 68px; margin-bottom: 14px; }
  .h-step:nth-child(even) { padding-top: 56px; }
  .h-step__t { align-self: auto; }
}
.h-steps__cta { margin-top: clamp(30px, 4vw, 50px); text-align: center; }

/* =====================================================================
   9. TYPES DE COMMERCES
   ===================================================================== */
.h-niche__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 1000px) { .h-niche__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; } .h-niche:nth-child(even) { margin-top: 34px; } .h-niche:nth-child(n+5):nth-child(even) { margin-top: 0; } .h-niche:nth-child(n+5):nth-child(odd) { margin-top: -34px; } }
.h-niche a { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--h-r); overflow: hidden; color: #fff; text-decoration: none; background: var(--h-ink); }
.h-niche a:hover { color: #fff; }
.h-niche img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--h-ease); }
.h-niche a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 12, 0) 36%, rgba(10, 14, 12, .86)); }
.h-niche a:hover img { transform: scale(1.06); }
.h-niche__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 16px; }
.h-niche__body strong { font-family: var(--p-font-heading); font-weight: 450; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); line-height: 1.15; }
.h-niche__body small { font-size: .78rem; color: rgba(255, 255, 255, .92); }
.h-niche__go { position: absolute; z-index: 1; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #16201b;
  transition: transform .25s var(--h-ease); }
.h-niche a:hover .h-niche__go { transform: rotate(45deg); }
.h-niche a:focus-visible { outline: 3px solid var(--p-primary); outline-offset: 3px; }

/* =====================================================================
   10. TARIFS et FAQ
   ===================================================================== */
.h-pricing .plans { margin-top: 0; }
.h-faq { padding-top: clamp(30px, 4vw, 60px); }
.h-faq__in { display: grid; gap: 30px; }
@media (min-width: 1000px) { .h-faq__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: start; } .h-faq__head { position: sticky; top: 110px; } }
.h-faq__head { display: grid; gap: 14px; justify-items: start; }
.h-faq__list { display: grid; gap: 12px; }
.h-q { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--p-text) 8%, transparent); transition: box-shadow .2s; }
.h-q[open] { box-shadow: 0 0 0 1.5px var(--p-primary), 0 18px 36px -24px rgba(20, 30, 25, .4); }
.h-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 650; cursor: pointer; list-style: none; }
.h-q summary::-webkit-details-marker { display: none; }
.h-q__ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--h-sage); color: var(--p-primary); transition: transform .25s var(--h-ease), background-color .2s; }
.h-q[open] .h-q__ico { transform: rotate(45deg); background: var(--p-primary); color: var(--p-on-primary); }
.h-q__a { padding: 0 22px 22px; color: var(--h-text-soft); }

/* =====================================================================
   11. APPEL FINAL — bord festonné
   ===================================================================== */
.h-cta { position: relative; overflow-x: clip; background: var(--h-accent); color: var(--p-on-accent); padding-block: clamp(80px, 9vw, 130px) clamp(110px, 11vw, 160px); text-align: center; }
.h-cta__in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; }
.h-cta__title { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); line-height: 1.04; letter-spacing: -.035em; max-width: 16ch; }
.h-cta__text { font-size: clamp(1.04rem, .98rem + .35vw, 1.22rem); max-width: 50ch; opacity: .92; }
.h-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.h-cta__shape { position: absolute; border-radius: 50%; pointer-events: none; }
.h-cta__shape--a { width: 340px; aspect-ratio: 1; left: -110px; top: 30px; border: 56px solid color-mix(in srgb, var(--p-on-accent) 9%, transparent); }
.h-cta__shape--b { width: 220px; aspect-ratio: 1; right: -50px; bottom: 30px; background: color-mix(in srgb, var(--p-on-accent) 10%, transparent); }

/* ---------- Le pied de page suit l'appel final : on supprime le double espace ---------- */
body.p-home .site-footer { margin-top: 0; }

/* ---------- Mouvement réduit : tout s'affiche, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  .h-rise, .h-hero__art, .h-float, .h-mini, .h-ill__phone, .h-pan { animation: none !important; }
  .h-btn, .h-bento__item, .h-star, .h-demo__img, .h-niche img { transition: none !important; }
}

/* =====================================================================
   DÉCORATIONS (19/11) — étoiles, trames de points, formes douces, trait
   ondulé sous le grand titre. Toutes en CSS (pseudo-éléments) : aucune image,
   aucun texte caché, rien de cliquable. Toujours DERRIÈRE le contenu, et
   contenues dans leur section (pas de débordement horizontal : <main> coupe
   en x, et chaque forme reste dans la largeur de la page).
   ===================================================================== */
body.p-home {
  --h-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1 7 5 11 12 12-7 1-11 5-12 12-1-7-5-11-12-12 7-1 11-5 12-12Z'/%3E%3C/svg%3E");
  --h-squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20'%3E%3Cpath d='M3 12C22 3 32 19 51 11s30-9 49-1 30 9 49 1 30-9 48 0' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  --h-dots: radial-gradient(color-mix(in srgb, var(--p-primary) 26%, transparent) 1.6px, transparent 2px) 0 0 / 18px 18px;
}
.h-sec > .wrap, .h-hero__in, .h-cta__in { position: relative; z-index: 1; }

/* Hero : trait ondulé sous le titre, trame de points et étoiles autour de l'illustration */
.h-hero__title::after { content: ''; display: block; width: min(220px, 52%); height: 18px; margin-top: 16px; background: var(--p-accent);
  -webkit-mask: var(--h-squiggle) center / 100% 100% no-repeat; mask: var(--h-squiggle) center / 100% 100% no-repeat;
  animation: h-draw 1.1s var(--h-ease) .5s both; transform-origin: left; }
@keyframes h-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.h-hero__art::before { content: ''; position: absolute; z-index: -1; right: -2%; top: 8%; width: 180px; height: 180px; border-radius: 30px; background: var(--h-dots); opacity: .9; }
.h-hero__art::after { content: ''; position: absolute; z-index: 3; left: 46%; top: -6%; width: 26px; height: 26px; background: var(--p-accent);
  -webkit-mask: var(--h-star) center / contain no-repeat; mask: var(--h-star) center / contain no-repeat; animation: h-twinkle 4s ease-in-out infinite; }
.h-hero::after { content: ''; position: absolute; left: 4%; top: 18%; width: 16px; height: 16px; background: color-mix(in srgb, var(--p-primary) 60%, transparent);
  -webkit-mask: var(--h-star) center / contain no-repeat; mask: var(--h-star) center / contain no-repeat; animation: h-twinkle 5s ease-in-out -2s infinite; }
@keyframes h-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.65) rotate(25deg); opacity: .55; } }

/* Bandeau de faits : fines rayures diagonales */
.h-facts { background-image: repeating-linear-gradient(135deg, color-mix(in srgb, #fff 4%, transparent) 0 2px, transparent 2px 16px); }

/* Avantages : étoile et trame de points dans les coins */
.h-benefits::before { content: ''; position: absolute; right: max(3%, 16px); top: clamp(40px, 6vw, 80px); width: 34px; height: 34px; background: var(--p-accent);
  -webkit-mask: var(--h-star) center / contain no-repeat; mask: var(--h-star) center / contain no-repeat; animation: h-twinkle 5s ease-in-out infinite; }
.h-benefits::after { content: ''; position: absolute; left: 0; bottom: 60px; width: 150px; height: 150px; background: var(--h-dots); border-radius: 0 30px 30px 0; }

/* Personnalisation : grand cercle doux derrière la maquette */
.h-builder::after { content: ''; position: absolute; right: -6%; top: 14%; width: min(46vw, 520px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, #fff 55%, transparent), transparent); }

/* Tableau de bord : halo pêche + trame de points derrière la maquette */
.h-dash::before { content: ''; position: absolute; left: 50%; top: 52%; width: min(90vw, 980px); height: 60%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--p-accent) 18%, transparent), transparent); }
.h-dash::after { content: ''; position: absolute; right: max(2%, 10px); bottom: 70px; width: 140px; height: 140px; background: var(--h-dots); border-radius: 26px; }

/* Fonctionnalités : deux étoiles */
.h-feat::before, .h-feat::after { content: ''; position: absolute; background: var(--p-primary);
  -webkit-mask: var(--h-star) center / contain no-repeat; mask: var(--h-star) center / contain no-repeat; animation: h-twinkle 6s ease-in-out infinite; }
.h-feat::before { left: max(4%, 14px); top: 90px; width: 28px; height: 28px; }
.h-feat::after { right: max(6%, 14px); top: 140px; width: 18px; height: 18px; background: var(--p-accent); animation-delay: -3s; }

/* Comment ça marche : trait ondulé décoratif sous le titre */
.h-steps .h-title::after { content: ''; display: block; width: 120px; height: 14px; margin: 14px auto 0; background: var(--p-accent);
  -webkit-mask: var(--h-squiggle) center / 100% 100% no-repeat; mask: var(--h-squiggle) center / 100% 100% no-repeat; }
.h-steps::before { content: ''; position: absolute; left: 0; top: 40px; width: 130px; height: 130px; background: var(--h-dots); border-radius: 0 26px 26px 0; }

/* Types de commerces : étoile + trame */
.h-niches::after { content: ''; position: absolute; right: 0; top: 70px; width: 160px; height: 120px; background: var(--h-dots); border-radius: 26px 0 0 26px; }

/* FAQ : grand point d'interrogation décoratif derrière le titre */
.h-faq__head { position: relative; }
.h-faq__head::before { content: '?'; position: absolute; z-index: -1; left: -10px; top: -40px; font-family: var(--p-font-heading); font-size: 11rem; line-height: 1;
  color: color-mix(in srgb, var(--p-accent) 12%, transparent); pointer-events: none; }

/* Appel final : étoiles blanches */
.h-cta::after { content: ''; position: absolute; left: 18%; top: 34%; width: 26px; height: 26px; background: color-mix(in srgb, var(--p-on-accent) 45%, transparent);
  -webkit-mask: var(--h-star) center / contain no-repeat; mask: var(--h-star) center / contain no-repeat; animation: h-twinkle 5s ease-in-out infinite; }

@media (max-width: 759px) {
  .h-hero__art::before { width: 110px; height: 110px; }
  .h-benefits::after, .h-dash::after, .h-steps::before, .h-niches::after { width: 90px; height: 90px; opacity: .7; }
  .h-faq__head::before { font-size: 7rem; top: -24px; }
}
@media (prefers-reduced-motion: reduce) {
  .h-hero__title::after, .h-hero__art::after, .h-hero::after, .h-benefits::before, .h-feat::before, .h-feat::after, .h-cta::after { animation: none !important; }
}

/* =====================================================================
   VRAIES CAPTURES (home/_shot.php) — fenêtre de navigateur.
   La capture garde SES proportions : largeur 100 %, hauteur automatique,
   aucun object-fit, aucun recadrage. Un clic l'ouvre en grand.
   ===================================================================== */
.h-shot { margin: 0; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -40px rgba(20, 30, 25, .5), 0 0 0 1px rgba(20, 30, 25, .08); }
.h-shot__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f1eee8; border-bottom: 1px solid #e6e1d9; }
.h-shot__dots { display: flex; gap: 6px; }
.h-shot__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e8826b; }
.h-shot__dots i:nth-child(2) { background: #e9c46a; } .h-shot__dots i:nth-child(3) { background: #8cc08a; }
.h-shot__url { display: inline-flex; align-items: center; gap: 6px; flex: 1; min-width: 0; max-width: 420px; margin-inline: auto; padding: 5px 12px; border-radius: 8px;
  background: #fff; font-size: .74rem; color: #5b635e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-shot__img { position: relative; display: block; line-height: 0; cursor: zoom-in; }
.h-shot__pic { display: block; width: 100%; height: auto; }
.h-shot__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92);
  color: #16201b; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); opacity: 0; transform: scale(.9); transition: opacity .2s, transform .2s; }
.h-shot__img:hover .h-shot__zoom, .h-shot__img:focus-visible .h-shot__zoom { opacity: 1; transform: none; }
.h-shot__cap { padding: 12px 16px; font-size: .86rem; color: var(--h-text-soft); line-height: 1.5; border-top: 1px solid #efebe4; background: #fbfaf7; }
.h-hero__art--shot { max-width: 760px; }
.h-hero__art--shot::before { display: none; }
.h-split__art--shot { padding: 0; }
.h-app__main { display: grid; gap: 18px; align-content: start; }

/* =====================================================================
   PERSONNALISATION SUR DEVIS (home/service.php, page /personnalisation-sur-devis)
   Fond profond, « feuille de devis » dessinée en CSS, deux formules en
   cartes, déroulement en quatre temps. Aucun prix, aucun délai.
   ===================================================================== */
.h-service { background: var(--h-deep); color: var(--h-on-deep); overflow-x: clip;
  background-image: radial-gradient(color-mix(in srgb, #fff 9%, transparent) 1.4px, transparent 1.8px); background-size: 22px 22px; }
.h-service .h-eyebrow { color: color-mix(in srgb, var(--h-on-deep) 85%, var(--p-accent)); }
.h-service .h-title { color: var(--h-on-deep); max-width: 16ch; }
.h-service .h-lead { color: color-mix(in srgb, var(--h-on-deep) 82%, transparent); }
.h-service__ring { position: absolute; left: -200px; bottom: 80px; width: 480px; aspect-ratio: 1; border-radius: 50%; border: 64px solid color-mix(in srgb, #fff 5%, transparent); pointer-events: none; }
.h-service::after { content: ''; position: absolute; right: max(5%, 16px); top: clamp(60px, 7vw, 100px); width: 30px; height: 30px; background: var(--p-accent);
  -webkit-mask: var(--h-star) center / contain no-repeat; mask: var(--h-star) center / contain no-repeat; animation: h-twinkle 5s ease-in-out infinite; }
.h-service__top { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 1000px) { .h-service__top { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.h-service__head { display: grid; gap: 16px; justify-items: start; }

/* Feuille de devis */
.h-sheet { position: relative; width: min(100%, 400px); justify-self: center; padding: 18px 26px 30px 10px; }
.h-sheet__paper { position: relative; display: grid; gap: 14px; padding: 22px 22px 20px; border-radius: 18px; background: #fffdf8; color: #24302a;
  transform: rotate(-3deg); box-shadow: 0 34px 60px -28px rgba(0, 0, 0, .55), 10px 10px 0 -2px color-mix(in srgb, #fff 16%, transparent); }
.h-sheet__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 2px dashed #e6dfd2; }
.h-sheet__head strong { font-family: var(--p-font-heading); font-size: 1.5rem; letter-spacing: -.02em; }
.h-sheet__head span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a8f8a; }
.h-sheet__rows { display: grid; gap: 9px; font-size: .84rem; font-weight: 600; }
.h-sheet__rows li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.h-sheet__rows i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #d9d1c3; color: #fff; }
.h-sheet__rows li.is-on i { background: var(--p-primary); border-color: var(--p-primary); }
.h-sheet__lines { display: grid; gap: 7px; }
.h-sheet__lines b { display: block; height: 7px; border-radius: 4px; background: #efe9de; }
.h-sheet__lines b.w6 { width: 60%; }
.h-sheet__sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 6px; font-size: .72rem; color: #8a8f8a; }
.h-sheet__sign svg { width: 110px; height: auto; color: var(--p-primary); }
.h-sheet__stamp { position: absolute; right: 0; top: 0; padding: 9px 16px; border-radius: 12px; border: 3px solid var(--p-accent); color: var(--p-accent);
  background: color-mix(in srgb, #fffdf8 92%, transparent); font-weight: 800; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; transform: rotate(9deg);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .5); }
.h-sheet__pen { position: absolute; right: 8px; bottom: 6px; width: 120px; height: 12px; border-radius: 6px 2px 2px 6px; transform: rotate(-32deg);
  background: linear-gradient(90deg, #2b2b2b 0 12%, var(--p-accent) 12% 86%, #d7cbb6 86%); box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .5); }
.h-sheet__pen::before { content: ''; position: absolute; right: -10px; top: 1px; border: 5px solid transparent; border-left: 10px solid #d7cbb6; }

/* Les deux formules */
.h-offers { display: grid; gap: 18px; }
@media (min-width: 760px) { .h-offers[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.h-offer { position: relative; overflow: hidden; display: grid; align-content: start; gap: 12px; padding: clamp(26px, 3vw, 38px); border-radius: var(--h-r-lg);
  background: #fff; color: var(--p-text); transition: transform .3s var(--h-ease), box-shadow .3s var(--h-ease); }
.h-offer:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.h-offer--b { background: var(--h-peach); }
.h-offer__num { position: absolute; right: 22px; top: 6px; font-family: var(--p-font-heading); font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: 1; letter-spacing: -.04em;
  color: color-mix(in srgb, var(--p-primary) 9%, transparent); pointer-events: none; }
.h-offer__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--p-primary); color: var(--p-on-primary); }
.h-offer--b .h-offer__ico { background: var(--p-accent); color: var(--p-on-accent); }
.h-offer__t { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; }
.h-offer__x { color: var(--h-text-soft); max-width: 46ch; }
.h-offer__list { display: grid; gap: 9px; margin-top: 4px; }
.h-offer__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 550; font-size: .95rem; }
.h-offer__list .icon { flex: none; margin-top: 3px; color: var(--p-ok); }
.h-offer__list span { min-width: 0; }
.h-offer__price { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 8px; padding: 7px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--p-primary) 9%, transparent); color: var(--p-primary); font-size: .84rem; font-weight: 700; }

/* Déroulement + note + boutons */
.h-service__bottom { display: grid; gap: 28px; margin-top: clamp(30px, 4vw, 48px); }
@media (min-width: 1000px) { .h-service__bottom { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 48px; } }
.h-service__steps { display: grid; gap: 14px; }
@media (min-width: 560px) { .h-service__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .h-service__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.h-service__steps li { position: relative; display: grid; gap: 10px; align-content: start; padding: 16px 16px 18px; border-radius: 18px; font-weight: 600; font-size: .92rem; line-height: 1.35;
  background: color-mix(in srgb, #fff 8%, transparent); border: 1px solid color-mix(in srgb, #fff 14%, transparent); }
.h-service__steps li > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--p-accent); color: var(--p-on-accent); font-weight: 800; }
.h-service__end { display: grid; gap: 18px; }
.h-service__note { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: .94rem; color: color-mix(in srgb, var(--h-on-deep) 88%, transparent); }
.h-service__note .icon { flex: none; margin-top: 2px; color: var(--p-accent); }
.h-service__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.h-service .h-btn--outline-light { color: var(--h-on-deep); border-color: color-mix(in srgb, var(--h-on-deep) 50%, transparent); }
.h-service .h-btn--outline-light:hover { color: var(--h-on-deep); background: color-mix(in srgb, var(--h-on-deep) 12%, transparent); }
@media (max-width: 759px) {
  .h-service__actions .h-btn { flex: 1 1 100%; }
  .h-service__ring { width: 300px; border-width: 44px; }
  .h-sheet { width: min(100%, 340px); }
}
@media (prefers-reduced-motion: reduce) { .h-service::after { animation: none !important; } }

/* ---------- Page dédiée /personnalisation-sur-devis ---------- */
.h-service--page { padding-top: clamp(48px, 6vw, 88px); }
.h-service--page .h-title { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.9rem); }
.sq-sec { position: relative; padding-block: clamp(64px, 8vw, 110px); background: var(--sec-bg, var(--h-cream)); }
.sq-sec > .wrap { position: relative; z-index: 1; }
.sq-why { display: grid; gap: 16px; }
@media (min-width: 760px) { .sq-why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sq-why__item { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--h-r); background: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p-text) 8%, transparent); }
.sq-why__item .icon { color: var(--p-accent-text); }
.sq-why__item h3 { font-size: 1.15rem; }
.sq-why__item p { color: var(--h-text-soft); font-size: .95rem; }
.sq-form { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .sq-form { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.sq-form__intro { display: grid; gap: 14px; }
.sq-form__card { padding: clamp(22px, 3vw, 38px); border-radius: var(--h-r-lg); background: #fff; box-shadow: 0 30px 70px -40px rgba(20, 30, 25, .45), 0 0 0 1px rgba(20, 30, 25, .05); }
.sq-choices { display: grid; gap: 10px; }
@media (min-width: 560px) { .sq-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sq-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sq-choice { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--p-border-strong);
  background: var(--p-surface); cursor: pointer; font-weight: 600; font-size: .9rem; line-height: 1.3; transition: border-color .18s, background .18s, box-shadow .18s; }
.sq-choice input { flex: none; margin: 1px 0 0; width: 18px; height: 18px; accent-color: var(--p-primary); }
.sq-choice small { display: block; margin-top: 3px; font-weight: 400; color: var(--p-muted); font-size: .8rem; }
.sq-choice:has(input:checked) { border-color: var(--p-primary); background: color-mix(in srgb, var(--p-primary) 6%, var(--p-surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p-primary) 14%, transparent); }
.sq-choice:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--p-primary) 50%, transparent); outline-offset: 2px; }
.sq-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.sq-fieldset legend { font-size: var(--fs-sm); font-weight: 600; padding: 0; margin-bottom: 8px; }
.sq-sent { display: grid; gap: 12px; justify-items: start; }
.sq-sent .icon { color: var(--p-ok); }
