/* LJL V17 - accueil des sous-pages, smartphones uniquement.
   Version PC preservee. Fonds clairs de nouveau actifs apres les 4 avantages.
   On utilise les nounours complets deja presents dans /assets. */
@media screen and (max-width: 599px) {
  /* Espace d'accueil plus haut : les 4 points forts arrivent pres du bas
     de la premiere vue, quelles que soient les barres du navigateur. */
  .subpage-hero--visuel .subpage-hero-inner {
    box-sizing:border-box;
    min-height: clamp(445px, calc(100svh - 258px), 650px);
    padding-top:clamp(28px, 5vw, 38px);
    padding-bottom:0;
  }
  /* L'illustration est complete, sans recadrage au torse. Les pieds
     rejoignent naturellement le liseré superieur des 4 avantages. */
  .subpage-hero--visuel .subpage-hero-art {
    width:clamp(200px, 65vw, 260px);
    height:clamp(210px, 69vw, 274px);
    right:-3px;
    bottom:0;
    overflow:visible;
    background:none;
    box-shadow:none;
    pointer-events:none;
  }
  .subpage-hero--visuel .subpage-hero-art > img {
    position:absolute;
    display:block;
    top:auto;
    bottom:-1px;
    right:0;
    width:100%;
    height:auto;
    max-width:none;
    max-height:none;
    object-fit:contain;
  }
  /* Garde la copie nettement à gauche du nounours. */
  .subpage-hero--visuel .subpage-hero-copy h1 {
    max-width:calc(100% - clamp(120px, 33vw, 158px));
  }
  .subpage-hero--visuel .subpage-hero-copy p {
    max-width:calc(100% - clamp(145px, 39vw, 188px));
  }
  /* On conserve la grille 2x2 V14, avec un filet jaune discret. */
  .subpage-hero--visuel .subpage-hero-features {
    background:#10100f;
    border-top:1px solid rgba(255,230,45,.4);
  }
  /* Annule explicitement les anciens fonds V16 pour être robuste au cache. */
  body#offres main > section.offers-section,
  body#devis main > section.quote-section,
  body#a-propos main > section.about-intro-section {
    background:#f8f8f5;
    color:#1b1b1b;
    border-top:0;
  }
}
@media screen and (max-width: 359px) {
  .subpage-hero--visuel .subpage-hero-inner {
    min-height:clamp(445px, calc(100svh - 258px), 650px);
  }
  .subpage-hero--visuel .subpage-hero-art {
    width:clamp(194px, 64vw, 215px);
    height:225px;
    right:-8px;
  }
}
