/* SignalNids Rando V1.8.4 — accueil mobile uniquement.
   Les sections desktop, la carte Leaflet, le GPS Live et le bas de navigation
   ne sont pas modifiés. Les grilles restent utilisables sans JavaScript. */
.sn-home .sn184-controls{display:none}
@media (max-width:700px){
  body.sn-home{--sn184-edge:22px}
  .sn-home .sn-hero,.sn-home .sn-hero-inner{min-height:0}
  .sn-home .sn-hero-inner{padding-top:32px;padding-bottom:34px}
  .sn-home .sn-hero h1{font-size:clamp(2.65rem,10.6vw,3.15rem);line-height:1.01;margin:14px 0 16px}
  .sn-home .sn-hero-content>p{font-size:13px;line-height:1.58;margin-bottom:15px}
  .sn-home .sn-hero-trust{margin-top:15px}
  .sn-home .sn-dashboard-section{padding-top:34px;padding-bottom:31px}
  .sn-home .sn-featured-section{padding-bottom:39px}
  .sn-home .sn-photo-section-enhanced{padding-top:42px;padding-bottom:43px}
  .sn-home .sn-photo-section-inner{gap:22px}
  .sn-home .sn-visual-showcase{min-width:0}
  .sn-home .sn-visual-block-main,.sn-home .sn-visual-block-main>img{height:215px;min-height:215px}
  .sn-home .sn-regions-section{margin-bottom:39px}
  .sn-home .sn183-popular{padding-bottom:40px}
  .sn-home .sn183-reviews{padding-bottom:43px}
  .sn-home .sn183-why{padding-bottom:46px}
  .sn-home .sn183-faq{padding-bottom:45px}
  .sn-home .sn-home-map{height:280px}
  .sn-home .sn-section-title h2{font-size:clamp(1.58rem,6vw,1.85rem);line-height:1.15}
  .sn-home .sn-section-title p{line-height:1.55}
  /* Native horizontal swipe + visible preview of the next card. */
  .sn-home .sn184-scroll{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:stretch;
    gap:13px!important;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:var(--sn184-edge);
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    margin-inline:calc(-1 * var(--sn184-edge));
    padding:5px var(--sn184-edge) 12px;
    max-width:none;
  }
  .sn-home .sn184-scroll::-webkit-scrollbar{display:none}
  .sn-home .sn184-scroll>*{
    min-width:0;
    flex:0 0 min(79vw,336px)!important;
    max-width:min(79vw,336px);
    scroll-snap-align:start;
    scroll-snap-stop:normal;
    grid-column:auto!important;
  }
  .sn-home .sn184-scroll.sn-mini-gallery>*{flex-basis:min(77vw,310px)!important;max-width:min(77vw,310px)}
  .sn-home .sn184-scroll.sn-region-grid>*{flex-basis:min(68vw,276px)!important;max-width:min(68vw,276px)}
  .sn-home .sn184-scroll.sn183-benefits>*{flex-basis:min(79vw,326px)!important;max-width:min(79vw,326px)}
  .sn-home .sn184-scroll.sn183-review-grid>*{flex-basis:min(82vw,345px)!important;max-width:min(82vw,345px)}
  .sn-home .sn184-scroll.sn183-popular-grid .sn183-popular-entry .sn-trail-card{height:100%}
  .sn-home .sn184-scroll.sn-mini-gallery .sn-mini-card img{height:160px}
  .sn-home .sn184-scroll.sn-mini-gallery .sn-mini-card figcaption{padding:11px 15px 14px}
  .sn-home .sn184-scroll.sn-region-grid .sn-region-card{min-height:150px}
  .sn-home .sn184-scroll.sn183-benefits article{padding:21px 20px}
  .sn-home .sn184-scroll.sn183-benefits .sn183-benefit-icon{margin-bottom:13px}
  .sn-home .sn184-scroll.sn183-benefits h3{font-size:18px}
  .sn-home .sn184-scroll.sn183-review-grid article{padding:20px}
  .sn-home .sn184-scroll:focus-visible{outline:3px solid #6ba786;outline-offset:1px;border-radius:12px}
  /* Single compact line of swipe controls, not another large content block. */
  .sn-home .sn184-controls{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:35px;margin-top:0;margin-bottom:13px;color:#557261}
  .sn-home .sn184-hint{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;font-weight:750}
  .sn-home .sn184-hint span{color:#176b48;font-size:15px}
  .sn-home .sn184-dots{display:flex;justify-content:center;align-items:center;gap:5px;min-width:0;flex:1}
  .sn-home .sn184-dot{width:7px;height:7px;min-width:7px;padding:0;border:0;border-radius:8px;background:#c6d8ca;cursor:pointer;transition:width .18s,background .18s}
  .sn-home .sn184-dot.is-active{width:21px;background:#176b48}
  .sn-home .sn184-dot:focus-visible,.sn-home .sn184-step button:focus-visible{outline:3px solid #81ba8e;outline-offset:3px}
  .sn-home .sn184-step{display:flex;align-items:center;gap:6px;flex-shrink:0}
  .sn-home .sn184-step button{width:32px;height:32px;border:1px solid #d7e6d8;border-radius:50%;background:#fff;color:#165d3e;font-size:20px;line-height:1;display:grid;place-items:center;cursor:pointer}
  .sn-home .sn184-step button:disabled{color:#b7c9bb;opacity:.6;cursor:default}
  .sn-home .sn184-screenreader{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media (max-width:620px){body.sn-home{--sn184-edge:17px}}
@media (max-width:350px){.sn-home .sn184-hint{font-size:10px}.sn-home .sn184-step button{width:29px;height:29px}.sn-home .sn184-dots{gap:4px}}
@media (prefers-reduced-motion:reduce){.sn-home .sn184-scroll{scroll-behavior:auto}.sn-home .sn184-dot{transition:none}}
