
/* =========================================================
   V7 — AUDIT RESPONSIVE MOBILE GLOBAL
   ========================================================= */

/* sécurité globale contre les débordements */
html, body{
  max-width:100%;
  overflow-x:hidden;
}
body *{
  min-width:0;
}
img, video, iframe, svg{
  max-width:100%;
}
p, h1, h2, h3, h4, li, span, a{
  overflow-wrap:break-word;
  word-break:normal;
}
.seo-note{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* navigation mobile : 6 entrées, donc scroll horizontal propre */
@media(max-width:760px){
  .site-header-light{
    width:100%!important;
    max-width:100vw!important;
  }
  .nav-light{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    gap:20px!important;
    padding-right:16px!important;
  }
  .nav-light::-webkit-scrollbar{display:none}
  .nav-light a{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }
  .talk-light{
    white-space:nowrap!important;
  }

  /* tous les grands layouts passent réellement en 1 colonne */
  .intro-rich,
  .portfolio-hero,
  .video-hero,
  .video-manifesto,
  .video-local,
  .air-duo,
  .air-regulation,
  .vr360-formats,
  .vr360-system,
  .vr360-simple,
  .vr360-kit,
  .case-intro,
  .case-result,
  .case-local-seo,
  .studio-hero,
  .studio-direct,
  .studio-tools,
  .studio-local,
  .photo-hero-grid,
  .photo-gallery-head,
  .photo-local-seo{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:28px!important;
  }

  .air-compare-grid,
  .air-use-grid,
  .air-case-grid,
  .video-service-grid,
  .video-work-grid,
  .vr360-format-grid,
  .vr360-use-grid,
  .vr360-work-grid,
  .vr360-kit-grid,
  .case-video-grid,
  .case-process-grid,
  .studio-principle-grid,
  .studio-tool-grid,
  .photo-service-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }

  /* typo : éviter les titres hors écran */
  .video-local h2,
  .air-duo h2,
  .air-regulation h2,
  .video-manifesto h2,
  .vr360-formats h2,
  .vr360-kit h2,
  .case-intro h2,
  .case-result h2,
  .case-local-seo h2,
  .studio-direct h2,
  .studio-local h2,
  .photo-local-seo h2{
    font-size:clamp(48px,15vw,72px)!important;
    line-height:.86!important;
    max-width:100%!important;
  }

  .air-hero h1,
  .video-hero h1,
  .vr360-hero h1,
  .portfolio-hero h1,
  .studio-hero h1,
  .photo-hero h1,
  .case-hero h1{
    font-size:clamp(64px,19vw,96px)!important;
    line-height:.78!important;
    max-width:100%!important;
  }

  /* texte courant : largeur réelle du viewport */
  .video-local-copy,
  .video-local-title,
  .air-regulation>div,
  .air-duo-head,
  .case-local-seo>div,
  .photo-local-seo>div,
  .studio-local>div{
    width:100%!important;
    max-width:100%!important;
  }

  .video-local-copy p,
  .air-regulation p,
  .air-duo p,
  .case-local-seo p,
  .photo-local-seo p,
  .studio-local p{
    width:100%!important;
    max-width:100%!important;
    font-size:16px!important;
    line-height:1.62!important;
  }

  /* rangées de villes / tags : wrap, jamais coupées */
  .city-strip,
  .tag-row,
  .photo-seo-links{
    display:flex!important;
    flex-wrap:wrap!important;
    max-width:100%!important;
    overflow:visible!important;
  }

  /* cards et médias */
  .air-compare-card,
  .video-service-card,
  .vr360-format-card,
  .case-video-card,
  .photo-shot,
  .studio-tool{
    width:100%!important;
    max-width:100%!important;
  }

  /* CTA de fin */
  .portfolio-end{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .portfolio-end h2{
    font-size:clamp(62px,18vw,90px)!important;
    line-height:.82!important;
  }

  /* footer : pas de ligne forcée qui dépasse */
  .contact-foot-one-line{
    width:100%!important;
    max-width:100%!important;
  }
  .foot-copy,
  .contact-socials-inline{
    white-space:normal!important;
  }

  /* galerie photo */
  .photo-masonry-visible{
    width:100%!important;
    max-width:100%!important;
  }
}

/* très petits écrans */
@media(max-width:390px){
  .site-header-light{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .nav-light{
    gap:16px!important;
  }
  .logo img{
    height:32px!important;
    max-width:132px!important;
  }
  .talk-light{
    font-size:11px!important;
  }
  .video-local,
  .air-regulation,
  .air-duo,
  .vr360-formats,
  .vr360-kit,
  .case-local-seo,
  .studio-local,
  .photo-local-seo{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}
