/* Correctifs affichage mobile/tablette — location.atonservice971.com — v2609-1030 */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:hidden}
h1,h2,h3{overflow-wrap:break-word;hyphens:manual;text-wrap:balance}
p{text-wrap:pretty}

/* En-tête : sous-titre sur une seule ligne, jamais coupé en deux */
.nav .brand{min-width:0}
.nav .brand span{min-width:0}
.nav .brand small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
@media (max-width:374px){.nav .brand small{display:none}}

/* Arguments sous la recherche : grille régulière 2 x 2 au lieu d'un empilement décentré */
@media (max-width:719px){
  .trust{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;justify-content:stretch}
  .trust>span{justify-content:center;text-align:center;min-width:0;white-space:normal;line-height:1.25;padding-left:10px;padding-right:10px}
}

/* Filtres des logements : défilement horizontal propre, avec fondu à droite */
.seg{scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.seg::-webkit-scrollbar{display:none}
.seg>*{flex:none;scroll-snap-align:start}
@media (max-width:719px){
  .seg{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent);padding-right:28px}
}

/* Remises longue durée : trois cases égales, chiffres qui tiennent dans la case */
@media (max-width:719px){
  .long .pcts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .long .pcts>div{min-width:0;padding:14px 8px!important;text-align:center}
  .long .pcts>div b{font-size:clamp(22px,7vw,30px)!important;white-space:nowrap;display:block;letter-spacing:-.02em}
  .long .pcts>div span{display:block;white-space:nowrap;font-size:12.5px}
  .long .pcts>small{grid-column:1/-1}
}

/* Boutons */
.btn{text-align:center}
.acts{flex-wrap:wrap}
@media (max-width:399px){.acts .btn{width:100%;justify-content:center}}

/* Titres des sections visibles sous l'en-tête fixe */
section[id]{scroll-margin-top:96px}

/* Barre du bas d'écran : le contenu ne passe plus dessous */
@media (max-width:719px){
  body{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
}

/* Page Nos logements : bloc Longs séjours à saisir retiré (consigne du 16/09) */
.sec-deals{display:none!important}
