/* DL Couverture — section « Zone d'intervention » : carte zoomable, communes, autoroutes, Seine. 18/11/2026.
   Autonome : s'appuie seulement sur les variables :root et les classes .kicker/.h2/.script de style.css. Téléphone d'abord. */
.zone.zc{height:auto;background:var(--nuit,#0a1020);color:#e6ecf8;padding:84px 0 40px;overflow:hidden}
.zc-in{max-width:1400px;margin:0 auto}
.zc-tete{padding:0 var(--gout,16px)}
.zc-tete .kicker{color:var(--bleu-2,#3f7cff);margin-bottom:8px}
.zc-tete .h2{color:#fff;font-size:clamp(2rem,7vw,4rem);margin:0}
.zc-mode{margin:6px 0 0;font-size:.92rem;color:#8b96ad}

/* Scène = la carte */
.zc-scene{position:relative;margin-top:14px}
.zc-carte{position:relative;height:min(122vw,62svh);min-height:330px;overflow:hidden;touch-action:pan-x pan-y;outline:none;
  background:radial-gradient(90% 70% at 50% 40%,#111c36 0%,#0a1020 75%);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
/* cadre de sélection : seulement quand on arrive sur la carte au clavier (Tab), et dessiné PAR-DESSUS la carte (sinon on n'en voit que des bouts) */
.zc-carte.zc-clavier::after{content:"";position:absolute;inset:0;z-index:5;border-radius:inherit;box-shadow:inset 0 0 0 3px var(--bleu-2,#3f7cff);pointer-events:none}
.zc-svg{position:absolute;inset:0;width:100%;height:100%;max-width:none;cursor:grab}
.zc-carte.glisse .zc-svg{cursor:grabbing}

/* Départements */
.zc-svg path.d{vector-effect:non-scaling-stroke;stroke-linejoin:round;fill:#172240;stroke:rgba(255,255,255,.13);stroke-width:.8;transition:fill .6s ease,stroke .6s ease}
.zc-svg .d27,.zc-svg .d78,.zc-svg .d91{fill:#1d2947;stroke:rgba(255,255,255,.22);stroke-width:1}
.zc-svg .d27.on{fill:#2f63d6;stroke:#cfe0ff;stroke-width:2}
.zc-svg .d78.on{fill:rgba(63,124,255,.55);stroke:#bcd2ff;stroke-width:1.6}
.zc-svg .d91.on{fill:rgba(63,124,255,.3);stroke:#7fa3ef;stroke-width:1.3}
.zc-svg .d27.on.vif{fill:var(--bleu-2,#3f7cff)}

/* Numéros 27 / 78 / 91 (taille fixe à l'écran) */
.zc-num text{font-family:var(--titre,sans-serif);font-weight:800;fill:#fff;text-anchor:middle;paint-order:stroke;stroke:rgba(10,16,32,.55);stroke-width:4px;stroke-linejoin:round;opacity:.92}
.zc-nums{transition:opacity .3s}
.zc-loin .zc-nums,.zc-pres .zc-nums{opacity:0}

/* Communes : taille fixe à l'écran (font-size du groupe recalculée par carte.js) */
.zc-villes{pointer-events:none}
.zc-villes text{font-family:var(--sans,sans-serif);font-weight:600;fill:#a7b2c8;paint-order:stroke;stroke:#0a1020;stroke-opacity:.92;stroke-linejoin:round}
.zc-villes .t1{font-size:14em;font-weight:700;fill:#d0d8e8}
.zc-villes .t2{font-size:12.5em}
.zc-villes .t3{font-size:12em;font-weight:500}
.zc-villes .s{fill:#fff}
.zc-villes .e{text-anchor:end}.zc-villes .m{text-anchor:middle}
/* points : trait arrondi de longueur nulle, épaisseur en em (= px écran, car le groupe a font-size 1/zoom) */
.zc-villes path{fill:none;stroke-linecap:round;stroke:#8995ad}
.zc-villes path.s{stroke:#fff}
.zc-villes path.p1{stroke-width:7em}.zc-villes path.p2{stroke-width:6em}.zc-villes path.p3{stroke-width:5em}
.zc-villes g{animation:zc-apparait .35s ease both}
@keyframes zc-apparait{from{opacity:0}}

/* Seine et autoroutes : traits fins et discrets, épaisseur en em = px écran (le calque a font-size 1/zoom) */
.zc-calques path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.zc-eau path{stroke:#a9dcff;stroke-opacity:.5;stroke-width:1.8em}
.zc-routes path{stroke:#fff;stroke-opacity:.32;stroke-width:1.3em}
.zc-routes g,.zc-eau g,.zc-mailles g,.zc-fonds g{animation:zc-apparait .4s ease both}
.zc-fonds,.zc-mailles,.zc-eau,.zc-routes{opacity:0;transition:opacity .8s ease}
.zc-pret .zc-fonds,.zc-pret .zc-mailles,.zc-pret .zc-eau,.zc-pret .zc-routes{opacity:1}
/* 21/11/2026 — tout ce qui suit n'existe qu'À L'INTÉRIEUR du 27, du 78 et du 91 (découpé au build).
   Une seule teinte (blanc) pour les routes et les limites : seule l'épaisseur et l'opacité changent. L'eau reste bleu clair. */
.zc-routes .k-a path{stroke-opacity:.5;stroke-width:1.4em}    /* autoroutes et voies express (plus fines tant qu'on est loin) */
.zc-pres .zc-routes .k-a path{stroke-opacity:.62;stroke-width:2em}
.zc-routes .k-n path{stroke-opacity:.42;stroke-width:1.2em}   /* nationales, grandes départementales */
.zc-routes .k-s path{stroke-opacity:.28;stroke-width:.9em}    /* départementales */
.zc-routes .k-t path{stroke-opacity:.18;stroke-width:.7em}    /* petites routes entre villages */
.zc-eau .k-r path{stroke-opacity:.36;stroke-width:1.1em}      /* rivières */
.zc-mailles path{stroke:#fff}
.zc-mailles .k-i path{stroke-opacity:.4;stroke-width:1em}     /* limites des intercommunalités */
.zc-mailles .k-c path{stroke-opacity:.2;stroke-width:.8em}   /* limites des communes */
/* Formes des intercommunalités : une nuance chacune, posée sur le bleu du département (deux voisines n'ont jamais la même) */
.zc-calques .zc-fonds path{stroke:none;fill-rule:evenodd}
.zc-calques .zc-fonds .k-f0 path{fill:none}
.zc-calques .zc-fonds .k-f1 path{fill:rgba(125,170,255,.16)}
.zc-calques .zc-fonds .k-f2 path{fill:rgba(6,12,36,.15)}
.zc-calques .zc-fonds .k-f3 path{fill:rgba(125,170,255,.3)}
.zc-calques .zc-fonds .k-f4 path{fill:rgba(6,12,36,.27)}
/* Commune survolée ou touchée : sa forme s'allume, son nom s'affiche en haut de la carte */
.zc-calques .zc-ici-forme{fill:rgba(255,255,255,.2);fill-rule:evenodd;stroke:#fff;stroke-width:2em;pointer-events:none}
.zc-ici-forme.pop{animation:zc-pop .4s ease}
@keyframes zc-pop{from{fill:rgba(255,255,255,.55)}}
.zc-ici{position:absolute;left:12px;top:12px;z-index:3;display:flex;flex-direction:column;gap:2px;max-width:calc(100% - 24px);padding:9px 14px 10px;border-radius:14px;
  background:#fff;color:#0d1d47;box-shadow:0 8px 22px rgba(0,0,0,.35);pointer-events:none;opacity:0;transform:translateY(-6px);transition:opacity .2s,transform .2s}
.zc-ici.on{opacity:1;transform:none}
.zc-ici b{font-family:var(--titre,sans-serif);font-weight:800;font-size:1.25rem;letter-spacing:.03em;line-height:1.1;text-transform:uppercase}
.zc-ici span{font-size:.78rem;font-weight:600;color:var(--bleu,#2459cf)}
.zc-credit{margin:6px var(--gout,16px) 0;font-size:.7rem;line-height:1.3;text-align:right;color:rgba(230,236,248,.45)}
.zc-credit a{color:inherit;text-decoration:underline}

/* Siège : point + pastille « Saint-Marcel · Vernon » */
.zc-pt{fill:#fff;stroke:var(--bleu-2,#3f7cff);stroke-width:3.5}
.zc-onde{fill:none;stroke:#fff;stroke-width:2;transform-box:fill-box;transform-origin:center;opacity:0}
.zc-onde.ping{animation:zc-ping 1.6s ease-out}
@keyframes zc-ping{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(4.2)}}
.zc-pastille rect,.zc-pastille path{fill:#fff}
.zc-pastille text{font-family:var(--sans,sans-serif);font-weight:700;font-size:12.5px;fill:#2459cf}
.zc-pastille{transition:opacity .3s}
.zc-loin .zc-pastille{opacity:0}

/* Boutons de zoom */
.zc-boutons{position:absolute;right:12px;bottom:12px;display:flex;flex-direction:column;gap:8px;z-index:3}
.zc-b{width:46px;height:46px;border:0;border-radius:14px;display:grid;place-items:center;padding:0;cursor:pointer;color:#0d1d47;
  background:rgba(255,255,255,.94);box-shadow:0 6px 18px rgba(0,0,0,.35);transition:transform .15s,background .15s;-webkit-tap-highlight-color:transparent}
.zc-b svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
.zc-b svg .plein{fill:currentColor;stroke:none}
.zc-b:hover{background:#fff;transform:translateY(-1px)}
.zc-b:active{transform:scale(.94)}
.zc-b:focus-visible{outline:3px solid var(--bleu-2,#3f7cff);outline-offset:2px}
.zc-b[disabled]{opacity:.45;cursor:default;transform:none}

/* Petite aide (« Ctrl + molette », « 2 doigts ») */
.zc-aide{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:4;padding:10px 16px;border-radius:12px;background:rgba(5,9,18,.82);
  color:#fff;font-size:.95rem;font-weight:600;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .25s}
.zc-aide.on{opacity:1}

/* Secteurs */
.zc-etapes{padding:16px var(--gout,16px) 0}
.zc-etape{display:flex;gap:14px;align-items:center;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);transition:all .45s ease;opacity:.4;margin-bottom:8px}
.zc-etape.on{opacity:1;background:rgba(63,124,255,.14);box-shadow:inset 0 0 0 1px rgba(143,179,255,.45)}
.zc-etape b.n{flex:none;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-family:var(--titre,sans-serif);font-weight:800;font-size:1.5rem;color:#fff;background:#1d2947;transition:background .45s}
.zc-etape.on b.n{background:var(--bleu-2,#3f7cff)}
.zc-etape.e2.on{background:rgba(63,124,255,.1)}.zc-etape.e2.on b.n{background:#6d9bff}
.zc-etape.e3.on{background:rgba(63,124,255,.06);box-shadow:inset 0 0 0 1px rgba(143,179,255,.25)}.zc-etape.e3.on b.n{background:#3a5aa6}
.zc-etape h3{margin:0;font-size:1.3rem;color:#fff;line-height:1.15}
.zc-etape p{margin:3px 0 0;font-size:.85rem;color:#a9b4c9;line-height:1.4}
.zc-etape .tag{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:#fff;color:var(--bleu,#2459cf);font-family:var(--titre,sans-serif);font-weight:800;font-size:.68rem;letter-spacing:.12em;vertical-align:3px;text-transform:uppercase}
.zc-etape .tag.t2{background:#9dbdff;color:#0d1d47}
.zc-etape .tag.t3{background:transparent;color:#9dbdff;box-shadow:inset 0 0 0 1.5px #5d86d9}
.zc-plus{margin:8px 0 0;font-size:.88rem;color:#8b96ad}
.zc-plus a{color:#fff;font-weight:700;white-space:nowrap}

@media (min-width:980px){
  .zone.zc{padding:110px 0 70px}
  .zc-in{display:grid;grid-template-columns:380px 1fr;grid-template-rows:auto 1fr;column-gap:36px;padding:0 var(--gout,40px)}
  .zc-tete{grid-column:1;padding:0}
  .zc-etapes{grid-column:1;grid-row:2;padding:26px 0 0;align-self:start}
  .zc-etape{padding:14px 16px}
  .zc-etape b.n{width:56px;height:56px;font-size:1.8rem}
  .zc-etape.e3 b.n{width:50px;height:50px;font-size:1.6rem}
  .zc-etape h3{font-size:1.4rem}
  .zc-etape .tag{font-size:.76rem}
  .zc-scene{grid-column:2;grid-row:1/3;margin:0}
  .zc-credit{margin:6px 4px 0}
  .zc-carte{height:min(78vh,760px);min-height:520px;border-radius:24px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
  .zc-boutons{right:18px;bottom:18px}
  .zc-ici{left:18px;top:18px}
}
@media (prefers-reduced-motion:reduce){
  .zc-svg path.d,.zc-etape{transition:none}
  .zc-villes g,.zc-routes g,.zc-eau g,.zc-mailles g,.zc-fonds g,.zc-ici-forme.pop{animation:none}
  .zc-ici,.zc-fonds,.zc-mailles,.zc-eau,.zc-routes{transition:none}
  .zc-onde.ping{animation:none}
}
