
/* MUSICA + RIFINITURA TESTI HOME V1.1 */

/* Evita titoli o testi che escano dai box */
body.v6-page-home .v6-home-block,
body.v6-page-home .home-third-teaser,
body.v6-page-home .v6-newsletter,
body.v6-page-home .pm-conversion,
body.v6-page-home .pm-proof,
body.v6-page-home .pm-world,
body.v6-page-home .pm-final,
body.v6-page-home .pp-proof,
body.v6-page-home .fp-reviews-mini{
  overflow:hidden!important;
}
body.v6-page-home .v6-home-block *,
body.v6-page-home .home-third-teaser *,
body.v6-page-home .v6-newsletter *,
body.v6-page-home .pm-conversion *,
body.v6-page-home .pm-proof *,
body.v6-page-home .pm-world *,
body.v6-page-home .pm-final *,
body.v6-page-home .pp-proof *,
body.v6-page-home .fp-reviews-mini *{
  min-width:0!important;
  max-width:100%!important;
}
body.v6-page-home h1,
body.v6-page-home h2,
body.v6-page-home h3{
  overflow-wrap:break-word!important;
  word-break:normal!important;
  hyphens:auto!important;
}

/* I blocchi che nello screenshot risultavano troppo tirati ai lati diventano centrati */
body.v6-page-home .v6-home-final,
body.v6-page-home .pm-final{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
body.v6-page-home .v6-home-final>div,
body.v6-page-home .pm-final>div{
  width:100%!important;
  max-width:900px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.v6-page-home .v6-home-final h2,
body.v6-page-home .pm-final h2{
  margin-left:auto!important;
  margin-right:auto!important;
  font-size:clamp(1.9rem,3vw,2.8rem)!important;
}
body.v6-page-home .v6-home-final p,
body.v6-page-home .pm-final p{
  margin-left:auto!important;
  margin-right:auto!important;
}
body.v6-page-home .v6-home-final .v6-page-actions,
body.v6-page-home .pm-final .pm-final-actions{
  justify-content:center!important;
  width:100%!important;
}

/* Recensioni e "mondo reale": titoli centrati e più ordinati */
body.v6-page-home .v6-home-proof,
body.v6-page-home .v6-home-world{
  text-align:center!important;
}
body.v6-page-home .v6-home-proof>p,
body.v6-page-home .v6-home-world>p,
body.v6-page-home .v6-home-proof>h2,
body.v6-page-home .v6-home-world>h2{
  margin-left:auto!important;
  margin-right:auto!important;
  max-width:820px!important;
}
body.v6-page-home .v6-home-proof .v6-page-actions{
  justify-content:center!important;
}
body.v6-page-home .v6-proof-card,
body.v6-page-home .v6-world-card{
  text-align:left!important;
}

/* Newsletter: niente più colonne troppo strette o parole spezzate */
body.v6-page-home .v6-newsletter,
body.v6-page-home .pm-newsletter-fix{
  text-align:center!important;
}
body.v6-page-home .v6-newsletter .split,
body.v6-page-home .pm-newsletter-fix .split,
body.v6-page-home .v6-newsletter .wrap,
body.v6-page-home .pm-newsletter-fix .wrap{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  gap:18px!important;
  width:100%!important;
}
body.v6-page-home .v6-newsletter h1,
body.v6-page-home .v6-newsletter h2,
body.v6-page-home .v6-newsletter h3,
body.v6-page-home .pm-newsletter-fix h1,
body.v6-page-home .pm-newsletter-fix h2,
body.v6-page-home .pm-newsletter-fix h3{
  max-width:760px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  font-size:clamp(1.9rem,3vw,2.65rem)!important;
}
body.v6-page-home .v6-newsletter p,
body.v6-page-home .pm-newsletter-fix p{
  max-width:720px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.v6-page-home .v6-newsletter form,
body.v6-page-home .pm-newsletter-fix form{
  justify-content:center!important;
  max-width:760px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Pulsante musica */
.portal-music-control{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1450;
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 14px;
  border:1px solid rgba(24,217,239,.24);
  border-radius:999px;
  background:rgba(6,25,38,.93);
  color:#fff;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  backdrop-filter:blur(12px);
  font:850 13px/1 system-ui,-apple-system,Segoe UI,sans-serif;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease;
}
.portal-music-control:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(0,0,0,.27);
}
.portal-music-control .note{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:linear-gradient(135deg,#18d9ef,#0aa4b8);
  color:#062331;
  font-size:16px;
  font-weight:950;
}
.portal-music-control[data-playing="true"] .note{
  background:linear-gradient(135deg,#ff9a49,#ff7d35);
  color:#fff;
}
.portal-music-control .text{white-space:nowrap}
.portal-music-hint{
  position:fixed;
  right:18px;
  bottom:74px;
  z-index:1449;
  max-width:260px;
  padding:9px 12px;
  border-radius:12px;
  background:#fffdf8;
  color:#244954;
  border:1px solid #d8e6e5;
  box-shadow:0 12px 30px rgba(6,47,62,.13);
  font:700 12px/1.4 system-ui,-apple-system,Segoe UI,sans-serif;
}
@media(max-width:720px){
  .portal-music-control{
    right:10px;
    bottom:78px;
    padding:9px 12px;
  }
  .portal-music-control .text{font-size:12px}
  .portal-music-hint{
    right:10px;
    bottom:129px;
    max-width:225px;
  }
  body.v6-page-home .v6-home-final h2,
  body.v6-page-home .pm-final h2{
    font-size:clamp(1.8rem,8vw,2.3rem)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .portal-music-control{transition:none}
}
