/* MRL PROD — test visuel réversible. Aucun changement de géométrie. */
:root { --mrl-radius-control: 4px; --mrl-radius-media: 8px; }
/* Boutons, CTA et filtres, sans modifier les points de pagination. */
html body :is(.btn, .btn-wh, .btn-wh-g, .btn-vio, .oc-btn, .mast-quote, .filter-btn, .cookie-btn, button[type="submit"], input[type="submit"]) {
  border-radius: var(--mrl-radius-control) !important;
}
html body :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) {
  border-radius: var(--mrl-radius-control) !important;
}
/* Photos et cartes de contenu, sans modifier les logos ni les héros pleine largeur. */
html body :is(.card, .realisation-card, .finition-card, .finition-media, .galerie-item, .autre-card, .about-photo, .luc-photo, .zone-card, .zone-card-media, .google-review, .mason .fig, .duo .fig) {
  border-radius: var(--mrl-radius-media) !important;
}
html body :is(.card, .realisation-card, .finition-media, .galerie-item, .autre-card, .about-photo, .zone-card-media, .mason .fig, .duo .fig) img,
html body img:is([src*="/prestations/"], [src*="/realisations/"], [src*="/luc/"], [src*="/films/"], [src*="/covering/"], [src*="/zones/"]) {
  border-radius: var(--mrl-radius-media) !important;
}
html body :is(.hero, .oc-hero) img { border-radius: 0 !important; }

/* V2 — priorité sur les boutons existants, sans autre changement visuel. */
html body :is(a, button, input):is(.btn, .btn-outline, .btn-ol, .btn-wh, .btn-wh-g, .btn-vio, .oc-btn, .mast-quote, .mast-phone, .mrl-nav__phone, .filter-btn, .cookie-btn) {
  border-radius: var(--mrl-radius-control) !important;
}
html body main .actions a.btn,
html body #top .cta a.btn,
html body .cta-band a.btn-wh,
html body .cta-band a.btn-wh-g,
html body main .mrl-form button[type="submit"] {
  border-radius: var(--mrl-radius-control) !important;
}

/* V3 — renforcement ciblé, toutes pages. */
html body a.btn.btn,
html body main a.btn.btn,
html body main .actions a.btn.btn,
html body a.mast-phone.mast-phone,
html body a.mast-quote.mast-quote,
html body .cta-band a:is(.btn-wh,.btn-wh-g),
html body button.filter-btn.filter-btn,
html body :is(a,button).oc-btn.oc-btn {
  border-radius: var(--mrl-radius-control) !important;
}
/* Encadrés, avis et tableaux : aucun changement de dimensions. */
html body :is(.av-card,.google-review,.realisation-card,.card,.finition-card,.zone-card,.autre-card,.table-wrap,.table-responsive,.pricing-table,.tarifs-table),
html body main table {
  border-radius: var(--mrl-radius-media) !important;
}
/* Arrondir les cellules d'angle sans changer le modèle de bordures. */
html body main table > :is(thead,tbody):first-child > tr:first-child > :is(th,td):first-child { border-top-left-radius: var(--mrl-radius-media) !important; }
html body main table > :is(thead,tbody):first-child > tr:first-child > :is(th,td):last-child { border-top-right-radius: var(--mrl-radius-media) !important; }
html body main table > :is(tbody,tfoot):last-child > tr:last-child > :is(th,td):first-child { border-bottom-left-radius: var(--mrl-radius-media) !important; }
html body main table > :is(tbody,tfoot):last-child > tr:last-child > :is(th,td):last-child { border-bottom-right-radius: var(--mrl-radius-media) !important; }

/* V4 : composants specifiques des pages internes. */
html body :is(.mrl-content-grid > article,.mrl-film-card,.temoin-card,.info,.zone-grid > article,.mrl-faq details.mrl-faq__item,.oc-form-wrap,.mrl-thanks-next,.no-results,.process-step,.hero-photo:not(.slides)) { border-radius: var(--mrl-radius-media) !important; }
html body :is(.mrl-film-card,.hero-photo,.luc-photo,.about-photo,.galerie-item,.realisation-card) img,
html body :is(img.luc-photo,.mrl-film-card img,.project-page .hero-photo img,.moto-page .hero-photo img) { border-radius: var(--mrl-radius-media) !important; }
html body main a.text-link, html body a.google-review-cta.google-review-cta, html body :is(.mobile-actions a,.fusion-actions a,.quick a) { border-radius: var(--mrl-radius-control) !important; }
/* Hero immersif uniquement : angles droits conserves. */
html body :is(.hero .slides,.hero .slides img,.oc-hero img,.oc-hero-single img) { border-radius: 0 !important; }

/* V7 — palette des bandeaux uniquement. */
html body #mrl-header .mrl-holiday-banner { background: #3D1675 !important; color: #fff !important; }
html body #mrl-header .mrl-holiday-banner:hover { background: #4C1D95 !important; }

/* V8 — contacts mobiles, pictogrammes originaux. */
html body #mrl-contacts { background:#0B0B0D !important; border-top-color:#303030 !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
html body #mrl-contacts > a,
html body #mrl-contacts > a:first-child,
html body #mrl-contacts > a:last-child { display:flex !important; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-width:0; min-height:44px; background:transparent !important; border:0 !important; color:#fff !important; box-shadow:none !important; text-transform:none; letter-spacing:0; }
html body #mrl-contacts > a > img { width:42px !important; height:42px !important; object-fit:contain; display:block; border-radius:0 !important; }
html body #mrl-contacts > a:focus-visible { outline:2px solid #fff; outline-offset:2px; }
