/* Gallery-local tokens: document palettes stay independent from the landing theme. */
.mv-template-gallery{--gallery-bg:#fff;--gallery-panel:#fff;--gallery-ink:#212121;--gallery-muted:#636363;--gallery-line:#bdbdbd;--gallery-tint:#f2f3f5;--gallery-canvas:#e9eaed;--gallery-selected:#ededed;--gallery-link:#3351ab;--gallery-focus:#3351ab;color-scheme:light}
:root[data-theme=dark] .mv-template-gallery{--gallery-bg:#212121;--gallery-panel:#282828;--gallery-ink:#f5f5f5;--gallery-muted:#c6c6c6;--gallery-line:#777;--gallery-tint:#303030;--gallery-canvas:#181818;--gallery-selected:#3b3b3b;--gallery-link:#cad3ed;--gallery-focus:#fffb56;color-scheme:dark}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .mv-template-gallery{--gallery-bg:#212121;--gallery-panel:#282828;--gallery-ink:#f5f5f5;--gallery-muted:#c6c6c6;--gallery-line:#777;--gallery-tint:#303030;--gallery-canvas:#181818;--gallery-selected:#3b3b3b;--gallery-link:#cad3ed;--gallery-focus:#fffb56;color-scheme:dark}}
.mv-home .mv-template-gallery{background:var(--gallery-bg);color:var(--gallery-ink)}.mv-template-gallery #produit{max-width:1440px;margin:auto;scroll-margin-top:112px}.template-gallery-heading{text-align:center;max-width:940px;margin:0 auto 32px}.mv-template-gallery .template-gallery-heading>.mv-pre{border:0;padding:0;border-radius:0;display:block;width:auto;font:600 14px/1.4 Geist,sans-serif;letter-spacing:.06em;color:var(--gallery-link);margin:0 0 18px;text-transform:uppercase}.mv-template-gallery .template-gallery-heading h2{font:500 clamp(64px,5vw,72px)/1.02 'Bricolage Grotesque',sans-serif;letter-spacing:-.045em;margin:0;text-wrap:balance}.template-title-accent{color:var(--gallery-link)}.mv-template-gallery .template-gallery-heading .template-intro{color:var(--gallery-muted);max-width:700px;margin:24px auto 0;font:400 var(--type-reading-size)/var(--type-reading-line) Geist,sans-serif}
.template-filters{margin:0 auto 28px;display:grid;grid-template-columns:auto auto;justify-content:space-between;gap:8px 32px;align-items:center}.template-filter-group{border:0;padding:0;min-width:0;margin:0}.template-filter-group:first-child{width:max-content;max-width:100%;margin:0}.template-filter-group:first-child legend,.template-accessible-note{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.template-chip-options{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px}.template-filter-group:first-child .template-chip-options{background:var(--gallery-tint);border:1px solid var(--gallery-line);padding:5px;border-radius:40px;gap:2px}.template-chip{font:400 14px/1.4 Geist,sans-serif;color:var(--gallery-muted);background:none;border:0;min-height:44px;padding:10px 0;text-align:center;cursor:pointer}.template-filter-group:first-child .template-chip{padding:10px 22px;border-radius:30px;font-size:15px}.template-filter-group:first-child .template-chip[aria-pressed=true]{background:var(--gallery-ink);color:var(--gallery-panel);font-weight:500}@media(hover:hover) and (pointer:fine){.template-filter-group:first-child .template-chip:not([aria-pressed=true]):hover{background:var(--gallery-panel);color:var(--gallery-ink)}}.template-sector-control{display:flex;align-items:center;gap:14px;min-width:0}.template-sector-control>span{font:400 14px/1.4 Geist,sans-serif;color:var(--gallery-muted)}.template-sector-select{width:200px;min-width:0}.template-sector-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:10px 18px;border:1px solid var(--gallery-line);border-radius:999px;background:var(--gallery-panel);color:var(--gallery-ink);font:400 14px/1.4 Geist,sans-serif;text-align:left;cursor:pointer}.template-sector-trigger>span{min-width:0}.mv-template-gallery .template-sector-trigger svg{width:14px;height:14px;flex:none;transition:transform .18s ease-in-out}.template-sector-trigger[aria-expanded=true] svg{transform:rotate(180deg)}@media(hover:hover) and (pointer:fine){.template-sector-trigger:hover{border-color:var(--gallery-muted)}}.template-sector-list{position:fixed;z-index:80;padding:6px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--gallery-line);border-radius:9px;background:var(--gallery-panel);color:var(--gallery-ink);box-shadow:0 6px 20px #00000012}.template-sector-list[hidden]{display:none}.template-sector-list [role=option]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px;border-radius:5px;font:400 14px/1.4 Geist,sans-serif;cursor:pointer;box-sizing:border-box}.template-sector-list [role=option]:focus{background:var(--gallery-tint)}@media(hover:hover) and (pointer:fine){.template-sector-list [role=option]:hover{background:var(--gallery-tint)}}.template-sector-list [role=option][aria-selected=true]{font-weight:600;background:var(--gallery-selected)}.template-sector-check{visibility:hidden;flex:none}.template-sector-list [aria-selected=true] .template-sector-check{visibility:visible}.template-total{font-size:12px;margin-left:5px}.template-gallery-toolbar{grid-column:2;justify-self:end;display:contents}.mv-template-gallery .template-count{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}.template-gallery-toolbar .template-reset{grid-column:2;justify-self:end}.template-reset{font:400 14px/1.4 Geist,sans-serif;color:var(--gallery-muted);background:none;border:0;min-height:44px;padding:8px 0;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.template-reset[hidden]{display:none}
/* One featured catalog item, three compact catalog items; never duplicated. */
.template-gallery-grid{display:grid;grid-template-columns:minmax(0,57fr) minmax(0,43fr);gap:20px 24px;align-items:stretch}.template-card{min-width:0;border:1px solid var(--gallery-line);border-radius:20px;background:var(--gallery-panel);overflow:clip;cursor:pointer}.template-card.is-featured{position:relative;grid-column:1;grid-row:1/span 3;min-height:580px;padding:32px;background:#172854;border-color:#172854;color:#fff;isolation:isolate}.template-feature-badge{position:relative;z-index:2;display:table;font:400 12px/1.4 Geist,sans-serif;color:#fff;border:1px solid #ffffff55;background:#ffffff12;border-radius:30px;padding:6px 12px;margin-bottom:24px}.template-preview{display:flex;align-items:stretch;position:relative;width:100%;min-width:0;border:0;padding:0;overflow:hidden;background:var(--gallery-tint);cursor:pointer;text-align:left}.template-paper{position:relative;flex:1;min-width:0;min-height:0;height:auto;align-self:stretch}.template-paper>.report-document{position:absolute;top:50%;left:50%;width:800px;transform-origin:center;box-shadow:0 4px 18px #0002;--font-geist:Geist}.template-paper .report-document img{height:100%;margin:0}.is-featured .template-paper .report-document-content{display:none}.is-featured .template-preview{position:absolute;z-index:1;right:-7%;bottom:-68px;width:55%;height:430px;background:transparent;transform:rotate(-10deg);border-radius:8px;overflow:visible}.is-featured .template-paper>.report-document{box-shadow:0 18px 38px #0005;border-radius:8px}.template-card-body{min-width:0}.template-card-body h3{font:500 26px/1.1 'Bricolage Grotesque',sans-serif;letter-spacing:-.025em;margin:0;color:var(--gallery-ink)}.mv-template-gallery .template-card-body>p{color:var(--gallery-muted);margin:10px 0 16px;font:400 var(--type-compact-size)/var(--type-compact-line) Geist,sans-serif}.mv-template-gallery .template-card-category{font:600 11px/1.3 Geist,sans-serif;letter-spacing:.09em;color:var(--gallery-link);text-transform:uppercase;margin:0 0 9px}.is-featured .template-card-body h3{position:relative;z-index:2;color:#fff;font-size:42px;max-width:54%}.mv-template-gallery .is-featured .template-card-body>p{position:relative;z-index:2;color:#d6def2;;max-width:49%;margin:16px 0;font:400 var(--type-compact-size)/var(--type-compact-line) Geist,sans-serif}.is-featured .template-card-category{display:none}.template-feature-tags{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:7px;max-width:52%;margin-top:22px}.template-feature-tags>span{font:400 11px/1.4 Geist,sans-serif;color:#e7edff;border:1px solid #ffffff30;border-radius:5px;background:#ffffff0b;padding:5px 8px}.template-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.template-start,.template-open{font:500 13px/1.4 Geist,sans-serif;min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:10px 14px;cursor:pointer;border-radius:30px;text-decoration:none;box-sizing:border-box}.template-start{background:#3351ab;color:#fff;border:1px solid #3351ab}.template-open{font-weight:400;color:var(--gallery-ink);border:1px solid var(--gallery-line);background:var(--gallery-panel)}@media(hover:hover) and (pointer:fine){.template-start:hover{background:#212121;color:#fff;border-color:#212121}}@media(hover:hover) and (pointer:fine){.template-open:hover{background:var(--gallery-tint)}}.is-featured .template-card-actions{position:absolute;z-index:3;left:32px;bottom:32px;right:24px}.is-featured .template-start,.is-featured .template-open{font-size:14px;min-height:46px;padding:12px 18px}.is-featured .template-start{background:#fff;color:#172854;border-color:#fff}@media(hover:hover) and (pointer:fine){.is-featured .template-start:hover{background:#e9eefb}}.is-featured .template-open{background:#ffffff0a;color:#fff;border-color:#ffffff66}@media(hover:hover) and (pointer:fine){.is-featured .template-open:hover{background:#ffffff20}}.template-card:not(.is-featured) .template-feature-badge,.template-card:not(.is-featured) .template-feature-tags{display:none}.template-card:not(.is-featured){grid-column:2;display:grid;grid-template-columns:110px minmax(0,1fr);gap:22px;align-items:center;padding:20px;min-height:180px}.template-card:not(.is-featured) .template-preview{height:148px;border-radius:8px;background:var(--gallery-tint);padding:8px}.template-gallery-grid[data-filtered=true]{display:block;max-width:none;width:100%;margin-inline:0}.template-gallery-grid[data-filtered=true] .is-featured{min-height:540px}.template-gallery-grid[data-filtered=true] .template-card:not(.is-featured){grid-template-columns:150px minmax(0,1fr);padding:24px;gap:28px}.template-gallery-grid[data-filtered=true] .template-card:not(.is-featured) .template-preview{height:200px}.template-gallery-footer{display:flex;align-items:center;justify-content:space-between;gap:28px;border:1px solid var(--gallery-line);border-radius:20px;background:var(--gallery-panel);margin-top:28px;padding:26px 32px}.mv-template-gallery .template-gallery-footer p{color:var(--gallery-muted);margin:7px 0 0;font:400 var(--type-compact-size)/var(--type-compact-line) Geist,sans-serif}.template-gallery-footer strong{display:block;font:500 24px/1.15 'Bricolage Grotesque',sans-serif;color:var(--gallery-ink);letter-spacing:-.02em}.template-gallery-footer>a{font:500 14px/1.4 Geist,sans-serif;flex:none;background:#3351ab;color:#fff;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;border-radius:30px;text-decoration:none;white-space:nowrap}@media(hover:hover) and (pointer:fine){.template-gallery-footer>a:hover{background:#212121}}.template-empty{padding:36px 0}.template-empty h3{font-size:28px}.template-empty p{margin:16px 0;font:400 var(--type-compact-size)/var(--type-compact-line) Geist,sans-serif}.mv-home .mv-template-gallery :focus-visible{outline:3px solid var(--gallery-focus);outline-offset:4px}.mv-home .mv-template-gallery .is-featured :focus-visible{outline-color:#fffb56}.template-filters button:focus:not(:focus-visible),.template-card button:focus:not(:focus-visible){outline:none}.mv-template-gallery .template-card[hidden],.mv-template-gallery .template-empty[hidden],.mv-template-gallery .template-gallery-grid[hidden],.mv-template-gallery .template-gallery-footer[hidden]{display:none}
.template-dialog{--gallery-soft-blue:#e9eefb;border:0;border-radius:28px;width:min(1472px,calc(100% - 32px));height:min(860px,94dvh);max-height:94dvh;padding:0;background:var(--gallery-panel);color:var(--gallery-ink);overflow:hidden;overscroll-behavior:contain}.template-dialog::backdrop{background:#21212199;backdrop-filter:blur(6px)}.template-custom-layout{display:grid;grid-template-columns:minmax(0,74.252717fr) minmax(360px,25.747283fr);height:100%;min-height:0}.template-preview-canvas{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--gallery-canvas)}.template-canvas-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:28px 28px 20px}.mv-template-gallery .template-breadcrumb{font:400 13px/1.5 Geist,sans-serif;color:var(--gallery-muted);margin:0 0 10px}.template-canvas-header h2{font:600 22px/1.2 'Bricolage Grotesque',sans-serif;letter-spacing:-.025em;margin:0;color:var(--gallery-ink)}.template-canvas-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.template-device-tools,.template-zoom-tools{display:flex;align-items:center;border:1px solid var(--gallery-line);border-radius:30px;background:var(--gallery-panel);padding:3px;gap:2px}.template-canvas-tools button{border:0;background:none;border-radius:24px;color:var(--gallery-muted);font:400 14px/1.4 Geist,sans-serif;min-height:38px;padding:8px 12px;cursor:pointer}.template-device-tools{width:150px;height:42px;box-sizing:border-box}.template-device-tools button{flex:1;padding:8px 6px;min-height:34px;font-size:13px}.template-zoom-tools{width:100px;height:34px;box-sizing:border-box;padding:2px;gap:0}.template-zoom-tools button{font-size:12px;min-height:28px;min-width:24px;padding:4px}.template-zoom-tools [data-preview-zoom="fit"]{min-width:46px}.template-device-tools button[aria-pressed=true]{background:var(--gallery-ink);color:var(--gallery-panel)}.template-canvas-tools button:disabled{opacity:.35;cursor:default}.template-preview-stage{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px;scrollbar-gutter:stable;background:var(--gallery-canvas)}.template-document{position:relative;margin:0 auto;flex:none}.template-document>.report-document{position:absolute;top:0;left:0;transform-origin:top left;border-radius:8px;box-shadow:0 8px 20px #0000001a;--font-geist:Geist}.template-document .report-document.layout-cover .report-document-image{height:41.5cqw}.template-document .report-document img{margin:0;height:100%}.template-canvas-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 18px;padding:12px 28px 16px;flex:none}.template-photo-credit{font:400 12px/1.5 Geist,sans-serif;color:var(--gallery-muted);margin:0;text-align:right}.template-photo-credit a{color:inherit;text-decoration:underline}.mv-template-gallery .template-dialog-notice{font:400 12px/1.4 Geist,sans-serif;color:var(--gallery-muted);background:transparent;border:1px solid var(--gallery-line);border-radius:20px;padding:5px 10px;margin:0;text-align:left;max-width:100%;box-sizing:border-box}.template-custom-controls{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--gallery-panel);border-left:0;box-shadow:inset 1px 0 var(--gallery-line)}.template-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 24px 18px}.template-dialog-bar h3{font:600 18px/1.2 'Bricolage Grotesque',sans-serif;margin:0;letter-spacing:-.02em;color:var(--gallery-ink)}.template-dialog-close{display:flex;align-items:center;justify-content:center;font:400 24px/1 Geist,sans-serif;width:36px;height:36px;min-height:36px;border-radius:50%;padding:0;border:1px solid var(--gallery-line);background:transparent;color:var(--gallery-ink);cursor:pointer}.template-controls-content{flex:1;min-height:0;overflow:auto;padding:0 24px 24px;overscroll-behavior:contain;scrollbar-gutter:stable}.template-settings-tabs{display:flex;gap:4px;border:0;border-radius:12px;padding:4px;background:var(--gallery-tint);height:42px;box-sizing:border-box;margin-bottom:24px}.template-settings-tabs button{flex:1;font:400 13px/1.4 Geist,sans-serif;border:0;border-radius:10px;background:none;color:var(--gallery-muted);padding:7px 8px;min-height:34px;cursor:pointer}.template-settings-tabs button[aria-selected=true]{font-weight:500;color:var(--gallery-ink);background:var(--gallery-panel);box-shadow:0 1px 4px #00000014}.mv-template-gallery .template-mood-title{font:500 11px/1.4 Geist,sans-serif;letter-spacing:1px;color:var(--gallery-muted);margin:0 0 8px}.template-mood-chips{display:flex;flex-wrap:wrap;gap:0 6px;margin-bottom:16px}.template-mood-chips button{position:relative;isolation:isolate;font:400 11px/1.3 Geist,sans-serif;color:var(--gallery-muted);border:0;background:none;padding:10px 12px;min-height:44px;cursor:pointer}.template-mood-chips button::before{content:"";position:absolute;inset:6.5px 0;border:1px solid var(--gallery-line);border-radius:16px;background:var(--gallery-panel);z-index:-1}.template-mood-chips button[aria-pressed=true]{color:var(--gallery-link)}.template-mood-chips button[aria-pressed=true]::before{background:var(--gallery-soft-blue);border-color:var(--gallery-soft-blue)}.template-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.template-palette-family[hidden],.template-color-panel[hidden],.template-font-panel[hidden]{display:none}.template-palette,.template-font{position:relative;min-width:0;border:1px solid var(--gallery-line);border-radius:14px;background:var(--gallery-panel);color:var(--gallery-ink);font:400 13px/1.4 Geist,sans-serif;text-align:left;padding:10px;cursor:pointer}.template-palette{height:74px;min-height:74px}.template-palette[aria-pressed=true],.template-font[aria-pressed=true]{border-color:var(--gallery-link);box-shadow:0 0 0 3px var(--gallery-soft-blue);background:var(--gallery-panel)}.template-swatches{display:flex;margin:0 0 8px;padding-left:2px}.template-swatches i{width:18px;height:18px;border-radius:50%;margin-left:-2px;border:1px solid #ffffff99;flex:none}.template-swatches i:last-child{border:2px solid #d5d7dc;box-sizing:border-box}.template-palette-check{position:absolute;right:8px;top:7px;visibility:hidden;font-size:12px;color:var(--gallery-link)}.template-palette[aria-pressed=true] .template-palette-check{visibility:visible}.template-font{display:flex;flex-direction:column;gap:3px;min-height:76px;height:76px}.template-font strong{font-size:23px;line-height:1.05;font-weight:500}.template-font>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.template-font small{font:400 12px/1.4 Geist,sans-serif;color:var(--gallery-muted)}.template-dialog-action{flex:none;border-top:1px solid var(--gallery-line);padding:18px 24px 14px;background:var(--gallery-panel)}.template-sidebar-actions{display:flex;flex-direction:row;gap:8px;align-items:center}.template-style-reset{flex:0 0 109px;box-sizing:border-box;font:400 14px/1.4 Geist,sans-serif;color:var(--gallery-ink);border:1px solid var(--gallery-line);border-radius:24px;background:var(--gallery-panel);padding:10px 8px;min-height:47px;height:47px;cursor:pointer;text-decoration:none}.mv-template-gallery .template-dialog-action .mv-btn{flex:1;box-sizing:border-box;border:0;border-radius:24px;background:#3351ab;color:#fff;font:600 14px/1.4 Geist,sans-serif;min-height:47px;padding:10px 8px;justify-content:center;text-align:center;gap:0}.mv-template-gallery .template-local-note{font:400 12px/1.4 Geist,sans-serif;color:var(--gallery-muted);margin:12px 0 0;text-align:center}
@media(max-width:809px){.template-dialog{width:calc(100% - 16px);height:94dvh;border-radius:20px;overflow:auto}.template-custom-layout{display:flex;flex-direction:column;height:auto;min-height:100%}.template-preview-canvas{min-height:460px;height:58dvh;flex:none}.template-canvas-header{padding:20px 18px 12px;gap:14px}.template-canvas-header h2{font-size:22px}.template-canvas-tools{gap:8px}.template-canvas-tools button{font-size:12px}.template-device-tools button{min-height:34px;padding:8px 6px}.template-zoom-tools{width:144px;height:44px;padding:0}.template-zoom-tools button{min-height:44px;min-width:44px;padding:4px}.template-zoom-tools [data-preview-zoom="fit"]{min-width:56px}.template-device-tools{height:44px;padding:0}.template-device-tools button{min-height:44px}.template-settings-tabs{height:52px}.template-settings-tabs button{min-height:44px}.template-dialog-close{width:44px;height:44px;min-height:44px}.template-preview-stage{padding:16px;scrollbar-gutter:auto}.template-canvas-footer{align-items:flex-start;flex-direction:column;gap:7px;padding:10px 16px 14px}.mv-template-gallery .template-dialog-notice{font-size:12px;padding:5px 10px}.template-photo-credit{text-align:left;font-size:12px}.template-custom-controls{min-height:480px;flex:none;border-left:0;border-top:1px solid var(--gallery-line)}.template-dialog-bar{padding:20px 20px 12px}.template-dialog-close{position:absolute;right:18px;top:18px;z-index:4;background:var(--gallery-panel)}.template-canvas-header>div:first-child{padding-right:36px}.template-controls-content{padding:0 20px 22px;overflow:visible}.template-dialog-action{position:sticky;bottom:0;z-index:3;padding:12px 20px}.template-sidebar-actions{flex-direction:row;align-items:center;gap:8px}.template-sidebar-actions .mv-btn{flex:1}.template-style-reset{flex:0 0 100px;font-size:12px}.mv-template-gallery .template-local-note{margin:8px 0 0}.template-palette{min-height:74px}.template-style-grid{gap:10px}}

@media(min-width:810px) and (max-width:1100px){.template-gallery-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.template-card.is-featured{padding:24px;min-height:640px}.is-featured .template-card-body h3{font-size:34px;max-width:95%}.mv-template-gallery .is-featured .template-card-body>p{max-width:82%;font:400 var(--type-compact-size)/var(--type-compact-line) Geist,sans-serif}.template-feature-tags{max-width:90%}.is-featured .template-preview{width:76%;height:350px;right:-12%;bottom:50px}.is-featured .template-card-actions{left:24px;bottom:24px;right:16px}.is-featured .template-start,.is-featured .template-open{padding:10px 12px;font-size:12px}.template-card:not(.is-featured){grid-template-columns:75px minmax(0,1fr);padding:16px;gap:14px}.template-card:not(.is-featured) .template-preview{height:124px;padding:5px}.template-card-body h3{font-size:23px}.template-start,.template-open{font-size:12px;padding:10px 12px}}
@media(max-width:809px){.mv-template-gallery .template-gallery-heading h2{font-size:clamp(38px,10.3vw,48px);line-height:1.04}.mv-template-gallery .template-gallery-heading>.mv-pre{font-size:12px;margin-bottom:16px}.mv-template-gallery .template-gallery-heading .template-intro{margin-top:20px;font:400 var(--type-reading-size)/var(--type-reading-line) Geist,sans-serif}.template-gallery-heading{margin-bottom:26px}.template-filters{display:block}.template-filter-group:first-child{width:100%;margin:0 auto 14px}.template-filter-group:first-child .template-chip-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;background:transparent;border:0;padding:0;border-radius:0}.template-filter-group:first-child .template-chip{grid-column:span 2;font-size:14px;padding:10px 8px;white-space:nowrap;background:var(--gallery-tint);border:1px solid var(--gallery-line);border-radius:24px}.template-filter-group:first-child .template-chip:nth-last-child(-n+2){grid-column:span 3}.template-sector-control{justify-content:space-between;gap:12px}.template-sector-select{width:200px;max-width:calc(100% - 64px)}.template-chip-options{gap:0 15px}.template-gallery-toolbar{display:flex;justify-content:flex-end}.template-gallery-grid{grid-template-columns:1fr;gap:16px}.template-card.is-featured{grid-column:1;grid-row:auto;padding:24px;min-height:580px}.template-gallery-grid[data-filtered=true] .is-featured{min-height:660px}.template-feature-badge{margin-bottom:20px}.is-featured .template-card-body h3{font-size:34px;max-width:95%}.mv-template-gallery .is-featured .template-card-body>p{max-width:95%;;margin:14px 0;font:400 var(--type-compact-size)/var(--type-compact-line) Geist,sans-serif}.template-feature-tags{max-width:100%;margin-top:16px}.is-featured .template-preview{width:72%;height:285px;right:-5%;bottom:68px;transform:rotate(-9deg)}.template-gallery-grid[data-filtered=true] .is-featured .template-preview{bottom:104px}.is-featured .template-card-actions{left:24px;right:16px;bottom:24px;gap:8px}.is-featured .template-start,.is-featured .template-open{font-size:13px;min-height:44px;padding:10px 12px}.template-card:not(.is-featured),.template-gallery-grid[data-filtered=true] .template-card:not(.is-featured){grid-column:1;grid-template-columns:84px minmax(0,1fr);padding:18px;gap:16px;min-height:0}.template-card:not(.is-featured) .template-preview,.template-gallery-grid[data-filtered=true] .template-card:not(.is-featured) .template-preview{height:146px;padding:5px}.template-card-body h3{font-size:24px}.mv-template-gallery .template-card-body>p{margin:9px 0 12px;font:400 var(--type-compact-size)/var(--type-compact-line) Geist,sans-serif}.template-card-actions{gap:7px}.template-start,.template-open{font-size:13px;padding:10px 12px}.template-gallery-footer{align-items:start;flex-direction:column;gap:20px;margin-top:24px;padding:24px}.template-gallery-footer strong{font-size:24px}.mv-template-gallery .template-gallery-footer p{;font:400 var(--type-compact-size)/var(--type-compact-line) Geist,sans-serif}.template-gallery-footer>a{min-height:44px}}
:root[data-theme="dark"] .template-dialog{--gallery-soft-blue:#303d60}@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .template-dialog{--gallery-soft-blue:#303d60}}

/* Local interaction motion. Document and preview-stage transforms stay independent. */
.mv-home .mv-template-gallery :is(.template-start,.template-open,.template-gallery-footer>a,.template-reset,.template-chip,.template-sector-trigger,.template-sector-list [role=option],.template-dialog-close,.template-settings-tabs button,.template-mood-chips button,.template-palette,.template-font,.template-style-reset,.template-dialog-action .mv-btn,.template-canvas-tools button){transition:background-color 220ms ease-in-out,color 220ms ease-in-out,border-color 220ms ease-in-out,box-shadow 220ms ease-in-out,transform 220ms ease-in-out}
.template-mood-chips button::before{transition:background-color 220ms ease-in-out,border-color 220ms ease-in-out}
.mv-home .mv-template-gallery .template-preview{transition:box-shadow 220ms ease-in-out}
@media(hover:hover) and (pointer:fine){
.mv-home .mv-template-gallery :is(.template-start,.template-open,.template-gallery-footer>a,.template-reset,.template-chip,.template-sector-trigger,.template-sector-list [role=option],.template-dialog-close,.template-settings-tabs button,.template-mood-chips button,.template-palette,.template-font,.template-style-reset,.template-dialog-action .mv-btn):not(:disabled):hover{transform:translateY(-1px)}
.mv-home .mv-template-gallery :is(.template-start,.template-open,.template-gallery-footer>a,.template-dialog-close,.template-style-reset,.template-dialog-action .mv-btn):hover{box-shadow:0 3px 8px #00000012}
.mv-home .mv-template-gallery :is(.template-palette,.template-font):hover{border-color:var(--gallery-link)}
.mv-home .mv-template-gallery .template-canvas-tools button:not(:disabled):hover{background:var(--gallery-selected);color:var(--gallery-ink)}
.mv-home .mv-template-gallery .template-device-tools button[aria-pressed=true]:hover{background:var(--gallery-ink);color:var(--gallery-panel)}
}
.mv-home .mv-template-gallery :is(.template-start,.template-open,.template-gallery-footer>a,.template-reset,.template-chip,.template-sector-trigger,.template-sector-list [role=option],.template-dialog-close,.template-settings-tabs button,.template-mood-chips button,.template-palette,.template-font,.template-style-reset,.template-dialog-action .mv-btn):not(:disabled):active{transform:translateY(0) scale(.98)}
.mv-home .mv-template-gallery :is(.template-start,.template-open,.template-gallery-footer>a,.template-dialog-close,.template-style-reset,.template-dialog-action .mv-btn):focus-visible{box-shadow:0 3px 8px #00000012}
@media(prefers-reduced-motion:reduce){
.mv-home .mv-template-gallery :is(.template-start,.template-open,.template-gallery-footer>a,.template-reset,.template-chip,.template-sector-trigger,.template-sector-list [role=option],.template-dialog-close,.template-settings-tabs button,.template-mood-chips button,.template-palette,.template-font,.template-style-reset,.template-dialog-action .mv-btn,.template-canvas-tools button){transition:none!important;transform:none!important}
.mv-home .mv-template-gallery .template-preview,.template-mood-chips button::before,.mv-template-gallery .template-sector-trigger svg{transition:none!important}
}

@media(max-width:360px){.template-gallery-grid[data-filtered=true] .is-featured{min-height:700px}}

/* The mobile report is a 390px layout, never enlarged back to the desktop fit width. */
.template-document[data-preview-device="mobile"] .report-document-brand{font-size:13px}.template-document[data-preview-device="mobile"] .report-document-brand span:first-child{font-size:14px;letter-spacing:-.3px}.template-document[data-preview-device="mobile"] .report-document-brand span:last-child{font-size:10px;letter-spacing:1px}.template-document[data-preview-device="mobile"] .report-document-content p{font-size:16px;line-height:1.65}.template-document[data-preview-device="mobile"] .report-document-content h3{line-height:1.25}

/* Gallery alignment pass: one command row, one common content width. */
.mv-template-gallery #produit{max-width:1440px;scroll-margin-top:136px}
.mv-template-gallery .template-gallery-heading{scroll-margin-top:136px}
.mv-template-gallery .template-filters{grid-template-columns:minmax(0,1fr) auto auto;gap:12px 20px;align-items:center;margin-bottom:24px}
.mv-template-gallery .template-filter-group:first-child .template-chip-options{padding:4px;gap:2px;border-color:transparent}
.mv-template-gallery .template-filter-group:first-child .template-chip{padding:10px 18px;box-shadow:none;outline:none}
.mv-template-gallery .template-filter-group:first-child .template-chip:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px;box-shadow:none}
.mv-template-gallery .template-gallery-toolbar{display:flex;grid-column:auto;align-items:center;justify-self:end;min-height:44px}
.mv-template-gallery .template-gallery-toolbar .template-reset{grid-column:auto;justify-self:auto;padding:8px 0}
.mv-template-gallery .template-sector-control{gap:10px}
.mv-template-gallery .template-sector-select{width:200px}
@media(min-width:810px) and (max-width:1199px){.mv-template-gallery .template-filters{grid-template-columns:minmax(0,1fr) auto;gap:12px 16px}.mv-template-gallery .template-filter-group:first-child{grid-column:1/-1}.mv-template-gallery .template-sector-control{grid-column:1}.mv-template-gallery .template-gallery-toolbar{grid-column:2}}
@media(max-width:809px){.mv-template-gallery .template-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.mv-template-gallery .template-filter-group:first-child{grid-column:1/-1;width:100%;margin:0}.mv-template-gallery .template-sector-control{grid-column:1;justify-content:flex-start;min-width:0;flex-wrap:wrap;gap:8px}.mv-template-gallery .template-sector-select{max-width:100%;width:min(200px,100%)}.mv-template-gallery .template-gallery-toolbar{grid-column:2;align-self:end}.mv-template-gallery #produit,.mv-template-gallery .template-gallery-heading{scroll-margin-top:112px}}

/* Compact catalog cards only: cover | editorial content | functional arrow. */
.mv-template-gallery .template-gallery-grid[data-filtered="false"] .template-card:not(.is-featured) .template-card-body{display:grid;grid-template-columns:minmax(0,1fr) 44px;column-gap:16px;align-items:start}
.mv-template-gallery .template-gallery-grid[data-filtered="false"] .template-card:not(.is-featured) .template-card-body>:is(.template-card-category,h3,p){grid-column:1}
.mv-template-gallery .template-gallery-grid[data-filtered="false"] .template-card:not(.is-featured) .template-card-body>p{margin-bottom:0}
.mv-template-gallery .template-gallery-grid[data-filtered="false"] .template-card:not(.is-featured) .template-card-actions{grid-column:2;grid-row:1/span 4;align-self:center;justify-self:end;display:block}

/* Narrow compact cards: let the model title use the full content width; the action stays beside its description. */
@media(max-width:360px){
 .mv-template-gallery .template-gallery-grid[data-filtered="false"] .template-card:not(.is-featured) .template-card-body>h3[id]{grid-column:1/-1}
 .mv-template-gallery .template-gallery-grid[data-filtered="false"] .template-card:not(.is-featured) .template-card-actions{grid-row:3}
}
