/* Case-study reading layout, shared by all project pages. */
body.case-study-page .case-study-hero{padding:56px 5% 48px}
body.case-study-page .case-study-hero h1{font-size:clamp(38px,5.4vw,82px);line-height:1.06;letter-spacing:-.05em;max-width:1250px;margin:24px 0 26px;text-wrap:balance;overflow-wrap:normal}
.case-study-hero .hero-copy{max-width:830px}.case-study-hero .hero-copy p{font-size:19px;line-height:1.6;margin:0}
.case-facts{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0 34px}.case-facts span{font-size:12px;line-height:1.5;border:1px solid #21284f30;padding:8px 13px;border-radius:5px}.case-facts span:last-child{background:var(--yellow);border-color:var(--yellow);font-weight:600}
.case-visuals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;margin:0}
.case-visuals:has(>.case-view:only-child){grid-template-columns:1fr;max-width:1160px}.case-view{margin:0;min-width:0;background:#fff;border:1px solid #21284f18;border-radius:12px;overflow:hidden}
.case-view>a{display:block;background:#e9edf6}.case-view img{display:block;width:100%;height:auto;margin:0;object-fit:contain}.case-view video{display:block;width:100%;height:auto;aspect-ratio:16/10;background:#21284f;object-fit:contain}
.case-view>a{position:relative}.case-view>a::after{content:attr(data-view);position:absolute;top:12px;left:12px;display:grid;place-items:center;width:28px;height:28px;background:var(--yellow);color:var(--night);font-size:12px;font-weight:600;border:1px solid #21284f30;border-radius:3px}
.case-view figcaption{display:flex;gap:14px;align-items:flex-start;padding:18px;color:var(--night);font-size:14px;font-weight:600;line-height:1.45}.case-view figcaption small{display:block;font-size:12px;font-weight:400;margin-top:4px;line-height:1.5}.case-view-number{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;background:var(--yellow);border-radius:3px;font-size:12px}
body.case-study-page .case-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:7%;padding:36px 5%;border-top:1px solid #21284f24;align-items:start}
.case-section h2{font-size:clamp(25px,3vw,40px);line-height:1.15;letter-spacing:-.035em;margin:13px 0 0}.case-section-text{min-width:0;padding-top:25px}.case-section-text>p{font-size:17px;line-height:1.75;max-width:850px;margin:0}.case-section .section-number{font-size:11px;line-height:1.4}
body.case-study-page .case-results{background:var(--night);color:#fff}.case-results .section-number{color:var(--yellow)}.case-results .case-section-text p{color:#fff}
.case-tools{display:flex;flex-wrap:wrap;gap:10px}.case-tools a{font-size:14px;padding:9px 13px;border:1px solid #21284f40;border-radius:4px;line-height:1.4;text-decoration:underline;text-underline-offset:3px}.case-tools a:hover{background:var(--yellow)}
.case-testimonial{margin:0}.case-testimonial blockquote{margin:0;padding-left:22px;border-left:4px solid var(--yellow)}.case-testimonial blockquote p{font-size:19px;line-height:1.65;margin:0}.case-testimonial figcaption{font-size:14px;font-weight:600;margin:24px 0 0 26px;line-height:1.5}.case-testimonial figcaption span{display:block;font-size:13px;font-weight:400}.case-testimonial figcaption a{display:block;font-size:12px;font-weight:400;margin-top:7px;text-decoration:underline;text-underline-offset:3px}
.case-related-card .project-art{min-height:0;aspect-ratio:1.6}.case-related-card .project-art img{width:100%;height:100%;object-fit:contain;object-position:top}.case-related-card .project-label h3{font-size:21px;line-height:1.2}.case-related-card>p{font-size:14px;line-height:1.5}
.project-dialog .case-tools{gap:7px}.project-dialog .case-tools a{font-size:13px;padding:7px 10px}.project-dialog .project-facts{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.project-dialog .project-facts span{font-size:12px;background:var(--yellow);padding:7px 10px;color:var(--night)}.project-dialog .case-testimonial blockquote p{font-size:16px}
.project-dialog .project-story section>h3{font-size:25px;line-height:1.2;letter-spacing:-.03em;margin:28px 0 16px}.project-dialog .project-capture-gallery figure>a{aspect-ratio:auto}.project-dialog .project-capture-gallery figure>a img{width:100%;height:auto;object-fit:contain}.project-dialog .case-testimonial figcaption{font-size:12px;line-height:1.5}
@media(max-width:800px){body.case-study-page .case-study-hero{padding:38px 6% 32px}.case-study-hero .hero-copy p{font-size:17px}.case-visuals{grid-template-columns:1fr;gap:18px}.case-view figcaption{padding:14px;font-size:13px}body.case-study-page .case-section{grid-template-columns:1fr;gap:16px;padding:28px 6%}.case-section-text{padding-top:0}.case-section-text>p{font-size:16px;line-height:1.7}.case-testimonial blockquote p{font-size:17px}.case-tools a{min-height:42px;display:inline-flex;align-items:center}.case-facts{margin:20px 0 26px}}
body main .tool-reference-section{padding:55px 5%;max-width:1500px;margin-inline:auto}.tool-reference-section>h2{font-size:clamp(30px,4vw,52px);margin-bottom:30px}.tool-reference-section .case-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:40px;padding:24px 0;border-top:1px solid #21284f26;scroll-margin-top:120px}.tool-reference-section h3{margin:0;font-size:25px}.tool-reference-section p{margin:0;line-height:1.65}#autres-erp{scroll-margin-top:120px}@media(max-width:760px){.tool-reference-section .case-section{grid-template-columns:1fr;gap:12px;scroll-margin-top:95px}}

/* GEO structured case details */
.case-section-text [data-geo-case-detail]{margin-top:26px}.case-section-text [data-geo-case-detail] h3{font-size:24px;line-height:1.25;margin:26px 0 14px}.case-section-text [data-geo-case-detail] li{line-height:1.65;margin-bottom:10px}.case-section-text table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:15px;margin:20px 0}.case-section-text table th,.case-section-text table td{text-align:left;padding:12px 9px;border:1px solid #8c96b766;overflow-wrap:anywhere;vertical-align:top;color:inherit}.case-section-text table th{font-weight:600}.case-section-text table caption{text-align:left;margin-bottom:12px}@media(max-width:760px){.case-section-text table{font-size:13px}.case-section-text table th,.case-section-text table td{padding:9px 6px}}
