/* Page étude de cas Kanji Otter */
.etude { max-width: 820px; }
.retour { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.retour > a { text-decoration: none; font-size: 0.95rem; }

.hero { margin: 24px 0 8px; }
.surtitre { margin: 0; color: #1a5fd0; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { font-size: 2.4rem; margin: 4px 0 8px; }

.chiffres { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.chiffres li { padding: 14px; border: 1px solid #e3e6ec; border-radius: 12px; background: #fafbfd; text-align: center; line-height: 1.3; }
.chiffres strong { display: block; font-size: 1.6rem; color: #1a5fd0; }
.chiffres span { font-size: 0.85rem; }
@media (max-width: 560px) { .chiffres { grid-template-columns: repeat(2, 1fr); } }

section { margin-top: 48px; }
h2 { font-size: 1.35rem; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid #1a5fd0; }
h2 .en { font-weight: normal; margin-left: 6px; }

/* Schémas : défilent à l'intérieur de leur cadre sur petit écran, jamais la page */
.schema { margin: 20px 0 0; padding: 16px; border: 1px solid #e3e6ec; border-radius: 14px; background: #fff; overflow-x: auto; }
.schema svg { display: block; width: 100%; min-width: 640px; height: auto; font-family: inherit; }
.schema figcaption { margin-top: 12px; font-size: 0.9rem; }
.schema text { font-size: 14px; fill: #222; }
.schema .petit { font-size: 11.5px; fill: #555; }
.schema .titre-boite { font-size: 16px; font-weight: 700; }
.schema .titre-groupe { font-size: 13px; font-weight: 700; fill: #0b5cad; }
.schema .etiquette { font-size: 11px; fill: #1a5fd0; font-weight: 600; }
.schema .tel { fill: #f5f7fb; stroke: #222; stroke-width: 2; }
.schema .module rect { fill: #fff; stroke: #c9cfda; }
.schema .groupe { fill: #f0f6ff; stroke: #0b5cad; stroke-dasharray: 6 4; }
.schema .azure rect { fill: #fff; stroke: #0b5cad; stroke-width: 1.5; }
.schema .service rect { fill: #fff; stroke: #c9cfda; }
.schema .etape rect { fill: #f2f6ff; stroke: #1a5fd0; stroke-width: 1.5; }
.schema .riviere { fill: #e8f6f4; stroke: #2b9a8b; stroke-width: 1.5; }
.schema .lien { fill: none; stroke: #1a5fd0; stroke-width: 1.6; }
.schema .pointille { stroke-dasharray: 5 4; }
.schema .pointe { fill: #1a5fd0; }

.flux { list-style: none; counter-reset: etape; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flux li { counter-increment: etape; position: relative; padding: 40px 14px 14px; border: 1px solid #e3e6ec; border-radius: 12px; background: #fafbfd; font-size: 0.88rem; line-height: 1.55; }
.flux li::before { content: counter(etape); position: absolute; top: 12px; left: 14px; width: 22px; height: 22px; border-radius: 50%; background: #1a5fd0; color: #fff; font-size: 0.8rem; text-align: center; line-height: 22px; }
.flux b, .formules b { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.flux .en, .formules .en, .decisions .en { display: block; margin-top: 4px; }
@media (max-width: 720px) { .flux { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .flux { grid-template-columns: 1fr; } }

.formules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.formules div { padding: 16px; border: 1px solid #e3e6ec; border-radius: 12px; background: #fafbfd; font-size: 0.9rem; }
@media (max-width: 560px) { .formules { grid-template-columns: 1fr; } }

.decisions { padding-left: 1.2em; }
.decisions li { margin-bottom: 12px; }

.pied { margin-top: 56px; padding-top: 16px; border-top: 1px solid #ddd; }
.pied a { text-decoration: none; }

h3 { font-size: 1.05rem; margin: 28px 0 6px; }
h3 .en { font-weight: normal; margin-left: 6px; }
.horizons { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.horizons li { position: relative; padding: 36px 14px 14px; font-size: 0.88rem; line-height: 1.55; border-top: 4px solid #1a5fd0; }
.horizons li:nth-child(2) { border-top-color: #3f7ae0; }
.horizons li:nth-child(3) { border-top-color: #2b9a8b; }
.horizons li:nth-child(4) { border-top-color: #1f6f63; }
.horizons li::before { content: ""; position: absolute; top: -10px; left: 14px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid currentColor; color: #1a5fd0; }
.horizons li:nth-child(3)::before, .horizons li:nth-child(4)::before { color: #2b9a8b; }
.horizons b { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.horizons .en { display: block; margin-top: 4px; }
@media (max-width: 720px) {
  .horizons { grid-template-columns: 1fr 1fr; row-gap: 20px; }
}
@media (max-width: 460px) {
  .horizons { grid-template-columns: 1fr; }
}
