/* Laderc Studio · Modèle de page « Étude de cas » */
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; margin-top: 8px; width: 100%; }
.case-meta div { background: var(--surface); padding: 14px 16px; display: grid; gap: 2px; }
.case-meta dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.case-meta dd { margin: 0; font-weight: 600; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.kpis li { padding: 20px; border-radius: var(--r-2); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.kpis b { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.kpis span { font-size: .9375rem; color: var(--ink-2); }

/* Emplacements de captures, un format par écran */
.shot { width: 100%; border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 20px 50px rgb(11 31 58 / .16); }
.shot__chrome { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: #EDF1F6; border-bottom: 1px solid #DCE3EC; }
.shot__chrome i { width: 9px; height: 9px; border-radius: 50%; background: #C9D3DF; }
.shot__img { aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 20px; background: repeating-linear-gradient(#F1F4F8 0 22px, #E7ECF2 22px 44px); color: #5B6B80; font-size: .875rem; font-weight: 600; }
.shot__img span { background: rgb(255 255 255 / .85); border: 1px dashed #9AA8BA; padding: 8px 12px; border-radius: 6px; }
@container (max-width: 760px) { .shot__img { aspect-ratio: 4 / 5; } }
@container (max-width: 420px) { .shot__img { aspect-ratio: 9 / 16; } }

/* Récit en deux colonnes */
.story { display: grid; gap: 40px; }
.story__block { display: grid; grid-template-columns: minmax(0, .35fr) minmax(0, .65fr); gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.story__block:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 820px) { .story__block { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.story__block h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.story__txt { display: grid; gap: 14px; color: var(--ink-2); }
.story__txt ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.story__txt li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.story__txt li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--accent); }
.guide { font-size: .875rem; font-style: italic; color: var(--ink-2); padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--bg-alt); border-radius: 0 var(--r-1) var(--r-1) 0; }

/* Avant / après */
.ba { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-3); overflow: hidden; border: 1px solid var(--line); --pos: 50%; user-select: none; }
.ba__img { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 1rem; }
.ba__img span { background: rgb(255 255 255 / .9); color: #1F2633; padding: 8px 12px; border-radius: 6px; border: 1px dashed #9AA8BA; font-size: .875rem; }
.ba__before { background: repeating-linear-gradient(135deg, #D9D2C5 0 18px, #CFC7B8 18px 36px); }
.ba__after { background: linear-gradient(135deg, #DCE7F5, #F6F9FC); clip-path: inset(0 0 0 var(--pos)); }
.ba__tag { position: absolute; top: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #0B1F3A; color: #FFFFFF; padding: 5px 10px; border-radius: 99px; }
.ba__tag--b { left: 14px; } .ba__tag--a { right: 14px; background: #C08A4D; color: #0B1F3A; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #FFFFFF; box-shadow: 0 0 0 1px rgb(11 31 58 / .25); pointer-events: none; }
.ba__line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; color: #0B1F3A; display: grid; place-items: center; font-weight: 800; box-shadow: 0 4px 12px rgb(11 31 58 / .25); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input:focus-visible ~ .ba__line::after { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Témoignage */
.quote { margin: 0; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; position: relative; }
.quote::before { content: "“"; position: absolute; top: -10px; left: 24px; font-size: 6rem; line-height: 1; color: var(--accent); font-family: Georgia, serif; }
.quote p { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.5; color: var(--ink); font-weight: 500; }
.quote footer { font-size: .9375rem; color: var(--ink-2); }
.quote footer b { color: var(--ink); }

/* Navigation entre projets */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr; } }
.pager a { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); text-decoration: none; color: inherit; }
.pager a:hover { border-color: var(--ink); }
.pager small { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.pager b { font-size: 1.0625rem; }
.pager a:last-child { text-align: right; }

/* ---------- Production : images réelles et texte saisi dans le back-office ---------- */
.sec--tight { padding-block: clamp(32px, 5vw, 56px); }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; }
.gallery { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.prose-case { display: grid; gap: 16px; color: var(--ink-2); }
.prose-case strong { color: var(--ink); }
.prose-case ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.prose-case li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.prose-case li::before { content: ""; width: 8px; height: 8px; margin-top: 10px; border-radius: 2px; background: var(--accent); }
