/* SignalNids — Journal Accueil V1.1 : feuille indépendante (PC + slider tactile PWA) */
.snj-v11, .snj-v11 * { box-sizing: border-box; }
.snj-v11 {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  margin: 0; padding: clamp(32px,4.2vw,66px) clamp(14px,2.4vw,44px);
  background: linear-gradient(150deg, #f0f6ee 0%, #f8faf5 51%, #edf3ed 100%);
  color: #103b31; font-family: inherit;
}
.snj-v11__inner { width: 100%; max-width: 1640px; margin: 0 auto; min-width: 0; }
.snj-v11__heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin: 0 0 25px; }
.snj-v11__heading-main { min-width: 0; max-width: 900px; }
.snj-v11__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 11px; color: #0c6951; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.snj-v11__eyebrow-line { width: 27px; height: 3px; flex: none; display: block; background: #0c7359; }
.snj-v11__heading h2 { margin: 0 0 10px; font-size: clamp(27px,2.55vw,40px); letter-spacing: -.035em; line-height: 1.2; font-weight: 790; color: #073e32; }
.snj-v11__intro { margin: 0; font-size: clamp(15px,1.1vw,17px); color: #617168; line-height: 1.6; }
.snj-v11__all { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; padding: 14px 20px; border-radius: 4px; color: #fff !important; background: #006148; text-decoration: none !important; font-size: 14px; font-weight: 740; transition: background .15s; }
.snj-v11__all:hover { background: #004533; }
.snj-v11__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,1.65vw,26px); min-width: 0; align-items: stretch; }
.snj-v11__card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #d9e5dd; border-radius: 5px; box-shadow: 0 7px 21px rgba(20,49,40,.05); transition: box-shadow .18s, transform .18s; }
.snj-v11__card:hover { box-shadow: 0 12px 30px rgba(20,49,40,.10); transform: translateY(-2px); }
.snj-v11__visual { display: block; position: relative; overflow: hidden; aspect-ratio: 16/9; color: #2d6855 !important; text-decoration: none !important; background: linear-gradient(125deg,#c6daca,#eaf0e6 75%,#d3e6dd); }
.snj-v11__visual img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 2; transition: transform .25s; font-size: 0; color: transparent; }
.snj-v11__visual img.snj-v11__image-failed { display: none; }
.snj-v11__card:hover .snj-v11__visual img:not(.snj-v11__image-failed) { transform: scale(1.025); }
.snj-v11__visual-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; text-align: center; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: #36725f; opacity: .78; }
.snj-v11__card-body { padding: clamp(17px,1.7vw,25px); display: flex; flex-direction: column; flex: 1; }
.snj-v11__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; margin-bottom: 14px; font-size: 12px; }
.snj-v11__category { display: inline-block; padding: 5px 9px; color: #116447; border: 1px solid #cfe5d6; border-radius: 3px; background: #eff7f0; font-weight: 750; }
.snj-v11__meta time { color: #78857e; font-weight: 520; }
.snj-v11__card h3 { margin: 0 0 13px; font-size: clamp(18px,1.45vw,22px); line-height: 1.35; font-weight: 770; letter-spacing: -.022em; }
.snj-v11__card h3 a { color: #103f31 !important; text-decoration: none !important; }
.snj-v11__card h3 a:hover { color: #00694f !important; text-decoration: underline !important; text-underline-offset: 3px; }
.snj-v11__card-body > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 19px; color: #68776e; font-size: 14px; line-height: 1.62; }
.snj-v11__read { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; color: #006e51 !important; font-size: 14px; font-weight: 780; text-decoration: none !important; }
.snj-v11__read:hover { text-decoration: underline !important; }
.snj-v11__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #66776d; font-size: 13px; line-height: 1.5; margin-top: 22px; }
.snj-v11__foot a { color: #00684b !important; font-weight: 760; white-space: nowrap; text-decoration: none !important; }
.snj-v11__foot a:hover { text-decoration: underline !important; }
.snj-v11__controls { display: none; }
.snj-v11 a:focus-visible, .snj-v11 button:focus-visible { outline: 3px solid #25a880; outline-offset: 3px; }
@media (min-width: 761px) and (max-width: 1070px) {
  .snj-v11__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .snj-v11__card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: .95fr 1.05fr; }
  .snj-v11__card:last-child .snj-v11__visual { height: 100%; aspect-ratio: auto; min-height: 230px; }
}
@media (max-width: 760px) {
  .snj-v11 { padding: 32px 0 36px; }
  .snj-v11__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin: 0 15px 18px; }
  .snj-v11__heading h2 { font-size: clamp(25px,6.2vw,32px); }
  .snj-v11__intro { font-size: 14px; line-height: 1.55; }
  .snj-v11__all { padding: 10px 14px; font-size: 13px; }
  .snj-v11__carousel-wrap { width: 100%; max-width: 100%; overflow: hidden; }
  .snj-v11__grid {
    display: flex; gap: 12px; width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: 15px;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    padding: 2px 15px 14px; scrollbar-width: none; align-items: stretch;
  }
  .snj-v11__grid::-webkit-scrollbar { display: none; }
  .snj-v11__card { flex: 0 0 min(84vw,420px); width: min(84vw,420px); max-width: calc(100% - 40px); scroll-snap-align: start; scroll-snap-stop: always; border-radius: 4px; }
  .snj-v11__card:hover { transform: none; }
  .snj-v11__visual { aspect-ratio: 16/9; }
  .snj-v11__card-body { padding: 17px 17px 20px; }
  .snj-v11__card h3 { font-size: 19px; }
  .snj-v11__controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 14px 0; }
  .snj-v11__arrow { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; flex: none; border: 1px solid #b7d6c5; border-radius: 4px; color: #08523f; background: #fff; cursor: pointer; }
  .snj-v11__arrow:disabled { opacity: .38; cursor: default; }
  .snj-v11__dots { display: inline-flex; justify-content: center; align-items: center; gap: 7px; }
  .snj-v11__dot { display: block; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #afcbbd; cursor: pointer; transition: width .15s,background .15s; }
  .snj-v11__dot.is-active { width: 21px; border-radius: 5px; background: #00694d; }
  .snj-v11__counter { min-width: 38px; white-space: nowrap; font-size: 12px; color: #527568; font-weight: 730; font-variant-numeric: tabular-nums; }
  .snj-v11__foot { flex-direction: column; align-items: flex-start; gap: 7px; margin: 20px 15px 0; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .snj-v11__all, .snj-v11__card, .snj-v11__visual img, .snj-v11__dot { transition: none !important; }
  .snj-v11__grid { scroll-behavior: auto; }
}
