/* RMD Habitat — une présentation plus vivante, sans dépendance externe. */
:root{--rmd-ease:cubic-bezier(.22,1,.36,1)}
.header{transition:box-shadow .3s,background .3s;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.header.rmd-scrolled{box-shadow:0 8px 30px #211b1712;background:#fcfaf7f5}
.header nav a[aria-current="page"]{background:#211b17;color:#fff}
.hero{margin:20px clamp(12px,2vw,32px) 0;border-radius:30px;overflow:hidden;min-height:620px;background:radial-gradient(ellipse at 0 0,#ffe4c5 0,transparent 65%),#f3eee8}
.hero-copy{padding:clamp(48px,7vw,105px) clamp(24px,5vw,76px)}
.hero-copy h1{font-size:clamp(52px,6.5vw,96px);max-width:700px}
.hero-copy .lead{font-family:Manrope,sans-serif;font-size:clamp(17px,1.5vw,21px);line-height:1.65;max-width:510px}
.hero-image{min-height:580px;border-radius:100px 0 0 0}
.hero-label{border-radius:24px 0 0 0;box-shadow:0 8px 40px #211b1726}
.hero-actions{flex-wrap:wrap}
.metiers-banner{margin-top:20px}
.button,.plain-link,.call{transition:transform .25s var(--rmd-ease),box-shadow .25s,background .25s}
.button{border-radius:14px!important;min-height:48px}
.button:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #bd4d00;outline-offset:5px}
.intro{padding-top:85px;padding-bottom:85px}
.trades{background:radial-gradient(ellipse at 100% 0,#4a3325 0,transparent 60%),#211b17;padding-top:85px;padding-bottom:85px}
.trade-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.trade-list .trade{position:relative;min-height:350px;border-radius:24px;padding:28px 24px;overflow:hidden;transition:transform .35s var(--rmd-ease),box-shadow .35s,border-color .35s}
.trade-list .trade h3{font-size:clamp(25px,2.3vw,34px);line-height:1.08}
.trade-list .trade p{font-size:13px;line-height:1.65}
.trade-list .trade>.arrow{transition:transform .3s}
.trade-list .trade[hidden]{display:none!important}
.rmd-trade-filters{max-width:1300px;margin:0 auto 28px;display:flex;flex-wrap:wrap;gap:10px}
.rmd-trade-filters button{border:1px solid #ffffff45;color:#fff;background:transparent;border-radius:999px;padding:12px 18px;font:700 13px Manrope,sans-serif;cursor:pointer;transition:background .2s,color .2s}
.rmd-trade-filters button[aria-pressed="true"]{background:#ff8500;border-color:#ff8500;color:#211b17}
.rmd-trade-status{max-width:1300px;margin:16px auto 0;color:#d9c9bc;font:500 13px Manrope,sans-serif}
.projects{background:#f3eee8}
.projects .section-title,.projects .section-title h2{color:#211b17}
.projects .section-title>p:last-child{color:#65574c}
.realisation-card{border-radius:22px;overflow:hidden;box-shadow:0 12px 32px #211b1714}
.offer-hero,.info-hero{background:radial-gradient(ellipse at 0 0,#ffe4c5,transparent 65%),#f3eee8}
.offer-hero img,.info-diagnostic-logo{border-radius:24px}
.roof-guide-list li{border-radius:20px;padding:26px!important;background:#fff;box-shadow:0 5px 22px #211b1708;margin-bottom:18px;border:1px solid #e9e0d6}
.roof-guide-list li img{border-radius:14px}
.diagnostic-cards article,.info-grid article,.offer-hub>a{transition:transform .3s var(--rmd-ease),box-shadow .3s}
.metier-faq details{border:1px solid #dfd5ca;border-radius:16px;margin:12px 0;padding:20px 24px;background:#fff}
.metier-faq summary{cursor:pointer;font-weight:700;line-height:1.5}
.metier-faq details[open]{border-color:#e77b26;background:#fff9f1}
.offer-cta{border-radius:26px}
.local-service-area{border:1px solid #e8d9c9;box-shadow:0 12px 35px #211b1705}
.contact form{border-radius:24px;box-shadow:0 20px 60px #211b170d}
input,textarea,select{transition:border-color .2s,box-shadow .2s}
input:focus,textarea:focus,select:focus{outline:2px solid #c45c00;outline-offset:3px}
.rmd-back-top{position:fixed;right:22px;bottom:24px;z-index:10;border:1px solid #ffffff50;border-radius:50%;width:48px;height:48px;background:#211b17;color:white;font-size:23px;cursor:pointer;box-shadow:0 8px 25px #211b1726}
.rmd-back-top[hidden]{display:none}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.button:hover{transform:translateY(-3px);box-shadow:0 12px 25px #dd690028}.trade-list .trade:hover{transform:translateY(-7px);border-color:#ff8500;box-shadow:0 22px 40px #0004}.trade-list .trade:hover>.arrow{transform:translate(4px,-4px)}.diagnostic-cards article:hover,.info-grid article:hover,.offer-hub>a:hover{transform:translateY(-5px);box-shadow:0 16px 35px #211b1715}}
@media(max-width:1100px){.trade-list{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-image{border-radius:55px 0 0 0}.hero-copy h1{font-size:clamp(46px,6.5vw,76px)}}
@media(max-width:760px){.hero{grid-template-columns:1fr;min-height:auto;border-radius:24px}.hero-copy{padding:44px 24px}.hero-copy h1{font-size:clamp(46px,11vw,72px)}.hero-image{min-height:330px;border-radius:50px 0 0 0}.trade-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.trade-list .trade{min-height:310px;padding:22px 18px}.trade-list .trade h3{font-size:26px}.rmd-trade-filters button{padding:10px 14px}.intro{padding-top:60px;padding-bottom:60px}.roof-guide-list li{padding:18px!important}.rmd-back-top{right:14px;bottom:92px}}
@media(max-width:460px){.trade-list{grid-template-columns:1fr}.trade-list .trade{min-height:300px}.hero-actions .button{width:100%}.hero-label{padding:18px}.hero-image{min-height:290px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}.rmd-back-top{scroll-behavior:auto}}
/* Contrastes des introductions sur les fonds clairs. */
.offer-hero,.metier-page .offer-hero,.info-hero{background:radial-gradient(ellipse at 0 0,#ffe4c5,transparent 65%),#f3eee8;color:#211b17}
.offer-hero .offer-lead,.info-hero p:not(.eyebrow){color:#584b41}
.info-hero .eyebrow{color:#a94300}
