.r091-metiers .global-hero{min-height:0;padding-block:3rem}.r091-metiers .global-hero h1{font-size:clamp(2.2rem,4vw,4rem)}.r091-intro{max-width:850px}.r091-sectors{margin-top:1.5rem;min-width:0}.r091-sector{min-width:0;margin:1rem 0;border:1px solid #383940;border-radius:14px;padding:1.3rem;background:#15161b}.r091-sector>summary{font-size:1.2rem;font-weight:700;padding:.7rem;cursor:pointer}.r091-enhanced>.r091-sector>summary{display:none}.r091-sector-title{font-size:clamp(1.7rem,2.5vw,2.5rem)!important;margin-top:0}.r091-sector-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.2rem}.r091-sector-tabs button,.r091-controls button,.r091-dialog button,.r091-dialog a{font:inherit;background:#25262d;border:1px solid #696a75;color:#fff;border-radius:6px;padding:.65rem .85rem;min-height:44px;cursor:pointer}.r091-sector-tabs button[aria-selected=true]{background:#a91727;border-color:#f03b4b}.r091-sector-tabs button:hover,.r091-controls button:hover{border-color:#ff7b85}.r091-sector-tabs button:focus-visible,.r091-controls button:focus-visible,.r091-sector-select select:focus-visible,.r091-dialog button:focus-visible,.r091-more summary:focus-visible,.r091-sector:focus-visible{outline:3px solid white;outline-offset:4px}.r091-sector-select{display:none}.r091-sector-summary{max-width:900px;line-height:1.65}.r091-applications{padding-left:1.3rem;margin-block:1rem}.r091-applications li{margin-block:.35rem}.r091-sector .r091-more{margin-top:1.2rem;padding:0;border:1px solid #484952;border-radius:7px}.r091-more>summary{padding:.9rem 1rem;font-weight:650;cursor:pointer}.r091-more[open]>:not(summary){margin-inline:1rem}.r091-more h3{font-size:1.1rem;color:#ff7b85;margin-top:1rem}.r091-carousel .wp-block-gallery{display:block!important;margin:1rem 0}.r091-slide-shell>figure{display:none}.r091-slide-shell noscript figure img{height:auto;object-fit:contain}.r091-carousel.is-enhanced .r091-slide-shell>figure{display:flex;flex-direction:column;margin:0!important;width:100%!important;height:100%!important;gap:.5rem}.r091-carousel.is-enhanced .wp-block-gallery{position:relative;aspect-ratio:16/10;max-height:560px;isolation:isolate;overflow:hidden;background:#090a0d;border-radius:10px}.r091-carousel.is-enhanced .r091-slide-shell{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 700ms ease,visibility 700ms;display:block}.r091-carousel.is-enhanced .r091-slide-shell.is-current{opacity:1;visibility:visible;pointer-events:auto;z-index:1}.r091-carousel .wp-block-image img{width:100%!important;height:100%!important;max-height:100%;object-fit:contain!important;object-position:center}.r091-carousel .wp-element-caption{position:static!important;color:#d7d7df;background:none!important;padding:.2rem!important;text-align:center;font-size:.85rem!important;flex:0 0 auto}.r091-carousel .wp-block-image:has(figcaption) img{height:calc(100% - 2.4rem)!important;min-height:0}.r091-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin:1rem 0}.r091-counter{font-variant-numeric:tabular-nums;color:#dedee5;margin-inline:auto .4rem}.r091-carousel-status{font-size:.85rem;color:#c4c4ce;margin:.5rem 0}.r091-sector .r091-more summary::marker{color:#ff7b85}.r091-source-note{font-size:.85rem;color:#bbbcc7;max-width:1000px;margin-block:1.5rem}.r091-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;border:0;padding:1rem;background:#08090cf5;color:#fff;box-sizing:border-box}.r091-dialog::backdrop{background:#000d}.r091-dialog[open]{display:flex;flex-direction:column;gap:.7rem}.r091-dialog-header,.r091-dialog-footer{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap}.r091-dialog-header strong{flex:1}.r091-dialog img{display:block;flex:1;min-height:0;max-width:100%;max-height:calc(100dvh - 10rem);object-fit:contain}.r091-dialog-footer{justify-content:center}.r091-dialog a{font-size:.85rem;text-decoration:underline}.r091-dialog-counter{min-width:6em;text-align:center}.r091-image-loading{color:#ccc}.r091-sector-select select{font:inherit;color:#fff;background:#202128;border:1px solid #757680;border-radius:6px;padding:.7rem;min-height:48px;max-width:100%;width:100%}
@media(max-width:767px){.r091-metiers .global-hero{padding-block:2rem}.r091-sector-tabs{display:none}.r091-sector-select{display:grid;gap:.5rem}.r091-sector{padding:.85rem}.r091-carousel.is-enhanced .wp-block-gallery{aspect-ratio:16/11;max-height:none}.r091-controls button{font-size:.9rem;padding:.6rem}.r091-counter{margin-left:0}.r091-dialog{padding:.7rem}.r091-dialog img{max-height:calc(100dvh - 13rem)}.r091-sector-summary{font-size:1rem}}
@media(prefers-reduced-motion:reduce){.r091-carousel.is-enhanced .r091-slide-shell{transition:none}}
.r091-carousel .wp-block-gallery:focus-visible,.r091-dialog a:focus-visible{outline:3px solid #fff;outline-offset:4px}.r091-controls progress{height:7px;width:100%;accent-color:#ed3040}
.r091-carousel.is-enhanced .wp-block-gallery{width:100%}.r091-carousel.is-enhanced .wp-element-caption{flex:0 0 auto!important;height:auto!important;max-height:none!important;min-height:0}.r091-carousel.is-enhanced .wp-block-image img{flex:1 1 auto!important}.r091-carousel:not(.is-enhanced) .wp-block-image img{height:auto!important}.r091-carousel:not(.is-enhanced) .wp-element-caption{flex:initial!important;height:auto!important}
/* Override the theme's generic, 680px-wide form dialog only for this viewer. */
body.mpx-v2 dialog.r091-dialog{inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:1rem;border:0;border-radius:0}
@media(max-width:767px){body.mpx-v2 dialog.r091-dialog{padding:.7rem}}
/* REFONTE-09.2: reserve the real header/footer height, then give the image
   all remaining space. Only the educational viewer uses this layout. */
body.mpx-v2 dialog.r091-dialog{height:100vh;height:100dvh;overflow:auto;overscroll-behavior:contain}
body.mpx-v2 dialog.r091-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
body.mpx-v2 dialog.r091-dialog>img{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:none;object-fit:contain;object-position:center}
body.mpx-v2 dialog.r091-dialog>:is(.r091-dialog-header,.r091-dialog-footer){min-width:0}
body.mpx-v2:has(>dialog.r091-dialog[open]){overflow:hidden}
