/* Carte secteur : composant unique (page Industries + accueil). Jetons du thème, clair et sombre. */
/* secteurs */
html body .grid-secteurs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2vw,28px)!important;align-items:stretch}
html body .sector-card{--sc:var(--c,var(--magenta));position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;min-width:0;
  padding:clamp(24px,2.4vw,34px);border-radius:24px;text-decoration:none;color:var(--bone,inherit);
  border:1px solid color-mix(in srgb,var(--sc) 28%,var(--hair,rgba(120,120,140,.25)));
  background:linear-gradient(180deg,color-mix(in srgb,var(--sc) 9%,var(--card,transparent)) 0%,var(--card,transparent) 62%);
  box-shadow:0 18px 40px -30px color-mix(in srgb,var(--sc) 55%,transparent),0 2px 6px -2px rgba(30,20,50,.08);
  transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,border-color .3s}
html body .sector-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--sc),color-mix(in srgb,var(--sc) 40%,var(--sp-2,#6d5de8)));z-index:1}
html body .sector-card::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:45%;z-index:0;pointer-events:none;transform:translateX(0) skewX(-18deg);opacity:0;
  background:linear-gradient(100deg,transparent,color-mix(in srgb,#fff 26%,transparent),transparent);transition:transform .8s cubic-bezier(.2,.7,.2,1),opacity .3s}
html body .sector-card:hover{transform:translateY(-6px);border-color:color-mix(in srgb,var(--sc) 55%,var(--hair,rgba(120,120,140,.25)));
  box-shadow:0 30px 58px -30px color-mix(in srgb,var(--sc) 70%,transparent),0 4px 10px -4px rgba(30,20,50,.12)}
html body .sector-card:hover::after{opacity:1;transform:translateX(480%) skewX(-18deg)}
html body .sector-card:focus-visible{outline:2px solid var(--sc);outline-offset:3px}
html body .sector-card>*{position:relative;z-index:1}
html body .sector-card .icn{width:68px;height:68px;margin:0 0 1.3rem;border-radius:20px;display:grid;place-items:center;
  background:color-mix(in srgb,var(--sc) 13%,var(--card,transparent));border:1px solid color-mix(in srgb,var(--sc) 36%,transparent);transition:transform .3s}
html body .sector-card:hover .icn{transform:scale(1.06) rotate(-2deg)}
html body .sector-card .icn svg{width:46px;height:46px}
html body .sector-card h3{font-family:var(--display);font-weight:600;font-size:clamp(1.12rem,1.5vw,1.3rem);line-height:1.25;margin:0 0 .6rem;color:var(--bone,inherit)}
html body .sector-card p{margin:0 0 1rem;font-size:.95rem;line-height:1.55;color:var(--mute,inherit)}
html body .sector-card .qui{display:block;margin:0 0 .5rem;font-size:.8rem;line-height:1.45;color:var(--mute,inherit);font-style:italic}
html body .sector-card .puces{list-style:none;margin:0 0 1.4rem;padding:.9rem 0 0;border-top:1px solid color-mix(in srgb,var(--sc) 22%,var(--hair,rgba(120,120,140,.25)));font-size:.86rem;line-height:1.45;color:var(--mute,inherit)}
html body .sector-card .puces li{position:relative;padding-left:1.05rem;margin:0 0 .55rem}
html body .sector-card .puces li::before{content:"";position:absolute;left:0;top:.5em;width:6px;height:6px;border-radius:50%;background:var(--sc)}
html body .sector-card .o-fl{margin-top:auto;align-self:flex-end;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:1.15rem;line-height:1;
  color:var(--sc);background:color-mix(in srgb,var(--sc) 12%,transparent);border:1px solid color-mix(in srgb,var(--sc) 38%,transparent);transition:transform .3s,background .3s,color .3s}
html body .sector-card:hover .o-fl{transform:translateX(4px);background:var(--sc);color:#fff}
@media (max-width:980px){html body .grid-secteurs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){html body .grid-secteurs{grid-template-columns:minmax(0,1fr);gap:16px!important}
html body .sector-card{display:flex;padding:22px 20px}html body .sector-card .icn{width:60px;height:60px}}
@media (prefers-reduced-motion:reduce){html body .sector-card,html body .sector-card *{transition:none!important}html body .sector-card:hover{transform:none}html body .sector-card::after{display:none}}
/* variante accueil : sans puces, tuile « secteur non listé » */
html body .sector-card--libre{border-style:dashed}
html body .sector-card--libre .icn svg{width:34px;height:34px;color:var(--sc);fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html body .grid-secteurs>.sector-card>p:last-of-type{margin-bottom:1.2rem}

html body .grid-secteurs+.btn{margin-top:clamp(24px,3vw,36px)}
