/* Proposition 2 du 27.11.2026 pour les sites e- (couche posée après les autres feuilles).
   Haut de page clair, photos à droite sans voile, bandes de la couleur de la marque, boutons or. */
:root{--p2-main:#1c2f5c;--p2-main-line:#3d5287;--p2-gold:#d4af37;--p2-gold-ink:#8a6d12;--p2-ink:#0f172a;--p2-muted:#475569;--p2-line:#cbd5e1;--p2-grey:#f1f5f9}
body{background:#fff!important;color:var(--p2-ink)}

/* Barre du haut et en-tête */
.topbar{display:block!important;background:var(--p2-main)!important;color:#fff!important;border:0!important}
@media (min-width:901px){.topbar a[href*="whatsapp"]{display:none!important}}
.topbar p,.topbar a,.topbar .m-id{color:#fff!important}
header{background:#fff!important;border-bottom:1px solid #e2e8f0!important;box-shadow:none!important}
header nav a{color:var(--p2-ink)!important}
header .btn.btn-o{background:var(--p2-main)!important;border-color:var(--p2-main)!important;color:#fff!important;border-radius:0!important}

/* Haut de page : texte à gauche, photos à droite */
.oct-hero{position:relative!important;background:#fff!important;color:var(--p2-ink)!important;display:grid!important;grid-template-columns:minmax(0,46%) minmax(0,54%)!important;grid-template-rows:auto!important;gap:40px 48px;align-items:center;max-width:1280px;margin:0 auto!important;padding:56px 20px 48px!important;min-height:0!important;height:auto!important;overflow:visible!important;isolation:auto!important}
.oct-hero:before,.oct-hero:after{display:none!important;content:none!important}
.oct-hero .oct-bg{margin:0!important;aspect-ratio:auto!important;justify-self:stretch!important;align-self:center!important;width:auto!important;max-width:none!important;position:static!important;inset:auto!important;order:2;grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,250px)!important;grid-auto-rows:250px;gap:12px;width:auto!important;height:auto!important;filter:none!important;transform:none!important;opacity:1!important;background:none!important;z-index:auto!important}
.oct-hero .oct-bg:before,.oct-hero .oct-bg:after{display:none!important;content:none!important}
.oct-hero .oct-bg img{aspect-ratio:auto!important;min-height:0!important;max-height:none!important;position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;filter:none!important;opacity:1!important;transform:none!important;border:0!important;box-shadow:none!important;margin:0!important;display:block!important}
.oct-hero .oct-bg img:first-child{grid-row:span 2}
.oct-hero .oct-bg img:only-child{grid-column:1/-1}
.oct-hero .oct-bg img:nth-child(2):last-child{grid-row:span 2}
.oct-hero .oct-in{order:1;grid-column:1!important;grid-row:1!important;justify-self:stretch!important;align-self:center!important;align-items:stretch!important;justify-content:flex-start!important;position:static!important;display:flex!important;grid-template-columns:none!important;flex-direction:column;gap:24px;padding:0!important;margin:0!important;max-width:none!important;width:auto!important;min-height:0!important;z-index:auto!important;background:none!important}
.oct-hero .oct-glass{width:auto!important;justify-self:stretch!important;background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;max-width:none!important;color:var(--p2-ink)!important;text-shadow:none!important}
.oct-hero .oct-glass:before,.oct-hero .oct-glass:after{display:none!important}
.oct-hero .oct-eyebrow{color:var(--p2-gold-ink)!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase;text-shadow:none!important}
.oct-hero .oct-eyebrow i{background:var(--p2-gold)!important}
.oct-hero h1{color:var(--p2-main)!important;font-weight:800!important;font-size:clamp(32px,4.4vw,56px)!important;line-height:1.06!important;letter-spacing:-.02em!important;text-shadow:none!important;font-family:inherit!important}
.oct-hero .oct-slogan{color:var(--p2-ink)!important;font-weight:700!important;font-size:clamp(17px,1.5vw,20px)!important;text-shadow:none!important;background:none!important;-webkit-text-fill-color:currentColor!important}
.oct-hero .oct-lead{color:#334155!important;font-size:17px!important;line-height:1.65!important;text-shadow:none!important}
.oct-hero .oct-btn{border-radius:0!important;box-shadow:none!important;min-height:50px}
.oct-hero .oct-btn1{background:var(--p2-gold)!important;border-color:var(--p2-gold)!important;color:#020617!important}
.oct-hero .oct-btn2{background:#fff!important;border:1px solid var(--p2-main)!important;color:var(--p2-main)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.oct-hero .oct-card{position:static!important;background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid #e2e8f0!important;box-shadow:none!important;color:var(--p2-ink)!important;border-radius:0!important;max-width:none!important;width:auto!important;margin:0!important}
.oct-hero .oct-card *{color:inherit;text-shadow:none!important}
.oct-hero .oct-card small{color:var(--p2-muted)!important}
.oct-hero .oct-card .oct-ic{background:var(--p2-grey)!important;color:var(--p2-main)!important}
.oct-hero .oct-card .oct-card-btn{background:var(--p2-main)!important;color:#fff!important;border-radius:0!important}

/* Les cadres photo carrés du site sont remplacés ici (sélecteurs renforcés pour passer devant). */
main .oct-hero .oct-bg img:not(#p2z):not(#p2y){aspect-ratio:auto!important;height:100%!important;width:100%!important;object-fit:cover!important}
main .metiers .tile.ph img:not(#p2z):not(#p2y){aspect-ratio:3/2!important;height:auto!important}
main .real .photos img:not(#p2z):not(#p2y){aspect-ratio:4/3!important;height:auto!important}

/* Placement du haut de page renforcé (certains sites posent leurs propres colonnes) */
main .oct-hero:not(#p2z):not(#p2y){display:grid!important;grid-template-columns:minmax(0,46%) minmax(0,54%)!important;grid-template-rows:auto!important}
main .oct-hero:not(#p2z):not(#p2y)>.oct-in{grid-column:1!important;grid-row:1!important;width:auto!important;max-width:none!important;min-width:0!important;justify-self:stretch!important}
main .oct-hero:not(#p2z):not(#p2y)>.oct-bg{margin:0!important;grid-column:2!important;grid-row:1!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;min-height:0!important;grid-template-rows:repeat(2,250px)!important;width:auto!important;max-width:100%!important;min-width:0!important;justify-self:stretch!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media (max-width:900px){
  main .oct-hero:not(#p2z):not(#p2y){grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important}
  main .oct-hero:not(#p2z):not(#p2y)>.oct-bg{grid-column:1!important;grid-row:1!important;grid-template-rows:repeat(2,150px)!important}
  main .oct-hero:not(#p2z):not(#p2y)>.oct-in{grid-column:1!important;grid-row:2!important}
}

/* Bande de présentation sous le haut de page */
.oct-after{background:var(--p2-main)!important;color:#fff!important;border:0!important}
.oct-after p{color:#e2e8f0!important;font-size:17px!important;line-height:1.75!important}
.oct-after .oct-mots,.oct-after p:first-child{color:#fff!important}

/* Titres et sections */
main .sec h2,main section h2,.faq-2026 h2{color:var(--p2-main)!important;font-weight:800!important;letter-spacing:-.01em}
.oct-after h2,#contact h2{color:#fff!important}
.sec.comm-alt,.faq-2026,.faq-2026 section{background:var(--p2-grey)!important}
.comm-card{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:0!important;box-shadow:none!important}
.comm-card h3{color:var(--p2-main)!important}

/* Métiers : cartes avec photo au-dessus */
.metiers .ph-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(max(150px,calc((100% - 60px) / 4)),1fr))!important;gap:28px 20px!important}
.metiers .tile.ph{position:static!important;display:flex!important;flex-direction:column;gap:10px;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;min-height:0!important;height:auto!important;overflow:visible!important;aspect-ratio:auto!important}
.metiers .tile.ph:before,.metiers .tile.ph:after{display:none!important}
.metiers .tile.ph img{position:static!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:3/2!important;object-fit:cover!important;filter:none!important;opacity:1!important;border:0!important;transform:none!important}
.metiers .tile.ph>div{position:static!important;background:none!important;padding:0!important;color:var(--p2-ink)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;inset:auto!important}
.metiers .tile.ph h3{color:var(--p2-ink)!important;font-size:20px!important;font-weight:700!important;text-shadow:none!important}
.metiers .tile.ph p{color:var(--p2-muted)!important;font-size:15px!important;text-shadow:none!important}

/* Réalisations */
.real{background:var(--p2-grey)!important}
.real .photos figure{background:#fff;margin:0}
.real .photos img{filter:none!important;opacity:1!important}
.real .photos figcaption{color:var(--p2-ink)!important;font-weight:600}

/* Étapes */
.steps ol li .n{display:inline-flex!important;align-items:center;justify-content:center;width:52px;height:52px;background:var(--p2-main)!important;color:#fff!important;font-weight:800!important;font-size:18px!important;border-radius:0!important}
.steps ol li:last-child .n{background:var(--p2-gold)!important;color:#020617!important}
.steps ol li h3{color:var(--p2-ink)!important}

/* Questions fréquentes */
.faq-2026 details{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:0!important;box-shadow:none!important}
.faq-2026 summary{color:var(--p2-ink)!important}

/* Contact et pied de page */
#contact.contact{background:var(--p2-main)!important;color:#fff!important}
#contact.contact p,#contact.contact li,#contact.contact label{color:#e2e8f0}
#contact.contact .form{background:#fff!important;color:var(--p2-ink)!important;border-radius:0!important}
#contact.contact .form label,#contact.contact .form p{color:var(--p2-ink)!important}
footer{background:var(--p2-main)!important;color:#e2e8f0!important;border-top:3px solid var(--p2-gold)!important}
footer b,footer a{color:#fff!important}
footer p{color:#e2e8f0!important}

/* Boutons dorés */
a.btn:not(.btn-o),.oct-card-btn{border-radius:0!important}

/* Pages au modèle crx (e-isolation-maison.ch) */
.crx-hero{background:#fff!important;color:var(--p2-ink)!important}
.crx-hero:before,.crx-hero:after{display:none!important}
.crx-hero h1{color:var(--p2-main)!important;font-weight:800!important;letter-spacing:-.02em!important;text-shadow:none!important}
.crx-hero-txt p{color:#334155!important;text-shadow:none!important}
main .crx-hero-ph img:not(#p2z):not(#p2y){aspect-ratio:4/3!important;height:auto!important;object-fit:cover!important;border:0!important;box-shadow:none!important}
.crx-sand{background:var(--p2-grey)!important}
.crx-cards li{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:0!important;box-shadow:none!important}
.crx-end{background:var(--p2-main)!important;color:#fff!important}
.crx-end h2,.crx-end p,.crx-end b{color:#fff!important}
.crx-end .btn.btn-o{background:var(--p2-gold)!important;border-color:var(--p2-gold)!important;color:#020617!important;border-radius:0!important}

/* Téléphone : la photo d’abord, le texte ensuite */
@media (max-width:900px){
  .oct-hero{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;padding:20px 16px 32px!important;gap:20px}
  .oct-hero .oct-bg{order:1;grid-column:1!important;grid-row:1!important;grid-template-rows:repeat(2,150px)!important;gap:8px}
  .oct-hero .oct-in{order:2;grid-column:1!important;grid-row:2!important}
  .oct-hero .oct-btn{width:100%}
}
@media (min-width:901px){.oct-hero .oct-wa{display:none!important}}
@layer msv-photos-accueil{main .oct-hero:not(#p2z):not(#p2y)>.oct-bg{height:auto!important;aspect-ratio:auto!important;min-height:0!important}main .oct-hero:not(#p2z):not(#p2y)>.oct-bg img{object-fit:cover!important;height:100%!important;aspect-ratio:auto!important}}
/* Logo vert recoupé du 27.11.2026 (Entreprise du Bâtiment MS SA) : logo complet en largeur automatique, sans déformation. */
:root img[src*="logo-ebmssa-20261127"]:not(#p2z){width:auto!important;flex:0 0 auto!important;max-width:none!important;aspect-ratio:1020/775!important;object-fit:contain!important;min-width:0!important}
:root header img[src*="logo-ebmssa-20261127"]:not(#p2z){height:56px!important}
:root footer img[src*="logo-ebmssa-20261127"]:not(#p2z){height:64px!important}
:root :is(header,footer) :has(> img[src*="logo-ebmssa-20261127"]):not(#p2z){width:auto!important;height:auto!important;max-width:none!important;min-width:0!important;flex:0 0 auto!important;aspect-ratio:auto!important;overflow:visible!important;background:none!important;padding:0!important;border:0!important;box-shadow:none!important}
@media (max-width:900px){:root header img[src*="logo-ebmssa-20261127"]:not(#p2z){height:46px!important}:root footer img[src*="logo-ebmssa-20261127"]:not(#p2z){height:56px!important}}
/* Équilibre du 27.11.2026 (avis Fable) : titres plus mesurés que le logo, le menu et les photos, photos calées en haut. */
:root{--eq-h1-accueil:clamp(1.75rem,1.2rem + 2.2vw,2.75rem);--eq-h1:clamp(1.625rem,1.2rem + 1.6vw,2.375rem);--eq-h2:clamp(1.375rem,1.15rem + .9vw,1.875rem);--eq-h3:clamp(1.125rem,1.05rem + .35vw,1.3125rem)}
:root main h1:not(#p2z){font-size:var(--eq-h1)!important;line-height:1.15!important;letter-spacing:-.015em!important;text-wrap:balance;overflow-wrap:break-word}
:root :is(.oct-hero,.crx-hero) h1:not(#p2z){font-size:var(--eq-h1-accueil)!important;line-height:1.12!important;font-weight:700!important}
:root main h2:not(#p2z){font-size:var(--eq-h2)!important;line-height:1.2!important;text-wrap:balance;overflow-wrap:break-word}
:root main h3:not(#p2z){font-size:var(--eq-h3)!important;line-height:1.3!important;overflow-wrap:break-word}
main .oct-hero:not(#p2z):not(#p2y)>.oct-bg{align-self:start!important}
.ms-modele .wrap>*{min-width:0}
@media (max-width:1023px){
  main .oct-hero:not(#p2z):not(#p2y){grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important}
  main .oct-hero:not(#p2z):not(#p2y)>.oct-bg{grid-column:1!important;grid-row:1!important;order:1}
  main .oct-hero:not(#p2z):not(#p2y)>.oct-in{grid-column:1!important;grid-row:2!important;order:2}
  .ms-modele .wrap{grid-template-columns:minmax(0,1fr)!important}
}
@media (min-width:601px) and (max-width:1023px){main .oct-hero:not(#p2z):not(#p2y)>.oct-bg{grid-template-rows:repeat(2,210px)!important}}
@layer msv-photos-accueil{main .oct-hero:not(#p2z):not(#p2y)>.oct-bg{align-self:start!important}}
/* Cartes métiers : les photos recadrées prennent le même format que les autres cartes, sans zone blanche. */
:root .metiers .tile.ph .ms-photo-crop-window[id]:not(#p2z):not(#p2y){aspect-ratio:3/2!important;height:auto!important;width:100%!important;overflow:hidden!important;position:relative!important;inset:auto!important}
:root .metiers .tile.ph .ms-photo-crop-window[id]>img[id]:not(#p2z):not(#p2y){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;transform:none!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important}
/* Contrôle du 27.11.2026 : en-têtes et titres qui débordaient à certaines largeurs. */
@media (max-width:430px){
  :root header .logo-site:not(#p2z){flex:0 1 auto!important;min-width:0!important}
  :root header .logo-site:not(#p2z)>span{white-space:normal!important;font-size:14px!important;line-height:1.15!important;min-width:0!important}
}
:root main .demande-devis-grille h1:not(#p2z){font-size:clamp(1.5rem,1rem + 1.1vw,2rem)!important;line-height:1.18!important}
@media (min-width:701px) and (max-width:1023px){
  :root header .wrap.nav .brand img:not(#p2z){height:46px!important;width:auto!important}
  :root header .wrap.nav .navlinks:not(#p2z){gap:12px!important}
  :root header .wrap.nav .navlinks a:not(#p2z){white-space:nowrap!important}
}

/* V2027.4 P0 28.11.2026 coordonnees lisibles dans la carte de contact blanche */
.oct-hero .oct-card li>*{color:var(--p2-ink)!important}

/* V2027.4 P0 28.11.2026 debordements : decor de la photo du haut contenu, boutons de contact a la ligne */
main section.crx-hero{overflow-x:clip}
.contact-cols{flex-wrap:wrap;row-gap:16px}
/* V2027.4 P0 28.11.2026 focus clavier visible sur tout fond, double anneau sombre et blanc */ :is(a,button,summary,input:not([type=hidden]),select,textarea):focus-visible:not(#p2f):not(#p2g){outline:3px solid #0f172a!important;outline-offset:2px!important;box-shadow:0 0 0 2px #fff!important}
/* V2027.4 P1 28.11.2026 premier ecran mobile, titre et boutons avant la mosaique */ @media (max-width:767px){main .oct-hero:not(#p2z):not(#p2y){grid-template-rows:auto auto auto!important}main .oct-hero:not(#p2z):not(#p2y)>.oct-in{display:contents!important}main .oct-hero:not(#p2z):not(#p2y)>.oct-in>.oct-glass{grid-column:1!important;grid-row:1!important}main .oct-hero:not(#p2z):not(#p2y)>.oct-bg{grid-column:1!important;grid-row:2!important}main .oct-hero:not(#p2z):not(#p2y)>.oct-in>.oct-card{grid-column:1!important;grid-row:3!important}:root .topbar .wrap:not(#p2z):not(#p2y){column-gap:12px!important}:root .topbar .links:not(#p2z):not(#p2y){display:flex!important}:root .topbar a[href^="tel:"]:not(#p2z):not(#p2y){display:inline-block!important;padding:6px 0!important;margin:-6px 0!important;white-space:nowrap!important}:root .topbar a[href*="whatsapp"]:not(#p2z):not(#p2y){display:none!important}}
/* V2027.4 P0 28.11.2026 points forts du haut de page lisibles sur fond blanc */ .oct-hero .oct-facts:not(#p2z):not(#p2y){color:var(--p2-ink,#0f172a)!important;text-shadow:none!important}

/* V2027.4 28.11.2026 bloc closing, titre blanc sur le degrade bleu comme le reste du bloc (recette Astra 023) */
.clair main section.closing h2{color:#fff!important}

/* Accueils sur téléphone, 28.11.2026 (gabarit oct des familles B et C).
   Photos d'abord dans leur format d'origine, titre, bouton de devis, puis le texte.
   Couleurs reprises des variables de la société (vert EBMSSA, bleu et or MS Contractor SA). Aucun texte sur les photos.
   Sélecteurs renforcés pour passer devant les couches du 27.11. */
@media (max-width:600px){
  /* Bandeau du haut sur une seule ligne avec le téléphone (le nom de la société reste dans le logo et le pied) */
  :root .topbar .wrap:not(#p2z):not(#p2y):not(#t28){flex-wrap:nowrap !important;align-items:center !important;justify-content:center !important;gap:10px !important;padding-top:6px !important;padding-bottom:6px !important}
  :root .topbar .wrap:not(#p2z):not(#p2y):not(#t28) .m-id{display:none !important}
  :root .topbar .wrap:not(#p2z):not(#p2y):not(#t28) > p:not(.m-id){display:none !important}
  :root .topbar .wrap:not(#p2z):not(#p2y):not(#t28) .links{display:flex !important;flex:none !important;gap:20px !important;margin:0 !important}
  :root .topbar .wrap:not(#p2z):not(#p2y):not(#t28) .links a{white-space:nowrap !important;font-weight:700 !important;padding:6px 0 !important}
  :root .topbar .wrap:not(#p2z):not(#p2y):not(#t28) .tel{display:block !important;flex:none !important;white-space:nowrap !important;font-size:15px !important;font-weight:700 !important;margin:0 !important;padding:6px 0 !important}

  /* Ordre du haut de page : photos, texte, carte de contact */
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28){padding-top:14px !important;row-gap:0 !important}
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28) > .oct-bg{grid-area:1 / 1 !important;order:0 !important;display:flex !important;flex-wrap:nowrap !important;gap:6px !important;width:auto !important;height:auto !important;max-height:none !important;aspect-ratio:auto !important;align-items:flex-start !important;margin:0 0 18px !important}
  /* Chaque photo prend une largeur proportionnelle à son format (--f), toutes à la même hauteur, sans recadrage */
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28) > .oct-bg img{flex:var(--f,1) 1 0 !important;width:0 !important;min-width:0 !important;height:auto !important;max-width:none !important;max-height:none !important;aspect-ratio:auto !important;object-fit:fill !important;grid-row:auto !important}
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28) > .oct-in > .oct-glass{grid-area:2 / 1 !important;display:flex !important;flex-direction:column !important;align-items:flex-start !important}
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28) > .oct-in > .oct-card{grid-area:3 / 1 !important;margin-top:4px !important}

  /* Dans le bloc de texte : titre, boutons, puis slogan et présentation */
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28) .oct-eyebrow{order:0 !important;letter-spacing:.06em !important;font-size:11.5px !important;margin-bottom:12px !important}
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28) h1{order:1 !important;margin-bottom:16px !important}
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28) .oct-ctas{order:2 !important;width:100% !important;display:grid !important;grid-template-columns:1fr 1fr !important;gap:10px !important;margin:0 0 20px !important}
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28) .oct-slogan{order:3 !important;border-bottom-color:var(--p2-gold) !important;text-decoration-color:var(--p2-gold) !important}
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28) .oct-lead{order:4 !important}
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28) .oct-ctas .oct-btn{width:auto !important;min-height:50px !important;margin:0 !important;padding:10px 12px !important;text-align:center !important;justify-content:center !important}
  body.f-home main .oct-hero:not(#p2z):not(#p2y):not(#t28) .oct-ctas .oct-btn1{grid-column:1 / -1 !important;min-height:54px !important}

  /* WhatsApp lisible, sans deux verts voisins */
  body main .oct-hero:not(#p2z):not(#p2y):not(#t28) .oct-btn.oct-wa,body main .oct-hero:not(#p2z):not(#p2y):not(#t28) .oct-btn.oct-wa:hover{background:#fff !important;color:#111 !important;border:2px solid #25D366 !important}
}

/* Téléphone, 28.11.2026 : menu des pages intérieures lisible (en-tête blanc, logo et liens bleu marine). Relevé et maquette d'Astra 030 à 032. */
@media (max-width:760px){html body header.topbar:not(#t28m){background:#fff !important;background-image:none !important;border-bottom:1px solid #e3e6ea !important;box-shadow:none !important}html body header.topbar:not(#t28m) .topbar-in > .burger{margin-inline-start:auto !important;color:#1B2E5B !important}html body header.topbar:not(#t28m) .burger span{background:#1B2E5B !important}html body header.topbar:not(#t28m) .burger b{color:#1B2E5B !important}html body header.topbar:not(#t28m) nav#navigation a{color:#1B2E5B !important}html body header.topbar:not(#t28m) :is(.burger,nav#navigation a):focus-visible{outline:3px solid #1B2E5B;outline-offset:2px}}

/* 28.11.2026 style telephone sur le modele ms-contractor.ch (Fable, controle Opus) */
@media (max-width:600px){
  html body:not(#f1):not(#f2):not(#f3):not(#f4), html body:not(#f1):not(#f2):not(#f3):not(#f4) *{font-family:"MSV Inter","Inter","Public Sans",Arial,sans-serif!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) h1{font-size:28px!important;line-height:1.12!important;font-weight:700!important;letter-spacing:-.015em!important;text-transform:none!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) h2{font-size:22px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:-.01em!important;text-transform:none!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) main h2{margin-bottom:12px!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) h3{font-size:18px!important;line-height:1.3!important;font-weight:700!important;letter-spacing:normal!important;text-transform:none!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) a[class*="btn"],
  html body:not(#f1):not(#f2):not(#f3):not(#f4) button[class*="btn"],
  html body:not(#f1):not(#f2):not(#f3):not(#f4) form button,
  html body:not(#f1):not(#f2):not(#f3):not(#f4) form input[type="submit"]{border-radius:0!important;min-height:50px!important;font-size:15px!important;font-weight:700!important;line-height:1.3!important;letter-spacing:normal!important;text-transform:none!important;box-shadow:none!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) .oct-eyebrow{background:none!important;border:0!important;border-radius:0!important;padding:0!important;font-size:10.5px!important;line-height:1.3!important;letter-spacing:.03em!important;font-weight:700!important;gap:8px!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) .oct-eyebrow i{width:16px!important;height:2px!important;border-radius:0!important;flex:0 0 16px!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) .oct-slogan{font-size:17px!important;line-height:1.45!important;font-weight:700!important;border-bottom-color:var(--p2-gold,currentColor)!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) .oct-lead{font-size:16px!important;line-height:1.6!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) .fin{font-size:17px!important;line-height:1.45!important;font-weight:700!important;border-width:1px!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) .m-menu .sheet > a{font-size:17px!important;line-height:1.5!important;font-weight:700!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) .m-menu .sheet{border-top-color:var(--p2-gold,currentColor)!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) .m-menu > summary{border-width:1px!important;border-radius:0!important;min-height:44px!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="file"]),
  html body:not(#f1):not(#f2):not(#f3):not(#f4) form select,
  html body:not(#f1):not(#f2):not(#f3):not(#f4) form textarea{border-radius:0!important;font-size:16px!important;min-height:50px!important;box-shadow:none!important;font-weight:400!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) form label{font-size:14px!important;font-weight:600!important;letter-spacing:normal!important;text-transform:none!important}
  html body:not(#f1):not(#f2):not(#f3):not(#f4) header.tete-site{border-top-color:var(--p2-gold,currentColor)!important;border-top-width:3px!important}
}

/* 28.11.2026 suite recette 039 : police Inter servie par le site, bouton de secours du formulaire cache tant qu'il porte hidden */
@font-face{font-family:"MSV Inter";src:url(/assets/msv/polices/inter-400-latin.woff2) format("woff2");font-weight:300 500;font-style:normal;font-display:swap}
@font-face{font-family:"MSV Inter";src:url(/assets/msv/polices/inter-700-latin.woff2) format("woff2");font-weight:600 700;font-style:normal;font-display:swap}
@font-face{font-family:"MSV Inter";src:url(/assets/msv/polices/inter-900-latin.woff2) format("woff2");font-weight:800 900;font-style:normal;font-display:swap}
form [hidden]{display:none!important}
/* 28.11.2026 suite recette 041 : sur téléphone, le formulaire de devis vient juste après l'introduction */
@media (max-width:600px){html body:not(#f1):not(#f2):not(#f3):not(#f4) .section.estimate .estimate-cols{row-gap:0}html body:not(#f1):not(#f2):not(#f3):not(#f4) .section.estimate .estimate-cols>aside{display:contents}html body:not(#f1):not(#f2):not(#f3):not(#f4) .section.estimate .estimate-cols>aside>*{order:3}html body:not(#f1):not(#f2):not(#f3):not(#f4) .section.estimate .estimate-cols>aside>.eyebrow,html body:not(#f1):not(#f2):not(#f3):not(#f4) .section.estimate .estimate-cols>aside>h1,html body:not(#f1):not(#f2):not(#f3):not(#f4) .section.estimate .estimate-cols>aside>.opening-motto,html body:not(#f1):not(#f2):not(#f3):not(#f4) .section.estimate .estimate-cols>aside>.opening-motto+p{order:1}html body:not(#f1):not(#f2):not(#f3):not(#f4) .section.estimate .estimate-cols>.estimate-form-area{order:2;margin:8px 0 32px}}

/* accueil-haut-20261129 : ordinateur, haut de page remonte, texte plus petit, photos a la hauteur de la colonne de gauche */
@media (min-width:901px){main .oct-hero.oct-home{padding-top:20px!important;padding-bottom:36px!important;row-gap:28px!important;align-items:stretch!important}:root .oct-hero.oct-home h1:not(#p2z){font-size:clamp(1.45rem,1rem + 1.4vw,2rem)!important}.oct-hero.oct-home .oct-slogan{font-size:clamp(14px,1.1vw,16px)!important}.oct-hero.oct-home .oct-lead{font-size:15px!important;line-height:1.5!important}.oct-hero.oct-home .oct-btn{min-height:44px!important;font-size:15px!important}}
@layer msv-photos-accueil{@media (min-width:901px){main .oct-hero.oct-home:not(#p2z):not(#p2y)>.oct-bg{align-self:stretch!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;contain:size!important}}}
/* accueil-vide-20261129 : ordinateur, le bloc de texte et la carte gardent leur hauteur propre, sans vide entre les deux */
@media (min-width:901px){main .oct-hero.oct-home .oct-in>.oct-glass,main .oct-hero.oct-home .oct-in>.oct-card{flex:0 0 auto!important}}
/* accueil-efhome-20261129 : memes regles pour les accueils dont le haut de page ne porte pas la classe oct-home */
@media (min-width:901px){body.f-home main .oct-hero:not(#p2z):not(#p2y){padding-top:20px!important;padding-bottom:36px!important;row-gap:28px!important;align-items:stretch!important}:root body.f-home .oct-hero h1:not(#p2z):not(#p2y){font-size:clamp(1.45rem,1rem + 1.4vw,2rem)!important}body.f-home .oct-hero .oct-slogan{font-size:clamp(14px,1.1vw,16px)!important}body.f-home .oct-hero .oct-lead{font-size:15px!important;line-height:1.5!important}body.f-home .oct-hero .oct-btn{min-height:44px!important;font-size:15px!important}body.f-home main .oct-hero .oct-in>.oct-glass,body.f-home main .oct-hero .oct-in>.oct-card{flex:0 0 auto!important}}
@layer msv-photos-accueil{@media (min-width:901px){body.f-home main .oct-hero:not(#p2z):not(#p2y)>.oct-bg{align-self:stretch!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;contain:size!important}}}
