/* Artizona — habillage partagé client/Pro. Les couleurs de statut restent métier. */
html:has(link[data-az-design]) {
 --az-bg:#fcfbf8;--az-ink:#111715;--az-muted:#67716d;--az-line:#e6e8e3;
 --az-card:#fff;--az-shadow:0 18px 52px rgba(24,35,30,.055);
 --bg:var(--az-bg)!important;--surface:var(--az-card)!important;--text:var(--az-ink)!important;
 --muted:var(--az-muted)!important;--line:var(--az-line)!important;
 --accent:var(--az-accent)!important;--accent-dark:var(--az-accent-dark)!important;
 scrollbar-gutter:stable;
}
html:has(link[data-az-design]) body {
 margin:0;background:var(--az-bg)!important;color:var(--az-ink)!important;
 font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
 -webkit-font-smoothing:antialiased;line-height:1.55;
 --client-page-width:1000px!important;
}
html:has(link[data-az-design]) body :is(main,.page-main,.dashboard-main) h1 {
 color:var(--az-ink);font-weight:850!important;letter-spacing:-.055em!important;
 line-height:1.06!important;font-size:clamp(2.35rem,4.6vw,4.25rem)!important;
 text-wrap:balance;
}
html:has(link[data-az-design]) body :is(main,.page-main,.dashboard-main) h1 > span {
 color:var(--az-accent)!important;
}
html:has(link[data-az-design]) body :is(h2,h3) {letter-spacing:-.025em;line-height:1.2;}
html:has(link[data-az-design]) body :is(.eyebrow,.reviews-eyebrow,.legal-eyebrow,.summary-kicker,.card-label,.page-kicker) {
 color:var(--az-accent)!important;font-weight:800;letter-spacing:.13em;
}
html:has(link[data-az-design]) body :is(.hero-text,.reviews-lead,.artisan-discovery-intro,.welcome-line>p) {color:var(--az-muted)!important;line-height:1.65;}
html:has(link[data-az-design]) body :is(.project-main,.artisan-discovery-page,.contact-page-shell,.legal-main,.client-account-main) {background:transparent!important;}
html:has(link[data-az-design]) body :is(.form-card,.request-card,.contact-page-card,.reviews-form-card,.reviews-method-card,.review-card,.reviews-cta-card,.account-lifecycle-card,.client-account-card,.incident-card,.professional-contact-card,.artisan-contact-card,.followup-card,.next-action-card,.summary-card,.info-card,.support-card,.profile-card,.search-card,.section-block,.status-card,.billing-card,.send-card,.quote-card,.legal-section,.requests-archive-card,.step-card,.price-card,.notification-card) {
 border-radius:24px!important;box-shadow:var(--az-shadow)!important;
}
/* Les blocs d'erreur, d'urgence et de statut gardent leurs fonds et bordures. */
html:has(link[data-az-design]) body :is(.contact-page-card,.reviews-form-card,.reviews-method-card,.review-card,.client-account-card,.profile-card,.search-card,.section-block,.legal-section,.step-card) {
 background:var(--az-card)!important;border-color:var(--az-line)!important;
}
html:has(link[data-az-design]) body :is(.btn,.rdv-btn,.primary-button,.submit-button,.continue-button,.client-account-submit,.review-submit,.contact-submit,.insurance-button,.az-life-button,.push-button) {
 border-radius:999px!important;font-weight:750!important;letter-spacing:-.015em;
 transition:background-color .18s,border-color .18s,box-shadow .18s;
}
html:has(link[data-az-design]) body :is(.btn-primary,.rdv-btn.primary,.primary-button,.submit-button,.continue-button,.client-account-submit,.review-submit,.contact-submit) {
 background:var(--az-accent)!important;color:#fff!important;border-color:var(--az-accent)!important;
 box-shadow:0 8px 22px var(--az-button-shadow);
}
html:has(link[data-az-design]) body :is(.btn-primary,.rdv-btn.primary,.primary-button,.submit-button,.continue-button):hover:not(:disabled) {background:var(--az-accent-dark)!important;}
html:has(link[data-az-design]) body :is(input[type="text"],input[type="email"],input[type="tel"],input[type="password"],input[type="number"],input[type="search"],input[type="date"],input[type="time"],select,textarea) {
 font:inherit;border-radius:14px!important;min-height:46px;max-width:100%;
}
html:has(link[data-az-design]) body textarea {resize:none;}
html:has(link[data-az-design]) body :is(a,button,input,select,textarea):focus-visible {
 outline:3px solid var(--az-focus)!important;outline-offset:4px;
}
html:has(link[data-az-design]) body :is(button,input,select,textarea):disabled {cursor:not-allowed;}
html:has(link[data-az-design]) body :is(.client-global-header,.pro-global-header) {
 background:rgba(252,251,248,.96)!important;border-bottom:1px solid rgba(25,35,30,.06)!important;
 box-shadow:none!important;backdrop-filter:blur(16px);
}
html:has(link[data-az-design]) body :is(.client-global-header-inner,.pro-global-header-inner) {
 min-height:84px!important;width:min(1440px,calc(100% - 64px))!important;max-width:none!important;margin-inline:auto!important;
}
html:has(link[data-az-design]) body :is(.client-global-brand,.pro-global-brand) {
 color:var(--az-ink)!important;font-weight:850!important;font-size:1.75rem!important;letter-spacing:-.065em!important;
}
html:has(link[data-az-design]) body :is(.client-global-nav,.pro-global-nav) {gap:6px;}
html:has(link[data-az-design]) body :is(.client-global-nav,.pro-global-nav) a {
 border-radius:999px!important;font-weight:600!important;
}
html:has(link[data-az-design]) body :is(.client-global-nav,.pro-global-nav) a.active {
 background:var(--az-soft)!important;color:var(--az-accent)!important;
}
html:has(link[data-az-design]) body .install-app-button {
 border-radius:999px!important;background:var(--az-ink)!important;color:#fff!important;border-color:var(--az-ink)!important;
}
html:has(link[data-az-design]) body :is(.client-footer,.pro-footer) {
 background:#f5f5f0!important;border-top:1px solid var(--az-line)!important;color:var(--az-ink)!important;
}
html:has(link[data-az-design]) body :is(.client-footer-inner,.pro-footer-inner) {padding-top:52px;}
html:has(link[data-az-design]) body :is(.client-footer-logo,.pro-footer-logo) {color:var(--az-ink)!important;letter-spacing:-.05em;}
html:has(link[data-az-design]) body :is(.client-footer-column,.pro-footer-column) a {color:var(--az-muted)!important;}
html:has(link[data-az-design]) body :is(.client-footer-column,.pro-footer-column) a:hover {color:var(--az-accent)!important;}
html:has(link[data-az-design]) body .artizona-help-card {border-radius:24px!important;box-shadow:var(--az-shadow)!important;}
@media(min-width:1001px) {
 html:has(link[data-az-design]) body:not(.client-home):not(.pro-design-home) main>.container {width:min(1000px,calc(100% - 48px));}
}
@media(max-width:1000px) {
 html:has(link[data-az-design]) body :is(.client-global-header-inner,.pro-global-header-inner) {width:calc(100% - 36px)!important;min-height:74px!important;}
}
@media(max-width:620px) {
 html:has(link[data-az-design]) body :is(main,.page-main,.dashboard-main) h1 {font-size:clamp(2rem,9vw,3rem)!important;letter-spacing:-.045em!important;}
 html:has(link[data-az-design]) body :is(.client-global-header-inner,.pro-global-header-inner) {width:calc(100% - 28px)!important;min-height:68px!important;gap:12px;}
 html:has(link[data-az-design]) body :is(.client-global-brand,.pro-global-brand) {font-size:1.4rem!important;}
 html:has(link[data-az-design]) body :is(.form-card,.request-card,.contact-page-card,.profile-card,.section-block,.legal-section) {border-radius:20px!important;}
}
@media(prefers-reduced-motion:reduce) {
 html:has(link[data-az-design]) {scroll-behavior:auto!important;}
 html:has(link[data-az-design]) body * {transition:none!important;animation:none!important;}
}
html:has(link[data-az-design]) body :is(.client-footer-brand p,.client-footer-bottom,.pro-footer-bottom p,.pro-footer-legal a) {color:var(--az-muted)!important;}
html:has(link[data-az-design]) body .client-footer-column strong {color:var(--az-ink)!important;}
html:has(link[data-az-design]) body :is(.client-footer-bottom,.pro-footer-bottom) {border-top-color:var(--az-line)!important;}
/* Le menu se replie dès qu'il ne tient plus, y compris sur petit ordinateur. */
@media(max-width:1200px) {
 html:has(link[data-az-design]) body :is(.client-menu-toggle,.pro-menu-toggle) {display:block!important;flex:0 0 44px;}
 html:has(link[data-az-design]) body :is(.client-global-header-inner,.pro-global-header-inner) {position:relative;}
 html:has(link[data-az-design]) body :is(.client-global-nav,.pro-global-nav) {position:absolute;top:calc(100% + 8px);left:0;right:0;display:none!important;align-items:stretch;flex-direction:column;gap:5px;padding:12px;border:1px solid var(--az-line);border-radius:20px;background:#fff;box-shadow:var(--az-shadow);max-height:calc(100dvh - 115px);overflow:auto;}
 html:has(link[data-az-design]) body :is(.client-global-nav,.pro-global-nav).open {display:flex!important;}
 html:has(link[data-az-design]) body :is(.client-global-nav,.pro-global-nav) :is(a,.install-app-button) {width:100%;min-height:46px;justify-content:flex-start;margin-left:0;}
 html:has(link[data-az-design]) body :is(.client-global-nav,.pro-global-nav) .app-notification-label {display:inline;}
}
