/* V24 — homepage alignment to the supplied reference screenshot */
.mr-home-reference{--mr-red:#d00016;--mr-black:#151719;color:#101820;background:#fff;font-family:Arial,Helvetica,sans-serif;line-height:1.4}
.mr-home-reference *{box-sizing:border-box}
.mr-topbar{height:42px;background:#151719;color:#fff;font-size:14px}
.mr-topbar-inner{max-width:1440px;height:100%;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.mr-top-left,.mr-top-right{display:flex;align-items:center;gap:17px;white-space:nowrap}
.mr-top-left i{height:20px;width:1px;background:#74777a}
.mr-flag{font-size:21px}
.mr-top-right{gap:24px}
.mr-ref-header{position:relative;z-index:30;background:#fff;border-bottom:1px solid #e7e7e7}
.mr-ref-header-inner{max-width:1440px;min-height:88px;margin:auto;padding:4px 26px;display:flex;align-items:center;gap:24px}
.mr-ref-logo{flex:0 0 290px;display:flex;align-items:center}
.mr-ref-logo img{display:block;width:100%;height:auto;max-height:88px;aspect-ratio:1024/342;object-fit:contain;object-position:left center}
.mr-ref-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,1.65vw,26px);flex:1}
.mr-ref-nav a{font-size:15px;font-weight:600;color:#111;text-decoration:none;white-space:nowrap;padding:13px 0;border-bottom:3px solid transparent}
.mr-ref-nav a.active,.mr-ref-nav a:hover{color:var(--mr-red);border-color:var(--mr-red)}
.mr-ref-header-cta,.mr-ref-main-cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--mr-red);color:#fff!important;text-decoration:none;font-weight:800;border-radius:9px;white-space:nowrap}
.mr-ref-header-cta{padding:14px 20px;font-size:15px}
.mr-ref-toggle{display:none}
.mr-ref-hero{position:relative;min-height:428px;background-image:url('photo-originale-pergola-terrasse-v53.webp');background-position:center 48%;background-size:cover;color:#fff}
.mr-ref-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,12,18,.83) 0%,rgba(7,12,18,.65) 34%,rgba(7,12,18,.10) 68%,rgba(7,12,18,.12) 100%)}
.mr-ref-hero-inner{position:relative;z-index:1;max-width:1440px;min-height:428px;margin:auto;padding:28px 28px;display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:30px;align-items:center}
.mr-ref-copy{max-width:650px}
.mr-ref-kicker{font-size:13px;font-weight:800;letter-spacing:.12em;margin-bottom:15px}
.mr-ref-copy h1{color:#fff;font-size:clamp(38px,3.6vw,54px);line-height:1.02;letter-spacing:-.04em;font-weight:800;margin:0 0 14px}
.mr-ref-copy>p{font-size:20px;line-height:1.3;color:#fff;max-width:550px;margin:0 0 16px}
.mr-ref-proof{display:flex;gap:24px;margin:14px 0 24px}
.mr-ref-proof span{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:700;line-height:1.15}
.mr-ref-proof b{font-size:29px;color:#fff}
.mr-ref-main-cta{padding:16px 25px;font-size:19px;border-radius:9px}
.mr-ref-main-cta b{font-size:25px;line-height:1}
.mr-ref-phone-card{justify-self:end;width:270px;background:rgba(20,28,36,.82);border:1px solid #ffffff70;border-radius:13px;padding:12px;display:flex;flex-direction:column;gap:8px;box-shadow:0 12px 30px #0003}
.mr-ref-phone-card a{display:block;text-align:center;color:#fff;text-decoration:none;font-size:18px;font-weight:800;border:1px solid #ffffff9c;border-radius:9px;padding:8px 5px;line-height:1.1}
.mr-ref-phone-card .mr-ref-phone-main{background:var(--mr-red);border-color:var(--mr-red);padding:11px 5px}
.mr-ref-phone-main strong{display:block;font-size:22px;white-space:nowrap}
.mr-ref-phone-main small{display:block;font-size:14px;font-weight:500;margin-top:3px}
.mr-ref-services-and-form{position:relative;max-width:1440px;margin:-2px auto 0;padding:24px 360px 28px 26px}
.mr-ref-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mr-ref-service{height:150px;position:relative;display:block;overflow:hidden;border-radius:9px;background:#27313b;color:#fff;text-decoration:none;box-shadow:0 3px 8px #0002}
.mr-ref-service:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78))}
.mr-ref-service img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.mr-ref-service:hover img{transform:scale(1.04)}
.mr-ref-service span{position:absolute;z-index:1;left:14px;right:12px;bottom:10px;display:flex;align-items:center;gap:7px;font-size:15px;font-weight:800;line-height:1.08;text-shadow:0 1px 4px #000}
.mr-ref-service span b{margin-left:auto;display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:var(--mr-red);font-size:16px}
.mr-ref-quote{position:absolute;z-index:5;right:26px;top:-55px;width:350px;background:#fff;border-radius:13px;padding:19px 20px 15px;box-shadow:0 7px 22px #0003;border:1px solid #e3e3e3}
.mr-ref-form-heading{display:flex;gap:13px;align-items:flex-start;margin-bottom:14px}
.mr-ref-form-heading>span{font-size:35px;line-height:1;color:var(--mr-red)}
.mr-ref-form-heading h2{font-size:21px;line-height:1.12;color:#111;margin:0 0 5px;font-weight:800}
.mr-ref-form-heading p{font-size:12px;line-height:1.3;color:#555;margin:0}
.mr-ref-quote form{display:grid;gap:7px}
.mr-ref-field{display:block;min-width:0}
.mr-ref-field input,.mr-ref-field select{width:100%;height:34px;padding:6px 12px;border:1px solid #c8cbd0;border-radius:7px;background:#fff;color:#161616;font-size:13px;outline:none}
.mr-ref-field input:focus,.mr-ref-field select:focus{border-color:var(--mr-red);box-shadow:0 0 0 2px #d000161c}
.mr-ref-consent{display:flex;align-items:flex-start;gap:7px;font-size:10px;line-height:1.25;color:#333;margin:2px 0}
.mr-ref-consent input{margin:1px 0 0;flex:0 0 auto}
.mr-ref-submit{width:100%;height:44px;border:0;border-radius:8px;background:var(--mr-red);color:#fff;font-size:15px;font-weight:800;cursor:pointer}
.mr-ref-privacy{font-size:10px;line-height:1.3;color:#333}
.mr-ref-honey{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mr-ref-benefits{min-height:88px;background:#f7f7f8;border-top:1px solid #eee;border-bottom:1px solid #eee;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;max-width:none;padding:10px max(28px,calc((100vw - 1360px)/2));gap:20px}
.mr-ref-benefits>div{display:flex;align-items:center;justify-content:center;gap:17px;border-right:1px solid #d8d8d8;min-height:48px}
.mr-ref-benefits>div:last-child{border:0}
.mr-ref-benefits>div>b{font-size:38px;color:var(--mr-red);font-weight:400}
.mr-ref-benefits strong,.mr-ref-benefits small{display:block}
.mr-ref-benefits strong{font-size:17px;color:#111;font-weight:800}
.mr-ref-benefits small{font-size:14px;color:#28313b}
.mr-ref-more{padding:55px 25px;background:#fff}
.mr-ref-more-inner{max-width:1100px;margin:auto;text-align:center}
.mr-ref-kicker-dark{font-size:12px;letter-spacing:.16em;color:var(--mr-red);font-weight:800}
.mr-ref-more h2{font-size:30px;color:#111;margin:8px 0}
.mr-ref-more p{color:#505a64}
.mr-ref-more-links{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:20px}
.mr-ref-more-links a{color:var(--mr-red);font-weight:700}
.mr-ref-footer{background:#151719;color:#fff;padding:35px 26px 15px}
.mr-ref-footer-inner{max-width:1350px;margin:auto;display:grid;grid-template-columns:1.3fr 1fr 1fr 1.2fr;gap:35px}
.mr-ref-footer-inner> a img{width:230px;height:110px;object-fit:contain;object-position:left center;background:#fff;border-radius:8px;padding:5px}
.mr-ref-footer-inner div{display:flex;flex-direction:column;gap:8px}
.mr-ref-footer-inner strong{margin-bottom:5px}
.mr-ref-footer a{color:#e8e8e8;text-decoration:none;font-size:13px}
.mr-ref-copyright{max-width:1350px;margin:25px auto 0;padding-top:14px;border-top:1px solid #ffffff30;font-size:11px;color:#c4c4c4}
.mr-ref-mobile-cta{display:none}
@media(max-width:1200px){.mr-ref-header-inner{gap:14px}.mr-ref-logo{flex-basis:220px}.mr-ref-nav{gap:12px}.mr-ref-nav a{font-size:13px}.mr-ref-header-cta{padding:12px;font-size:13px}.mr-ref-services-and-form{padding-right:340px}.mr-ref-quote{width:320px}.mr-ref-service{height:135px}}
@media(max-width:900px){.mr-topbar-inner{padding:0 16px}.mr-top-right{display:none}.mr-ref-header-inner{min-height:76px;padding:4px 18px}.mr-ref-logo{flex-basis:205px}.mr-ref-logo img{height:66px}.mr-ref-toggle{display:block;margin-left:auto;border:0;background:none;font-size:26px}.mr-ref-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:12px 22px;box-shadow:0 12px 18px #0002;flex-direction:column;align-items:stretch;gap:0}.mr-ref-nav.is-open{display:flex}.mr-ref-nav a{padding:11px 0}.mr-ref-header-cta{font-size:12px}.mr-ref-hero-inner{grid-template-columns:1fr 235px;padding:24px 20px}.mr-ref-phone-card{width:235px}.mr-ref-phone-main strong{font-size:18px}.mr-ref-services-and-form{padding:20px 20px 25px}.mr-ref-quote{position:relative;top:auto;right:auto;width:auto;max-width:560px;margin:22px auto 0}.mr-ref-benefits{padding:15px 20px;grid-template-columns:repeat(2,1fr)}.mr-ref-benefits>div:nth-child(2){border-right:0}.mr-ref-service{height:140px}}
@media(max-width:600px){.mr-topbar{height:auto;min-height:38px}.mr-topbar-inner{padding:7px 12px}.mr-top-left{white-space:normal;gap:8px;font-size:10px}.mr-top-left i,.mr-top-left span:last-child{display:none}.mr-ref-header-inner{gap:8px}.mr-ref-logo{flex-basis:170px}.mr-ref-logo img{height:60px}.mr-ref-header-cta{padding:10px 9px;font-size:11px}.mr-ref-hero{min-height:0;background-position:57% center}.mr-ref-hero-shade{background:linear-gradient(90deg,rgba(5,12,19,.84),rgba(5,12,19,.55) 75%,rgba(5,12,19,.3))}.mr-ref-hero-inner{display:block;min-height:0;padding:38px 18px 28px}.mr-ref-copy h1{font-size:37px}.mr-ref-copy>p{font-size:16px}.mr-ref-kicker{font-size:10px}.mr-ref-proof{gap:12px;justify-content:space-between}.mr-ref-proof span{font-size:11px;gap:5px}.mr-ref-proof b{font-size:22px}.mr-ref-main-cta{font-size:16px;padding:13px 17px}.mr-ref-phone-card{width:100%;max-width:320px;margin:24px 0 0;justify-self:start}.mr-ref-phone-card a{font-size:16px}.mr-ref-services-and-form{padding:16px 12px 22px}.mr-ref-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mr-ref-service{height:120px}.mr-ref-service span{left:9px;right:7px;bottom:8px;font-size:12px}.mr-ref-service span b{flex-basis:21px;height:21px;font-size:13px}.mr-ref-quote{padding:16px;margin-top:18px}.mr-ref-form-heading h2{font-size:19px}.mr-ref-benefits{grid-template-columns:1fr 1fr;gap:8px;padding:14px 8px}.mr-ref-benefits>div{justify-content:flex-start;gap:8px;padding:4px;border:0!important}.mr-ref-benefits>div>b{font-size:28px}.mr-ref-benefits strong{font-size:12px}.mr-ref-benefits small{font-size:10px}.mr-ref-footer-inner{grid-template-columns:1fr 1fr;gap:22px}.mr-ref-footer-inner> a{grid-column:1/-1}.mr-ref-footer-inner> a img{width:190px;height:90px}.mr-ref-mobile-cta{display:flex;position:fixed;z-index:60;bottom:0;left:0;right:0;background:#fff;padding:8px 12px;gap:8px;box-shadow:0 -4px 18px #0002}.mr-ref-mobile-cta a{flex:1;text-align:center;padding:11px 5px;background:var(--mr-red);color:#fff;text-decoration:none;font-weight:800;border-radius:7px;font-size:13px}.mr-ref-mobile-cta a:first-child{background:#171717}.mr-ref-copyright{padding-bottom:55px}}


/* V25 — progressive qualification fields: optional so the quick quote stays friction-light */
.mr-ref-optional{border:1px solid #e0e2e5;border-radius:8px;padding:0 10px;background:#fafafa;margin:2px 0}
.mr-ref-optional summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;font-size:12px;font-weight:800;color:#20252b}
.mr-ref-optional summary::-webkit-details-marker{display:none}
.mr-ref-optional summary:after{content:"＋";color:var(--mr-red);font-size:17px;font-weight:700}
.mr-ref-optional[open] summary:after{content:"−"}
.mr-ref-optional summary span{margin-left:auto;color:#707780;font-size:10px;font-weight:500}
.mr-ref-optional-intro{font-size:11px;line-height:1.35;color:#5b626a;margin:0 0 9px}
.mr-ref-optional-fields{display:grid;gap:7px;padding:0 0 10px}
.mr-ref-optional .mr-ref-field>span{display:block;font-size:11px;font-weight:700;color:#353b42;margin:0 0 3px}
.mr-ref-optional .mr-ref-field input,.mr-ref-optional .mr-ref-field select{height:34px;font-size:12px}
.mr-ref-optional .mr-ref-field textarea{display:block;width:100%;min-height:68px;resize:vertical;padding:7px 10px;border:1px solid #c8cbd0;border-radius:7px;background:#fff;color:#161616;font:12px Arial,Helvetica,sans-serif}
.mr-ref-optional .mr-ref-field textarea:focus{outline:none;border-color:var(--mr-red);box-shadow:0 0 0 2px #d000161c}
.mr-ref-optional .mr-ref-file-field input[type=file]{height:auto;padding:7px;font-size:11px;background:#fff}
.mr-ref-optional .mr-ref-file-field>small{display:block;font-size:10px;line-height:1.3;color:#656d75;margin-top:3px}
@media(max-width:600px){.mr-ref-optional summary{min-height:40px}.mr-ref-optional-intro{font-size:10px}}

/* V50 — garde-fou mobile : empêche la barre supérieure de prendre la hauteur de l'écran */
.mr-home-reference .mr-topbar{
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  overflow:hidden!important;
  display:block!important;
}
.mr-home-reference .mr-topbar-inner{
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
}
@media(max-width:760px){
  .mr-home-reference .mr-topbar{
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
  }
  .mr-home-reference .mr-topbar-inner{
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    padding:4px 12px!important;
    justify-content:center!important;
  }
  .mr-home-reference .mr-top-left{
    min-height:0!important;
    line-height:1.2!important;
    align-items:center!important;
  }
  .mr-home-reference .mr-ref-header{
    position:relative!important;
    top:auto!important;
  }
}


/* V69 — correction mobile du formulaire et des coordonnées */
.mr-ref-quote,
.mr-ref-quote * { box-sizing:border-box; }
.mr-ref-quote { scroll-margin-top:90px; }
.mr-ref-quote form { min-width:0; }
.mr-ref-field input,
.mr-ref-field select,
.mr-ref-field textarea {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:50px;
  height:auto;
  padding:12px 14px;
  border:1px solid #bfc5cc;
  border-radius:10px;
  background:#fff;
  color:#151719;
  font:500 16px/1.35 Arial,Helvetica,sans-serif;
  box-sizing:border-box;
  appearance:auto;
  -webkit-appearance:auto;
}
.mr-ref-field select {
  white-space:normal;
  text-overflow:clip;
  overflow:visible;
}
.mr-wizard-step legend {
  display:block;
  width:100%;
  padding:0;
  color:#151719;
  font-size:clamp(21px,5vw,27px);
  line-height:1.22;
  margin:0 0 12px;
}
.mr-wizard-help {font-size:15px;line-height:1.5;color:#59616a;margin:0 0 16px}
.mr-wizard-step[hidden] {display:none!important}
.mr-wizard-nav {
  position:static!important;
  display:flex;
  gap:10px;
  margin:16px 0 0;
  padding:0!important;
  background:transparent!important;
}
.mr-wizard-nav button {
  flex:1;
  min-width:0;
  min-height:50px;
  padding:12px 14px;
  border:0;
  border-radius:9px;
  background:#d00016;
  color:#fff;
  font:700 16px/1.2 Arial,Helvetica,sans-serif;
}
.mr-wizard-nav button[data-wizard-prev] {background:#eef0f2;color:#20252b}
.mr-wizard-progress {margin:0 0 22px}
.mr-wizard-step-label {font-size:15px;line-height:1.35;color:#17212b}
.mr-wizard-track {height:7px}
.mr-ref-quote .mr-ref-consent {font-size:13px;line-height:1.45;gap:10px}
.mr-ref-quote .mr-ref-consent input {width:20px;height:20px;min-height:20px;margin-top:1px}
.mr-ref-quote .mr-ref-submit {min-height:54px;height:auto;padding:14px 18px;font-size:16px}
.mr-ref-quote .mr-ref-privacy,
.mr-ref-quote .mr-submit-status {display:block;font-size:12px;line-height:1.45}
.mr-ref-phone-card a {background:#202a35;color:#fff!important}
.mr-ref-phone-card .mr-ref-phone-main {background:#d00016!important;color:#fff!important;border-color:#d00016!important}
.mr-ref-phone-main strong {font-size:clamp(15px,4vw,20px);white-space:normal;overflow-wrap:anywhere}
.mr-ref-mobile-cta {padding-bottom:max(8px,env(safe-area-inset-bottom))}
.mr-ref-mobile-cta a {min-height:48px;display:flex;align-items:center;justify-content:center;line-height:1.2}
body.mr-form-in-view .mr-ref-mobile-cta {display:none!important}
@media(max-width:600px){
  .mr-ref-quote {width:100%;max-width:100%;padding:18px 15px;margin-top:18px}
  .mr-ref-form-heading {gap:10px;margin-bottom:18px}
  .mr-ref-form-heading>span {font-size:29px}
  .mr-ref-form-heading h2 {font-size:21px;line-height:1.2}
  .mr-ref-form-heading p {font-size:14px;line-height:1.45}
  .mr-ref-field input,.mr-ref-field select,.mr-ref-field textarea {min-height:52px;font-size:16px;line-height:1.35;padding:13px 14px}
  .mr-wizard-step legend {font-size:22px;line-height:1.25}
  .mr-wizard-help {font-size:15px;margin-bottom:18px}
  .mr-wizard-nav {gap:9px;margin-top:18px}
  .mr-wizard-nav button {min-height:52px;font-size:16px}
  .mr-ref-phone-card {width:100%;max-width:100%;padding:12px}
  .mr-ref-phone-card a {font-size:15px;min-height:46px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;white-space:normal;line-height:1.25}
  .mr-ref-phone-main strong {font-size:18px}
  .mr-ref-phone-main small {font-size:12px}
  .mr-ref-mobile-cta {gap:8px;padding:8px 10px max(8px,env(safe-area-inset-bottom))}
  .mr-ref-mobile-cta a {font-size:13px;padding:10px 6px}
  body {padding-bottom:calc(72px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){
  .mr-ref-mobile-cta a {font-size:12px}
  .mr-wizard-nav button {font-size:14px;padding:11px 8px}
}
