/**
 * Aménage Tout 1.9.1 — palette de lisibilité humaine et CTA unifiés.
 *
 * Les contrastes texte/fond critiques sont calibrés au minimum WCAG 2.2 AA.
 * Les couleurs seules ne portent jamais l'information : les états conservent
 * leur libellé, leur bordure et, lorsqu'il existe, leur pictogramme.
 */

:root{
 --wp--preset--color--primary:#075A93;
 --wp--preset--color--primary-dark:#063A61;
 --wp--preset--color--secondary:#A84200;
 --wp--preset--color--accent:#A84200;
 --wp--preset--color--surface:#F3F7FA;
 --wp--preset--color--contrast:#172432;
 --wp--preset--color--muted:#455A68;
 --wp--preset--color--border:#B8C8D3;
 --at-primary:#075A93;
 --at-primary-dark:#063A61;
 --at-secondary:#A84200;
 --at-accent:#A84200;
 --at-surface:#F3F7FA;
 --at-contrast:#172432;
 --at-muted:#455A68;
 --at-border:#B8C8D3;
 --at140-blue:#075A93;
 --at140-blue-dark:#063A61;
 --at140-navy:#10233E;
 --at140-orange:#A84200;
 --at140-orange-dark:#7A3200;
 --at140-ink:#172432;
 --at140-muted:#455A68;
 --at140-line:#B8C8D3;
 --at140-soft:#F3F7FA;
 --at140-blue-soft:#E8F3FA;
 --at140-orange-soft:#FFF3E8;
 --at140-success:#0B6B43;
 --at140-danger:#8E2E28;
 --at140-text-light:#172432;
 --at140-text-light-muted:#455A68;
 --at140-text-dark:#FFFFFF;
 --at140-text-dark-muted:#E7F2F9;
 --at140-accent-light:#A84200;
 --at140-accent-dark:#FFD9BD;
 --v140-blue:#075A93;
 --v140-blue-dark:#063A61;
 --v140-orange:#A84200;
 --v140-orange-dark:#7A3200;
 --v140-ink:#172432;
 --v140-muted:#455A68;
 --v140-line:#B8C8D3;
}

