/* Theme sombre : auto selon le systeme (sauf choix clair), ou force via data-theme. */
@media (prefers-color-scheme:dark){
 :root:not([data-theme="light"]){color-scheme:dark;
  --blue:#9fbcff;--blue-deep:#b9ccff;--navy:#0b1a30;--muted:#9fb3d2;
  --paper:#0e1d34;--border:#283a5a;--card:#142741;--sky:#152a49;--mint:#1d3156;
  --coral:#ff8d6a;--coral-soft:#33211a;--coral-ink:#ffc0a9;}
 :root:not([data-theme="light"]) body{background:#0a1627;color:#eef3fb}
 :root:not([data-theme="light"]) header{background:#0b1a30;border-bottom:1px solid #223150}
 :root:not([data-theme="light"]) nav{background:#0b1a30}
 :root:not([data-theme="light"]) nav>a:hover{color:#9fbcff}
 :root:not([data-theme="light"]) .menu{background:#17294a;color:#dce7fa}
 :root:not([data-theme="light"]) .topline{background:#07101f;color:#aec6ea}
 :root:not([data-theme="light"]) .topline a{color:#fff}
 :root:not([data-theme="light"]) .monogram{background:#9fbcff;color:#0b1a30}
 :root:not([data-theme="light"]) .navcontact{background:#1b2e4d;color:#eef3fb}
 :root:not([data-theme="light"]) .hero{background:#0b1a30;color:#fff}
 :root:not([data-theme="light"]) .hero:before{background:radial-gradient(ellipse at 12% 30%,#1b5cd455,transparent 60%)}
 :root:not([data-theme="light"]) .hero h1 em{color:#9fbcff}
 :root:not([data-theme="light"]) .hero .eyebrow{color:#bcd2f7}
 :root:not([data-theme="light"]) .hero .intro{color:#c6d4ec}
 :root:not([data-theme="light"]) .hero .button{background:#eef3fb;color:#0b1a30}
 :root:not([data-theme="light"]) .hero .button:hover{background:#fff}
 :root:not([data-theme="light"]) .hero .textbutton{color:#fff;border-bottom-color:#49628f}
 :root:not([data-theme="light"]) .hero-foot{color:#c6d4ec}
 :root:not([data-theme="light"]) .activity-strip{background:#12233f;color:#dce7fa}
 :root:not([data-theme="light"]) .activity-strip i{color:#9fbcff}
 :root:not([data-theme="light"]) .search-band{background:#0b1a30;border-bottom:1px solid #223150}
 :root:not([data-theme="light"]) .search-band h2{color:#eef3fb}
 :root:not([data-theme="light"]) .search-mode button{background:#17294a;color:#9fb3d2}
 :root:not([data-theme="light"]) .search-mode button[aria-pressed=true]{background:#9fbcff;color:#0b1a30}
 :root:not([data-theme="light"]) .project-shortcuts button{background:#17294a;color:#dce7fa}
 :root:not([data-theme="light"]) .project-shortcuts button[aria-pressed=true]{background:#9fbcff;color:#0b1a30}
 :root:not([data-theme="light"]) .project-shortcuts button.owner{background:#33211a;color:#ffc0a9}
 :root:not([data-theme="light"]) .search-band form{background:#102341;border-color:#283a5a;box-shadow:none}
 :root:not([data-theme="light"]) input,:root:not([data-theme="light"]) select,:root:not([data-theme="light"]) textarea{background:#0e1d34;border-color:#2c3e5c;color:#eef3fb}
 :root:not([data-theme="light"]) input::placeholder,:root:not([data-theme="light"]) textarea::placeholder{color:#7f93b4}
 :root:not([data-theme="light"]) select option{background:#102341;color:#eef3fb}
 :root:not([data-theme="light"]) .search-result{background:#13284a;border-left-color:#9fbcff}
 :root:not([data-theme="light"]) .search-result h3{color:#cfe0ff}
 :root:not([data-theme="light"]) .filter-chip{background:#17294a;color:#9fb3d2;border-color:#283a5a}
 :root:not([data-theme="light"]) .filter-chip[aria-pressed=true]{background:#9fbcff;color:#0b1a30;border-color:#9fbcff}
 :root:not([data-theme="light"]) .section-head>p,:root:not([data-theme="light"]) .intro,:root:not([data-theme="light"]) .catalog-note,:root:not([data-theme="light"]) .service-body,:root:not([data-theme="light"]) .steps p,:root:not([data-theme="light"]) .faq details p,:root:not([data-theme="light"]) .pole p,:root:not([data-theme="light"]) .bien-pitch,:root:not([data-theme="light"]) .bien-kind{color:#9fb3d2}
 :root:not([data-theme="light"]) .section-head .eyebrow{color:#9fbcff}
 :root:not([data-theme="light"]) .property-card{background:#152a49;color:#eef3fb}
 :root:not([data-theme="light"]) .property-card .line-house{color:#9fbcff}
 :root:not([data-theme="light"]) .property-card.solid{background:#1c3d74;color:#fff}
 :root:not([data-theme="light"]) .property-card.solid .line-house{color:#ffffffa0}
 :root:not([data-theme="light"]) .property-card.solid p{color:#d6e3ff}
 :root:not([data-theme="light"]) .property-card.warm{background:#33211a;color:#ffe3d8}
 :root:not([data-theme="light"]) .property-card.warm .line-house{color:#ffc0a9}
 :root:not([data-theme="light"]) .property-card p{color:#9fb3d2}
 :root:not([data-theme="light"]) .card-link{border-color:#2c3e5c}
 :root:not([data-theme="light"]) .inline{color:#9fbcff;border-color:#5b79ab}
 :root:not([data-theme="light"]) .services-section{background:#0c1c33}
 :root:not([data-theme="light"]) .service-list details{border-color:#263656}
 :root:not([data-theme="light"]) .service-number{background:#1b3156;color:#9fbcff}
 :root:not([data-theme="light"]) .plus{background:#17294a;color:#9fbcff}
 :root:not([data-theme="light"]) .pole{background:#142741;border-color:#263656}
 :root:not([data-theme="light"]) .pole-visual{background:#122440}
 :root:not([data-theme="light"]) .tint-0 .pole-visual{background:#1c3d74}
 :root:not([data-theme="light"]) .tint-1 .pole-visual{background:#27406d}
 :root:not([data-theme="light"]) .tint-2 .pole-visual{background:#4a2a1a}
 :root:not([data-theme="light"]) .tint-0 .pole-icon,:root:not([data-theme="light"]) .tint-1 .pole-icon{stroke:#bcd2f7}
 :root:not([data-theme="light"]) .tint-2 .pole-icon{stroke:#ffb79e}
 :root:not([data-theme="light"]) .pole-tag{color:#9fbcff;border-color:#2c3e5c}
 :root:not([data-theme="light"]) .pole-tag:hover{border-color:#9fbcff;background:#17294a}
 :root:not([data-theme="light"]) .bien{background:#142741;border-color:#263656}
 :root:not([data-theme="light"]) .bien-tag{background:#2a3f66;color:#cfe0ff}
 :root:not([data-theme="light"]) .bien-tag.veh{background:#ff8d6a;color:#2a1206}
 :root:not([data-theme="light"]) .bien-area{color:#9fbcff}
 :root:not([data-theme="light"]) .bien-specs li{background:#13243f;border-color:#2c3e5c;color:#9fb3d2}
 :root:not([data-theme="light"]) .bien-foot{border-color:#2c3e5c}
 :root:not([data-theme="light"]) .agency{background:#0a1627}
 :root:not([data-theme="light"]) .agency-title>p:not(.eyebrow){color:#9fb3d2}
 :root:not([data-theme="light"]) .brochures{color:#9fbcff}
 :root:not([data-theme="light"]) .brochures a{border-color:#3a557f}
 :root:not([data-theme="light"]) .steps{background:#13284a}
 :root:not([data-theme="light"]) .steps article{border-color:#2a456e}
 :root:not([data-theme="light"]) .steps article>span{color:#9fbcff}
 :root:not([data-theme="light"]) .steps h3{color:#eef3fb}
 :root:not([data-theme="light"]) .contact{background:#0c1d38}
 :root:not([data-theme="light"]) .contact em{color:#9fbcff}
 :root:not([data-theme="light"]) .contact-numbers{border-color:#365a86}
 :root:not([data-theme="light"]) .faq details{border-color:#263656}
 :root:not([data-theme="light"]) .faq summary:after{color:#9fbcff}
 :root:not([data-theme="light"]) footer{background:#0b1a30;border-top:1px solid #223150}
 :root:not([data-theme="light"]) footer p,:root:not([data-theme="light"]) footer>a:not(.brand),:root:not([data-theme="light"]) .copyright{color:#9fb3d2}
 :root:not([data-theme="light"]) dialog{background:#102341;color:#eef3fb;border:1px solid #28395a}
 :root:not([data-theme="light"]) dialog::backdrop{background:#04060cc9}
 :root:not([data-theme="light"]) .dialog-intro,:root:not([data-theme="light"]) .privacy{color:#9fb3d2}
 :root:not([data-theme="light"]) .owner-note{background:#33211a;color:#ffc0a9;border-color:#5a3827}
 :root:not([data-theme="light"]) .secondary{background:#17294a;color:#dce7fa}
 :root:not([data-theme="light"]) .close{color:#dce7fa}
 :root:not([data-theme="light"]) .mobile-contact{background:#0b1a30ee;border-color:#223150}
 :root:not([data-theme="light"]) .mobile-contact>a{background:#17294a;color:#bcd2f7}
 :root:not([data-theme="light"]) .mobile-contact>button{background:#9fbcff;color:#0b1a30}
 :root:not([data-theme="light"]) button:focus-visible,:root:not([data-theme="light"]) a:focus-visible,:root:not([data-theme="light"]) summary:focus-visible{outline-color:#ff8d6a}
}
:root[data-theme="light"]{color-scheme:light}
:root[data-theme="dark"]{color-scheme:dark;
  --blue:#9fbcff;--blue-deep:#b9ccff;--navy:#0b1a30;--muted:#9fb3d2;
  --paper:#0e1d34;--border:#283a5a;--card:#142741;--sky:#152a49;--mint:#1d3156;
  --coral:#ff8d6a;--coral-soft:#33211a;--coral-ink:#ffc0a9;}
:root[data-theme="dark"] body{background:#0a1627;color:#eef3fb}
:root[data-theme="dark"] header{background:#0b1a30;border-bottom:1px solid #223150}
:root[data-theme="dark"] nav{background:#0b1a30}
:root[data-theme="dark"] nav>a:hover{color:#9fbcff}
:root[data-theme="dark"] .menu{background:#17294a;color:#dce7fa}
:root[data-theme="dark"] .topline{background:#07101f;color:#aec6ea}
:root[data-theme="dark"] .topline a{color:#fff}
:root[data-theme="dark"] .monogram{background:#9fbcff;color:#0b1a30}
:root[data-theme="dark"] .navcontact{background:#1b2e4d;color:#eef3fb}
:root[data-theme="dark"] .hero{background:#0b1a30;color:#fff}
:root[data-theme="dark"] .hero:before{background:radial-gradient(ellipse at 12% 30%,#1b5cd455,transparent 60%)}
:root[data-theme="dark"] .hero h1 em{color:#9fbcff}
:root[data-theme="dark"] .hero .eyebrow{color:#bcd2f7}
:root[data-theme="dark"] .hero .intro{color:#c6d4ec}
:root[data-theme="dark"] .hero .button{background:#eef3fb;color:#0b1a30}
:root[data-theme="dark"] .hero .button:hover{background:#fff}
:root[data-theme="dark"] .hero .textbutton{color:#fff;border-bottom-color:#49628f}
:root[data-theme="dark"] .hero-foot{color:#c6d4ec}
:root[data-theme="dark"] .activity-strip{background:#12233f;color:#dce7fa}
:root[data-theme="dark"] .activity-strip i{color:#9fbcff}
:root[data-theme="dark"] .search-band{background:#0b1a30;border-bottom:1px solid #223150}
:root[data-theme="dark"] .search-band h2{color:#eef3fb}
:root[data-theme="dark"] .search-mode button{background:#17294a;color:#9fb3d2}
:root[data-theme="dark"] .search-mode button[aria-pressed=true]{background:#9fbcff;color:#0b1a30}
:root[data-theme="dark"] .project-shortcuts button{background:#17294a;color:#dce7fa}
:root[data-theme="dark"] .project-shortcuts button[aria-pressed=true]{background:#9fbcff;color:#0b1a30}
:root[data-theme="dark"] .project-shortcuts button.owner{background:#33211a;color:#ffc0a9}
:root[data-theme="dark"] .search-band form{background:#102341;border-color:#283a5a;box-shadow:none}
:root[data-theme="dark"] input,:root[data-theme="dark"] select,:root[data-theme="dark"] textarea{background:#0e1d34;border-color:#2c3e5c;color:#eef3fb}
:root[data-theme="dark"] input::placeholder,:root[data-theme="dark"] textarea::placeholder{color:#7f93b4}
:root[data-theme="dark"] select option{background:#102341;color:#eef3fb}
:root[data-theme="dark"] .search-result{background:#13284a;border-left-color:#9fbcff}
:root[data-theme="dark"] .search-result h3{color:#cfe0ff}
:root[data-theme="dark"] .filter-chip{background:#17294a;color:#9fb3d2;border-color:#283a5a}
:root[data-theme="dark"] .filter-chip[aria-pressed=true]{background:#9fbcff;color:#0b1a30;border-color:#9fbcff}
:root[data-theme="dark"] .section-head>p,:root[data-theme="dark"] .intro,:root[data-theme="dark"] .catalog-note,:root[data-theme="dark"] .service-body,:root[data-theme="dark"] .steps p,:root[data-theme="dark"] .faq details p,:root[data-theme="dark"] .pole p,:root[data-theme="dark"] .bien-pitch,:root[data-theme="dark"] .bien-kind{color:#9fb3d2}
:root[data-theme="dark"] .section-head .eyebrow{color:#9fbcff}
:root[data-theme="dark"] .property-card{background:#152a49;color:#eef3fb}
:root[data-theme="dark"] .property-card .line-house{color:#9fbcff}
:root[data-theme="dark"] .property-card.solid{background:#1c3d74;color:#fff}
:root[data-theme="dark"] .property-card.solid .line-house{color:#ffffffa0}
:root[data-theme="dark"] .property-card.solid p{color:#d6e3ff}
:root[data-theme="dark"] .property-card.warm{background:#33211a;color:#ffe3d8}
:root[data-theme="dark"] .property-card.warm .line-house{color:#ffc0a9}
:root[data-theme="dark"] .property-card p{color:#9fb3d2}
:root[data-theme="dark"] .card-link{border-color:#2c3e5c}
:root[data-theme="dark"] .inline{color:#9fbcff;border-color:#5b79ab}
:root[data-theme="dark"] .services-section{background:#0c1c33}
:root[data-theme="dark"] .service-list details{border-color:#263656}
:root[data-theme="dark"] .service-number{background:#1b3156;color:#9fbcff}
:root[data-theme="dark"] .plus{background:#17294a;color:#9fbcff}
:root[data-theme="dark"] .pole{background:#142741;border-color:#263656}
:root[data-theme="dark"] .pole-visual{background:#122440}
:root[data-theme="dark"] .tint-0 .pole-visual{background:#1c3d74}
:root[data-theme="dark"] .tint-1 .pole-visual{background:#27406d}
:root[data-theme="dark"] .tint-2 .pole-visual{background:#4a2a1a}
:root[data-theme="dark"] .tint-0 .pole-icon,:root[data-theme="dark"] .tint-1 .pole-icon{stroke:#bcd2f7}
:root[data-theme="dark"] .tint-2 .pole-icon{stroke:#ffb79e}
:root[data-theme="dark"] .pole-tag{color:#9fbcff;border-color:#2c3e5c}
:root[data-theme="dark"] .pole-tag:hover{border-color:#9fbcff;background:#17294a}
:root[data-theme="dark"] .bien{background:#142741;border-color:#263656}
:root[data-theme="dark"] .bien-tag{background:#2a3f66;color:#cfe0ff}
:root[data-theme="dark"] .bien-tag.veh{background:#ff8d6a;color:#2a1206}
:root[data-theme="dark"] .bien-area{color:#9fbcff}
:root[data-theme="dark"] .bien-specs li{background:#13243f;border-color:#2c3e5c;color:#9fb3d2}
:root[data-theme="dark"] .bien-foot{border-color:#2c3e5c}
:root[data-theme="dark"] .agency{background:#0a1627}
:root[data-theme="dark"] .agency-title>p:not(.eyebrow){color:#9fb3d2}
:root[data-theme="dark"] .brochures{color:#9fbcff}
:root[data-theme="dark"] .brochures a{border-color:#3a557f}
:root[data-theme="dark"] .steps{background:#13284a}
:root[data-theme="dark"] .steps article{border-color:#2a456e}
:root[data-theme="dark"] .steps article>span{color:#9fbcff}
:root[data-theme="dark"] .steps h3{color:#eef3fb}
:root[data-theme="dark"] .contact{background:#0c1d38}
:root[data-theme="dark"] .contact em{color:#9fbcff}
:root[data-theme="dark"] .contact-numbers{border-color:#365a86}
:root[data-theme="dark"] .faq details{border-color:#263656}
:root[data-theme="dark"] .faq summary:after{color:#9fbcff}
:root[data-theme="dark"] footer{background:#0b1a30;border-top:1px solid #223150}
:root[data-theme="dark"] footer p,:root[data-theme="dark"] footer>a:not(.brand),:root[data-theme="dark"] .copyright{color:#9fb3d2}
:root[data-theme="dark"] dialog{background:#102341;color:#eef3fb;border:1px solid #28395a}
:root[data-theme="dark"] dialog::backdrop{background:#04060cc9}
:root[data-theme="dark"] .dialog-intro,:root[data-theme="dark"] .privacy{color:#9fb3d2}
:root[data-theme="dark"] .owner-note{background:#33211a;color:#ffc0a9;border-color:#5a3827}
:root[data-theme="dark"] .secondary{background:#17294a;color:#dce7fa}
:root[data-theme="dark"] .close{color:#dce7fa}
:root[data-theme="dark"] .mobile-contact{background:#0b1a30ee;border-color:#223150}
:root[data-theme="dark"] .mobile-contact>a{background:#17294a;color:#bcd2f7}
:root[data-theme="dark"] .mobile-contact>button{background:#9fbcff;color:#0b1a30}
:root[data-theme="dark"] button:focus-visible,:root[data-theme="dark"] a:focus-visible,:root[data-theme="dark"] summary:focus-visible{outline-color:#ff8d6a}

/* Contraste AA en sombre : texte foncé sur les pastilles/onglets bleu clair */
@media (prefers-color-scheme:dark){
 :root:not([data-theme="light"]) .subfilter-chip[aria-pressed=true],
 :root:not([data-theme="light"]) .dialog-tabs button[aria-pressed=true],
 :root:not([data-theme="light"]) .search-note button{color:#0b1a30}
}
:root[data-theme="dark"] .subfilter-chip[aria-pressed=true],
:root[data-theme="dark"] .dialog-tabs button[aria-pressed=true],
:root[data-theme="dark"] .search-note button{color:#0b1a30}

/* Boutons pleins (CTA : recherche, « Nous contacter », « Ouvrir WhatsApp ») :
   en sombre le fond devient bleu clair, donc texte foncé pour rester lisible (AA 9.2:1).
   Le hero et le bouton contact corail gardent leur propre couleur. */
@media (prefers-color-scheme:dark){
 :root:not([data-theme="light"]) .button{color:#0b1a30}
 :root:not([data-theme="light"]) .button.light{color:#3a1405}
}
:root[data-theme="dark"] .button{color:#0b1a30}
:root[data-theme="dark"] .button.light{color:#3a1405}
