/* PhoenixCustom’s V15-AE.9 — corrections ciblées pour écrans de téléphone.
   Chargée en dernier. Aucune règle écran > 780px : vitrine ordinateur préservée. */
body.pc-premium-home .pc-mobile-menu-toggle,
body.pc-premium-home .pc-mobile-category-picker{display:none!important}
@media (max-width:780px){
  body.pc-premium-home{overflow-x:clip!important}
  body.pc-premium-home .preview{padding:8px 12px!important;font-size:10px!important;line-height:1.35!important;letter-spacing:.08em!important;text-align:center!important}
  /* Un bandeau d'information court ; les liens utiles restent dans le menu. */
  body.pc-premium-home .pc-premium-utility{max-width:100%!important;overflow:hidden!important}
  body.pc-premium-home .pc-premium-utility-inner{display:flex!important;justify-content:center!important;gap:4px!important;padding:8px 12px!important;text-align:center!important}
  body.pc-premium-home .pc-premium-utility-inner>span:first-child{display:inline!important;margin:0!important;font-size:12px!important}
  body.pc-premium-home .pc-premium-utility-inner>span:not(:first-child),
  body.pc-premium-home .pc-premium-utility-inner>a,
  body.pc-premium-home .pc-premium-utility-inner>.pc-v15ab-socials{display:none!important}

  /* En-tête centré, actions sur une seule rangée et navigation verticale. */
  body.pc-premium-home>header.pc-premium-header{
    display:grid!important;grid-template-areas:'brand menu' 'actions actions' 'search search' 'nav nav'!important;
    grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto auto auto!important;
    justify-content:stretch!important;align-items:center!important;gap:10px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:12px 14px 13px!important;box-sizing:border-box!important;
  }
  body.pc-premium-home>header.pc-premium-header .brand{
    grid-area:brand!important;display:flex!important;align-items:center!important;
    justify-self:start!important;max-width:100%!important;min-width:0!important;
    gap:9px!important;margin:0!important;padding:0!important;text-decoration:none!important;
  }
  body.pc-premium-home>header.pc-premium-header .brand img{
    width:54px!important;height:54px!important;flex:0 0 54px!important;object-fit:contain!important;
  }
  body.pc-premium-home>header.pc-premium-header .brand>span{
    min-width:0!important;font-size:clamp(21px,5.5vw,28px)!important;line-height:1.1!important;
    overflow-wrap:anywhere!important;
  }
  body.pc-premium-home>header.pc-premium-header .brand small{
    font-size:clamp(8px,2.3vw,11px)!important;letter-spacing:.05em!important;line-height:1.2!important;
  }
  body.pc-premium-home .pc-mobile-menu-toggle{
    grid-area:menu!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    gap:7px!important;justify-self:end!important;min-width:94px!important;min-height:44px!important;
    margin:0!important;padding:9px 12px!important;box-sizing:border-box!important;
    border:1px solid #e6a149!important;border-radius:10px!important;
    background:#211006!important;color:#ffdfb5!important;font:800 13px/1.1 'Trebuchet MS',Arial,sans-serif!important;
    box-shadow:none!important;cursor:pointer!important;
  }
  body.pc-premium-home .pc-mobile-menu-toggle .pc-mobile-burger{font-size:23px!important;line-height:1!important;color:#ffb34e!important}
  body.pc-premium-home .pc-mobile-menu-toggle[aria-expanded=true]{background:#45220b!important;border-color:#ffbd6b!important}
  body.pc-premium-home>header.pc-premium-header .pc-v15ab-actions,
  body.pc-premium-home>header.pc-premium-header .pc-v15aa-actions{
    grid-area:actions!important;display:flex!important;flex-wrap:nowrap!important;
    width:100%!important;max-width:430px!important;min-width:0!important;
    justify-self:center!important;justify-content:center!important;align-items:center!important;
    gap:clamp(6px,2vw,18px)!important;padding:4px 0 6px!important;margin:0 auto!important;
    white-space:normal!important;
  }
  body.pc-premium-home>header.pc-premium-header .pc-v15ab-actions>.pc-v15aa-action{
    display:flex!important;flex:1 1 0!important;min-width:0!important;max-width:140px!important;min-height:64px!important;
    flex-direction:column!important;justify-content:center!important;align-items:center!important;
    gap:5px!important;margin:0!important;padding:7px 5px!important;text-align:center!important;
    background:#180b07!important;border:1px solid #70431f!important;border-radius:11px!important;
    box-shadow:none!important;
  }
  body.pc-premium-home>header.pc-premium-header .pc-v15ab-actions .pc-v15ab-icon{
    width:25px!important;height:25px!important;max-width:25px!important;flex:0 0 25px!important;
  }
  body.pc-premium-home>header.pc-premium-header .pc-v15ab-actions .pc-v15aa-action-label{
    display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;
    flex-wrap:wrap!important;gap:4px!important;width:100%!important;min-width:0!important;
    text-align:center!important;white-space:normal!important;font:750 11px/1.25 'Trebuchet MS',Arial,sans-serif!important;
  }
  body.pc-premium-home>header.pc-premium-header .pc-v15ab-actions .pc-v15aa-action-label small{display:none!important}
  body.pc-premium-home>header.pc-premium-header .pc-premium-search{
    grid-area:search!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;justify-self:stretch!important;box-sizing:border-box!important;
  }
  body.pc-premium-home>header.pc-premium-header .pc-premium-search input{
    min-width:0!important;max-width:100%!important;font-size:15px!important;
  }
  /* La même navigation d'origine : liens conservés, seule la présentation change. */
  body.pc-premium-home.pc-mobile-nav-ready>header.pc-premium-header nav.pc-premium-navigation{
    grid-area:nav!important;grid-column:1/-1!important;grid-row:auto!important;
    display:none!important;width:100%!important;max-width:100%!important;min-width:0!important;
    max-height:none!important;margin:0!important;padding:6px!important;overflow:visible!important;
    border:1px solid #a86b35!important;border-radius:12px!important;
    background:#170c07!important;box-sizing:border-box!important;box-shadow:0 9px 18px #0008!important;
  }
  body.pc-premium-home.pc-mobile-nav-ready.pc-mobile-nav-open>header.pc-premium-header nav.pc-premium-navigation{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important;
  }
  body.pc-premium-home.pc-mobile-nav-ready>header.pc-premium-header nav.pc-premium-navigation>a{
    display:flex!important;justify-content:flex-start!important;align-items:center!important;
    min-width:0!important;min-height:47px!important;max-height:none!important;
    padding:9px 12px!important;gap:12px!important;white-space:normal!important;
    border:0!important;border-radius:8px!important;text-align:left!important;
    background:transparent!important;box-shadow:none!important;color:#ffe4bc!important;
    font:750 14px/1.25 'Trebuchet MS',Arial,sans-serif!important;
  }
  body.pc-premium-home.pc-mobile-nav-ready>header.pc-premium-header nav.pc-premium-navigation>a:first-child{
    background:#322013!important;box-shadow:none!important;
  }
  body.pc-premium-home.pc-mobile-nav-ready>header.pc-premium-header nav.pc-premium-navigation>a:focus-visible{
    outline:2px solid #ffbf71!important;outline-offset:1px!important;
  }
  body.pc-premium-home.pc-mobile-nav-ready>header.pc-premium-header nav.pc-premium-navigation .pc-v15ab-icon{
    width:22px!important;height:22px!important;flex:0 0 22px!important;
  }
  body.pc-premium-home.pc-mobile-nav-ready>header.pc-premium-header nav.pc-premium-navigation>a.pc-mobile-contact-link{display:flex!important}

  /* Trois blocs DISTINCTS : la devise, la photo de gravure, puis le diaporama. */
  body.pc-premium-home main>.hero,
  body.pc-premium-home.pc-theme-active main>.hero,
  body.pc-premium-home.pc-theme-active main>.hero.pc-theme-hero-image{
    display:grid!important;grid-template-areas:'motto' 'machine' 'gallery'!important;
    grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;
    position:relative!important;isolation:isolate!important;align-items:stretch!important;
    width:calc(100% - 20px)!important;max-width:100%!important;min-width:0!important;
    min-height:0!important;height:auto!important;max-height:none!important;
    margin:14px auto 18px!important;padding:14px!important;gap:15px!important;
    overflow:visible!important;box-sizing:border-box!important;
    background:linear-gradient(160deg,#261107,#100806 70%,#1c0e07)!important;
    border:1px solid #c17d37!important;border-radius:14px!important;
    box-shadow:0 13px 29px #0009!important;
  }
  body.pc-premium-home main>.hero::before,
  body.pc-premium-home main>.hero::after{display:none!important;content:none!important}
  body.pc-premium-home main>.hero .pc-premium-hero-copy{
    grid-area:motto!important;display:flex!important;flex-direction:column!important;
    align-items:stretch!important;justify-content:center!important;z-index:1!important;
    position:relative!important;inset:auto!important;top:auto!important;bottom:auto!important;
    left:auto!important;right:auto!important;transform:none!important;
    width:100%!important;max-width:100%!important;min-height:0!important;
    margin:0!important;padding:5px 4px 8px!important;
    box-sizing:border-box!important;text-align:left!important;overflow:visible!important;
  }
  body.pc-premium-home main>.hero .pc-premium-hero-copy .eyebrow{
    display:block!important;letter-spacing:.12em!important;
    font-size:clamp(9px,2.8vw,12px)!important;line-height:1.35!important;margin:0 0 10px!important;
  }
  body.pc-premium-home main>.hero .pc-premium-hero-copy #pc-premium-hero-title{
    font-size:clamp(33px,9vw,48px)!important;line-height:1.06!important;
    max-width:100%!important;min-width:0!important;margin:0 0 13px!important;
    overflow-wrap:normal!important;text-wrap:balance!important;
  }
  body.pc-premium-home main>.hero .pc-premium-hero-copy .intro{
    font-size:clamp(13px,3.6vw,16px)!important;line-height:1.42!important;
    margin:0!important;max-width:100%!important;
  }
  body.pc-premium-home main>.hero .pc-premium-hero-copy .intro br{display:none!important}
  body.pc-premium-home main>.hero .pc-premium-hero-copy .materials{display:none!important}
  body.pc-premium-home main>.hero .pc-v15h-machine-scene{
    grid-area:machine!important;display:block!important;position:relative!important;
    inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    transform:none!important;z-index:1!important;
    width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;
    aspect-ratio:16/9!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important;
    background-image:url('/phoenix-hero-2026-v15ab.jpg')!important;
    background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important;
    opacity:1!important;filter:none!important;clip-path:none!important;
    border:1px solid #bd813e!important;border-radius:12px!important;
    box-shadow:0 6px 18px #0008!important;
  }
  body.pc-premium-home main>.hero #pc-premium-gallery.pc-v15t-gallery{
    grid-area:gallery!important;display:block!important;position:relative!important;
    inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    transform:none!important;z-index:1!important;
    width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;
    margin:0!important;padding:12px!important;box-sizing:border-box!important;
    border:1px solid #bb7a3a!important;border-radius:12px!important;
    background:linear-gradient(150deg,#2c170d,#160b07)!important;
    overflow:hidden!important;
  }
  body.pc-premium-home main>.hero #pc-premium-gallery .pc-premium-section-heading{
    width:100%!important;max-width:100%!important;margin:0 0 11px!important;padding:0!important;
    text-align:left!important;
  }
  body.pc-premium-home main>.hero #pc-premium-gallery .pc-premium-section-heading>span{
    font-size:10px!important;line-height:1.2!important;letter-spacing:.1em!important;
  }
  body.pc-premium-home main>.hero #pc-premium-gallery .pc-premium-section-heading h2{
    font-size:clamp(23px,6vw,32px)!important;line-height:1.1!important;margin:5px 0 0!important;
  }
  body.pc-premium-home main>.hero #pc-premium-gallery .showcase{
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;border-radius:9px!important;
  }
  body.pc-premium-home main>.hero #pc-premium-gallery .slide-stage{
    height:clamp(230px,74vw,320px)!important;min-height:0!important;max-height:none!important;
    width:100%!important;max-width:100%!important;overflow:hidden!important;
  }
  body.pc-premium-home main>.hero #pc-premium-gallery .slide-stage img{
    max-width:100%!important;object-fit:contain!important;
  }
  body.pc-premium-home main>.hero #pc-premium-gallery .slide-controls{
    display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;
    gap:8px!important;width:100%!important;max-width:100%!important;
    margin:0!important;padding:9px 5px!important;box-sizing:border-box!important;
  }
  body.pc-premium-home main>.hero #pc-premium-gallery .slide-controls button{
    min-width:39px!important;min-height:39px!important;margin:0!important;
    padding:8px!important;font-size:13px!important;
  }
  body.pc-premium-home main>.hero #pc-premium-gallery #slide-dots{
    display:flex!important;justify-content:center!important;align-items:center!important;gap:7px!important;
    min-width:45px!important;max-width:100%!important;
  }
  /* Les catégories déroulent une liste native au lieu de défiler latéralement. */
  body.pc-premium-home.pc-mobile-cats-ready .pc-mobile-category-picker{
    display:flex!important;flex-direction:column!important;gap:7px!important;
    width:100%!important;max-width:100%!important;margin:12px 0!important;padding:0 6px!important;
    box-sizing:border-box!important;
  }
  body.pc-premium-home .pc-mobile-category-picker>span{
    color:#ffd18e!important;font:800 13px/1.3 'Trebuchet MS',Arial,sans-serif!important;
  }
  body.pc-premium-home .pc-mobile-category-picker select{
    display:block!important;appearance:auto!important;width:100%!important;max-width:100%!important;
    min-height:49px!important;padding:10px 13px!important;border-radius:10px!important;
    background:#1f1009!important;border:1px solid #e2a154!important;color:#fff0d4!important;
    font:700 15px/1.25 'Trebuchet MS',Arial,sans-serif!important;
  }
  body.pc-premium-home.pc-mobile-cats-ready #pc-premium-category-list{display:none!important}
  body.pc-premium-home .pc-premium-category-section{max-width:100%!important;min-width:0!important}
  /* Le bloc engagements sur une grille verticale lisible, sans traits parasites. */
  body.pc-premium-home main>.benefits{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;width:calc(100% - 24px)!important;max-width:100%!important;
    margin:12px auto!important;padding:13px!important;min-height:0!important;
    background:#170b07!important;border:1px solid #bd7c35!important;border-radius:12px!important;
  }
  body.pc-premium-home main>.benefits>span{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    width:100%!important;min-width:0!important;min-height:38px!important;max-width:100%!important;
    padding:5px 7px!important;margin:0!important;border:0!important;box-shadow:none!important;
    background:none!important;opacity:1!important;text-align:left!important;
    font-size:12px!important;line-height:1.35!important;
  }
  body.pc-premium-home main>.benefits>span i{
    width:26px!important;flex:0 0 26px!important;text-align:center!important;
    font-size:21px!important;line-height:1!important;margin-right:10px!important;
  }
  body.pc-premium-home main>.benefits>span:before,
  body.pc-premium-home main>.benefits>span:after{display:none!important;content:none!important}
}
@media (max-width:390px){
  body.pc-premium-home>header.pc-premium-header{padding-inline:9px!important}
  body.pc-premium-home>header.pc-premium-header .brand img{width:47px!important;height:47px!important;flex-basis:47px!important}
  body.pc-premium-home>header.pc-premium-header .brand>span{font-size:21px!important}
  body.pc-premium-home .pc-mobile-menu-toggle{min-width:78px!important;padding-inline:9px!important;font-size:12px!important}
  body.pc-premium-home main>.hero{padding:10px!important;gap:12px!important}
  body.pc-premium-home main>.hero #pc-premium-gallery.pc-v15t-gallery{padding:9px!important}
}
