/* Page d'accueil : haut de page rose avec Cody, formulaire « Tu cherches quoi ? », actualités, sliders, sections. */

/* ── Barre de navigation transparente sur le haut de page (le site pose « scrolled » dès 40 px) ── */
.home-page .nav:not(.scrolled) { background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home-page .nav:not(.scrolled) .nav-links a { color: #fff; }
.home-page .nav:not(.scrolled) .nav-links a:hover, .home-page .nav:not(.scrolled) .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .16); }
.home-page .nav:not(.scrolled) .nav-icon-btn, .home-page .nav:not(.scrolled) .lang-dd-btn, .home-page .nav:not(.scrolled) .nav-burger { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: #fff; }
.home-page .nav:not(.scrolled) .nav-burger span { background: #fff; }
.home-page .nav:not(.scrolled) .lang-dd-btn { color: #fff; }

.home { --hh-pink: #E11D55; --hh-pink-2: #FF3B6B; --hh-pink-3: #C8144A; --hh-ink: #111111; --hh-cream: #F7F5F2; }
.home .h-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hh-pink-3); margin: 0 0 10px; }
.home .h-label--pink { color: #FF5C84; }
.home .h-h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; color: var(--hh-ink); margin: 0; }
.home .h-h2 em, .home .hc .h-h2 em { font-style: normal; color: var(--hh-pink); }
.home .h-h2--light { color: #fff; }
.home .h-h2--light em { color: #FF5C84; }
.home .h-sub { font-size: 1rem; color: #666E7B; line-height: 1.7; margin: 12px 0 0; max-width: 620px; }
.home .h-sub--light { color: rgba(255, 255, 255, .78); }
.home .h-sub-link { color: var(--hh-pink-3); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.home .h-sub-link:hover { color: var(--hh-pink); }
.home .h-sec { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.home .h-sec-text { max-width: 720px; }
.home .h-sec-tools { display: flex; align-items: center; gap: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ── Haut de page ── */
.hh { position: relative; overflow: hidden; background: var(--hh-pink); color: #fff; padding: 118px 0 180px; }
.hh-blob { position: absolute; border-radius: 50%; }
.hh-blob--1 { right: -140px; top: -160px; width: 640px; height: 640px; background: var(--hh-pink-3); }
.hh-blob--2 { left: -200px; bottom: -260px; width: 520px; height: 520px; background: var(--hh-pink-3); }
.hh-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.hh-text { display: flex; flex-direction: column; gap: 22px; max-width: 600px; }
.hh-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hh-ink); }
.hh-h1 { margin: 0; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.02; font-weight: 900; letter-spacing: -.025em; color: #fff; }
.hh-line { display: block; }
.hh-line--ink { color: var(--hh-ink); }
.hh-sub { margin: 0; font-size: 1.06rem; line-height: 1.65; max-width: 520px; color: #fff; }
.hh-sub b, .hh-sub strong { color: #fff; }
.hh-steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hh-steps li { display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(17, 17, 17, .12); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: .82rem; font-weight: 600; }
.hh-steps b { width: 24px; height: 24px; border-radius: 50%; background: var(--hh-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono, 'Space Grotesk', sans-serif); font-size: .74rem; flex-shrink: 0; }
.hh-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hh-btn-dark { background: var(--hh-ink); color: #fff; }
.hh-btn-dark:hover { background: #2a2a2a; color: #fff; transform: translateY(-2px); }
.hh-btn-ghost { background: rgba(17, 17, 17, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); }
.hh-btn-ghost:hover { background: rgba(17, 17, 17, .24); color: #fff; }
/* Cody debout entre le texte et la photo, les pieds au niveau du bas de la carte ; sa bulle au-dessus de la tête */
.hh-visual { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; }
/* La carte photo : un cube dont on voit une face ; home.js règle --depth (la moitié de la largeur) et le fait tourner
   d'un quart de tour vers la gauche, puis remet tout à zéro sans animation avec la face suivante sur le côté.
   Entre deux rotations, la face de devant est posée à plat : même rendu à l'œil (le cube recule de --depth, la face
   avance d'autant), mais le navigateur peut mesurer la photo (PageSpeed ne trouvait pas l'élément principal de la page,
   25/11/2026) et rien ne bouge au chargement. La 3D (.is-3d) n'est posée que le temps du quart de tour. */
.hh-card { --depth: 0px; position: relative; z-index: 1; flex: 0 1 460px; min-width: 0; aspect-ratio: 13 / 14; transform: rotate(3deg); perspective: 1800px; }
.hh-cube { position: absolute; inset: 0; }
.hh-cube.is-3d { transform-style: preserve-3d; transform: translateZ(calc(var(--depth) * -1)); will-change: transform; }
.hh-cube.is-turning { transform: translateZ(calc(var(--depth) * -1)) rotateY(-90deg); transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
.hh-face { position: absolute; inset: 0; margin: 0; border-radius: 28px; overflow: hidden; background: var(--hh-ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); visibility: hidden; }
/* Les faces qui ne sont ni devant ni la suivante ne sont pas affichées : leur photo (loading="lazy") n'est chargée que
   quand elle devient la suivante, un intervalle entier avant son tour. */
.hh-face:not(.is-front):not(.is-next) { display: none; }
.hh-face.is-front { visibility: visible; }
.hh-cube.is-3d .hh-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.hh-cube.is-3d .hh-face.is-front { transform: translateZ(var(--depth)); }
.hh-cube.is-3d .hh-face.is-next { visibility: visible; transform: rotateY(90deg) translateZ(var(--depth)); }
.hh-face img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50%) 30%; display: block; }
.hh-card-tag { position: absolute; z-index: 2; left: 18px; top: 18px; background: #fff; color: var(--hh-ink); border-radius: 999px; padding: 8px 14px; font: 700 .72rem var(--font-mono, 'Space Grotesk', sans-serif); letter-spacing: .06em; text-transform: uppercase; }
.hh-cody-wrap { --head-x: 28%; position: relative; z-index: 2; flex: none; width: 360px; margin-right: -120px; }
/* Les autres poses : le corps de Cody au milieu entre le texte et la photo, la main qui salue vers le texte */
.hh-cody-wrap--salut, .hh-cody-wrap--pouce { --head-x: 49%; width: 340px; margin: 0 -25px 0 -65px; }
.hh-cody-wrap--court { --head-x: 51%; width: 340px; margin: 0 -25px 0 -65px; }
.hh-cody { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .4)); }
/* La bulle façon bande dessinée : contour à l'encre, lettrage à la main en capitales, queue vers la tête */
.hh-bubble { position: absolute; left: var(--head-x); bottom: calc(94% + 24px); transform: translateX(-50%); width: max-content; max-width: 300px; background: #fff; color: var(--hh-ink); border: 2.5px solid var(--hh-ink); border-radius: 44px / 34px; padding: 11px 26px 12px; font-family: 'Patrick Hand', var(--font); font-weight: 400; font-size: 1.5rem; line-height: 1.08; letter-spacing: .03em; text-transform: uppercase; text-align: center; }
.hh-bubble-tail { position: absolute; left: 50%; bottom: -25px; width: 34px; height: 28px; margin-left: -8px; display: block; }

/* ── Formulaire « Tu cherches quoi ? » : il mord sur le haut de page ── */
.hs { background: var(--hh-cream); padding: 0 0 72px; }
.hs-card { position: relative; z-index: 3; background: #fff; border-radius: 26px; box-shadow: 0 20px 60px rgba(0, 0, 0, .12); padding: 40px 44px; margin-top: -110px; display: flex; flex-direction: column; gap: 28px; }
.hs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hs-cody { width: 150px; height: auto; margin-bottom: -40px; }
.hs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.hs-field { display: flex; flex-direction: column; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.hs-field--submit { justify-content: flex-end; align-items: flex-start; }
.hs-label { font-size: .82rem; font-weight: 700; color: var(--hh-ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0; }
.hs-label small { font-weight: 500; color: #666E7B; }
.hs-link { margin-left: auto; font-size: .82rem; font-weight: 600; color: var(--hh-pink); text-decoration: underline; }
.hs-select { height: 50px; border-radius: 12px; border: 1.5px solid #d1d5db; background: #fff; padding: 0 42px 0 14px; font: 500 .95rem var(--font); color: var(--hh-ink); width: 100%; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.hs-select:focus { outline: 0; border-color: var(--hh-ink); }
.hs-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.hs-sw { position: relative; width: 40px; height: 40px; cursor: pointer; }
.hs-sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.hs-sw > span[aria-hidden] { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px #d1d5db; transition: box-shadow .15s; }
.hs-sw input:checked + span { box-shadow: 0 0 0 2.5px var(--hh-ink); }
.hs-sw input:focus-visible + span { box-shadow: 0 0 0 3px var(--hh-pink); }
.hs-sw--none > span[aria-hidden] { background: conic-gradient(#f87171, #fbbf24, #4ade80, #60a5fa, #a78bfa, #f87171); }
.hs-sw--none input:checked + span::after { content: '\2715'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: .8rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.hs-pills { display: flex; flex-wrap: wrap; gap: 8px; }
/* Les choix qui n'existent pas pour le type de produit choisi disparaissent (home.js pose hidden) */
.hs-card [hidden] { display: none !important; }
.hs-pills > .hs-select { max-width: 360px; }
.hs-pill { position: relative; cursor: pointer; }
.hs-pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.hs-pill span { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; height: 40px; border-radius: 999px; border: 1.5px solid #d1d5db; background: #fff; color: var(--hh-ink); font-size: .82rem; font-weight: 600; transition: all .15s; }
.hs-pill--wide span { padding: 0 18px; height: 46px; font-size: .88rem; }
.hs-pill:hover span { border-color: var(--hh-ink); }
.hs-pill input:checked + span { background: var(--hh-ink); border-color: var(--hh-ink); color: #fff; }
.hs-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(225, 29, 85, .35); }

/* « Tu cherches quoi ? » en 3 onglets (réglage home.finder_tabs) : trois grands boutons, des radios sans script. */
.hs-form { display: flex; flex-direction: column; gap: 28px; }
.hs-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.hs-tab { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1.5px solid #E7E2DA; background: var(--hh-cream); color: var(--hh-ink); cursor: pointer; transition: border-color .15s, background .15s, color .15s, box-shadow .15s; }
.hs-tab:hover { border-color: var(--hh-ink); }
.hs-tab-ico { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--hh-pink); font-size: 1.2rem; transition: background .15s, color .15s; }
.hs-tab-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hs-tab-txt strong { font-size: 1.08rem; font-weight: 800; line-height: 1.2; }
.hs-tab-txt small { font-size: .8rem; font-weight: 500; color: #666E7B; line-height: 1.35; transition: color .15s; }
#hs-tab-product:checked ~ .hs-tabs .hs-tab--product, #hs-tab-theme:checked ~ .hs-tabs .hs-tab--theme, #hs-tab-ready:checked ~ .hs-tabs .hs-tab--ready { background: var(--hh-ink); border-color: var(--hh-ink); color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); cursor: default; }
#hs-tab-product:checked ~ .hs-tabs .hs-tab--product .hs-tab-ico, #hs-tab-theme:checked ~ .hs-tabs .hs-tab--theme .hs-tab-ico, #hs-tab-ready:checked ~ .hs-tabs .hs-tab--ready .hs-tab-ico { background: var(--hh-pink); color: #fff; }
#hs-tab-product:checked ~ .hs-tabs .hs-tab--product small, #hs-tab-theme:checked ~ .hs-tabs .hs-tab--theme small, #hs-tab-ready:checked ~ .hs-tabs .hs-tab--ready small { color: rgba(255, 255, 255, .74); }
#hs-tab-product:focus-visible ~ .hs-tabs .hs-tab--product, #hs-tab-theme:focus-visible ~ .hs-tabs .hs-tab--theme, #hs-tab-ready:focus-visible ~ .hs-tabs .hs-tab--ready { outline: 3px solid rgba(225, 29, 85, .5); outline-offset: 2px; }
.hs-panel { display: none; flex-direction: column; gap: 28px; }
#hs-tab-product:checked ~ .hs-panel--product, #hs-tab-theme:checked ~ .hs-panel--theme, #hs-tab-ready:checked ~ .hs-panel--ready { display: flex; }
/* Les univers de l'onglet Thème : une carte par page thème publiée. */
.hs-unis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.hs-uni { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(0, 0, 0, .08); border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.hs-uni:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .12); transform: translateY(-3px); color: inherit; }
.hs-uni img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #f3f3f3; }
.hs-uni-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.hs-uni-label { font-size: .9rem; font-weight: 800; line-height: 1.3; color: var(--hh-ink); overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.hs-uni-count { font-size: .78rem; color: #666E7B; }
.hs-panel-foot { display: flex; }
/* Les modèles Tout prêt : le produit avec son design, en carré. */
.hs-ready img { aspect-ratio: 1 / 1; object-fit: contain; background: #F4F6FA; }
.hs-ready-price { margin-top: 4px; font-size: .9rem; font-weight: 800; color: var(--hh-pink); }
.hs-ready-more { margin: 22px 0 0; text-align: center; }
.hs-admin-note { margin: 0; padding: 14px 16px; border-radius: 12px; background: #FFF4D6; border: 1px solid #F0D9A8; color: #6B4E00; font-size: .9rem; font-weight: 600; line-height: 1.5; }

/* ── Actualités ── */
.hn { padding: 80px 0 40px; }
.hn-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.hn-grid--one { grid-template-columns: 1fr; }
.hn-big { position: relative; border-radius: 22px; overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; background: var(--hh-ink); color: #fff; }
.hn-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hn-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, 0) 30%, rgba(17, 17, 17, .88) 100%); }
.hn-tx { position: relative; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hn-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--hh-pink); color: #fff; }
.hn-tag--ink { background: var(--hh-ink); }
.hn-h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.hn-p { font-size: .95rem; line-height: 1.6; color: rgba(255, 255, 255, .85); max-width: 540px; }
.hn-p--muted { color: #666E7B; font-size: .84rem; }
.hn-btn { background: #fff; color: var(--hh-ink); margin-top: 6px; }
.hn-btn:hover { background: #f3f3f3; color: var(--hh-ink); }
.hn-small { display: flex; gap: 16px; background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 18px; padding: 14px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); color: var(--hh-ink); transition: box-shadow .2s, transform .2s; }
.hn-small:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.hn-small img { width: 132px; height: 132px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.hn-small-tx { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hn-h4 { font-size: 1.02rem; font-weight: 800; line-height: 1.3; }
.hn-more { font-size: .8rem; font-weight: 700; color: var(--hh-pink); }
.hn-grid > .hn-small:nth-child(2) { grid-column: 2; grid-row: 1; align-self: start; }
.hn-grid > .hn-small:nth-child(3) { grid-column: 2; grid-row: 1; align-self: end; }
.hn-grid:has(.hn-small:nth-child(3)) { grid-template-rows: 440px; }

/* ── Sliders ── */
.hr { padding: 60px 0 30px; }
.hr--alt { background: var(--hh-cream); padding: 70px 0 50px; }
.hr-btn { background: var(--hh-ink); color: #fff; }
.hr-btn:hover { background: #2a2a2a; color: #fff; }
.hr-arrows { display: flex; gap: 8px; }
.hr-arr { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #d1d5db; background: #fff; color: var(--hh-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .15s; }
.hr-arr:hover { border-color: var(--hh-ink); }
/* scroll-padding-inline = le retrait de 4 px de la rangée : la première carte est déjà calée au chargement, le navigateur ne
   fait pas défiler la rangée tout seul. Ce défilement automatique arrêtait la mesure de l'élément principal de la page
   (PageSpeed « NO_LCP », 25/11/2026). */
.hr-row { display: flex; align-items: flex-start; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; padding: 6px 4px 18px; margin: 0 -4px; scrollbar-width: none; scroll-behavior: smooth; }
.hr-row::-webkit-scrollbar { display: none; }
.hr-row > * { scroll-snap-align: start; flex: 0 0 264px; }
.hr-item .product-card-link { display: block; }
.ht-card { flex-basis: 300px !important; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); color: var(--hh-ink); transition: box-shadow .2s, transform .2s; }
.ht-card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .1); transform: translateY(-3px); }
.ht-top { display: grid; grid-template-columns: 1fr 1fr; color: inherit; }
/* Sous le thème : la photo du produit qui le porte, et le lien vers la page profil hébergée de son QR */
.ht-product { margin: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.ht-product-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #f3f3f3; }
.ht-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
a.ht-product-img:hover img { transform: scale(1.04); }
.ht-product-tag { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(17, 17, 17, .78); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .03em; }
.ht-page-link { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(225,29,85, .1); border: 1px solid rgba(225,29,85, .25); color: var(--hh-pink-3); font-size: .8rem; font-weight: 700; transition: background .2s; }
.ht-page-link:hover { background: rgba(225,29,85, .18); color: var(--hh-pink-3); }
.ht-page-link .fa-arrow-up-right-from-square { font-size: .68rem; opacity: .7; }
.ht-page-link--empty { visibility: hidden; }
.ht-portrait { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.ht-page { position: relative; display: flex; flex-direction: column; padding: 0 10px 10px; overflow: hidden; }
.ht-cover { width: calc(100% + 20px); height: 58px; object-fit: cover; margin: 0 -10px; display: block; }
.ht-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-top: -22px; display: block; }
.ht-name { font-size: .74rem; font-weight: 700; margin-top: 6px; line-height: 1.2; }
.ht-bio { font-size: .62rem; opacity: .75; margin-top: 3px; line-height: 1.35; }
.ht-ln { display: block; height: 6px; border-radius: 3px; margin-top: 6px; opacity: .55; }
.ht-ln--s { width: 60%; opacity: 1; }
.ht-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; }
.ht-tag { align-self: flex-start; display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--hh-ink); color: #fff; margin-bottom: 6px; }
.ht-title { font-weight: 700; font-size: .95rem; }
.ht-sub { font-size: .8rem; color: #666E7B; }

/* ── Comment ça marche ── */
.hw { background: var(--hh-ink); color: #fff; padding: 80px 0; }
.hw-cody { width: 150px; height: auto; }
.hw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hw-card { position: relative; background: #1c1c1e; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; padding: 0 0 22px; }
/* height: auto, sinon l'attribut height="800" de la balise passe avant le format 3:2 et l'image monte à 800 px */
.hw-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hw-num { position: absolute; left: 16px; top: 16px; width: 44px; height: 44px; border-radius: 12px; background: var(--hh-pink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono, 'Space Grotesk', sans-serif); font-weight: 700; }
.hw-card h3 { margin: 18px 22px 6px; font-size: 1.05rem; font-weight: 800; color: #fff; }
.hw-card p { margin: 0 22px; font-size: .88rem; line-height: 1.65; color: rgba(255, 255, 255, .75); }

/* ── L'éditeur ── */
.he { padding: 80px 0; }
.he-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.he-chips { list-style: none; margin: 18px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.he-chips li { padding: 7px 12px; border-radius: 999px; background: var(--hh-cream); font-size: .8rem; font-weight: 600; color: var(--hh-ink); }
.he-shot { border-radius: 18px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 20px 60px rgba(0, 0, 0, .14); background: #fff; }
.he-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--hh-cream); border-bottom: 1px solid rgba(0, 0, 0, .07); }
.he-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.he-bar span:nth-child(2) { background: #ffbd2e; }
.he-bar span:nth-child(3) { background: #28ca41; }
.he-bar em { margin-left: 10px; font-style: normal; font-size: .74rem; color: #666E7B; font-weight: 600; }
.he-shot img { width: 100%; height: auto; display: block; }

/* ── Ta page profil ── */
.hp { padding: 80px 0; background: var(--hh-cream); }
.hp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 36px; align-items: center; }
.hp-visual img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .14); display: block; }
.hp-cards { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hp-card { background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 18px; padding: 20px 22px; width: 100%; }
.hp-tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(225,29,85, .12); color: #C2113F; margin-bottom: 8px; }
.hp-card h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; color: var(--hh-ink); }
.hp-card p { margin: 0; font-size: .9rem; line-height: 1.6; color: #4B5563; }
.hp-list { list-style: none; margin: 4px 0 8px; padding: 0 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.hp-list li { font-size: .86rem; color: #374151; display: flex; gap: 8px; align-items: flex-start; }
.hp-list i { color: var(--hh-pink); margin-top: 4px; }

/* ── Appel final, bande avantages, texte CMS ── */
.hc { padding: 80px 0 40px; }
.hc-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.hc-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hc-cody { width: 240px; height: auto; }
/* ── Sections reprises du site en ligne : gestion des profils, effet réseau, pourquoi wearcode, couleurs ── */
.home .h-sec--center { justify-content: center; text-align: center; }
.home .h-sec--center .h-sub { margin-left: auto; margin-right: auto; }
.home .h-center { text-align: center; margin-top: 32px; }
.hg { padding: 80px 0; }
.hg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.hg-card { background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.hg-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hg-body { padding: 20px 22px 22px; }
.hg-body h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; color: var(--hh-ink); }
.hg-body p { margin: 0 0 12px; font-size: .9rem; line-height: 1.65; color: #4B5563; }
.hp-visual { position: relative; }
.hp-badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--hh-ink); color: #fff; font-size: .8rem; font-weight: 700; }
.hp-badge i { color: #FFD24A; }
.hp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hv { background: var(--hh-ink); color: #fff; padding: 80px 0; }
.hv-quote { margin: 36px auto 0; max-width: 760px; text-align: center; font-size: 1.15rem; font-weight: 700; line-height: 1.5; color: #fff; }
.hv-cta { margin: 20px auto 0; max-width: 760px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.hv-cta b { color: #FF5C84; font-size: 1rem; }
.hv-cta > span { color: rgba(255, 255, 255, .78); font-size: .92rem; }
.hv-links { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: center; font-size: .9rem; }
.hv-links span { opacity: .8; }
.hv-links a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hv-links a:hover { color: #FF5C84; }
.hy { padding: 80px 0; background: var(--hh-cream); }
.hy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hy-card { background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 18px; padding: 22px; }
.hy-card img { width: 64px; height: 64px; object-fit: contain; display: block; margin-bottom: 14px; }
.hy-card h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; color: var(--hh-ink); }
.hy-card p { margin: 0; font-size: .88rem; line-height: 1.6; color: #666E7B; }
.hk { padding: 10px 0 50px; }
.hk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hk-list a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .1); background: #fff; color: var(--hh-ink); font-size: .84rem; font-weight: 600; transition: border-color .15s; }
.hk-list a:hover { border-color: var(--hh-pink); }
.hk-dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex: none; }
.hm { padding: 20px 0 70px; }
.hm-body { color: #4B5563; line-height: 1.75; }
.hm-body h2, .hm-body h3 { color: var(--hh-ink); }

/* ── Écrans moyens et téléphones ── */
@media (max-width: 1100px) {
  .hh { padding-bottom: 120px; }
  .hh-grid { grid-template-columns: 1fr; }
  .hh-visual { justify-content: center; }
  .hh-card { flex-basis: 480px; }
  .hs-grid { grid-template-columns: 1fr; }
  .hs-unis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Onglets compacts dès 1100 px : bureau ou mobile, pas d état tablette (règle de Benoit). */
  .hs-tabs { gap: 8px; }
  .hs-tab { flex-direction: column; gap: 8px; padding: 12px 6px; text-align: center; border-radius: 14px; }
  .hs-tab-ico { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }
  .hs-tab-txt strong { font-size: .86rem; }
  .hs-tab-txt small { display: none; }
  .hn-grid, .hn-grid:has(.hn-small:nth-child(3)) { grid-template-columns: 1fr; grid-template-rows: none; }
  .hn-grid > .hn-small:nth-child(2), .hn-grid > .hn-small:nth-child(3) { grid-column: auto; grid-row: auto; }
  .hw-grid, .he-grid, .hp-grid { grid-template-columns: 1fr; }
  .hy-grid, .hg-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hh { padding: 96px 0 110px; }
  .hh-h1 { font-size: 2.4rem; }
  .hh-steps { flex-direction: column; align-items: flex-start; }
  .hh-ctas .btn { width: 100%; justify-content: center; }
  .hh-visual { flex-direction: column; align-items: center; }
  .hh-card { flex: none; width: 100%; aspect-ratio: 16 / 10; transform: none; }
  .hh-cody-wrap { order: 2; width: 220px; margin: 100px auto 0; }
  .hh-bubble { font-size: 1.3rem; padding: 10px 22px 11px; }
  .hs-card { padding: 24px 18px; margin-top: -80px; }
  .hs-cody { display: none; }
  .hs-unis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hn-big { min-height: 340px; }
  .hn-small img { width: 96px; height: 96px; }
  .h-sec-tools { width: 100%; justify-content: space-between; }
  .hr-row > * { flex-basis: 240px; }
  .hw-cody, .hc-cody { display: none; }
  .hc-grid { grid-template-columns: 1fr; }
  .hy-grid, .hg-grid { grid-template-columns: 1fr; }
  .hp-list { grid-template-columns: 1fr; }
}

/* Tout prêt : cartes à la forme de celles de la boutique (card.css) et fenêtre de détail (templates/front/ready/_cards.html.twig),
   sur l'accueil et sur la page des designs. */
.rp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rp-cards > [hidden] { display: none; }
.rp-card-faces { font-size: .76rem; color: var(--text-muted, #666E7B); }
@media (max-width: 768px) {
  .rp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
