/* Pages cas clients (12/2026). Complète le style en ligne des pages : préfixe cs- */
.cs-hero { position: relative; padding: clamp(7rem, 6rem + 4vw, 9rem) 1.5rem clamp(2.5rem, 2rem + 2vw, 4rem); background: radial-gradient(ellipse at top left, rgba(37, 99, 235, 0.18), transparent 55%), radial-gradient(ellipse at bottom right, rgba(255, 51, 102, 0.12), transparent 55%); }
.cs-hero-inner { max-width: 1100px; margin: 0 auto; min-width: 0; }
.cs-breadcrumb { margin: 0 0 1.25rem; font-size: 0.9rem; }
.cs-breadcrumb a { color: #93B4FF; text-decoration: none; }
.cs-breadcrumb a:hover { color: #fff; }
.cs-kicker { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #FBBF24; margin: 0 0 1rem; }
.cs-hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); line-height: 1.15; font-weight: 800; color: #fff; margin: 0 0 1.5rem; text-wrap: balance; overflow-wrap: break-word; }
.cs-hero h1 mark { background: none; color: #34D399; }
.cs-problem { max-width: 780px; margin: 0 0 1rem; padding: 1rem 1.25rem; border-left: 3px solid #FBBF24; background: rgba(251, 191, 36, 0.07); border-radius: 0 0.6rem 0.6rem 0; color: #E2E8F0; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem); line-height: 1.6; }
.cs-problem strong { display: block; color: #FBBF24; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.cs-context { color: #94A3B8; font-size: 0.92rem; margin: 0 0 2rem; }
.cs-kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cs-kpis li { background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.3); border-radius: 0.9rem; padding: 1.1rem 1.2rem; min-width: 0; }
.cs-kpis strong { display: block; color: #34D399; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem); font-weight: 800; line-height: 1.1; }
.cs-kpis span { display: block; color: #CBD5E1; font-size: 0.9rem; line-height: 1.4; margin-top: 0.35rem; }
.cs-kpi-note { color: #94A3B8; font-size: 0.8rem; font-style: italic; margin: 0.75rem 0 0; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.cs-chips li { border: 1px solid rgba(147, 180, 255, 0.35); background: rgba(37, 99, 235, 0.1); border-radius: 2rem; padding: 0.45rem 0.95rem; font-size: 0.88rem; color: #E2E8F0; max-width: 100%; }
.cs-chips b { color: #93B4FF; font-weight: 700; margin-right: 0.3rem; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 2rem; }
.cs-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 0.85rem 1.5rem; border-radius: 0.6rem; font-weight: 700; text-decoration: none; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.cs-btn-primary { background: linear-gradient(135deg, #2563EB, #FF3366); color: #fff; }
.cs-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35); color: #fff; }
.cs-btn-ghost { border: 1px solid rgba(255, 255, 255, 0.25); color: #E2E8F0; }
.cs-btn-ghost:hover { border-color: #93B4FF; color: #fff; }

/* Corps : sommaire + article */
.cs-body { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 1rem; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; }
.cs-toc { position: sticky; top: 100px; align-self: start; }
.cs-toc p { color: #94A3B8; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.75rem; }
.cs-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.cs-toc a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: #94A3B8; font-size: 0.9rem; text-decoration: none; }
.cs-toc a:hover, .cs-toc a.is-current { color: #fff; border-left-color: #2563EB; }
@media (max-width: 960px) { .cs-body { grid-template-columns: minmax(0, 1fr); gap: 0; } .cs-toc { display: none; } }
.cs-article { min-width: 0; }
.cs-article section { scroll-margin-top: 90px; padding: 2rem 0; }
.cs-article section + section { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.cs-article h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); color: #fff; margin: 0 0 1.25rem; line-height: 1.25; text-wrap: balance; }
.cs-article h3 { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); color: #fff; margin: 2rem 0 0.75rem; }
.cs-article p, .cs-article section > p:first-of-type { color: #CBD5E1; font-size: 1.02rem; line-height: 1.75; margin: 0 0 1.1rem; max-width: 72ch; }
.cs-article strong { color: #fff; }
.cs-note { font-size: 0.85rem !important; color: #94A3B8 !important; font-style: italic; }
.cs-checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.9rem; max-width: 72ch; }
.cs-checks li { position: relative; padding-left: 2rem; color: #CBD5E1; line-height: 1.7; }
.cs-checks li::before { content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #10B981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230F172A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat; }

/* Visuels */
.cs-shot { margin: 1.75rem 0; }
.cs-shot.is-tall { max-width: 520px; }
.cs-shot figcaption, .cs-diagram figcaption, .cs-gallery figcaption { color: #94A3B8; font-size: 0.85rem; line-height: 1.5; margin-top: 0.6rem; }
.cs-zoom { position: relative; display: block; border-radius: 0.75rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); background: #0B1222; cursor: zoom-in; }
.cs-zoom img { display: block; width: 100%; height: auto; }
.cs-zoom::after { content: "Agrandir"; position: absolute; right: 0.6rem; bottom: 0.6rem; padding: 0.3rem 0.6rem; border-radius: 0.4rem; background: rgba(15, 23, 42, 0.85); color: #E2E8F0; font-size: 0.75rem; font-weight: 600; opacity: 0; transition: opacity 0.2s; }
.cs-zoom:hover::after, .cs-zoom:focus-visible::after { opacity: 1; }
@media (hover: none) { .cs-zoom::after { opacity: 1; } }
.cs-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.cs-media .cs-shot { margin: 0.75rem 0; }
@media (max-width: 700px) { .cs-media { grid-template-columns: minmax(0, 1fr); } }
.cs-diagram { margin: 1.75rem 0; padding: clamp(0.75rem, 0.5rem + 1vw, 1.5rem); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0.9rem; }
.cs-diagram svg { display: block; width: 100%; height: auto; }
.cs-gallery { margin: 1.75rem 0; }
.cs-gallery ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
@media (max-width: 860px) { .cs-gallery ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Avant / après */
.cs-ba { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cs-ba li { border-radius: 0.9rem; padding: 1.1rem 1.2rem; min-width: 0; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); }
.cs-ba .t { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.4rem; }
.cs-ba .v { display: block; font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem); font-weight: 800; color: #fff; line-height: 1.15; }
.cs-ba .l { display: block; font-size: 0.88rem; color: #CBD5E1; margin-top: 0.35rem; line-height: 1.45; }
.cs-ba .before .t { color: #FF6B8B; }
.cs-ba .after .t { color: #93B4FF; }
.cs-ba .gain { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.3); }
.cs-ba .gain .t, .cs-ba .gain .v { color: #34D399; }
@media (max-width: 700px) { .cs-ba, .cs-kpis { grid-template-columns: minmax(0, 1fr); } }

/* Tableau */
.cs-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.92rem; }
.cs-table th { text-align: left; color: #94A3B8; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.6rem 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.cs-table td { color: #CBD5E1; padding: 0.8rem 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); vertical-align: top; line-height: 1.5; }
.cs-table td:first-child { color: #fff; font-weight: 700; white-space: nowrap; }
.cs-table td:last-child { color: #34D399; font-weight: 600; }
@media (max-width: 700px) {
  .cs-table thead { display: none; }
  .cs-table, .cs-table tbody, .cs-table tr, .cs-table td { display: block; width: 100%; }
  .cs-table tr { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.75rem; padding: 0.4rem 0.9rem; margin-bottom: 0.75rem; }
  .cs-table td { border: 0; padding: 0.35rem 0; white-space: normal !important; }
  .cs-table td::before { content: attr(data-label); display: block; color: #94A3B8; font-size: 0.7rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; }
}

/* Pour qui */
.cs-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.5rem; }
.cs-fit > div { border-radius: 0.9rem; padding: 1.2rem 1.3rem; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); min-width: 0; }
.cs-fit > div:first-child { border-color: rgba(16, 185, 129, 0.3); }
.cs-fit h3 { margin: 0 0 0.6rem !important; font-size: 1rem !important; }
.cs-fit ul { margin: 0; padding-left: 1.1rem; color: #CBD5E1; line-height: 1.6; }
.cs-fit li + li { margin-top: 0.35rem; }
@media (max-width: 700px) { .cs-fit { grid-template-columns: minmax(0, 1fr); } }

/* Garanties */
.cs-guarantees { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cs-guarantees li { border: 1px solid rgba(37, 99, 235, 0.3); background: rgba(37, 99, 235, 0.07); border-radius: 0.9rem; padding: 1.1rem 1.2rem; min-width: 0; }
.cs-guarantees b { display: block; color: #fff; margin-bottom: 0.3rem; }
.cs-guarantees span { color: #CBD5E1; font-size: 0.92rem; line-height: 1.55; }
@media (max-width: 700px) { .cs-guarantees { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.cs-faq details { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.75rem; background: rgba(255, 255, 255, 0.03); margin-bottom: 0.75rem; }
.cs-faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; position: relative; color: #fff; font-weight: 600; line-height: 1.45; }
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); color: #93B4FF; font-size: 1.3rem; font-weight: 400; }
.cs-faq details[open] summary::after { content: "−"; }
.cs-faq details p { padding: 0 1.2rem 1rem; margin: 0; }

/* Autres cas */
.cs-others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.cs-others a { display: block; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.8rem; padding: 1rem; text-decoration: none; color: #E2E8F0; font-weight: 600; line-height: 1.4; font-size: 0.92rem; transition: border-color 0.2s; min-width: 0; }
.cs-others a span { display: block; color: #FBBF24; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.35rem; }
.cs-others a:hover { border-color: #2563EB; color: #fff; }
@media (max-width: 860px) { .cs-others { grid-template-columns: minmax(0, 1fr); } }

/* CTA final */
.cs-cta { max-width: 1100px; margin: 2rem auto 0; padding: 0 1.5rem 2rem; }
.cs-cta-box > p:first-of-type { margin-bottom: 1.5rem; font-size: 1rem; }
.cs-cta-box { text-align: center; border-radius: 1.25rem; padding: clamp(2rem, 1.5rem + 3vw, 4rem) clamp(1.25rem, 1rem + 2vw, 3rem); background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(255, 51, 102, 0.12)); border: 1px solid rgba(255, 255, 255, 0.12); }
.cs-cta h2 { color: #fff; font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.2rem); line-height: 1.2; margin: 0 0 0.75rem; text-wrap: balance; }
.cs-cta .cs-cta-lead { color: #CBD5E1; margin: 0 auto 1.5rem; max-width: 620px; }
.cs-cta ul { list-style: none; padding: 0; margin: 0 auto 1.75rem; display: grid; gap: 0.6rem; max-width: 560px; text-align: left; }
.cs-cta ul li { position: relative; padding-left: 1.8rem; color: #E2E8F0; line-height: 1.5; }
.cs-cta ul li::before { content: "✓"; position: absolute; left: 0; color: #34D399; font-weight: 800; }
.cs-cta .cs-actions { justify-content: center; margin-top: 0; }
.cs-cta-foot { color: #94A3B8; font-size: 0.88rem; margin: 1.25rem 0 0; }
.cs-cta-foot a { color: #CBD5E1; text-underline-offset: 3px; }

/* Page Nos cas clients */
.cs-hub-hero { text-align: center; }
.cs-hub-hero .cs-hero-inner { max-width: 860px; }
.cs-hub-hero p.cs-lead { color: #CBD5E1; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.7; margin: 0 auto; max-width: 720px; }
.cs-hub-cases { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem 1rem; }

/* Agrandissement d'image */
.cs-lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(2, 6, 23, 0.92); display: none; align-items: center; justify-content: center; padding: 1rem; }
.cs-lightbox.open { display: flex; }
.cs-lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.cs-lightbox img { max-width: 100%; max-height: calc(100vh - 6rem); width: auto; height: auto; border-radius: 0.5rem; }
.cs-lightbox figcaption { color: #CBD5E1; font-size: 0.9rem; margin-top: 0.75rem; text-align: center; }
.cs-lightbox button { position: absolute; top: 0.75rem; right: 0.75rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 700px) {
  .cs-diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cs-diagram svg { min-width: 640px; }
  .cs-diagram figcaption::after { content: " Faites glisser pour voir tout le schéma."; }
}

/* En-tête enrichi (12/2026) : client, enjeux, dispositif, résultats */
.cs-label { margin: 0 0 0.35rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #93B4FF; }
.cs-actor { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 1.5rem; align-items: center; max-width: 900px; margin: 0 0 1.75rem; }
.cs-actor figure { margin: 0; min-width: 0; }
.cs-actor img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0.8rem; border: 1px solid rgba(255, 255, 255, 0.12); }
.cs-actor figcaption, .cs-photo figcaption { color: #94A3B8; font-size: 0.75rem; margin-top: 0.4rem; }
.cs-actor p:not(.cs-label) { color: #E2E8F0; font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.06rem); line-height: 1.65; margin: 0; }
.cs-actor strong { color: #fff; }
@media (max-width: 700px) { .cs-actor { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }
.cs-stakes { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cs-stakes li { min-width: 0; padding: 1rem 1.15rem; border-radius: 0 0.7rem 0.7rem 0; border-left: 3px solid; background: rgba(255, 255, 255, 0.04); }
.cs-stakes p:not(.cs-label) { margin: 0; color: #E2E8F0; font-size: 0.95rem; line-height: 1.6; }
.cs-stakes .is-problem { border-color: #FBBF24; background: rgba(251, 191, 36, 0.07); }
.cs-stakes .is-problem .cs-label { color: #FBBF24; }
.cs-stakes .is-impact { border-color: #FF6B8B; background: rgba(255, 51, 102, 0.07); }
.cs-stakes .is-impact .cs-label { color: #FF6B8B; }
.cs-stakes .is-now { border-color: #93B4FF; background: rgba(37, 99, 235, 0.08); }
@media (max-width: 900px) { .cs-stakes { grid-template-columns: minmax(0, 1fr); } }
.cs-setup { margin: 0 0 2.25rem; padding: 1.1rem 1.25rem; border: 1px solid rgba(147, 180, 255, 0.3); border-radius: 0.8rem; background: rgba(37, 99, 235, 0.06); }
.cs-setup .cs-label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.cs-setup p:not(.cs-label) { margin: 0; color: #E2E8F0; line-height: 1.65; max-width: 80ch; }
.cs-pill { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 2rem; background: #2563EB; color: #fff; font-size: 0.8rem; letter-spacing: 0.02em; text-transform: none; }
.cs-hero h2.cs-results-t { color: #fff; font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem); margin: 0 0 1rem; }

/* Photo dans l'article */
.cs-photo { margin: 1.5rem 0; max-width: 560px; }
.cs-photo img { display: block; width: 100%; height: auto; border-radius: 0.8rem; border: 1px solid rgba(255, 255, 255, 0.12); }

/* Schéma en étapes (remplace le SVG, s'empile sur mobile) */
.cs-flow { margin: 1.75rem 0; padding: clamp(0.9rem, 0.6rem + 1vw, 1.5rem); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0.9rem; }
.cs-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.cs-flow li { position: relative; min-width: 0; padding: 0.85rem 0.9rem; border-radius: 0.75rem; background: #1E293B; border: 1.5px solid #2563EB; text-align: center; }
.cs-flow li b { display: block; color: #fff; font-size: 0.95rem; line-height: 1.3; }
.cs-flow li span { display: block; color: #CBD5E1; font-size: 0.8rem; line-height: 1.4; margin-top: 0.3rem; }
.cs-flow li + li::before { content: "→"; position: absolute; left: -1.25rem; top: 50%; transform: translateY(-50%); color: #94A3B8; font-size: 1rem; }
.cs-flow .is-start { border-color: #FBBF24; }
.cs-flow .is-demo { border-color: #FF6B8B; }
.cs-flow .is-prod { border-color: #10B981; }
.cs-flow-loop { margin: 0.9rem 0 0 !important; color: #CBD5E1 !important; font-size: 0.9rem !important; text-align: center; max-width: none !important; }
.cs-flow-loop span { color: #FF6B8B; font-weight: 700; margin-right: 0.25rem; }
.cs-flow-sum { margin: 0.9rem 0 0 !important; padding: 0.7rem 1rem; border-radius: 0.6rem; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.35); color: #E2E8F0 !important; font-size: 0.92rem !important; text-align: center; max-width: none !important; }
.cs-flow-sum b { color: #34D399; }
.cs-flow figcaption { color: #94A3B8; font-size: 0.85rem; line-height: 1.5; margin-top: 0.6rem; }
@media (max-width: 760px) {
  .cs-flow ol { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .cs-flow li + li::before { content: "↓"; left: 50%; top: -1.2rem; transform: translateX(-50%); }
}
.cs-actor.no-photo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }

/* Visage du dirigeant client sous le bloc « Le client » */
.cs-person { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.9rem; min-width: 0; }
.cs-actor .cs-person img { width: 56px; height: 56px; flex: 0 0 56px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 2px solid rgba(147, 180, 255, 0.5); }
.cs-actor .cs-person p { margin: 0; font-size: 0.95rem; line-height: 1.35; }
.cs-person strong { display: block; color: #fff; }
.cs-person span { color: #94A3B8; font-size: 0.85rem; }

/* Liens vers les sites des clients et liens dans le texte */
.cs-actor a, .cs-article p a { color: #93B4FF; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cs-actor a:hover, .cs-article p a:hover { color: #fff; }
