/* Hyphen — refonte UX novembre 2026.
 * Hiérarchie éditoriale, lisibilité et parcours orientés besoins.
 * Le thème existant et les mentions légales restent intactes.
 */
:root{--ux-green:#32514b;--ux-ink:#24352d;--ux-muted:#52645a;--ux-sage:#ecf3ec;--ux-cream:#faf8f3;--ux-border:#d9e1d9;--ux-gold:#debc49;--ux-max-text:67ch}
.ux-refonte{color:var(--ux-ink);}
.ux-refonte #main-content{overflow:clip}
.ux-refonte .eyebrow{font-size:.82rem;letter-spacing:.075em;text-transform:uppercase;color:#426b57;font-weight:800}
.ux-refonte h1,.ux-refonte h2,.ux-refonte h3{letter-spacing:-.024em;line-height:1.16;color:var(--ux-ink)}
.ux-refonte p,.ux-refonte li{line-height:1.64}
.ux-refonte .ux-lead{font-size:clamp(1.1rem,1.65vw,1.3rem);line-height:1.62;color:#42574a}
.ux-refonte :where(.ux-home-hero,.ux-page-hero,.ux-section,.section,.content-page){scroll-margin-top:calc(var(--header-height) + 1rem)}
.ux-section{padding:clamp(3.5rem,7vw,6.2rem) 0}
.ux-section--soft{background:var(--ux-cream)}
.ux-section--zone{background:#edf4ee}
.ux-section--cta{background:#f1f5f0;border-top:1px solid var(--ux-border)}
.ux-heading{margin-bottom:clamp(1.7rem,3.5vw,2.6rem);max-width:730px}
.ux-heading--center{margin-inline:auto;text-align:center}
.ux-heading h2{font-size:clamp(1.65rem,3vw,2.65rem);margin:.5rem 0 .8rem}
.ux-heading p:last-child{color:var(--ux-muted);max-width:var(--ux-max-text)}
.ux-refonte .button{min-height:48px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;line-height:1.3;padding:12px 19px;text-align:center}
.ux-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;margin-top:1.35rem}
.ux-arrow{font-weight:750;display:inline-flex;align-items:center;gap:.4rem;color:#265c40;text-decoration:underline;text-underline-offset:4px;line-height:1.5}
.ux-arrow:hover{color:#193e30}
.ux-arrow:focus-visible{outline:3px solid var(--ux-gold);outline-offset:4px}
/* Hero d'accueil : plus de pleine hauteur artificielle ni superposition de photographies */
.ux-home-hero{background:linear-gradient(105deg,#f9faf6 0%,#f2f6ed 65%,#e7eee4 100%);padding:clamp(3.2rem,7.2vw,6rem) 0}
.ux-home-hero__grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.82fr);gap:clamp(2rem,6vw,5.8rem);align-items:center}
.ux-home-hero__copy{min-width:0}
.ux-home-hero__copy h1{font-size:clamp(2.5rem,5vw,4.7rem);letter-spacing:-.048em;line-height:1.07;max-width:14ch;margin:.9rem 0 1.25rem}
.ux-home-hero__copy h1 em{font-style:normal;color:#487b5a}
.ux-home-hero__copy .ux-lead{max-width:53ch}
.ux-home-hero__photo{position:relative;margin:0;border-radius:26px;overflow:hidden;min-height:360px;max-height:540px;box-shadow:0 20px 50px #2c4a3a22}
.ux-home-hero__photo img{display:block;width:100%;height:clamp(350px,44vw,510px);object-fit:cover;object-position:center 44%}
.ux-home-hero__photo figcaption{position:absolute;bottom:0;left:0;right:0;padding:30px 22px 18px;background:linear-gradient(transparent,#162c2585);color:white;font-size:.95rem;font-weight:600}
.ux-benefits{display:flex;gap:.55rem 1.25rem;flex-wrap:wrap;padding:1.2rem 0 0!important;margin:1.2rem 0 0;list-style:none;border-top:1px solid #cadad0}
.ux-benefits li{color:#425a4c;font-size:.92rem;font-weight:650}
.ux-benefits li:before{content:'✓';color:#326746;font-weight:900;margin-right:.42rem}
/* Choix commerciaux et séquences */
.ux-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,2.6vw,1.6rem)}
.ux-choice{display:flex;flex-direction:column;align-items:flex-start;gap:.82rem;border:1px solid #dce3dc;background:white;border-radius:22px;padding:clamp(1.35rem,3vw,2.35rem);min-width:0;box-shadow:0 10px 30px #355b3c0a}
.ux-choice--sage{background:#f0f6f1;border-color:#d0e1d3}
.ux-choice--link{text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
.ux-choice--link:hover,.ux-choice--link:focus-visible{transform:translateY(-2px);box-shadow:0 12px 30px #355b3c14}
.ux-choice h3{font-size:clamp(1.35rem,2.4vw,1.8rem);margin:.2rem 0 0}
.ux-choice p{margin:0;color:#52645a;max-width:50ch;flex:1}
.ux-choice__price{border-top:1px solid #dce5dc;padding-top:1rem;width:100%;font-size:.98rem}
.ux-choice__price strong{font-weight:800;color:#264a36}
.ux-icon{background:#e7f0e8;border-radius:12px;min-width:43px;min-height:43px;padding:11px;font-size:.89rem;display:inline-flex;align-items:center;justify-content:center;font-weight:850;color:#31583e}
.ux-process{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,3vw,3.1rem);margin:1.3rem 0 0;padding:0;list-style:none}
.ux-process li{position:relative;padding:1.6rem;background:#f9faf7;border-radius:16px;border:1px solid #e1e9e0}
.ux-process li>span{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#3c6850;color:#fff;font-weight:800}
.ux-process h3{margin:.95rem 0 .5rem;font-size:1.28rem}
.ux-process p{margin:0;color:#53665c}
.ux-centered-link{text-align:center;margin-top:2.2rem}
/* Recherche rapide : aussi lisible avec le clavier et sur petit écran */
.ux-zone-layout,.ux-contact-top{display:grid;grid-template-columns:minmax(0,.85fr) minmax(300px,1.15fr);gap:clamp(1.6rem,5vw,4.4rem);align-items:center}
.ux-zone-layout h2,.ux-contact-top h2{font-size:clamp(1.7rem,3.2vw,2.7rem);max-width:17ch;margin:.4rem 0 1rem}
.ux-zone-layout p,.ux-contact-top p{max-width:58ch}
.ux-zone-search{padding:clamp(1.4rem,3vw,2.2rem);border-radius:20px;border:1px solid #d3dfd5;background:white;box-shadow:0 8px 24px #2e5a3a0b}
.ux-zone-search label{display:block;font-size:1.15rem;font-weight:780;margin-bottom:.8rem;color:#223d2c}
.ux-zone-search__line{display:flex;gap:.6rem}
.ux-zone-search__line input{width:100%;flex:1;min-width:0;min-height:48px;padding:11px 13px;border-radius:11px;background:white;border:1.5px solid #9aafa2;color:#24372e;font:inherit}
.ux-zone-search__line input:focus-visible{outline:3px solid var(--ux-gold);outline-offset:2px}
.ux-zone-search__help{color:#586a5f;font-size:.9rem;margin:.9rem 0 0}
.ux-zone-result{margin-top:1rem;background:#f3f6f3;border-left:5px solid #b4c2b5;border-radius:8px;padding:1rem 1.1rem;overflow-wrap:anywhere}
.ux-zone-result[hidden]{display:none}
.ux-zone-result p{margin:0 0 .5rem;font-weight:700;font-size:1.02rem}
.ux-zone-result--ok{border-color:#63977b;background:#eef7ef}
.ux-zone-result--maybe{border-color:#c79845;background:#fdf4e6}
.ux-zone-result--no{border-color:#a4aca9;background:#f1f2f0}
/* appel a l'action de fin */
.ux-final-cta{display:flex;align-items:center;justify-content:space-between;gap:clamp(1.5rem,4vw,4rem)}
.ux-final-cta h2{font-size:clamp(1.9rem,3.3vw,2.7rem);margin:.45rem 0 .7rem}
.ux-final-cta p{max-width:54ch;color:#4c5b50}
.ux-final-cta__actions{display:flex;flex-direction:column;align-items:flex-start;gap:1rem;min-width:260px}
/* Héros pages internes compacts, la vraie info est visible dès le premier écran */
.ux-page-hero{padding:clamp(3.3rem,6vw,5.1rem) 0;background:radial-gradient(circle at 92% 10%,#e7eee3 0%,transparent 39%),linear-gradient(120deg,#f7faf6,#f9f7f1);border-bottom:1px solid #e3e9df}
.ux-page-hero__inner{max-width:1180px}
.ux-page-hero h1{font-size:clamp(2.3rem,4.2vw,3.8rem);line-height:1.12;max-width:21ch;margin:.8rem 0 1.05rem}
.ux-page-hero p:not(.eyebrow){max-width:67ch;color:#4b5d50;font-size:clamp(1.05rem,1.5vw,1.22rem);line-height:1.6}
.ux-page-hero--contact{padding-bottom:clamp(3rem,5vw,4.3rem)}
/* Les contenus d'origine conservés, mais respirent : éviter répétitions et tall-heroes */
.ux-refonte .section:not(.ux-section){padding-block:clamp(3.2rem,5.7vw,5.4rem)}
.ux-refonte .content-page{padding-block:clamp(3.2rem,6vw,5.5rem)}
.ux-refonte .section--soft:not(.ux-section){background:#f8f9f5}
.ux-refonte :where(.section-heading,.content-block) h2{font-size:clamp(1.65rem,2.7vw,2.45rem);max-width:25ch}
.ux-refonte :where(.section-heading,.content-block) p{max-width:var(--ux-max-text)}
.ux-refonte .split-section{gap:clamp(1.7rem,5vw,5rem);align-items:center}
.ux-refonte .split-section__media{overflow:hidden;border-radius:20px;max-height:420px}
.ux-refonte .split-section__media img{width:100%;height:clamp(260px,30vw,420px);min-height:0;object-fit:cover}
.ux-refonte .section--highlight{background:#294438;color:white}
.ux-refonte .section--highlight h2,.ux-refonte .section--highlight h3,.ux-refonte .section--highlight p{color:white}
.ux-refonte .section--cta{background:#eef4ec}
.ux-refonte .section--cta-with-image .cta-block__background{opacity:.22}
.ux-refonte .service-detail-card__image{aspect-ratio:5/3;object-fit:cover;height:160px}
.ux-refonte .service-detail-card{border-radius:15px;overflow:hidden}
.ux-refonte .v10-topic,.ux-refonte .v10-service-choice{border-radius:17px;box-shadow:none}
.ux-refonte .v10-tariff-layout,.ux-refonte .v10-security-layout{gap:clamp(1.2rem,4vw,2.7rem)}
.ux-refonte .faq-list{max-width:800px}
.ux-refonte .faq-list details{border-radius:11px;overflow:hidden}
/* Contact : accès rapide au formulaire, sans bloc carte géant entre les deux. */
.ux-section--contact-top{background:#f0f6ee}
.ux-contact-grid{display:grid;grid-template-columns:minmax(270px,.78fr) minmax(0,1.42fr);gap:clamp(1.5rem,5vw,4.5rem);align-items:start}
.ux-contact-aside{padding-top:1rem;min-width:0}
.ux-contact-aside h2{font-size:clamp(1.65rem,2.8vw,2.4rem);margin:.7rem 0 .9rem}
.ux-contact-aside p{max-width:48ch}
.ux-contact-phone{font-weight:800;font-size:clamp(1.35rem,2.1vw,1.75rem);color:#28543b;white-space:nowrap}
.ux-safe-note{margin:1.8rem 0;padding:1.1rem 1.25rem;border-left:4px solid #cfb15c;background:#fcf7e7;border-radius:10px;line-height:1.6}
.ux-contact-next{border-top:1px solid #cbd9cf;padding-top:1.4rem}
.ux-contact-next h3{font-size:1.2rem;margin:0 0 .6rem}
.ux-contact-grid .ux-form-box{margin:0;max-width:none;min-width:0;padding:clamp(1.25rem,3vw,2.3rem);background:#fff;border:1px solid #dae4d8;border-radius:20px;box-shadow:0 12px 25px #3f65500b}
.ux-contact-grid .ux-form-box .content-block{margin-bottom:1.3rem}
.ux-contact-grid .ux-form-box .content-block h2{font-size:clamp(1.6rem,2.5vw,2.2rem);margin:0}
.ux-contact-grid .ux-form-box textarea{min-height:140px}
/* Carte dédiée : ne jamais l'afficher dans le formulaire de contact. */
.ux-section--map{padding-top:2.1rem}
/* conseils : accès rapide au sommaire, articles clairement séparés */
.ux-refonte #quick-access-title{max-width:50ch}
.ux-refonte #guides-title{max-width:48ch}
.ux-refonte #arnaques,.ux-refonte #mots-de-passe,.ux-refonte #proches,.ux-refonte #demarches{scroll-margin-top:calc(var(--header-height) + 1rem);border-bottom:1px solid #dfe8df;padding-block:1.8rem}
.ux-refonte #arnaques:first-of-type{padding-top:.7rem}
.ux-safety-reminder{width:min(calc(100% - 2rem),1100px);margin:0 auto;padding:1.2rem 1.5rem;border-radius:12px;border-left:4px solid #b89749;background:#fdf6df;line-height:1.6}
/* Images sous le pli : le lazy loading n'est pas appliqué à l'image de tête */
.ux-refonte .ux-home-hero__photo img{loading:eager}
@media(max-width:1000px){.ux-home-hero__grid{grid-template-columns:1fr 0.8fr;gap:1.6rem}.ux-home-hero__copy h1{font-size:clamp(2.3rem,5vw,3.5rem)}.ux-contact-grid{grid-template-columns:.8fr 1.2fr;gap:1.5rem}}
@media(max-width:800px){.ux-home-hero__grid,.ux-zone-layout,.ux-contact-top,.ux-contact-grid{grid-template-columns:1fr}.ux-home-hero__photo{max-height:300px}.ux-home-hero__photo img{height:300px}.ux-final-cta{flex-direction:column;align-items:flex-start}.ux-final-cta__actions{min-width:0}.ux-section{padding:3.5rem 0}.ux-page-hero{padding:3rem 0}}
@media(max-width:600px){.ux-home-hero{padding:2.8rem 0}.ux-home-hero__grid{gap:1.8rem}.ux-home-hero__photo{border-radius:17px}.ux-home-hero__photo img{height:250px}.ux-home-hero__copy h1{font-size:clamp(2.15rem,10vw,3.1rem)}.ux-choice-grid,.ux-process{grid-template-columns:1fr}.ux-choice{padding:1.35rem}.ux-zone-search__line{flex-direction:column}.ux-zone-search__line .button{width:100%}.ux-final-cta__actions,.ux-final-cta__actions .button{width:100%}.ux-contact-grid .ux-form-box{padding:1.1rem}.ux-refonte .section:not(.ux-section),.ux-refonte .content-page{padding-block:3.2rem}.ux-benefits{flex-direction:column}.ux-page-hero h1{font-size:clamp(2rem,9vw,2.85rem)}.ux-refonte .split-section__media img{height:250px}.ux-refonte .service-detail-card__image{height:140px}}
@media(prefers-reduced-motion:reduce){.ux-choice--link{transition:none}.ux-choice--link:hover{transform:none}}

/* Conseils : détails à la demande, sans réduire les contenus de sécurité. */
.ux-refonte .ux-guide-accordion{margin:0 0 1rem;border:1px solid #dce5da;border-radius:15px;background:white;overflow:hidden;scroll-margin-top:calc(var(--header-height) + 1rem)}
.ux-refonte .ux-guide-accordion>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1.3rem;font-size:clamp(1.13rem,1.8vw,1.35rem);font-weight:780;line-height:1.35;padding:1.3rem 1.5rem;color:#234b36}
.ux-refonte .ux-guide-accordion>summary::-webkit-details-marker{display:none}
.ux-refonte .ux-guide-accordion>summary:after{content:'+';flex:none;display:grid;place-items:center;border-radius:50%;width:34px;height:34px;background:#eaf3ec;color:#2c6345;font-size:1.45rem}
.ux-refonte .ux-guide-accordion[open]>summary:after{content:'−'}
.ux-refonte .ux-guide-accordion>summary:hover{background:#f4f8f3}
.ux-refonte .ux-guide-accordion>summary:focus-visible{outline:3px solid #debc49;outline-offset:-4px}
.ux-guide-accordion__content{padding:.2rem 1.5rem 1.6rem;max-width:76ch}
.ux-guide-accordion__content ul{padding-left:1.4rem;margin:.9rem 0}
.ux-guide-accordion__content li{margin:.45rem 0}
.ux-guide-accordion__content .badge{margin-bottom:1rem;display:inline-flex}
@media(max-width:600px){.ux-refonte .ux-guide-accordion>summary{padding:1.15rem}.ux-guide-accordion__content{padding:.2rem 1.1rem 1.25rem}}