/* Lecture globale, liens et repères de navigation. */
body.at-v140-site{color:#172432}
body.at-v140-site :where(p,li,dd){color:#172432}
body.at-v140-site :where(.at-muted,.is-style-muted){color:#455A68!important}
body.at-v140-site a{color:#075A93}
body.at-v140-site a:hover{color:#A84200;text-decoration:underline;text-decoration-thickness:.09em;text-underline-offset:.16em}
body.at-v140-site :focus-visible{outline:3px solid #075A93;outline-offset:3px}
.at-v140-utility span,.at-v140-utility a{color:#263B4B}
.at-v140-nav>a:hover,.at-v140-nav>a.is-project,.at-v140-actions>a:hover{color:#A84200}
.at-v140-actions b{background:#A84200;color:#fff}

/* Boutons : le texte blanc reste lisible sur les deux couleurs de marque. */
body.at-v140-site :where(.wp-block-button__link,.wp-element-button,.button,button[type=submit],input[type=submit],.at-primary-button,.at-submit-quote){background:#A84200;border-color:#A84200;color:#fff!important}
body.at-v140-site :where(.wp-block-button__link,.wp-element-button,.button,button[type=submit],input[type=submit],.at-primary-button,.at-submit-quote):hover{background:#7A3200;border-color:#7A3200;color:#fff!important}
body.at-v140-site :where(.is-style-outline .wp-block-button__link,.at-secondary-button,.at-filter-mobile-toggle){background:#fff;border-color:#075A93;color:#075A93!important}
body.at-v140-site :where(.is-style-outline .wp-block-button__link,.at-secondary-button,.at-filter-mobile-toggle):hover{background:#075A93;border-color:#075A93;color:#fff!important}

/* Champs et formulaires : contour perceptible, texte et aide non atténués. */
body.at-v140-site :where(input:not([type=checkbox]):not([type=radio]),select,textarea),
.at-availability__form select,
.at-document-form input[type=text],.at-document-form input[type=file],
.at-facet-search input{
 background:#fff;border-color:#7D929F;color:#172432
}
body.at-v140-site :where(input,textarea)::placeholder,.at-facet-search input::placeholder{color:#5A6874;opacity:1}
body.at-v140-site :where(input:not([type=checkbox]):not([type=radio]),select,textarea):focus,
.at-availability__form select:focus-visible,.at-facet-search input:focus-visible{
 border-color:#075A93;box-shadow:0 0 0 3px rgba(7,90,147,.22);outline:0
}
body.at-v140-site label,.at-availability__form span,.at-document-form label>span{color:#263B4B}
body.at-v140-site :where(.at-form-help,.description,.form-row .optional){color:#455A68}

/* Blocs, cartes et surfaces : séparation plus nette sans bruit visuel. */
body.at-v140-site :where(.at-category-card,.at-project-card,.at-resource-card,.at-value-pillar,.at-need-card,.at-post-card,.at-favorite-card,.at-account-quick-card,.at-reassurance__item,.at-trust-bar__item),
.at-pose-card,.at-pose-steps article,.at-pose-included>.wp-block-column,
.at-availability,.at-confirmation,.at-tracking,.at-tracking-lookup,.at-quotation,
.at-trust__commitments article,.at-trust__review-grid article{
 border-color:#B8C8D3
}
.at-pose-transfer-wrap,.at-pose-process-wrap,.at-confirmation__documents,.at-tracking__contact,
.at-quote-form-wrap--gated{background:#F3F7FA}

/* Catalogue et facettes dynamiques. */
.at-filter-live{background:#E8F3FA;border:1px solid #B5D2E4;color:#26495F;font-size:12px}
.at-active-filters{border-color:#B8C8D3}
.at-active-filters>strong,.at-filter-group>summary{color:#173B55}
.at-active-filters a{background:#E8F3FA;border-color:#9DC4DC;color:#075A93;font-size:11px}
.at-active-filters a:hover{background:#075A93;color:#fff}
.at-filter-group{border-top-color:#B8C8D3!important}
.at-facet-choice{color:#2D485A;font-size:12.5px}
.at-facet-choice:hover,.at-facet-choice.is-selected{background:#EAF4FA;color:#075A93}
.at-facet-choice input{accent-color:#075A93}
.at-facet-choice small{background:#E5EBEF;color:#435966;font-size:10.5px}
.at-filter-mobile-toggle b{background:#A84200;color:#fff}

/* Pose & Services : textes secondaires, récapitulatif et étapes. */
.at-pose-eyebrow,.at-pose-project__facts .is-accent dd,.at-pose-steps b{color:#A84200}
.at-pose-hero .at-pose-eyebrow{color:#FFD9BD}
.at-pose-lead{color:#F0F7FB}
.at-pose-section>p:not(.at-pose-eyebrow):not(.at-pose-note),
.at-pose-journey p,.at-pose-journey li b,.at-pose-journey li small,
.at-pose-project>p,.at-pose-project__pricing p,.at-pose-project__pricing small,
.at-pose-project__action p,.at-pose-card p,.at-pose-steps p,.at-pose-faq details p,
.at-quote-project-summary span{color:#455A68}
.at-pose-project__facts dt,.at-pose-project__pricing dt{color:#526472;font-size:11px}
.at-pose-project__secure{background:#E9F8F0;color:#0B6B43}
.at-pose-project__facts>div,.at-pose-journey li{background:#EEF3F6}
.at-pose-project__facts>div.is-accent,.at-pose-journey li.is-current,.at-pose-steps b{background:#FFF3E8}
.at-pose-journey li.is-done{background:#E9F8F0}.at-pose-journey li.is-done b{color:#0B6B43}
.at-pose-project .wp-element-button{background:#A84200;border-color:#A84200;color:#fff}
.at-pose-note{background:#FFF3E8;border-color:#A84200;color:#5C3B24}
.at-pose-included ul{color:#3E5565}

/* Vérificateur, confirmation, suivi et devis. */
.at-availability__intro p,.at-availability__answer>div>p,.at-availability__note,
.at-confirmation__facts dd small,.at-confirmation__note,.at-confirmation__documents>p,
.at-confirmation__doclist small,.at-document-form small,.at-tracking__head p,
.at-tracking__contact p,.at-tracking__contact small,.at-tracking-lookup p,
.at-quotation--pending p,.at-quotation__validity p,.at-quotation__deposit p,
.at-form-help,.at-quote-confirmed__hint,.at-trust__commitments p,
.at-trust__grid small,.at-trust__partners small,.at-trust__review-grid p,
.at-trust__reviews>small{color:#455A68}
.at-availability__recap strong,.at-confirmation__facts dt,.at-tracking__facts dt,
.at-quotation__table th small,.at-quotation__excluded small,.at-quote-confirmed dt{
 color:#526472;font-size:11px
}
.at-availability__answer.is-available .at-availability__badge,
.at-confirmation__check,.at-tracking__steps li.is-done,.at-quote-acceptance{
 background:#E9F8F0;color:#0B6B43
}
.at-availability__answer.is-conditional .at-availability__badge,
.at-tracking__state,.at-tracking__steps li.is-current,
.at-quotation__excluded{background:#FFF3E8;color:#A84200}
.at-availability__note,.at-quotation__excluded{border-color:#A84200}
.at-confirmation__reference{background:linear-gradient(100deg,#063A61,#075A93)}
.at-confirmation__reference small{color:#FFD9BD}
.at-confirmation__reference p{color:#E7F2F9}
.at-tracking__steps li,.at-confirmation__facts>div,.at-tracking__facts>div,
.at-quotation__validity,.at-quotation__deposit,.at-quote-confirmed{background:#EEF3F6}
.at-tracking__steps li b{color:#455A68}
.at-tracking__steps li.is-done b{background:#0B6B43;color:#fff}
.at-tracking__steps li.is-current b{background:#A84200;color:#fff}
.at-quotation__table tr.is-empty th,.at-quotation__table tr.is-empty td{color:#566674}
.at-quotation__excluded h4,.at-quote-remaining{color:#A84200}
.at-quotation__validity.is-expired{background:#FDEDEC}.at-quotation__validity.is-expired strong{color:#8E2E28}
.at-quotation__deposit .is-paid,.at-quotation__sent{color:#0B6B43}
.at-trust__stars{color:#A84200}
.at-trust__partners li{background:#EEF3F6;color:#173B55}

/* Messages WooCommerce et états génériques. */
body.at-v140-site .woocommerce-message{background:#E9F8F0;border-color:#86BDA0;color:#0B6B43}
body.at-v140-site .woocommerce-info{background:#E8F3FA;border-color:#8DBBD7;color:#075A93}
body.at-v140-site .woocommerce-error{background:#FDEDEC!important;border-color:#D69A96!important;color:#8E2E28!important}
body.at-v140-site :disabled,body.at-v140-site [aria-disabled=true]{color:#566674}

@media (forced-colors:active){
 body.at-v140-site :where(.wp-block-button__link,.wp-element-button,.button,button[type=submit],input[type=submit]){border:2px solid ButtonText}
 .at-filter-group,.at-pose-card,.at-availability,.at-confirmation,.at-tracking,.at-quotation{border:1px solid CanvasText}
}

/* ==========================================================
   1.8.3 — Couleurs de texte propres à Pose & Services.
   Cette couche est volontairement très ciblée : les blocs sombres gardent un
   texte clair même lorsqu'une règle générique de contenu est chargée après
   leur composant d'origine.
   ========================================================== */

/* Hero illustré : contraste stable, y compris sur les zones claires de l'image. */
body.at-v140-site.at-pose-services-page .at-pose-hero{
 background:linear-gradient(100deg,rgba(4,37,61,.98),rgba(6,58,97,.94)),url('../images/hero-amenagement-4.7.jpg') center/cover
}
body.at-v140-site.at-pose-services-page .at-pose-hero :where(h1,.at-pose-promises p){color:#fff!important}
body.at-v140-site.at-pose-services-page .at-pose-hero .at-pose-eyebrow{color:#FFD9BD!important}
body.at-v140-site.at-pose-services-page .at-pose-hero .at-pose-lead{color:#E7F2F9!important}
body.at-v140-site.at-pose-services-page .at-pose-hero .wp-block-button__link{color:#fff!important}
body.at-v140-site.at-pose-services-page .at-pose-hero .is-style-outline .wp-block-button__link{
 background:rgba(4,37,61,.38)!important;border-color:#fff!important;color:#fff!important
}

/* Titres, introductions et textes courants sur fond clair. */
body.at-v140-site.at-pose-services-page :where(
 .at-pose-section>h2,.at-pose-journey h2,.at-pose-project__head h2,
 .at-pose-project__pricing h3,.at-pose-card:not(.at-pose-card--accent) h3,
 .at-pose-steps h3,.at-pose-included>.wp-block-column:not(.at-pose-confidence) h2,
 .at-pose-faq summary,.at-availability__intro h2,.at-availability__answer h2,
 .at-confirmation__head h2,.at-confirmation__documents h3,.at-quotation h3,
 .at-trust__head h2,.at-trust__commitments h3,.at-trust__projects h3,
 .at-trust__partners h3,.at-trust__reviews h3
){color:#10233E!important}

body.at-v140-site.at-pose-services-page :where(
 .at-pose-section>p:not(.at-pose-eyebrow):not(.at-pose-note),
 .at-pose-journey>div>p,.at-pose-project>p,.at-pose-project__pricing p,
 .at-pose-card:not(.at-pose-card--accent) p,.at-pose-steps p,
 .at-pose-included>.wp-block-column:not(.at-pose-confidence) li,
 .at-pose-faq details p,.at-availability__intro p,
 .at-availability__answer>div>p,.at-confirmation__documents>p,
 .at-quotation--pending p,.at-trust__commitments p
){color:#3F5564!important}

body.at-v140-site.at-pose-services-page :where(.at-pose-eyebrow,.at-quote-remaining){color:#A84200!important}
body.at-v140-site.at-pose-services-page :where(
 .at-pose-card:not(.at-pose-card--accent) a,.at-pose-project__empty-actions>a:not(.wp-element-button),
 .at-confirmation__doclist a,.at-tracking__contact a:not(.wp-element-button)
){color:#075A93!important;text-decoration:underline;text-decoration-thickness:.08em;text-underline-offset:.16em}

/* Parcours et projet lié : libellés courts lisibles sans grossir les cartes. */
body.at-v140-site.at-pose-services-page .at-pose-journey li span{color:#172432!important}
body.at-v140-site.at-pose-services-page .at-pose-journey li b{color:#455A68!important}
body.at-v140-site.at-pose-services-page .at-pose-journey li small{
 color:#455A68!important;font-size:11px;font-weight:650
}
body.at-v140-site.at-pose-services-page .at-pose-journey li.is-done b{color:#0B6B43!important}
body.at-v140-site.at-pose-services-page .at-pose-journey li.is-current b{color:#A84200!important}
body.at-v140-site.at-pose-services-page :where(.at-pose-project__facts dt,.at-pose-project__pricing dt){
 color:#526472!important;font-size:11px
}
body.at-v140-site.at-pose-services-page :where(.at-pose-project__facts dd,.at-pose-project__pricing dd){color:#172432!important}
body.at-v140-site.at-pose-services-page .at-pose-project__facts .is-accent dd{color:#7A3200!important}
body.at-v140-site.at-pose-services-page .at-pose-project__pricing small,
body.at-v140-site.at-pose-services-page .at-pose-project__action p{
 color:#455A68!important;font-size:12px
}

/* Deux cartes sombres qui étaient vulnérables à la couleur héritée globale. */
body.at-v140-site.at-pose-services-page .at-pose-card--accent{
 background:linear-gradient(145deg,#063A61,#075A93);border-color:#063A61
}
body.at-v140-site.at-pose-services-page .at-pose-card--accent :where(h3,a){color:#fff!important}
body.at-v140-site.at-pose-services-page .at-pose-card--accent p{color:#E7F2F9!important}
body.at-v140-site.at-pose-services-page .at-pose-card--accent a{
 text-decoration:underline;text-decoration-thickness:.08em;text-underline-offset:.16em
}
body.at-v140-site.at-pose-services-page .at-pose-confidence{background:#063A61!important;border-color:#063A61!important}
body.at-v140-site.at-pose-services-page .at-pose-confidence :where(h2,strong){color:#fff!important}
body.at-v140-site.at-pose-services-page .at-pose-confidence .at-pose-eyebrow{color:#FFD9BD!important}
body.at-v140-site.at-pose-services-page .at-pose-confidence p:not(.at-pose-eyebrow){color:#E7F2F9!important}

/* Vérification de disponibilité, formulaire et récapitulatif. */
body.at-v140-site.at-pose-services-page :where(
 .at-availability__form span,.at-document-form label>span,
 .at-quote-form label,.at-quote-form label>span,.at-quote-confirmed summary strong
){color:#263B4B!important}
body.at-v140-site.at-pose-services-page :where(
 .at-availability__note,.at-confirmation__facts dd small,.at-confirmation__note,
 .at-confirmation__doclist small,.at-document-form small,.at-quotation__table th small,
 .at-quotation__excluded small,.at-quotation__validity p,.at-quotation__deposit p,
 .at-form-help,.at-form-full small,.at-quote-confirmed__hint
){color:#455A68!important}
body.at-v140-site.at-pose-services-page :where(
 .at-availability__recap strong,.at-confirmation__facts dt,.at-quote-confirmed dt
){color:#526472!important;font-size:11px}
body.at-v140-site.at-pose-services-page :where(
 .at-availability__recap li,.at-confirmation__facts dd,.at-quotation__table th,
 .at-quotation__table td,.at-quotation__excluded p,.at-quote-confirmed dd
){color:#172432!important}

/* Bandeau de demande sombre et formulaire blanc imbriqué. */
body.at-v140-site.at-pose-services-page .at-pose-request-wrap{background:linear-gradient(135deg,#04253D,#075A93)}
body.at-v140-site.at-pose-services-page .at-pose-request>.at-pose-eyebrow{color:#FFD9BD!important}
body.at-v140-site.at-pose-services-page .at-pose-request>h2{color:#fff!important}
body.at-v140-site.at-pose-services-page .at-pose-request>p{color:#E7F2F9!important}
body.at-v140-site.at-pose-services-page .at-pose-request .at-quote-form-wrap{
 background:#fff;color:#172432
}
body.at-v140-site.at-pose-services-page .at-pose-request .at-quote-form>:where(h2,h3,h4){color:#10233E!important}
body.at-v140-site.at-pose-services-page .at-pose-request .at-quote-form>.at-form-help{color:#3F5564!important}
body.at-v140-site.at-pose-services-page .at-pose-request .at-quote-project-summary strong{color:#063A61!important}
body.at-v140-site.at-pose-services-page .at-pose-request .at-quote-project-summary span{color:#455A68!important}

/* Confirmation commerciale : texte clair sur le bandeau de référence. */
body.at-v140-site.at-pose-services-page .at-confirmation__reference :where(b,strong){color:#fff!important}
body.at-v140-site.at-pose-services-page .at-confirmation__reference small{color:#FFD9BD!important}
body.at-v140-site.at-pose-services-page .at-confirmation__reference p{color:#E7F2F9!important}

/* Preuves et avis : métadonnées secondaires suffisamment foncées. */
body.at-v140-site.at-pose-services-page :where(
 .at-trust__grid small,.at-trust__partners small,.at-trust__review-grid p,.at-trust__reviews>small
){color:#455A68!important}
body.at-v140-site.at-pose-services-page .at-trust__review-grid blockquote{color:#172432!important}

/* ==========================================================
   1.9.1 — texte blanc sur bleu, footer blanc et CTA unifiés.

   Cette couche est chargée en dernier. Elle neutralise les anciennes règles
   génériques qui pouvaient réinjecter du noir ou du bleu dans une surface
   bleue. Les cartes et formulaires blancs imbriqués conservent volontairement
   leur texte sombre.
   ========================================================== */

:root{
 --at-cta-primary:#A84200;
 --at-cta-primary-hover:#7A3200;
 --at-cta-secondary:#075A93;
 --at-on-blue:#FFFFFF;
}

/* Tous les grands blocs bleus portent désormais un texte réellement blanc. */
body.at-v140-site :where(
 .at-v140-hero__content,.at-hero-slide__content,.at-project-journey,
 .at-promo-countdown,.at-professional,.at-lead-capture__intro,
 .at-account-dashboard-hero,.at-account-welcome,.at-atoutplus-account__summary,
 .at-project-wizard,.at-commercial-closing,.at-home-project-flow__copy,
 .at-newsletter-v2__copy,.at-pose-hero,.at-pose-card--accent,
 .at-pose-confidence,.at-confirmation__reference,.at-catalog-filters__header,
 .atp360-hero,.atp360-estimate-hero,.atp360-final-total,
 .has-primary-background-color,.has-primary-dark-background-color
) :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,blockquote,label,legend,strong,b,small,span,a){
 color:var(--at-on-blue)!important
}

/* Le hero du compte possède des cartes statistiques blanches : seule son
   identité reste forcée en blanc, les chiffres gardent leur couleur sur blanc. */
body.at-v140-site .at-account-v160-hero :where(
 .at-account-v160-identity,.at-account-v160-identity h1,.at-account-v160-identity h2,
 .at-account-v160-identity h3,.at-account-v160-identity p,.at-account-v160-eyebrow
){color:var(--at-on-blue)!important}

/* Autres surfaces bleues à structure mixte : on cible leur zone sombre sans
   contaminer les formulaires ou cartes blanches imbriqués. */
body.at-v140-site.at-pose-services-page .at-pose-request>:where(h1,h2,h3,p,.at-pose-eyebrow),
body.at-v140-site .at-home-v3__project .at-home-project-flow__copy :where(h1,h2,h3,p,li,strong,small,a),
body.at-v140-site .at-home-v3__newsletter .at-newsletter-v2__copy :where(h1,h2,h3,p,li,strong,small,a),
body.at-v140-site .at-diagnostic-next>:where(h1,h2,h3,p,.at-eyebrow){
 color:var(--at-on-blue)!important
}

/* Petits repères bleus : jamais de chiffre ou pictogramme sombre sur bleu. */
body.at-v140-site :where(
 .at-value-pillar>span,.at-home-support__grid article>span,
 .at-product-reassurance-panel>span,.at-atoutplus-how__grid article>strong,
 .atp360-electric-live>span,.atp360-early-contact>div:first-child>span,
 .atp360-appointment-head>span,.at-dossier__state--receptionne,
 .at-v150-product-tabs__switch button[aria-selected=true],
 .wp-block-query-pagination .current
){color:var(--at-on-blue)!important}
body.at-v140-site .atp360-electric-live>span :where(b,strong,small){color:var(--at-on-blue)!important}

/* Les surfaces blanches placées dans un bloc bleu reprennent le texte sombre. */
body.at-v140-site :where(
 .at-pose-request .at-quote-form-wrap,.at-newsletter-v2__form-wrap,
 .at-diagnostic-next__grid>a,.at-home-project-flow__steps>div,
 .has-primary-background-color .has-white-background-color,
 .has-primary-dark-background-color .has-white-background-color
) :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,blockquote,label,legend,strong,b,small,span,a:not(.wp-element-button):not(.button)){
 color:#172432!important
}
body.at-v140-site .at-newsletter-v2__form-wrap :where(.description,.at-form-help,legend,small){color:#455A68!important}
body.at-v140-site .at-diagnostic-next__grid>a b{color:var(--at-cta-primary)!important}
body.at-v140-site .at-project-wizard .at-choice-grid label>span{color:#172432!important}
body.at-v140-site .at-project-wizard :where(.at-form-success,.at-form-notice--success) :where(h1,h2,h3,h4,p,li,strong,small,span){color:#0B6B43!important}
body.at-v140-site .at-project-wizard :where(.at-form-error,.at-form-notice--error) :where(h1,h2,h3,h4,p,li,strong,small,span){color:#8E2E28!important}

/* Les anciennes règles Pose étaient plus spécifiques ; ces sélecteurs de
   dernier niveau garantissent donc le blanc demandé sur chaque bloc bleu. */
body.at-v140-site.at-pose-services-page .at-pose-hero :where(.at-pose-eyebrow,.at-pose-lead),
body.at-v140-site.at-pose-services-page .at-pose-card--accent :where(h3,p,a,span,strong,small),
body.at-v140-site.at-pose-services-page .at-pose-confidence :where(.at-pose-eyebrow,h2,p,strong,small),
body.at-v140-site.at-pose-services-page .at-pose-request>:where(.at-pose-eyebrow,h2,p),
body.at-v140-site.at-pose-services-page .at-confirmation__reference :where(b,strong,small,p),
body.at-v140-site main .atp360-estimate-hero :where(h1,h2,h3,p,span,small,strong,b),
body.at-v140-site main .atp360-final-total :where(h1,h2,h3,p,span,small,strong,b){
 color:#fff!important
}

/* Un seul langage CTA : orange principal, bleu en contour, vert réservé à
   WhatsApp et au SAV. La règle couvre Gutenberg, WooCommerce et Projet 360°. */
body.at-v140-site :where(
 .wp-block-button:not(.is-style-outline)>.wp-block-button__link,
 a.wp-element-button:not(.at-secondary-button),a.button,button.button,input.button,
 button[type=submit],input[type=submit],.wc-block-components-button,
 .at-primary-button,.at-submit-quote,.at-project-button--primary,
 .at-project-launcher,.at-project-card__shop,.at-hero-primary,
 .at-v140-btn--orange,.at-card-add-button,.at-card-purchase-link,
 .at-filter-submit,.atp360-button:not(.ghost):not(.whatsapp),
 .atp360-nav [data-next],.at-commercial-closing__primary,
 .at-atoutplus-first-points__actions a:not(:nth-child(2)),
 .at-project-path__button,.at-live-search__all,.at-project-entry-floating,
 .at-header-nav .wp-block-navigation-item.at-nav-project>a
){
 background:var(--at-cta-primary)!important;
 border-color:var(--at-cta-primary)!important;
 color:#fff!important
}

/* Composants historiques dotés de sélecteurs plus forts : même couleur
   primaire, sans variante bleue ou orange différente selon la page. */
body.at-v140-site .at-professional .wp-block-button:not(.is-style-outline) .wp-block-button__link,
body.at-v140-site :where(.at-account-dashboard-hero,.at-account-v160-hero)>a,
body.at-v140-site .at-account-dashboard-hero__aside>a,
body.at-v140-site :where(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-button),
body.at-v140-site :where(.at-card-add-button,.at-card-purchase-link),
body.at-v140-site .at-filter-submit,
body.at-v140-site .atp360-button:not(.ghost):not(.whatsapp),
body.at-v140-site .atp360-nav [data-next],
body.at-v140-site .at-commercial-closing__primary,
body.at-v140-site .at-atoutplus-first-points__actions a:not(:nth-child(2)),
body.at-v140-site .at-project-path__button,
body.at-v140-site .at-live-search__all,
body.at-v140-site .at-project-entry-floating,
body.at-v140-site .at-header-nav .wp-block-navigation-item.at-nav-project>a{
 background:var(--at-cta-primary)!important;border-color:var(--at-cta-primary)!important;color:#fff!important
}
body.at-v140-site .at-professional .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
body.at-v140-site :where(.at-account-dashboard-hero,.at-account-v160-hero)>a:hover,
body.at-v140-site .at-account-dashboard-hero__aside>a:hover,
body.at-v140-site :where(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-button):hover,
body.at-v140-site :where(.at-card-add-button,.at-card-purchase-link):hover,
body.at-v140-site .at-filter-submit:hover,
body.at-v140-site .atp360-button:not(.ghost):not(.whatsapp):hover,
body.at-v140-site .atp360-nav [data-next]:hover,
body.at-v140-site .at-commercial-closing__primary:hover,
body.at-v140-site .at-atoutplus-first-points__actions a:not(:nth-child(2)):hover,
body.at-v140-site .at-project-path__button:hover,
body.at-v140-site .at-live-search__all:hover,
body.at-v140-site .at-project-entry-floating:hover,
body.at-v140-site .at-header-nav .wp-block-navigation-item.at-nav-project>a:hover{
 background:var(--at-cta-primary-hover)!important;border-color:var(--at-cta-primary-hover)!important;color:#fff!important
}
body.at-v140-site :where(
 .wp-block-button:not(.is-style-outline)>.wp-block-button__link,
 a.wp-element-button:not(.at-secondary-button),a.button,button.button,input.button,
 button[type=submit],input[type=submit],.wc-block-components-button,
 .at-primary-button,.at-submit-quote,.at-project-button--primary,
 .at-project-launcher,.at-project-card__shop,.at-hero-primary,
 .at-v140-btn--orange,.at-card-add-button,.at-card-purchase-link,
 .at-filter-submit,.atp360-button:not(.ghost):not(.whatsapp),
 .atp360-nav [data-next],.at-commercial-closing__primary,
 .at-atoutplus-first-points__actions a:not(:nth-child(2)),
 .at-project-path__button,.at-live-search__all,.at-project-entry-floating,
 .at-header-nav .wp-block-navigation-item.at-nav-project>a
):hover{
 background:var(--at-cta-primary-hover)!important;
 border-color:var(--at-cta-primary-hover)!important;
 color:#fff!important
}
body.at-v140-site :where(
 .is-style-outline .wp-block-button__link,.at-secondary-button,
 .at-project-button--secondary,.atp360-button.ghost,
 .at-atoutplus-first-points__actions a:nth-child(2)
){
 background:#fff!important;border-color:var(--at-cta-secondary)!important;color:var(--at-cta-secondary)!important
}
body.at-v140-site :where(
 .is-style-outline .wp-block-button__link,.at-secondary-button,
 .at-project-button--secondary,.atp360-button.ghost,
 .at-atoutplus-first-points__actions a:nth-child(2)
):hover{
 background:var(--at-cta-secondary)!important;border-color:var(--at-cta-secondary)!important;color:#fff!important
}
body.at-v140-site :where(.is-style-outline .wp-block-button__link),
body.at-v140-site .at-secondary-button,
body.at-v140-site .at-project-button--secondary,
body.at-v140-site .atp360-button.ghost,
body.at-v140-site .at-atoutplus-first-points__actions a:nth-child(2){
 background:#fff!important;border-color:var(--at-cta-secondary)!important;color:var(--at-cta-secondary)!important
}
body.at-v140-site :where(.is-style-outline .wp-block-button__link):hover,
body.at-v140-site .at-secondary-button:hover,
body.at-v140-site .at-project-button--secondary:hover,
body.at-v140-site .atp360-button.ghost:hover,
body.at-v140-site .at-atoutplus-first-points__actions a:nth-child(2):hover{
 background:var(--at-cta-secondary)!important;border-color:var(--at-cta-secondary)!important;color:#fff!important
}

/* Dans un bloc bleu, un CTA secondaire devient transparent et blanc. */
body.at-v140-site :where(
 .at-v140-hero__content,.at-hero-slide__content,.at-project-journey,
 .at-promo-countdown,.at-professional,.at-lead-capture__intro,
 .at-account-dashboard-hero,.at-account-welcome,.at-project-wizard,
 .at-commercial-closing,.at-home-project-flow__copy,.at-pose-hero
) :where(.is-style-outline .wp-block-button__link,.at-secondary-button,.at-project-button--secondary){
 background:transparent!important;border-color:#fff!important;color:#fff!important
}
body.at-v140-site :where(
 .at-v140-hero__content,.at-hero-slide__content,.at-project-journey,
 .at-promo-countdown,.at-professional,.at-lead-capture__intro,
 .at-account-dashboard-hero,.at-account-welcome,.at-project-wizard,
 .at-commercial-closing,.at-home-project-flow__copy,.at-pose-hero
) :where(.is-style-outline .wp-block-button__link,.at-secondary-button,.at-project-button--secondary):hover{
 background:#fff!important;border-color:#fff!important;color:#063A61!important
}
body.at-v140-site.at-pose-services-page .at-pose-hero .is-style-outline .wp-block-button__link,
body.at-v140-site .at-professional .is-style-outline .wp-block-button__link,
body.at-v140-site .at-home-project-flow__copy .at-project-button--secondary{
 background:transparent!important;border-color:#fff!important;color:#fff!important
}
body.at-v140-site.at-pose-services-page .at-pose-hero .is-style-outline .wp-block-button__link:hover,
body.at-v140-site .at-professional .is-style-outline .wp-block-button__link:hover,
body.at-v140-site .at-home-project-flow__copy .at-project-button--secondary:hover{
 background:#fff!important;border-color:#fff!important;color:#063A61!important
}

/* Vert exclusivement fonctionnel : WhatsApp et ouverture de SAV. */
body.at-v140-site :where(.at-whatsapp-button,.at-floating-whatsapp,.at-product-card-whatsapp,.atp360-button.whatsapp){
 background:#0B6B43!important;border-color:#0B6B43!important;color:#fff!important
}
body.at-v140-site :where(.at-whatsapp-button,.at-floating-whatsapp,.at-product-card-whatsapp,.atp360-button.whatsapp):hover{
 background:#075033!important;border-color:#075033!important;color:#fff!important
}

/* Pied de page : aucune opacité ne transforme le blanc en gris. */
body.at-v140-site :where(.at-v140-footer,.at-site-footer,.site-footer){background:#063A61;color:#fff!important}
body.at-v140-site :where(.at-v140-footer,.at-site-footer,.site-footer) :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,strong,b,small,span,a){
 color:#fff!important;opacity:1!important
}
body.at-v140-site :where(.at-v140-footer,.at-site-footer,.site-footer) a:hover,
body.at-v140-site :where(.at-v140-footer,.at-site-footer,.site-footer) a:focus-visible{
 color:#fff!important;text-decoration:underline;text-decoration-thickness:.1em;text-underline-offset:.2em
}
