/* ======================================================================
  KOCOONYA 80.7.178 — largeur cohérente sur PC / hiérarchie premium.
  Uniquement à partir de 1440px. Aucun changement des vues mobiles/tablettes.
  La vidéo d'accueil et sa recherche intégrée sont EXPLICITEMENT exclues.
  Aucun masque et aucune modification du contenu SEO / des fonctions.
  ====================================================================== */
@media (min-width:1440px) {
  /* Largeur partagée ; PAS de changement à --content-max global (vidéo). */
  :root{--k178-wide:1620px;--k178-side:32px}
  /* En-têtes des pages publiques ; sans toucher à la vidéo d'accueil. */
  body .site-header .header-inner.shell,
  body .head .head-inner,
  body .header>div,
  body .k95-top .k95-top-inner,
  body .k133-header .k133-header-inner {
    width:min(var(--k178-wide),calc(100% - 64px))!important;
    max-width:var(--k178-wide)!important;
    margin-inline:auto!important;
    box-sizing:border-box;
  }
  body .legal-header{
    padding-inline:max(var(--k178-side),calc((100vw - var(--k178-wide))/2))!important;
  }
  /* Sections de l'application : NE PAS sélectionner .search-zone ou ses enfants.
     Les blocs compte et formulaire conservent leurs propres tailles de lecture. */
  body main#top > .discovery-section > .shell,
  body main#top > .results-section > .shell,
  body main#top > .favorites-section > .shell,
  body main#top > .host-section > .shell,
  body main#top > .account-section > .shell,
  body main#top > .owner-help-section > .shell,
  body main#top > .detail-page-section > .shell,
  body main#top > .lot9-static-content,
  body main#top > .detail-page-section .detail-page.shell {
    box-sizing:border-box;
    width:min(var(--k178-wide),calc(100% - 64px))!important;
    max-width:var(--k178-wide)!important;
    margin-inline:auto!important;
  }
  body main#top > .discovery-section .discovery-grid,
  body main#top > .results-section .results-shell,
  body main#top > .favorites-section .favorites-shell,
  body main#top > .owner-help-section .owner-help-layout {
    min-width:0;
  }
  /* Les fonds d'écran restent bord à bord ; seul leur contenu est aligné. */
  body .k95-discovery{
    box-sizing:border-box;
    width:min(var(--k178-wide),calc(100% - 64px))!important;
    max-width:var(--k178-wide)!important;
    margin-inline:auto!important;
    padding-inline:0!important;
  }
  body .k95-discovery .k95-discovery-inner{
    width:100%;max-width:none;box-sizing:border-box;
    padding:clamp(24px,2vw,34px) clamp(25px,2.1vw,35px);
    gap:clamp(24px,2.5vw,48px);
  }
  body .k95-discovery .k95-discovery-title p {max-width:56ch;line-height:1.65}
  body .k147-editorial .k147-editorial-inner{
    box-sizing:border-box;
    width:min(var(--k178-wide),calc(100% - 64px))!important;
    max-width:var(--k178-wide)!important;
    margin-inline:auto!important;
  }
  body .k147-editorial .k147-grid{gap:clamp(16px,1.7vw,27px)}
  body .k147-editorial .k147-card{padding:clamp(22px,1.8vw,30px)}
  body .k147-editorial .k147-card p{max-width:56ch;line-height:1.62}
  /* Pages destinations PHP : cartes aérées, titres/paragraphes non étirés. */
  body.k95-seo-body main.k95-wrap{
    box-sizing:border-box;
    width:min(var(--k178-wide),calc(100% - 64px))!important;
    max-width:var(--k178-wide)!important;
    margin-inline:auto!important;
    padding:34px 0 74px!important;
  }
  body.k95-seo-body .k95-hero p,
  body.k95-seo-body .k133-hub-hero p,
  body.k95-seo-body .k133-place-intro p{max-width:74ch}
  body.k95-seo-body .k95-hero h1{max-width:900px}
  body.k95-seo-body .k133-cards{gap:clamp(16px,1.7vw,27px)}
  /* Guides, pages propriétaires, pages juridiques et pages d'informations.
     Le canevas est large ; les textes longs gardent une longueur lisible. */
  body > main:not(#top):not(#owner-app):not(.wrap):not(.k95-wrap){
    box-sizing:border-box;
    width:min(var(--k178-wide),calc(100% - 64px))!important;
    max-width:var(--k178-wide)!important;
    margin-inline:auto!important;
  }
  body > main.legal-main > :is(h1,.legal-eyebrow,.legal-date,.legal-bottom,section){
    max-width:1020px;
    margin-left:auto;
    margin-right:auto;
  }
  body > main.legal-main > section p{max-width:78ch}
  body > main:not(#top) .guide-content section:not(.panel){max-width:80ch}
  body > main:not(#top) .guide-content .panel{max-width:1040px}
  body > main:not(#top) .guide-hero .copy > :is(p,h1){max-width:65ch}
  body > main:not(#top) .owner-editorial-hero .inner{max-width:710px}
  body > main:not(#top) .owner-steps{gap:clamp(17px,1.8vw,29px)}
  /* Sélection du pays : seul le canevas s'élargit ; cartes alignées et
     textes courts centrés pour éviter une grande zone vide. */
  body > main:has(> #suggestion){padding:clamp(32px,3vw,50px)!important}
  body > main:has(> #suggestion) > :is(h1,p,small){
    display:block;max-width:880px;margin-inline:auto;text-align:center;
  }
  body > main:has(> #suggestion) > ul{
    width:min(1220px,100%);max-width:1220px;
    margin:28px auto;grid-template-columns:repeat(4,minmax(0,1fr));
    gap:clamp(12px,1.2vw,20px);
  }
  body > main:has(> #suggestion) > ul li a{padding:24px 15px}
  /* Pied de page : le contenu suit les mêmes axes sur toutes les pages.
     Les liens et textes restent inchangés. */
  body .site-footer.site-footer-8072 .kocoonya-footer-navigation,
  body .site-footer.site-footer-8072 .kocoonya-footer-utility,
  body .site-footer.site-footer-8072 .kocoonya-legal-footer,
  body .site-footer.site-footer-8072 .footer-inner{
    box-sizing:border-box;
    width:min(var(--k178-wide),calc(100% - 64px))!important;
    max-width:var(--k178-wide)!important;
    margin-left:auto!important;margin-right:auto!important;
  }
  body .site-footer.site-footer-8072 .kocoonya-footer-navigation{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:30px clamp(24px,2.65vw,52px)!important;
    padding-inline:0!important;
  }
  body .site-footer.site-footer-8072 .kocoonya-footer-navigation nav{
    min-width:0;justify-items:start;align-content:start;text-align:left;
  }
  body .site-footer.site-footer-8072 .kocoonya-footer-navigation h3{font-size:15px}
  body .site-footer.site-footer-8072 .kocoonya-footer-navigation a{
    font-size:13.5px;line-height:1.58;
  }
}
@media (min-width:1600px){
  :root{--k178-side:32px}
  body .site-footer.site-footer-8072 .kocoonya-footer-navigation{margin-bottom:40px!important}
}
