/* Refonte esthétique Helioneon, 12/11/2026 (validée sur maquette de l'accueil).
   Uniquement du style : aucun texte, lien, bouton ni ordre de section modifié.
   Chargée après les feuilles du site. Pour revenir en arrière : retirer le <link> (script refonte_css.py --retirer). */
:root{
  --rf-accent:#6b4dff;
  --rf-soft:#f5f5f6;
  --rf-line:#e6e7ea;
  --rf-shadow:0 1px 2px rgba(19,21,23,.04),0 14px 34px rgba(19,21,23,.07);
  --rf-shadow-up:0 2px 4px rgba(19,21,23,.05),0 24px 56px rgba(19,21,23,.12);
  --rf-radius:20px;
}

/* 1. Typographie */
.hx-h1,.hx-h2,.hx-h3,.hx-h4,.hx-h5{text-wrap:balance}
.hx-da p,.hx-da li,.hx-da figcaption{text-wrap:pretty}
.hx-h2{letter-spacing:-.03em;line-height:1.08}
.hx-kicker{color:var(--rf-accent);letter-spacing:.08em;font-size:.78rem}
.hx-dark .hx-kicker{color:#b9abff}
@media (min-width:900px){
  .hx-section__head p,.hx-lead{font-size:1.125rem;line-height:1.6}
  .hx-howstep p,.hx-tile p,.hx-maq__step p,.hx-arpanel__texte,.hx-arpanel__points li{font-size:1rem;line-height:1.6}
}

/* 2. Fonds : blanc, gris très clair, noir */
.hx-soft,.hx-pricing.hx-soft,.hx-reviews.hx-soft,.hx-blog--accueil,.hx-devis.hx-soft{background:var(--rf-soft)!important}
.hx-proofonly{background:#fff!important;border-top:1px solid var(--rf-line);border-bottom:1px solid var(--rf-line)}

/* 3. En-tête */
.hx-h1 span{background-image:none!important}
.hx-hero .hx-lead{color:rgba(255,255,255,.78)}
@media (min-width:1100px){
  .hx-hero:not(.hx-hero--page) .hx-wrap{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:clamp(40px,5vw,72px)}
  .hx-hero:not(.hx-hero--page) .hx-h1{font-size:clamp(2.6rem,1.5rem + 3vw,4.4rem);line-height:1.04;max-width:13ch}
  .hx-hero:not(.hx-hero--page) .hx-lead{max-width:46ch}
  .hx-hero__media{margin-right:0;border-radius:28px;box-shadow:0 40px 100px rgba(0,0,0,.55)}
  .hx-hero__media img{height:min(70vh,640px);min-height:480px}
}

/* 4. Logos clients */
.hx-logos__track img{opacity:.5}
.hx-logos{-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}

/* 5. Cartes produits */
.hx-prod{background:#fff;border:1px solid var(--rf-line);border-radius:var(--rf-radius);overflow:hidden;transition:box-shadow .3s,transform .3s}
.hx-prod__body{background:#fff!important}
.hx-prod__body .hx-kicker{color:#6b7280;letter-spacing:.08em}
.hx-prod__price{color:var(--ink)!important;font-weight:700}
.hx-prod__arrow{box-shadow:var(--rf-shadow);border-color:var(--rf-line)}
@media (hover:hover){.hx-prod:hover{box-shadow:var(--rf-shadow-up);transform:translateY(-3px)}}

/* 6. Bandeau de preuves */
.hx-proof span{color:var(--ink-2)}
/* bandeau défilant resserré (retour de Guillaume, 12/11) */
.hx-proofonly{padding-top:22px!important;padding-bottom:22px!important}
.hx-proofonly .hx-proof{margin-top:0!important;padding-top:0!important;border-top:0!important}
.hx-proofonly .hx-proof li{align-items:center}
.hx-proofonly .hx-proof span{white-space:nowrap}
.hx-proof .hx-ico{color:var(--rf-accent)}

/* 7. Étapes */
.hx-howstep,.hx-howstep:nth-child(n){border-top-color:transparent!important}
.hx-how--accueil .hx-howstep::before,.hx-how--accueil .hx-howstep:nth-child(n)::before{background:var(--rf-accent)!important}
.hx-howstep__n,.hx-howstep:nth-child(n) .hx-howstep__n{color:var(--rf-accent)!important}
.hx-simshot{border:0!important;border-radius:24px!important;box-shadow:var(--rf-shadow-up)!important}

/* 8. Maquette gratuite */
.hx-maq__step figure{border-radius:var(--rf-radius)!important;box-shadow:var(--rf-shadow)!important;border:1px solid var(--rf-line);overflow:hidden}
.hx-maq__n{color:var(--rf-accent)!important}
.hx-maq__plan{position:relative}
.hx-maq__plan::after{content:"";position:absolute;left:0;right:0;bottom:0;height:17%;background:rgb(194,192,193)}

/* 9. Réalité augmentée */
.hx-arsec{--t:#6b4dff;--t-txt:#b9abff;--bord:rgba(255,255,255,.12)}
.hx-arsec::before{opacity:.10}
.hx-arsec--clair{--t-txt:#5a3df0;--bord:var(--rf-line);background:var(--rf-soft)}
.hx-soft + .hx-arsec--clair{background:#fff}
.hx-arpanel{box-shadow:0 40px 90px rgba(0,0,0,.28);border-radius:28px}
.hx-arsec:not(.hx-arsec--clair) .hx-arpanel{box-shadow:0 40px 90px rgba(0,0,0,.45)}
.hx-arsec .hx-arpanel__actions .hx-btn{color:#fff}

/* 10. Tuiles */
.hx-pricing .hx-tiles{border-bottom:0!important}
.hx-tiles:not(.hx-tiles--dark) .hx-tile{border:1px solid var(--rf-line);border-radius:var(--rf-radius)}
.hx-tile::before{display:none!important}
.hx-tiles:not(.hx-tiles--dark) .hx-tile > .hx-ico{width:48px;height:48px;border-radius:14px;background:rgba(107,77,255,.09);color:var(--rf-accent);padding:11px;box-sizing:border-box}

/* 11. Réalisations */
.hx-work{background:#fff;border:1px solid var(--rf-line);border-radius:var(--rf-radius)}
.hx-work figcaption{background:#fff!important}
.hx-work figcaption .hx-kicker{color:#6b7280}
@media (hover:hover){.hx-work{transition:box-shadow .3s,transform .3s}.hx-work:hover{box-shadow:var(--rf-shadow-up);transform:translateY(-3px)}}

/* 12. Bloc final */
.hx-cta{background:radial-gradient(70% 90% at 50% 0%,rgba(107,77,255,.28),transparent 62%),var(--dark)!important}
.hx-cta .hx-lead a{text-decoration-color:rgba(255,255,255,.35);text-underline-offset:.22em}

/* 13. Avis */
.hx-review{border:1px solid var(--rf-line);border-radius:var(--rf-radius)}
.hx-review .hx-avatar,.hx-review:nth-child(n) .hx-avatar{background:rgba(107,77,255,.1)!important;color:#5a3df0!important}
.hx-reviews:has(.hx-reviews__track.is-loop){-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}

/* 14. Questions fréquentes et blog */
.hx-faq__item{border-color:var(--rf-line)}
.hx-post{border-radius:var(--rf-radius);border-color:var(--rf-line)}
@media (hover:hover){.hx-post:hover{box-shadow:var(--rf-shadow-up)}}

/* 15. Étapes en cartes sur toutes les pages (demande de Guillaume, 13/11). L'accueil garde ses filets. */
.hx-howsteps:not(.hx-howsteps--left){gap:20px;align-items:stretch}
.hx-howsteps:not(.hx-howsteps--left) > .hx-howstep{background:#fff;border:1px solid var(--rf-line)!important;border-radius:var(--rf-radius);padding:26px 26px 30px;gap:10px;text-align:left;align-items:flex-start;box-shadow:var(--rf-shadow)}
.hx-howsteps:not(.hx-howsteps--left) > .hx-howstep > .hx-howstep__n,
.hx-lp-steps > .hx-howstep::before{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(107,77,255,.09)!important;color:var(--rf-accent)!important;font-size:.95rem;letter-spacing:0;margin-bottom:8px}
.hx-howsteps:not(.hx-howsteps--left) > .hx-howstep p{margin:0}
.hx-howsteps:not(.hx-howsteps--left) > .hx-howstep .hx-h3,.hx-howsteps:not(.hx-howsteps--left) > .hx-howstep p.hx-h3{font-size:1.35rem!important;line-height:1.2}
.hx-howsteps:not(.hx-howsteps--left) > .hx-howstep > .hx-ico--box{margin-bottom:0}
.hx-dark .hx-howsteps:not(.hx-howsteps--left) > .hx-howstep{background:var(--dark-2);border-color:var(--on-dark-line)!important;box-shadow:none}
.hx-dark .hx-howsteps:not(.hx-howsteps--left) > .hx-howstep > .hx-howstep__n{background:rgba(185,171,255,.14);color:#b9abff!important}

/* 16. Vidéo sous les étapes (page sur-mesure, 13/11) */
.hx-howvideo{max-width:960px;margin:clamp(28px,4vw,56px) auto 0;padding:0}
.hx-howvideo video{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:24px;background:#131517;box-shadow:var(--rf-shadow-up)}
.hx-howvideo figcaption{margin-top:14px;text-align:center;font-size:.95rem;color:var(--ink-2)}
@media (max-width:700px){.hx-howvideo video{border-radius:16px}}
/* espace entre la vidéo et le bloc qui la suit (retour de Guillaume, 13/11) */
.hx-howvideo + script + *{margin-top:clamp(40px,6vw,72px)!important}
/* la vidéo est le dernier élément de son bloc : l'espace se règle sur le bloc qui suit (bande d'images), 13/11 */
.hx-wrap:has(> .hx-howvideo) + *{margin-top:clamp(66px,8vw,92px)!important}

/* 17. Formulaire de demande : fond plus soutenu, cartes blanches détachées, champs plus lisibles (retour de Guillaume, 13/11) */
.hx-devis.hx-soft{background:#e8e6f4!important}
.hx-devis .hx-form--card,.hx-devis .hx-devis__side{border:1px solid #d9d6ea;box-shadow:0 2px 4px rgba(19,21,23,.05),0 24px 56px rgba(40,30,90,.13)}
.hx-devis .hx-field input,.hx-devis .hx-field textarea,.hx-devis .hx-select select,.hx-devis .hx-choice__opt{border-color:#aeb2bd}
.hx-devis .hx-field input::placeholder,.hx-devis .hx-field textarea::placeholder{color:#5f6672}
.hx-devis .hx-upload{border-color:#9da2ae;background:#f4f4f8}
/* contrastes : petits textes violets un ton plus foncé sur fond clair */
.hx-section:not(.hx-dark) .hx-kicker,.hx-soft .hx-kicker{color:#5a3df0}
.hx-dark .hx-kicker{color:#b9abff}
.hx-howstep .hx-chip{color:#4b32d6;white-space:normal;line-height:1.25;border-radius:14px;width:fit-content;max-width:100%}

/* 18. Couleurs et supports en bande défilante sur mobile, sur toutes les pages (demande de Guillaume, 13/11) : même comportement que sur les landings « logo en néon ». La carte suivante dépasse à droite pour montrer qu'on peut faire défiler. */
@media (max-width:600px){
  .hx-colors__grid:not(.hx-lp-scroll),.hx-mounts__grid:not(.hx-lp-scroll){display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;gap:16px;margin-left:calc(-1 * var(--pad));margin-right:calc(-1 * var(--pad));padding:8px var(--pad) 28px;scroll-padding-left:var(--pad);scrollbar-width:none}
  .hx-colors__grid:not(.hx-lp-scroll)::-webkit-scrollbar,.hx-mounts__grid:not(.hx-lp-scroll)::-webkit-scrollbar{display:none}
  .hx-mounts__grid:not(.hx-lp-scroll) > *{flex:0 0 78%;scroll-snap-align:start;min-width:0}
  .hx-colors__grid:not(.hx-lp-scroll) > *{flex:0 0 46%;scroll-snap-align:start;min-width:0}
}

/* 19. Contraste du bouton du panneau Réalité augmentée (« Essayer sur mon mur ») : texte blanc sur violet plus soutenu, sur fond clair comme sur fond sombre (retour de Guillaume, 13/11 ; le texte encre sur violet n'atteignait que 3,6:1). */
.hx-arpanel__cta,.hx-arsec .hx-arpanel__actions .hx-btn.hx-arpanel__cta,.hx-arsec--clair .hx-arpanel__actions .hx-btn.hx-arpanel__cta{background:#5a3df0!important;color:#fff!important}
.hx-arpanel__cta .hx-ico{color:#fff!important}

/* 20. Bouton « Découvrir tous nos articles » sous les cartes du blog : il était transparent sur fond gris (retour de Guillaume, 14/11). Bouton plein encre, texte blanc. */
.hx-blog:not(.hx-dark) .hx-section__foot .hx-btn--outline{background:var(--ink,#131517);border-color:var(--ink,#131517);color:#fff}
.hx-blog:not(.hx-dark) .hx-section__foot .hx-btn--outline:hover{background:#5a3df0;border-color:#5a3df0;color:#fff}

/* 21. Accueil mobile : les réalisations en bande défilante au lieu de la grille à deux colonnes (demande de Guillaume, 14/11). La carte suivante dépasse à droite pour montrer qu on peut faire défiler. */
@media (max-width:600px){
  body.home .hx-works__grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;gap:16px;margin-left:calc(-1 * var(--pad));margin-right:calc(-1 * var(--pad));padding:8px var(--pad) 28px;scroll-padding-left:var(--pad);scrollbar-width:none}
  body.home .hx-works__grid::-webkit-scrollbar{display:none}
  body.home .hx-works__grid > *{flex:0 0 88%;scroll-snap-align:start;min-width:0;margin:0}
}

/* 17/11/2026 (Guillaume : « pars sur la A, Bricolage Grotesque ») : police des titres, hébergée sur le site (licence OFL).
   Les caractères grecs ne sont pas dans la police : ils restent en Manrope par le repli. */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-stretch:75% 100%;font-display:swap;src:url('/da/fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-stretch:75% 100%;font-display:swap;src:url('/da/fonts/bricolage-grotesque-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
html:root{--display:"Bricolage Grotesque","Manrope","Manrope Repli",system-ui,sans-serif}
.hx-h1,.hx-h2,.hx-h3,.hx-h4{font-family:var(--display)}
.hx-h1,.hx-h2{letter-spacing:-.035em}

/* 19/11/2026 : plus de glissement horizontal de la page sur mobile (bandes défilantes plus larges que l écran, iOS laissait la page partir à droite).
   clip, et non hidden : les éléments collants (barre de prix du simulateur, en-tête) continuent de fonctionner. */
html,body{overflow-x:clip}
main,body>footer{overflow-x:clip}

/* v15 (20/11/2026) : texte courant en Manrope (decision de Guillaume). Meme fichiers variables que les titres historiques, graisses 200 a 800. */
@font-face{font-family:'Manrope Texte';font-style:normal;font-weight:200 800;font-display:swap;src:url('/da/fonts/manrope-greek.woff2') format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
@font-face{font-family:'Manrope Texte';font-style:normal;font-weight:200 800;font-display:swap;src:url('/da/fonts/manrope-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope Texte';font-style:normal;font-weight:200 800;font-display:swap;src:url('/da/fonts/manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* v16 : html:root passe devant la definition en ligne des pages d accueil (Inter + Inter Repli) */
html:root{--body:"Manrope Texte","Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;font-family:var(--body)}
html:root body{font-family:var(--body)}
/* v17 (20/11/2026) : restes alignes sur Manrope : prix et infobulles du simulateur, blocs des accueils pl et se dont la police etait fixee en ligne */
html:root .sim-preview-price-wrap,html:root .sim-preview-price-wrap *,html:root .sim-color-btn,html:root .sim-color-btn .tooltip{font-family:var(--body)}
html:root [style*="font-family:'Inter'"]{font-family:var(--body)!important}
html:root [style*="font-family:'Sora'"]{font-family:var(--display)!important}
/* v18 (20/11/2026) : tout le simulateur en Manrope (boutons de taille, de support, pastilles, liens) ; les apercus de police et le texte du neon gardent leur police, fixee en ligne */
html:root .sim-wrapper *:not(h1):not(h2):not(h3):not(h4):not([class*="hx-h"]),html:root .sim-controls-inner *:not(h1):not(h2):not(h3):not(h4):not([class*="hx-h"]),html:root .sim-section *:not(h1):not(h2):not(h3):not(h4):not([class*="hx-h"]){font-family:var(--body)}
