/* Phase 1 — Extensions propres aux templates, surcharge légère du thème IA original. */
:root { --pink:#e74b87; }
.demo-strip{background:#252831;color:#fff;text-align:center;font-size:10px;font-weight:750;letter-spacing:.095em;padding:9px 15px;text-transform:uppercase}
.visually-hidden{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.header-note{font-size:11px;letter-spacing:.1em}
.hero{padding-bottom:65px}
.section-top{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 0 25px}
.section-top h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.04em;margin:10px 0 0}
.text-link{font-size:12px;font-weight:750;text-decoration:none;color:#bd356c;white-space:nowrap}
.text-link:hover{text-decoration:underline}
.featured{margin:0 0 62px}
.gallery-featured{padding-bottom:0}
.catalogue-section{padding-top:28px;border-top:1px solid var(--border)}
.catalogue-section .tools{margin-top:30px;margin-bottom:19px}
.filter-select{border:1px solid #dde0e4;background:#fff;color:#383b43;border-radius:9px;min-height:52px;padding:0 34px 0 16px;font-size:13px;max-width:100%;cursor:pointer}
.filter-select-wrap{max-width:220px}
.filters-row{display:flex;align-items:center;gap:12px;padding:0 0 22px;border-bottom:1px solid var(--border);margin-bottom:27px}
.filters-row label{font-size:13px;font-weight:700;color:#494f58}
.filters-row p{color:var(--muted);font-size:12px;margin:0 0 0 auto}
.categories{padding-bottom:20px}
.tile{height:100%}
.tile-preview{display:flex;flex-direction:column;text-decoration:none}
.tile-image{object-fit:contain;background:#f4f4f4}
.tile-info{flex:1}
.tile-format{margin:0 18px 16px;font-size:11px;color:#7d828b}
.tile:hover .tile-info strong{color:#b7356c}
.category{white-space:nowrap}
.back-link{display:inline-block;padding:30px 0 20px;font-size:13px;text-decoration:none;color:#686e76;font-weight:700}
.back-link:hover{color:var(--pink)}
.detail-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.9fr);gap:clamp(32px,5vw,86px);align-items:start;margin:8px 0 75px}
.detail-gallery{min-width:0}
.detail-main{width:100%;padding:0;display:block;border:1px solid #e9e9ed;border-radius:13px;background:#f8f8f9;overflow:hidden;min-height:280px}
.detail-main img{width:100%;height:min(63vw,610px);min-height:270px;max-height:610px;display:block;object-fit:contain}
.thumbnails{display:flex;flex-wrap:wrap;gap:12px;margin-top:13px}
.thumbnail{background:#f8f8f9;border:2px solid transparent;border-radius:8px;padding:3px;width:84px;height:100px;cursor:pointer}
.thumbnail.selected{border-color:var(--pink)}
.thumbnail img{width:100%;height:100%;object-fit:contain;border-radius:5px}
.helper,.privacy-help{color:var(--muted);font-size:12px;line-height:1.7}
.detail-content{padding-top:24px}
.detail-content h1{font-size:clamp(35px,4vw,53px);margin:16px 0 7px;line-height:1.1}
.reference{font-size:12px;color:#888c95;font-weight:700;letter-spacing:.09em}
.detail-description{color:var(--muted);font-size:15px;line-height:1.8;padding:20px 0 9px;border-bottom:1px solid #ededf0}
.detail-content h3{margin:25px 0 12px;font-size:14px}
.format-pills,.tag-pills{display:flex;gap:9px;flex-wrap:wrap}
.format-pills span,.tag-pills span{border:1px solid #e3e4e8;padding:11px 14px;border-radius:9px;background:#fff;font-size:12px;font-weight:700}
.tag-pills span{border-radius:100px;font-weight:600;padding:8px 13px;background:#fafafa;color:#626872}
.pink-button{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:32px;width:min(100%,410px);background:var(--pink);color:#fff;border:0;border-radius:9px;padding:17px 21px;font-size:14px;font-weight:780}
.pink-button:hover{background:#d03970}
.similar-section{margin:10px 0 85px;padding-top:35px;border-top:1px solid var(--border)}
.lightbox-inner{position:relative;max-width:min(900px,100%);max-height:calc(100vh - 45px);padding:10px;background:#fff;border-radius:14px}
.lightbox-inner img{display:block;max-height:calc(100vh - 65px);max-width:100%;object-fit:contain}
.selection-summary{display:flex;gap:13px;align-items:center;border:1px solid var(--border);border-radius:11px;padding:12px}
.selection-summary img{width:78px;height:94px;object-fit:contain;background:#f9f9f9;border-radius:7px}
.selection-summary strong{display:block;font-size:14px}
.selection-summary small{display:block;color:var(--muted);margin-top:5px;font-size:12px}
.selection-form-wrap{margin-top:20px}
.selection-panel input,.selection-panel textarea{font-size:16px}
@media(max-width:880px){.detail-layout{grid-template-columns:1fr;gap:25px}.detail-main img{height:min(75vw,580px)}.detail-content{padding:0}.detail-content h1{font-size:38px}}
@media(max-width:760px){.hero{padding-bottom:42px}.featured{margin-bottom:45px}.section-top{align-items:flex-start}.gallery-featured{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout{margin-bottom:45px}.filter-select-wrap{max-width:175px}.tile-format{margin-left:12px;margin-right:12px}}
@media(max-width:520px){.demo-strip{font-size:9px;line-height:1.4}.header-inner{min-height:70px}.section-top h2{font-size:25px}.catalogue-section .tools{flex-direction:column;align-items:stretch}.filter-select-wrap{max-width:unset}.filter-select-wrap .filter-select{width:100%}.filters-row{flex-wrap:wrap}.filters-row p{width:100%;margin-left:0}.detail-main img{height:360px}.thumbnail{width:70px;height:82px}}

/* Phase 1 v2 — Choix de 1 ou plusieurs formats selon le devis ; consignes obligatoires */
.photo-format-fieldset{border:0;padding:0;margin:0 0 25px;min-width:0}
.photo-format-fieldset legend{font-size:18px;font-weight:790;letter-spacing:-.025em;margin-bottom:13px;padding:0}
.required-mark{color:#be2c64;font-weight:800}
.devis-reminder{display:flex;gap:11px;align-items:flex-start;border:1px solid #f1c8d8;background:#fff4f8;color:#754257;border-radius:10px;padding:13px;font-size:13px;line-height:1.6;margin:0 0 14px}
.devis-reminder strong{color:#782045}
.reminder-symbol{color:#c43c73;font-size:21px;line-height:1;font-weight:750;flex:none}
.format-options{display:grid;gap:9px}
.format-choice{display:flex;gap:11px;align-items:center;padding:14px 13px;border:1px solid #dfe1e6;border-radius:9px;cursor:pointer;background:#fff;transition:border-color .15s,background .15s}
.format-choice:hover{border-color:#e97bab;background:#fff9fc}
.format-choice:has(input:checked){border-color:#d64a84;background:#fff5f9}
.format-choice:focus-within{outline:2px solid #e74b8766;outline-offset:2px}
.format-choice input[type="checkbox"]{flex:none;width:19px;height:19px;min-height:0;padding:0;margin:0;accent-color:#e74b87;cursor:pointer}
.format-choice-label{font-size:13px;font-weight:700;color:#30353d;line-height:1.4}
.format-selection-count{margin:10px 0 2px;font-size:12px;color:#777e87;line-height:1.5}
.format-error{margin:10px 0 3px;color:#9e274c;font-size:12px;font-weight:750}
.format-error[hidden],.screen-format-note[hidden],.selection-receipt[hidden]{display:none!important}
.screen-format-note,.no-print-formats{font-size:12px;line-height:1.65;color:#6f7480;margin:9px 0 0}
.form-step-title{font-size:19px!important;margin:0 0 17px!important;padding-top:24px;border-top:1px solid var(--border)}
.customization-help{font-size:12px;color:#555c65;line-height:1.65;margin:0 0 10px}
.customization-example{display:block;color:#8e4765;font-style:italic;margin-top:6px}
.selection-panel textarea[required]{border-color:#d3a2b4}
.selection-receipt{border:1px solid #d8e6dc;background:#f3faf5;color:#243d2c;padding:14px;border-radius:10px;margin:12px 0 18px;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.selection-receipt strong{display:block;font-size:13px;margin-bottom:8px}
.selection-receipt p{margin:6px 0}
.selection-receipt .receipt-foot{color:#56705e;margin-top:10px}
/* Phase 2 — installation et messages en production */
.setup-wrap{max-width:720px;margin:55px auto 95px}.setup-wrap h1{font-size:clamp(31px,4vw,46px)}
.setup-form{display:grid;gap:17px;max-width:520px;margin:28px 0}
.setup-form label{display:grid;gap:7px;font-weight:700;font-size:13px}
.setup-form input{border:1px solid #d8dce0;border-radius:8px;padding:12px;min-height:48px;width:100%}
.setup-form .pink-button{margin-top:7px;display:block;text-align:center}
.setup-success{background:#f3fbf5;border:1px solid #c9e5d2;border-radius:12px;padding:22px}
.setup-success h2{margin-top:0}.setup-success .pink-button{width:fit-content;text-decoration:none}
.alert.error,.send-feedback.error{border:1px solid #eac3d0;border-radius:9px;background:#fff1f5;color:#953557;padding:12px}
.send-btn:disabled{cursor:wait;opacity:.6}

#spotlightSection[hidden]{display:none!important}
