/* ESCALE — section « Naviguez à basse altitude » : les quatre caissons en rotation et leurs cotes (caissons.js) */
.cais { margin-top: clamp(48px, 7vh, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 72px); }
.cais-groupe { margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 2.4vw, 44px); }
.cais-vue { position: relative; min-width: 0; aspect-ratio: 4 / 5; }
.cais-vue canvas { display: block; width: 100%; height: 100%; }
.cais-groupe figcaption { grid-column: 1 / -1; margin-top: 20px; font-size: 14px; color: var(--ink-2); text-align: center; }

/* Cotes : traits d'un pixel, petites butées, chiffre posé au milieu du trait */
.cais-cotes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cais-cotes path { fill: none; stroke: rgba(242, 241, 237, 0.62); stroke-width: 1; stroke-linecap: butt; }
.cais-trait { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.cais-butee { opacity: 0; }
.cais-val { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; pointer-events: none;
  font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.cais-val i { font-style: normal; font-weight: 400; color: var(--ink-2); }

@media (max-width: 760px) {
  .cais { grid-template-columns: 1fr; gap: 40px; padding-inline: 4px; }
  .cais-groupe { column-gap: 30px; }
  .cais-val { font-size: 11px; }
}
@media (prefers-contrast: more) { .cais-cotes path { stroke: var(--ink); } }
