/* PhoenixCustom's AF23.6.10 — cohérence responsive, page d'accueil uniquement.
   Styles ajoutés après AF23.6.9. Ne modifie aucune logique de commande,
   de gravure, de paiement, de fidélité ou d'installation mobile. */

body.pc-premium-home > header.pc-premium-header,
body.pc-premium-home main > .hero {box-sizing:border-box!important;min-width:0!important;}

/* Réseaux sociaux : plus de positionnement absolu ou de règle dépendant du
   seuil arbitraire 1500px. La grille participe réellement à la mise en page. */
@media(min-width:1180px){
 body.pc-premium-home > header.pc-premium-header{
  grid-template-areas:"brand socials actions" "search search search" "nav nav nav"!important;
  grid-template-columns:minmax(295px,1fr) minmax(315px,1.06fr) max-content!important;
  align-items:center!important;column-gap:clamp(14px,1.35vw,24px)!important;
 }
 body.pc-premium-home > header.pc-premium-header .brand{grid-area:brand!important;min-width:0!important;}
 body.pc-premium-home > header.pc-premium-header .pc-v15ab-actions{
  grid-area:actions!important;justify-self:end!important;min-width:0!important;
 }
 body.pc-premium-home > header.pc-premium-header .pc-premium-search{
  grid-area:search!important;justify-self:stretch!important;max-width:none!important;
 }
 body.pc-premium-home > header.pc-premium-header nav.pc-premium-navigation{
  grid-area:nav!important;min-width:0!important;
 }
 body.pc-premium-home > header.pc-premium-header .pc67-header-socials{
  grid-area:socials!important;position:relative!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;
  justify-self:stretch!important;align-self:center!important;
  padding:4px 6px!important;gap:7px 12px!important;
 }
 body.pc-premium-home > header.pc-premium-header .pc67-social{
  justify-content:flex-start!important;font-size:clamp(9px,.75vw,12px)!important;max-width:100%!important;
 }
 body.pc-premium-home > header.pc-premium-header .pc67-social-label{
  overflow:visible!important;text-overflow:clip!important;
 }
}

/* Écrans PC compacts et tablettes : une deuxième rangée dédiée aux réseaux,
   sans chevaucher le logo, le compte ou le panier. */
@media(min-width:781px) and (max-width:1179px){
 body.pc-premium-home > header.pc-premium-header{
  grid-template-areas:"brand actions" "socials socials" "search search" "nav nav"!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  column-gap:12px!important;row-gap:5px!important;
 }
 body.pc-premium-home > header.pc-premium-header .brand{grid-area:brand!important;min-width:0!important;}
 body.pc-premium-home > header.pc-premium-header .pc-v15ab-actions{
  grid-area:actions!important;justify-self:end!important;min-width:0!important;
 }
 body.pc-premium-home > header.pc-premium-header .pc-premium-search{
  grid-area:search!important;max-width:none!important;width:100%!important;justify-self:stretch!important;
 }
 body.pc-premium-home > header.pc-premium-header nav.pc-premium-navigation{
  grid-area:nav!important;display:grid!important;width:100%!important;min-width:0!important;
  transform:none!important;left:auto!important;right:auto!important;margin:0!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
 }
 body.pc-premium-home > header.pc-premium-header .pc67-header-socials{
  grid-area:socials!important;position:relative!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;
  padding:2px 6px!important;gap:3px 9px!important;
 }
 body.pc-premium-home > header.pc-premium-header .pc67-social{
  font-size:clamp(9px,1vw,11px)!important;justify-content:center!important;
  white-space:nowrap!important;max-width:100%!important;
 }
 body.pc-premium-home > header.pc-premium-header .pc67-social-label{
  overflow:visible!important;text-overflow:clip!important;
 }
}
@media(min-width:781px) and (max-width:970px){
 body.pc-premium-home > header.pc-premium-header nav.pc-premium-navigation>a{
  flex-direction:column!important;gap:4px!important;padding:8px 4px!important;
  font-size:clamp(10px,1.25vw,12px)!important;min-height:65px!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-v15ab-actions .pc-premium-account{display:flex!important;}
}

/* Bannière PC : coordonnées liées au conteneur, typo qui s'adapte à la
   largeur disponible ; la première ligne ne saute plus de 1 à 2 lignes. */
@media(min-width:781px){
 body.pc-premium-home main>.hero{
  min-height:clamp(525px,38.5vw,710px)!important;
  height:auto!important;position:relative!important;overflow:hidden!important;
 }
 body.pc-premium-home main>.hero .pc-premium-hero-copy{
  position:absolute!important;left:2.8%!important;top:50%!important;
  width:31.5%!important;max-width:none!important;min-width:0!important;
  margin:0!important;transform:translateY(-50%)!important;
 }
 body.pc-premium-home main>.hero .pc-premium-hero-copy h1{
  font-size:clamp(30px,3.0vw,57px)!important;line-height:1.06!important;
  letter-spacing:-.045em!important;max-width:none!important;
 }
 body.pc-premium-home main>.hero .pc-premium-hero-copy h1 .pc-v15y-title-first{
  display:block!important;white-space:nowrap!important;
 }
 body.pc-premium-home main>.hero .pc-premium-hero-copy .eyebrow{
  font-size:clamp(10px,.77vw,13px)!important;line-height:1.4!important;
  letter-spacing:.16em!important;
 }
 body.pc-premium-home main>.hero .pc-premium-hero-copy .intro{
  font-size:clamp(12px,.95vw,17px)!important;line-height:1.45!important;
 }
 body.pc-premium-home main>.hero #pc-premium-gallery.pc-v15t-gallery{
  position:absolute!important;left:35.2%!important;width:31.4%!important;
  top:50%!important;bottom:auto!important;max-width:none!important;
  margin:0!important;transform:translateY(-50%)!important;
 }
}
@media(min-width:781px) and (max-width:1050px){
 body.pc-premium-home main>.hero{min-height:550px!important;}
 body.pc-premium-home main>.hero .pc-premium-hero-copy{
  left:2.7%!important;width:35.3%!important;
 }
 body.pc-premium-home main>.hero .pc-premium-hero-copy h1{
  font-size:clamp(29px,3.4vw,36px)!important;
 }
 body.pc-premium-home main>.hero #pc-premium-gallery.pc-v15t-gallery{
  left:42%!important;width:34%!important;
 }
}

/* Téléphone : vraie composition verticale. Aucune position absolue héritée
   des règles PC qui provoquerait vide ou chevauchement. */
@media(max-width:780px){
 body.pc-premium-home main>.hero{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:clamp(16px,4vw,26px)!important;
  min-height:0!important;height:auto!important;
  padding:clamp(20px,5vw,34px) clamp(12px,4vw,24px) 28px!important;
 }
 body.pc-premium-home main>.hero .pc-premium-hero-copy{
  position:relative!important;left:auto!important;right:auto!important;
  top:auto!important;bottom:auto!important;transform:none!important;
  display:block!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;flex:0 0 auto!important;
 }
 body.pc-premium-home main>.hero .pc-premium-hero-copy h1{
  font-size:clamp(32px,7.4vw,51px)!important;line-height:1.07!important;
 }
 body.pc-premium-home main>.hero #pc-premium-gallery.pc-v15t-gallery{
  position:relative!important;left:auto!important;right:auto!important;
  top:auto!important;bottom:auto!important;transform:none!important;
  width:100%!important;max-width:min(100%,550px)!important;
  min-width:0!important;margin:0 auto!important;align-self:center!important;
 }
}
