/* ==================================================================
   OPM Debarras - accueil : « Ce que nous debarrassons » en tuiles,
   avant / apres des cartes services, comparateur des realisations.
   Complement de mv-5 a mv-9 et mv-site. Aucune ombre, aucun liseré
   pose sur un bord de carte.
   ================================================================== */

/* ---------- Ce que nous debarrassons : deux cartes, tuiles illustrees ---------- */
.opm-mv .mv-pad>*+.mv-presta{margin-top:clamp(22px,2.6vw,34px)}
.opm-mv .mv-presta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2vw,28px);align-items:start}
.opm-mv .mv-presta>*{min-width:0}
.opm-mv .mv-presta-carte{background:#FFFFFF;border:1px solid var(--mv-filet);border-radius:24px;overflow:hidden}
.opm-mv .mv-presta-media{position:relative;overflow:hidden;height:clamp(190px,16vw,250px);background:#FDF3E6}
.opm-mv .mv-presta-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.opm-mv .mv-presta-pour{position:absolute;left:18px;bottom:18px;margin:0;display:inline-flex;align-items:center;gap:9px;background:#FFFFFF;border-radius:999px;padding:9px 16px;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:13px;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;color:var(--mv-titre)}
.opm-mv .mv-presta-pour::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--mv-acc)}
.opm-mv .mv-presta-in{padding:clamp(20px,2.2vw,30px)}
.opm-mv .mv-presta-in>h3{margin:0}
.opm-mv .mv-presta-liste{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.opm-mv .mv-presta-liste li{display:flex;flex-direction:column;gap:12px;min-width:0;background:#FDF7EF;border:1px solid #EFE3D3;border-radius:16px;padding:16px 16px 18px;font-size:15.5px;line-height:1.5;color:var(--mv-texte);transition:background-color .3s ease,border-color .3s ease}
.opm-mv .mv-presta-liste li:hover{background:#FFF1DE;border-color:#EBC795}
.opm-mv .mv-presta-liste li::before{content:'';flex:none;width:46px;height:46px;border-radius:13px;border:1px solid #EFE3D3;background:#FFFFFF var(--ico) center/24px 24px no-repeat}
.opm-mv .mv-presta-liste strong{color:var(--mv-titre);font-weight:800}

.opm-mv .mv-ico-maison{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E")}
.opm-mv .mv-ico-appart{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='1.5'/%3E%3Cpath d='M9 7h2M13 7h2M9 11h2M13 11h2M9 15h2M13 15h2'/%3E%3C/svg%3E")}
.opm-mv .mv-ico-deces{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E")}
.opm-mv .mv-ico-cave{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l9-4 9 4-9 4-9-4z'/%3E%3Cpath d='M3 8v8l9 4 9-4V8'/%3E%3Cpath d='M12 12v8'/%3E%3C/svg%3E")}
.opm-mv .mv-ico-diogene{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4M12 17v4M3 12h4M17 12h4M6.3 6.3l2.5 2.5M15.2 15.2l2.5 2.5M6.3 17.7l2.5-2.5M15.2 8.8l2.5-2.5'/%3E%3C/svg%3E")}
.opm-mv .mv-ico-squat{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l9-9M16 7l3 3M14 9l2 2'/%3E%3C/svg%3E")}
.opm-mv .mv-ico-bureau{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='1.5'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E")}
.opm-mv .mv-ico-commerce{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9l2-5h12l2 5M4 9h16M5 9v11h14V9M10 20v-5h4v5'/%3E%3C/svg%3E")}
.opm-mv .mv-ico-hotel{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18V7M3 13h18v5M21 13v-1a3 3 0 0 0-3-3h-7v4'/%3E%3Ccircle cx='7' cy='10' r='2'/%3E%3C/svg%3E")}
.opm-mv .mv-ico-archives{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E")}
.opm-mv .mv-ico-copro{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h5v-5h5v-5h5V5h3'/%3E%3C/svg%3E")}
.opm-mv .mv-ico-sinistre{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z'/%3E%3C/svg%3E")}

/* ---------- Nos services : avant / apres cote a cote, bouton en bas ---------- */
.opm-mv .mv-duo{display:grid;grid-template-columns:1fr 1fr;gap:3px;background:#FFFFFF}
.opm-mv .mv-duo figure{position:relative;margin:0;overflow:hidden;aspect-ratio:1/1;background:#FDF3E6}
.opm-mv .mv-duo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.opm-mv .mv-duo-tag{position:absolute;left:10px;top:10px;padding:5px 11px;border-radius:999px;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:11.5px;line-height:1.2;letter-spacing:.1em;text-transform:uppercase}
.opm-mv .mv-duo figure:first-child .mv-duo-tag{background:#FFFFFF;color:var(--mv-titre)}
.opm-mv .mv-duo figure+figure .mv-duo-tag{background:var(--mv-acc);color:#FFFFFF}
.opm-mv #services .mv-carte-in{display:flex;flex-direction:column;flex:1}
.opm-mv #services .mv-carte-cta{margin-top:auto;padding-top:20px}
.opm-mv .mv-cta.mv-cta-carte{padding:13px 22px;font-size:15px}

/* ---------- Estimateur : sous-titre conserve sous le H2 ---------- */
.opm-mv .mv-tete .mv-sous-titre{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:700;font-size:clamp(19px,1.7vw,24px);line-height:1.3;color:var(--mv-titre)}

/* ---------- Realisations : comparateur avant / apres ---------- */
.opm-mv .mv-pad>*+.mv-ba{margin-top:clamp(22px,2.6vw,34px)}
.opm-mv .mv-ba{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:clamp(18px,2.2vw,32px);align-items:start}
.opm-mv .mv-ba>*{min-width:0}
.opm-mv .mv-ba:not(.is-js){grid-template-columns:1fr}
.opm-mv .mv-ba:not(.is-js) .mv-ba-item+.mv-ba-item{margin-top:clamp(28px,3vw,40px)}
.opm-mv .mv-ba:not(.is-js) .mv-ba-choix{display:none}
.opm-mv .mv-ba-item[hidden]{display:none!important}

.opm-mv .mv-ba-stage{--p:50%;position:relative;margin:0;aspect-ratio:3/2;border-radius:22px;overflow:hidden;background:#1B2229;cursor:ew-resize;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.opm-mv .mv-ba-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;pointer-events:none;-webkit-user-drag:none}
.opm-mv .mv-ba-stage .mv-ba-av{clip-path:inset(0 calc(100% - var(--p)) 0 0)}
.opm-mv .mv-ba-ligne{position:absolute;top:0;bottom:0;left:var(--p);width:3px;margin-left:-1.5px;background:#FFFFFF;pointer-events:none}
.opm-mv .mv-ba-poignee{position:absolute;top:50%;left:var(--p);width:58px;height:58px;margin:-29px 0 0 -29px;box-sizing:border-box;border-radius:50%;background:var(--mv-acc);border:3px solid #FFFFFF;pointer-events:none;display:flex;align-items:center;justify-content:center;gap:9px;transition:transform .25s ease}
.opm-mv .mv-ba-poignee::before,.opm-mv .mv-ba-poignee::after{content:'';width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent}
.opm-mv .mv-ba-poignee::before{border-right:8px solid #FFFFFF}
.opm-mv .mv-ba-poignee::after{border-left:8px solid #FFFFFF}
.opm-mv .mv-ba-stage:hover .mv-ba-poignee,.opm-mv .mv-ba-stage.is-drag .mv-ba-poignee{transform:scale(1.08)}
.opm-mv .mv-ba-tag{position:absolute;top:16px;padding:7px 14px;border-radius:999px;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:12.5px;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;pointer-events:none}
.opm-mv .mv-ba-tag-av{left:16px;background:#FFFFFF;color:var(--mv-titre)}
.opm-mv .mv-ba-tag-ap{right:16px;background:var(--mv-acc);color:#FFFFFF}
.opm-mv .mv-ba-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;pointer-events:none}
.opm-mv .mv-ba-stage:has(.mv-ba-range:focus-visible){outline:3px solid var(--mv-bleu);outline-offset:3px}

.opm-mv .mv-ba-aide{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:700;font-size:14.5px;color:var(--mv-acc-2)}
.opm-mv .mv-ba-aide::before{content:'';width:26px;height:14px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 14' fill='none' stroke='%23C96A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h24M6 2L1 7l5 5M20 2l5 5-5 5'/%3E%3C/svg%3E") center/contain no-repeat}
.opm-mv .mv-ba-txt{margin-top:18px}
.opm-mv .mv-ba-txt h3{margin:0}
.opm-mv .mv-ba-txt .mv-p{margin:8px 0 0;max-width:62ch}

.opm-mv .mv-ba-choix{display:grid;gap:10px}
.opm-mv .mv-ba-choix button{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:14px;width:100%;margin:0;text-align:left;background:#FFFFFF;border:1px solid var(--mv-filet);border-radius:16px;padding:8px 16px 8px 8px;cursor:pointer;font:inherit;color:var(--mv-texte);transition:background-color .3s ease,border-color .3s ease}
.opm-mv .mv-ba-choix button:hover{border-color:#EBC795}
.opm-mv .mv-ba-choix button.is-on{background:#FFF1DE;border-color:var(--mv-acc)}
.opm-mv .mv-ba-choix button:focus-visible{outline:3px solid var(--mv-bleu);outline-offset:2px}
.opm-mv .mv-ba-choix img{width:78px;height:60px;object-fit:cover;border-radius:10px;display:block}
.opm-mv .mv-ba-choix b{display:block;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:15.5px;line-height:1.3;color:var(--mv-titre)}
.opm-mv .mv-ba-choix small{display:block;margin-top:3px;font-size:13px;line-height:1.35;color:#5A6672}

/* ---------- surcharges responsive : toujours en dernier ---------- */
@media (max-width:1100px){
  .opm-mv .mv-presta{grid-template-columns:1fr}
  .opm-mv .mv-ba{grid-template-columns:1fr}
  .opm-mv .mv-ba-choix{grid-auto-flow:column;grid-auto-columns:minmax(min(250px,82%),1fr);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
  .opm-mv .mv-ba-choix button{scroll-snap-align:start}
}
@media (max-width:640px){
  .opm-mv .mv-presta-liste{grid-template-columns:1fr}
  .opm-mv .mv-presta-liste li{flex-direction:row;align-items:center;gap:14px;padding:12px 14px}
  .opm-mv .mv-presta-liste li::before{width:42px;height:42px}
  .opm-mv .mv-ba-stage{aspect-ratio:1/1;border-radius:18px}
  .opm-mv .mv-ba-poignee{width:50px;height:50px;margin:-25px 0 0 -25px}
  .opm-mv .mv-ba-tag{top:12px;font-size:11.5px;padding:6px 11px}
  .opm-mv .mv-ba-tag-av{left:12px}
  .opm-mv .mv-ba-tag-ap{right:12px}
}
