/*
Theme Name: ViralClub Sito
Theme URI: https://viralclub.example
Author: ViralClub
Author URI: https://viralclub.example
Description: Tema WordPress per il sito completo di ViralClub (da integrare con layout Oxygen).
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viralclub-sito
Tags: custom-logo, custom-menu, featured-images
*/

/* Base */
:root{
  --bg:#0b0f14;
  --text:#eaf0f6;
  --muted:#a6b2bf;
  --line:rgba(255,255,255,.12);
  --accent:#a47cff; /* ponytail: accent globale coerente con hl-hero */
}
*{box-sizing:border-box}
html{
  min-height: 100%;
  overflow-x: clip;
}
body{
  min-height: 100vh;
  height: auto;
  margin:0;
  background: radial-gradient(900px 600px at 20% 0%, rgba(164,124,255,.14), transparent 60%), var(--bg);
  color:var(--text);
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a{color:inherit;text-decoration:none}
.index-main{max-width:1100px;margin:0 auto;padding:48px 20px}

/* Visibility helpers */
.desktop{display:inline}
.mobile{display:none}
@media (max-width: 860px){
  .desktop{display:none !important}
  .mobile{display:block !important}
}

/* Slide + fade-in */
.slide{opacity:0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease}
.slide.visible{opacity:1; transform: translateY(0)}
.fade-in{opacity:0}
.fade-in.visible{opacity:1; transition: opacity 1s ease-out}

/* Movimento decorativo delle nuvole. `translate` resta indipendente dal
   `transform` usato dal parallasse della hero. */
@keyframes cloud-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.cloud-hero,
.cloud-perche {
  animation: cloud-float 9s ease-in-out infinite;
  will-change: transform, translate, opacity;
}

.cloud-hero:nth-of-type(even),
.cloud-perche:nth-of-type(even) {
  animation-delay: -4.5s;
}

@media (prefers-reduced-motion: reduce) {
  .cloud-hero,
  .cloud-perche {
    animation: none;
  }
  .hero-main-img,
  .hero-glow,
  .cloud-hero {
    transition: none !important;
  }
  .hero-main-img {
    transform: none;
  }
}

/* Layout base delle sezioni (stili “minimi” — se mi passi anche il CSS Oxygen, diventa 1:1) */
.vc-main section{padding: 64px 0 0}
.container-hero,
.clients-wrap,
.wf-wrap{max-width:1120px; margin:0 auto; padding:0 20px}
.container-hero{text-align:center}

/* HERO */
.hero-title-hero{
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 900;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-text-stroke: 1px currentColor;
  paint-order: stroke fill;
}
.hl{color: #a47cff}
.hl-hero{color:#a47cff; text-shadow: 0 0 30px rgba(164,124,255,.22)}
.hero-main-img{width:100%; height:auto; display:block; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.55)}
.cloud-hero{position:absolute; width: 180px; height:auto; opacity:.9; filter: drop-shadow(0 25px 60px rgba(0,0,0,.45)); z-index: 2}
.cloud-hero.cloud-hero-0{left:-30px; top: 20px; z-index: 0}
.cloud-hero-1{right:-30px; top: 80px}
.claim-hero,
.claim-hero *{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  opacity:1 !important;
}
.claim-hero{position:relative; z-index:3; margin:0; padding:28px 0 10px; overflow:visible; font-size: clamp(18px, 2.2vw, 28px); font-weight: 800; letter-spacing:-.02em}
.sub-hero{margin: 0; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.6}
.cta-wrapper{margin-top: 22px; display:flex; align-items:center; justify-content:center; gap: 16px}
.cta-hero, .cta-altri, .wf-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(164,124,255,.55);
  background: linear-gradient(135deg, rgba(164,124,255,.98), rgba(126,76,230,.78));
  color:#fff;
  font-weight: 850;
}
.arrow-path{stroke: rgba(234,240,246,.70); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round}

/* SHOWREEL (minimo) */
.video-section-showreel{position:relative}
.video-track-showreel.desktop{display:flex; gap: 18px; will-change: transform; transition: transform .5s ease}
.video-track-showreel.mobile{display:none}
.video-slide{display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px}
.video-card-showreel{background: none; border: none; border-radius: 0; padding: 0}
.video-thumb-showreel{position:relative; border-radius: 14px; overflow:hidden; border:1px solid rgba(255,255,255,.10)}
.video-thumb-showreel video{display:block; width:100%; height:auto}
.control-btn{position:absolute; inset:auto 12px 12px auto; width:44px; height:44px; border-radius: 50%; background: rgba(0,0,0,.55); border:1px solid rgba(255,255,255,.18)}
.play-showreel{display:block}
.pause-showreel{display:none}
.video-card-showreel.playing .pause-showreel{display:block}
.video-card-showreel.playing .play-showreel{display:none}
.title-showreel{margin: 12px 0 2px; font-size: 14px}
.meta-showreel{margin:0; color: var(--muted); font-size: 12px}
.video-arrows-showreel{position:absolute; inset: 50% 0 auto 0; display:flex; justify-content:space-between; padding: 0 20px; pointer-events:none}
.arrow-back{pointer-events:auto}
.arrow-showreel{display:inline-flex; width:44px; height:44px; align-items:center; justify-content:center; border-radius: 14px; background: rgba(255,255,255,.05); border:1px solid var(--line); cursor:pointer; user-select:none}
.video-dots-showreel{display:flex; gap:8px; justify-content:center; margin-top: 18px}
.dot-showreel{width:8px; height:8px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.22); cursor:pointer; appearance:none}
.dot-showreel.active{background: var(--accent)}

@media (max-width: 860px){
  .video-track-showreel.desktop,
  .video-dots-showreel.desktop,
  .video-arrows-showreel.desktop{
    display:none !important;
  }

  .video-track-showreel.mobile,
  .video-dots-showreel.mobile,
  .video-arrows-showreel.mobile{
    display:flex !important;
  }

  .showreel-track-wrap{
    overflow:hidden;
  }

  .video-track-showreel.mobile{
    gap:0;
    transition:transform .5s ease;
    overflow:visible;
    width:100%;
    touch-action:pan-y;
    -ms-overflow-style:none;
    scrollbar-width:none;
  }

  .video-track-showreel.mobile::-webkit-scrollbar{
    display:none;
  }

  .video-track-showreel.mobile .video-slide{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    flex:0 0 100%;
    min-width:100%;
    width:100%;
    box-sizing:border-box;
  }

  .video-track-showreel.mobile .video-card-showreel{
    flex:0 0 calc(50% - 6px);
    max-width:calc(50% - 6px);
  }

  .video-slide{grid-template-columns: repeat(2, minmax(0, 1fr))}
}

/* FORM */
.container{max-width: 860px; margin:0 auto; padding: 0 20px; text-align:center}
.custom-form{
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.vc-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.vc-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.custom-form input, .custom-form textarea{
  width: 100%;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(164,124,255,.3);
  background: rgba(164,124,255,.07);
  color: var(--text);
  font-size: 15px;
  transition: border-color .15s ease;
  appearance: none;
}
.custom-form textarea{
  min-height: 90px;
  resize: vertical;
  border-radius: 18px;
}
.custom-form input::placeholder, .custom-form textarea::placeholder{
  color: var(--muted);
}
.custom-form input:focus, .custom-form textarea:focus{
  outline: none;
  border-color: rgba(164,124,255,.7);
}
.cta-form{
  margin: 0 auto;
  padding: 16px 28px;
  border-radius: 999px;
  background: #9e69ff;
  color: #fff;
  font-weight: 500;
  border: 2px solid #fff;
  transition: transform .12s ease, box-shadow .12s ease;
  text-align: center;
  width: fit-content;
  cursor: pointer;
}
.cta-form:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 0 rgba(0,0,0,.4), 0 0 0 6px rgba(191,166,255,.24) inset;
}
.cta-form:active{
  transform: none;
  box-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 0 6px rgba(191,166,255,.2) inset;
}
.success-message, .error-message{margin-top: 14px}

/* Header (Oxygen export) */
.site-header-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,15,20,.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.wrap-header{
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.brand-header{
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
  line-height: 1;
}
.brand-header em{
  font-style: normal;
  color: #a47cff;
}
.cta-header-header{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(164,124,255,.55);
  background: linear-gradient(135deg, rgba(164,124,255,.98), rgba(126,76,230,.78));
  color: #fff;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: transform .15s ease, filter .15s ease;
}
.cta-header-header:hover{transform: translateY(-1px); filter: brightness(1.05)}

/* Footer (Oxygen export) */
.vc-footer{
  border-top: 1px solid var(--line);
  margin-top: 0;
  background: rgba(255,255,255,.02);
}
.vc-footer__inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 44px;
}
.vc-footer__cols{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items:start;
}
.vc-col__title{
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(234,240,246,.88);
}
.vc-col__text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.vc-link{color: rgba(234,240,246,.92)}
.vc-link:hover{color: #a47cff}
.vc-col--center{text-align:center}
.vc-col--right{text-align:right}
.vc-footer__brand{
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 18px;
  text-align:center;
}
.vc-brand__viral{color: rgba(234,240,246,.92)}
.vc-brand__club{color: var(--accent)}
.vc-footer__legal{
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 860px){
  .vc-footer__cols{grid-template-columns: 1fr; text-align:left}
  .vc-col--center, .vc-col--right{text-align:left}
}


body {
  background-color: black;
  color: white;
}

html, body {
  width: 100%;
}

body {
  overflow-x: clip;
}

body, h1, h2, h3, h4, h5, h6 {
  line-height:1.2;
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

h1 {
  font-size: 48px;
  font-weight: 900;
  line-height:1.2;
}

h2 {
  font-size: 34px;
  font-weight: 800;
}

h3 {
  font-size: 21px;
  font-weight: 700;
}

h4 {
  font-size: 15px;
  font-weight: 700;
}

p, button, a, li {
  font-size: 26px;
}

.desktop {
  display: block ;
}
.mobile, .iub__us-widget {
  display: none !important;
}

.handnote {
  line-height:1.2;
  font-family: 'Dancing Script', cursive !important;
  font-style: italic;
  font-weight: 700;
}

/* Animazioni scroll */
.slide {
  opacity: 0; 
  transform: translateY(40px); /* parte più in basso */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide.visible {
  opacity: 1;
  transform: translateY(0);
}

a:hover {
    color: #a47cff;
    text-decoration: none;
}

/* HEADER */
    .site-header-header{
      position:sticky;            /* resta in alto durante lo scroll */
      top:0;
      z-index:50;
      background:#ffffff;
      box-shadow:0 2px 0 rgba(0,0,0,0.06);   /* sottile riga/ombra come nello shot */
    }
    .site-header-header .wrap-header{
      max-width:1280px;
      margin:0 auto;
      padding:18px 24px;          /* altezza barra simile allo shot */
      display:flex;
      align-items:center;
      justify-content:space-between;
    }

    /* LOGO TESTUALE */
    .brand-header{
      font-size:24px;
      font-weight:700;
      letter-spacing:0.2px;
      color: black;
    }
    .brand-header em{
      font-style:italic;          /* “Club” in corsivo */
      font-weight:700;
    }

    /* CTA */
    .cta-header-header {
      appearance:none;
      border:2px solid #1c1c1c;
      background:#e1c9ff;
      color:#0b0b0b;
      font-weight:600;
      font-size:14px;
      padding:12px 22px;
      border-radius:999px;
      line-height:1;
      cursor:pointer;
      transition:transform .12s ease, box-shadow .12s ease;
      box-shadow:0 2px 0 rgba(0,0,0,.2);     /* leggero effetto “pill” */
    }
    .cta-header-header:hover{
      transform:translateY(-1px);
      box-shadow:0 3px 0 rgba(0,0,0,.25);
      color: black;
    }
    .cta-header-header:active{
      transform:translateY(0);
      box-shadow:0 1px 0 rgba(0,0,0,.2);
    }

    /* Mobile: riduco paddings e font */
    

    /* Solo per mostrare la fascia nera sotto come nello screenshot */
    .hero-filler-header{
      height:220px;
      background:#000;
    }

button.cta-header-header {
      margin: 0;
    }

    /* ====== Hero ====== */
    .hero-hero{
      position:relative;
      overflow:visible;
      padding-top: 50px;
      padding-bottom: 0;
      isolation:isolate;
    }
    .container-hero{
      max-width:1200px;
      margin:0 auto;
    }

    /* Nuvole decorative come elementi reali (parallasse) */
    .cloud-hero{
    position: absolute;
    width: 180px;
    opacity: .9;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,.45));
    pointer-events: none;
    animation: cloud-float 9s ease-in-out infinite;
    transform-origin: center;
    transform: scaleX(var(--cloud-flip, 1)) translateY(var(--parallax-y, 0px));
    --cloud-scale: 1;
    margin-top: 300px;
    }

    .cloud-hero-0 { left: 5px; right: auto; top: -300px; margin-top: 0; --cloud-scale: 1.5; --cloud-flip: 1; z-index: 0; opacity: 0; transition: opacity .8s ease-out .25s !important; }
    .cloud-hero-1 { left: auto; right: 0; top: 50px; margin-top: 0; animation-delay: -3s; --cloud-scale: 1.5; --cloud-flip: -1; opacity: 0; transition: opacity .8s ease-out .4s !important; }

    .hero-main-img.visible, .cloud-hero-0.visible, .cloud-hero-1.visible {
      opacity: 1 !important;
    }

    /* Titolo boxed */
    .hero-title-hero{
      display:inline-block;
      border-radius:12px;
      padding:18px 20px;
      line-height:1.08;
      margin:0 auto 28px;
      font-weight:800;
      text-transform:uppercase;
      letter-spacing:.5px;
    }
    .hero-title-hero .hl-hero{
      color:#9e69ff;                /* highlight viola */
    }

    /* Sottotitolo + claim */
    .claim-hero{
      margin:0;
      padding:22px 0 8px;
      overflow:visible;
      text-align:center;
      font-weight:800;
    }
    .claim-hero .u-hero{
      text-decoration:underline;
      text-decoration-thickness:4px;
      text-underline-offset:6px;
      color:#cdb8ff;
    }
    /* Sottolineatura con immagine per la frase "aziende sui" */
    .uimg-hero{
      position:relative;
      display:inline-block;
      padding-bottom:10px;               /* spazio per l'underline */
      background:var(--vc-underline-image) left 95% / 100% 12px no-repeat;
    }
    
    .sub-hero{
      margin:0 auto 28px;
      text-align:center;
      color: white;
      line-height:1.5;
    }

    /* CTA */
    .cta-hero{
      display:inline-block;
      margin:0 auto;
      padding:16px 28px;
      border-radius:999px;
      background:#9e69ff;
      color:white;
      font-weight: 500;
      border:2px solid #ffffff;
      transition:transform .12s ease, box-shadow .12s ease;
      text-decoration: none;
    }
    .cta-hero:hover{ transform:translateY(-3px); box-shadow:0 6px 0 rgba(0,0,0,.4), 0 0 0 6px rgba(191,166,255,.24) inset; color:white;}
    .cta-hero:active{ transform:none; box-shadow:0 2px 0 rgba(0,0,0,.35), 0 0 0 6px rgba(191,166,255,.2) inset; }



.hero-hero,
.hero-hero .container-hero {
  overflow: visible;
}

.hero-hero .container-hero {
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  max-width: 900px;
  isolation: isolate;
}

.hero-main-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0;
  padding-bottom: 30px;
  border-radius: 12px;
  display: block;
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .9s ease-out .1s, transform 1.1s cubic-bezier(.22,.8,.25,1) .1s !important;
  will-change: opacity, transform;
  mix-blend-mode: screen;
  box-shadow: none;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1400px, 100vw);
  height: 100%;
  object-fit: contain;
  filter: blur(55px);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0,0,0,.9) 30%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0,0,0,.9) 30%, transparent 72%);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 1.2s ease-out .2s;
}

.hero-ready .hero-glow { opacity: .55; }
.hero-main-img.visible { transform: translateY(0) scale(1); }


.cta-wrapper { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 8px;
  }
  .arrow-doodle {
    display: inline-block;
    margin: 8px auto;
}

  .arrow-svg{ 
    overflow: visible; 
    vertical-align: middle; 
  }
  .arrow-path{
    stroke: #9e69ff;        /* changed from currentColor */
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    /* draw-in animation using normalized pathLength=1 */
    stroke-dasharray: 1; 
    stroke-dashoffset: 1; 
    animation: arrow-draw 1.2s ease-out forwards, arrow-bob 3.5s ease-in-out 1.2s infinite;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
  }

  @keyframes arrow-draw{ 
    to { stroke-dashoffset: 0; } 
  }
  @keyframes arrow-bob{
    0%,100%{ transform: translateY(0) rotate(0.0001deg); }
    50%{ transform: translateY(4px) rotate(0.0001deg); }
  }

.showreel-track-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
}

.video-section-showreel {
  background: #000;
  padding: 10px 20px 20px;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.5s ease;
  width: 100%;
  gap: 0;
}

.video-arrows-showreel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}

/* Il track comprende anche titoli e metadati: li escludiamo dal calcolo
   verticale così le frecce restano centrate sulle sole anteprime 9:16. */
.video-arrows-showreel.desktop {
  bottom: 74px;
  left: -12px;
  width: calc(100% + 24px);
}

.video-arrows-showreel.mobile {
  top: 0;
  bottom: 74px;
  left: -10px;
  width: calc(100% + 20px);
}

.video-arrows-showreel .arrow-back {
  pointer-events: auto;
  cursor: pointer;
}

/* Showreel: titolo sempre viola */
.video-section-showreel .title-showreel{
  color: #a47cff !important;
}

/* Showreel: scrollbar orizzontale custom (solo elemento scorrevole) */
.video-track-showreel{
  scrollbar-width: thin;
  scrollbar-color: rgba(164,124,255,.9) rgba(255,255,255,.08);
}
.video-track-showreel::-webkit-scrollbar{
  height: 8px;
}
.video-track-showreel::-webkit-scrollbar-track{
  background: rgba(255,255,255,.08);
}
.video-track-showreel::-webkit-scrollbar-thumb{
  background: rgba(164,124,255,.9);
  border-radius: 999px;
}
.video-track-showreel::-webkit-scrollbar-thumb:hover{
  background: rgba(164,124,255,1);
}

.video-arrows-showreel .arrow-showreel {
  pointer-events: auto; /* i bottoni sì */
}

.arrow-showreel {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index:11;
  position: relative;
  top: -2px;
  background: transparent;
  border: 0;
  border-radius: 0;
}



.arrow-showreel:hover {
  color: #9e69ff;
}

.video-section-showreel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;          /* larghezza della sfumatura */
  height: 100%;
  z-index: 1;
  pointer-events: none; /* non blocca interazioni */
}


.video-section-showreel::before {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;          /* larghezza della sfumatura */
  height: 100%;
  z-index: 2;
  pointer-events: none; /* non blocca interazioni */
}

.video-section-showreel::before {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,1), transparent);
}

.video-section-showreel::after {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,1), transparent);
}

.video-track-showreel {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  gap: 24px;
}
.video-slide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  min-width: 100%;
  flex: 0 0 100%;
}

.video-card-showreel {
  text-align: center;
  min-width: 0;
}

.video-thumb-showreel {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16; /* forma verticale tipo reel */
  border-radius: 30px;
  background: #222; /* segnaposto */
  overflow: hidden;
}

/* Pulsante play */
.play-showreel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.play-showreel:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(158, 105, 255, 0.75);
  box-shadow: 0 0 0 6px rgba(158, 105, 255, 0.25);
}
.play-showreel::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.pause-showreel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.video-card-showreel.playing:hover .pause-showreel {
  opacity: 1;
  pointer-events: auto;
}
.pause-showreel::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 24px;
  background: linear-gradient(to right, #fff 40%, transparent 40%, transparent 60%, #fff 60%);
}
/* Pulsanti sopra il video */
.video-thumb-showreel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.control-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

.title-showreel {
  margin: 12px 0 4px;
  font-size: 18px;
  font-weight: bold;
}
.meta-showreel {
  margin: 0;
  font-size: 18px;
  color: #bbb;
}

/* Dots */
.video-dots-showreel {
  display: flex !important;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

/* Evita che la regola generica dei dots renda visibile anche la variante
   mobile sui viewport desktop. */
.video-dots-showreel.mobile {
  display: none !important;
}
.dot-showreel {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffffa2;
}
.dot-showreel.active {
  background: #9e69ff;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arrow-back {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

  /* === FOOTER BASE === */
.vc-footer{
  position: relative;
  background:#fff;
  color:#111;
  padding: 36px 20px 44px;
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
.vc-footer__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* === COLONNE === */
.vc-footer__cols{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: min(6vw,48px);
  align-items:start;
  text-align:left;
}
.vc-col__title{
  margin: 0 0 18px;
  font-size: clamp(18px, 2vw, 28px); /* titolo grande come nello shot */
  line-height: 1.05;
  font-weight: 900;
  color: #a47cff;
}
.vc-col__text{
  margin:0;
  font-size: 26px;
  line-height:1.35;
  font-weight: 500;
  color: #111;
}

/* allineamenti come nello shot */
.vc-col--center{ text-align:center; }
.vc-col--right{ text-align:right; }

/* === LINK === */
.vc-link{
  color:#111;
  text-decoration:none;
  border-bottom: 2px solid transparent;
}
.vc-col__text .vc-link{
  color: inherit;
  font: inherit;
  line-height: inherit;
}
.vc-col__text .vc-link:hover{
  color: #a47cff;
}

/* === BRAND === */
.vc-footer__brand{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  margin-top: 26px;
  font-size:24px;
  font-weight:700;
  letter-spacing:0.2px;
  line-height:1;
  color:#000;
}
.vc-brand__viral{ color:inherit; }
.vc-brand__club{
  color:#a47cff;
  font-style: italic;
  font-weight:700;
}
.vc-footer__legal{
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #666;
}

.mc-head .ellips{ letter-spacing: .5px; }
.u-underline-img {
  position: relative;
  display: inline-block;
}
.u-underline-img::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 18px;
  background: var(--vc-underline-image) no-repeat center/contain;
  pointer-events: none;
}
  .image-section-altri {
  background: #000;
  padding: 40px 20px;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
  position: relative;
}

.image-track-container {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.image-track-altri {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  min-width: 0;
  gap: 24px;
  padding-bottom: 30px;
  margin-top: 30px;
}
.image-slide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  min-width: 100%;
  flex: 0 0 100%;
}

.image-card-altri {
  text-align: center;
  position: relative;
}

.image-thumb-altri {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 0 50px 0 0;
  background: #222; /* segnaposto */
  overflow: hidden;
}
.image-thumb-altri img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-altri {
  position: absolute;
  background: #ffffff;
  border: 2px solid #9e69ff;
  border-radius: 40px;
  padding: 7px 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,.15);
  width: 100%;
  box-sizing: border-box;
  margin-top: -30px;
  z-index: 2;
}

.badge-icon-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-icon-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(#feda75, #fa7e1e, #d62976, #962fbf, #feda75);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 999;
  transform: scale(1.05);
}

.badge-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 14px;
}

.badge-text strong {
  font-weight: bold;
  color: #000;
}

.badge-text small {
  font-size: 12px;
  color: #555;
}

.cta-altri{
  margin: 50px auto;
  padding: 16px 28px;
  border-radius: 999px;
  background: #9e69ff;
  color: white;
  font-weight: 500;
  border: 2px solid #ffffff;
  transition: transform .12s ease, box-shadow .12s ease;
  text-decoration: none;
  display: block;
  text-align: center;
  width: fit-content;
  margin-top: 0px;
}
.cta-altri:hover{ 
  transform: translateY(-3px); 
  box-shadow: 0 6px 0 rgba(0,0,0,.4), 0 0 0 6px rgba(191,166,255,.24) inset; 
  color: white;
}
.cta-altri--spaced{margin-top:50px}
.cta-altri:active{ 
  transform: none; 
  box-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 0 6px rgba(191,166,255,.2) inset; 
}

/* ====== Nota mano ====== */
.handnote{
  position: absolute;
  right: 50px;
  top: 440px;
  transform: rotate(-12deg);
  color: #e8c8ff;
  font-size: clamp(22px, 2.4vw, 34px);
  font-family: 'Dancing Script', cursive !important;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  line-height: 1.0;
  opacity: .9;
  text-shadow: 0 2px 16px rgba(164,124,255,.35);
  text-transform: none;
  letter-spacing: .01em;
}


.badge-text h3, .badge-text h4{
  color: black;
}

.badge-text h4{
  font-weight:400;
}

.arrow-back {
  background-color: rgba(0, 0, 0, 0.4); /* più trasparente per far vedere l'effetto */
  border-radius: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* Safari */
  border: 1px solid  rgba(255, 255, 255, 0.4);
}

  /* ===== BASE ===== */
.workflow{
  background: #e9d7ff;          /* lilla */
  color:#0b0b0d;
  padding: 48px 20px 160px;
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  position: relative;
  overflow: hidden;
}
.wf-wrap{ max-width: 1200px; margin: 0 auto; position: relative; }

/* ===== TITOLO + underline immagine ===== */
.wf-title{
  position: relative;
  margin: 0 0 24px 0;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .5px;
}
.wf-underline {
  position: relative;
  display: inline-block;
}
.wf-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  height: 18px;
  background: var(--vc-underline-image) no-repeat center/contain;
  pointer-events: none;
}


/* ===== GRID 2x2 ===== */
.wf-grid{
  margin-top: 26px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(90px, auto);
  row-gap: clamp(20px, 6vw, 80px);
  column-gap: clamp(20px, 7vw, 100px);
  position: relative;
}
.wf-grid .step-1{ grid-column: 1; grid-row: 1; }
.wf-grid .step-2{ grid-column: 2; grid-row: 2; }
.wf-grid .step-3{ grid-column: 1; grid-row: 3; }
.wf-grid .step-4{ grid-column: 2; grid-row: 4; }


/* Step */
.wf-step{
  display:grid;
  grid-template-columns: 10% 100%;
  align-items:flex-start;
}

.wf-step p{
  margin:0;
  line-height:1.2;
}

.wf-num{
  font-weight: 900;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
}

/* ===== CTA ===== */
.wf-cta{ display:flex; justify-content:center; margin-top: 36px; }
.wf-btn{
  display:inline-block;
  padding: 16px 28px;
  border-radius: 999px;
  background:#fff;
  color:#111; text-decoration:none;
  font-weight: 800;
  border: 2px solid #0b0b0d;
  box-shadow: 0 10px 24px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform 0.2s ease;
}

.wf-btn:hover {
  transform: translateY(-2px);
  color:#111;
}

/* ===== FRECCE DECORATIVE =====
   usa lo stesso PNG ruotato/posizionato; su mobile le nascondo */
.wf-arrow{
  position:absolute;
  width: 140px; height: auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.15));
  pointer-events:none;
  opacity:.95;
  
}
/* step 1 (col1 r1) → step 2 (col2 r2): freccia verso destra-basso */
.ar-12{
  left: 43%;
  top: 20%;
  transform: scaleY(-1) rotate(25deg);
}
/* step 2 (col2 r2) → step 3 (col1 r3): freccia verso sinistra-basso */
.ar-23{
  left: 42%;
  top: 45%;
  transform: scaleX(-1) scaleY(-1) rotate(25deg);
}
/* step 3 (col1 r3) → step 4 (col2 r4): freccia verso destra-basso */
.ar-34{
  left: 43%;
  top: 70%;
  transform: scaleY(-1) rotate(25deg);
}

.perche{
    max-width:1200px;
    margin: 0 auto;
    position: relative;
    padding: 80px 24px 0px;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    }

  .cloud-5 { right: 130px; top: -40px; --cloud-scale: 1.5; z-index:3;}

  .cloud-perche {
    position: absolute;
    width: 180px;
    opacity: .9;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,.45));
    pointer-events: none;
    animation: cloud-float 9s ease-in-out infinite;
    transform-origin: center;
    margin-top: 300px;
  }

  .phones-perche {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
    position: relative;
    z-index: 1;
  }
  .cloud {
    position: absolute;
    width: 120px;
    z-index: 0;
  }
  .cloud.left {
    top: 120px;
    left: 40px;
  }
  .cloud.right {
    top: 120px;
    right: 40px;
  }
  .phone-perche {
    width: 200px;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  .phone-frame {
  position: relative;
  width: 110%;
  height: 100%;
}

.phone-frame video {
  position: absolute;
  top: 3%;   /* sposta il video più in basso */
  left: 6%;  /* sposta il video a destra */
  width: 88%;   /* riduce la larghezza */
  height: 95%;  /* riduce l’altezza */
  object-fit: cover;
  border-radius: 20px;
}
  .phone-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .phone-perche.left {
    transform: rotate(-5deg) translateX(30px);
    z-index: 1;
  }
  .phone-perche.right {
    transform: rotate(5deg) translateX(-30px);
    z-index: 1;
  }
.phone-perche.center {
    transform: rotate(0deg) translateY(-30px) scale(1.2);
    z-index: 2;
  }
  ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 0;
  }
  ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
    ul li::before {
    content: "✔";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 12px;
    background-color: #a070ff;
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: bold;
    border: 1px solid #fff;
    box-shadow: 0 0 0 3px #a070ff;
  }

    .cta-perche{
      display:block;
      margin:0 auto;
      margin-top:60px;
      padding:16px 28px;
      border-radius:999px;
      background:#9e69ff;
      color:white;
      font-weight: 500;
      border:2px solid #ffffff;
      transition:transform .12s ease, box-shadow .12s ease;
      text-decoration: none;
    }
    .cta-perche:hover{ transform:translateY(-3px); box-shadow:0 6px 0 rgba(0,0,0,.4), 0 0 0 6px rgba(191,166,255,.24) inset; color:white;}
    .cta-perche:active{ transform:none; box-shadow:0 2px 0 rgba(0,0,0,.35), 0 0 0 6px rgba(191,166,255,.2) inset; }

.video-placeholder-2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

 @media (max-width: 768px) {
  h1 {
    font-size: 18px;
  }

  h2 {
    font-size: 16px;
  }

  h3 {
    font-size: 14px;
  }

  h4 {
    font-size: 12px;
  }

  p, button, a, li {
    font-size: 14px;
  }

  .container-hero  h1{
    font-size: 35px;
  }

  .container-hero h2, .clients-grid h2 {
        font-size: 25px;
    }

  .vc-main .claim-hero {
    line-height: 1.3;
    overflow: visible;
    hyphens: none;
    max-width: 100%;
    text-transform: none;
    -webkit-text-stroke: 0;
    paint-order: normal;
  }

  .site-header-header .wrap-header{ 
    padding:14px 16px; 
  }
  
  .cta-header-header{ 
    padding:10px 18px; 
  }

  .hero-title-hero{ 
    padding:14px 16px; 
  }
    
  .uimg-hero{
    padding-bottom:7px; 
    background-size:100% 9px; 
  }

  .desktop {
    display: none !important;
  }
  
  .mobile {
    display: block !important;
  }

  .video-track-showreel.desktop {
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .hero-image-wrap {
    width: 90%;
    margin: 0 auto;
  }

  .hero-main-img {
    width: 100%;
    margin: 0;
  }

  .cloud-hero {
    width: 100px;
  }

  .cloud-hero-1 {
    top: -170px;
  }
  
  .video-card-showreel {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .arrow-showreel {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .video-track-showreel.mobile {
    display: flex !important;
    gap: 0;
    transition: transform 0.5s ease;
    overflow: visible;
    width: 100%;
    touch-action: pan-y;
  }

  .video-track-showreel.mobile .video-slide {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .video-track-showreel.mobile .video-card-showreel {
    flex: 0 0 calc(50% - 6px);  /* 2 card per riga uguali */
    max-width: calc(50% - 6px);
  }

  .video-track-showreel.mobile {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .video-track-showreel.mobile::-webkit-scrollbar {
    display: none;
  }

  .clients-phones{
    margin-top: 30px;
  }

  .clients-head h1, .mc-head h1 {
    font-size: 35px;
  }

  .wf-wrap h1 {
    font-size: 30px;
  }

  .perche h1 {
        font-size: 28px;
    }

  .video-track-showreel.desktop {
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .video-card-showreel {
    scroll-snap-align: start;
  }

  .clients-stats{
    grid-template-columns: 1fr;
  }
  .stat-wide{
    grid-column: auto;
    margin-top: 10px;
    text-align: center;
  }

  .stat{
    margin-top: 10px;
    text-align: center;
  }

  .stat:first-child {
    margin-top: 0;
  }

  .clients-grid{ 
    grid-template-columns: 1fr; 
  }

.wf-step {
  display: flex;
  flex-direction: column;
}

.wf-num {
  margin-bottom: 10px; /* spazio tra numero e testo */
}

 .wf-step h2 {
        font-size: 20px;
    }

  .wf-step:nth-child(even) .wf-num,
.wf-step:nth-child(even) .wf-text {
  text-align: right;
  align-self: flex-end;
}

.perche {
    padding: 40px 24px 0px;
}

.phone-perche {
    height: 200px;
}

  .phone-frame video {
    border-radius: 5px;
}

  .phones-perche {
    margin-top: 70px ;
}

.cloud-5 {
    right: 10px;
    top: -170px;
    --cloud-scale: 1;
    z-index: 3;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li {
  display: grid;
  grid-template-columns: 30px auto; /* colonna icona + colonna testo */
  gap: 10px;                        /* spazio tra icona e testo */
  align-items: start;                /* allinea in alto */
  margin-bottom: 15px;
}

ul li svg,
ul li img {
  width: 20px;
  height: 20px;
}

   #code_block-11-45 h1 {
        font-size: 28px;
    }

.vc-col__text {
    font-size: 14px;
}
.vc-footer__cols{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .vc-col--right, .vc-col--center{ text-align:center; }
  .vc-footer__cols{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .vc-col--right, .vc-col--center{ text-align:center; }

.image-section-altri{
  padding: 0 20px;
}

.image-slide {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonne */
    gap: 15px; /* spazio tra card */
  }

  .image-card-altri {
    width: 100%; /* ogni card occupa tutta la colonna */
  }

  .image-track-altri{
    padding-bottom: 60px;
}

  .badge-icon-wrap {
    width: 40px;
    height: 40px;
}

    .image-slide {
        gap: 35px 10px;
    }

.image-thumb-altri {
    border-radius: 25px 25px 0 0;
}

  .image-track-altri {
  -ms-overflow-style: none;  /* IE e Edge */
  scrollbar-width: none;     /* Firefox */
}
.image-track-altri::-webkit-scrollbar {
  display: none;             /* Chrome, Safari, Opera */
}

  .image-track-altri {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }
  .image-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .handnote {
    top: 320px;
}

form {
    max-width: 350px;
    margin-top: 30px;
}

  #code_block-11-45 h1{
            margin-bottom: 0;
    }

  #code_block-11-45 h2{
            margin-top: 28px;
    }

  #code_block-11-45 p{
            margin-bottom: 0;
    }

  .vc-col__title{
            margin-bottom: 0;
    }


  .wf-grid{ grid-template-columns: 1fr; gap: 28px; }
  .wf-grid .step-1, .wf-grid .step-2, .wf-grid .step-3, .wf-grid .step-4{ grid-column: auto; grid-row: auto; }

  .ar-12 {
    left: 0%;
    top: 100px;
    transform: scaleY(-1) scale(0.5) rotate(15deg);
}

  .ar-23 {
    left: 60%;
    top: 220px;
    transform: scaleX(-1) scaleY(-1) scale(0.5) rotate(15deg);
}

  .ar-34 {
    left: 0;
    top: 350px;
    transform: scaleY(-1) scale(0.5) rotate(15deg);
}

  .hero-hero {
    padding-top: 20px;
}

.phone-glow-2, .phone-glow {
    position: absolute;
    bottom: -110px;
    left: 44%;
    transform: translateX(-50%);
    width: 130%;
    height: 130%;
    max-width: none;
    z-index: 1;
    pointer-events: none;
}
   
}

.fade-in {
  opacity: 0 !important;
}

.fade-in.visible {
  opacity: 1 !important;
}

.whatsapp-button-fixed {
  position: fixed !important;
  bottom: 16px !important;
  right: 16px !important;
  left: auto !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background-color: transparent !important;
  background-image: var(--vc-whatsapp-image) !important;
  background-size: 68% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: none !important;
  z-index: 2147483646 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: pointer !important;
  transition: transform 0.2s ease !important;
}

.whatsapp-button-fixed:hover {
  transform: scale(1.05) !important;
  box-shadow: none !important;
}

/* === CLIENTS GRID === */
.clients-section{ padding: 64px 0; }
#clients-1{ padding-top: 24px; }
.clients-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Markup unico per le sezioni clienti: niente duplicati desktop/mobile. */
.clients-grid--unified {
  grid-template-areas:
    "copy media"
    "stats media";
  align-items: center;
}
.clients-grid--unified .clients-copy-area { grid-area: copy; }
.clients-grid--unified .clients-media { grid-area: media; }
.clients-grid--unified .clients-stats { grid-area: stats; }
.clients-section--reverse .clients-grid--unified {
  grid-template-areas:
    "media copy"
    "media stats";
}
.clients-section--unified .clients-phones {
  top: 0;
  align-self: center;
}
#clients-1.clients-section--unified .clients-phones {
  top: -30px;
}
.clients-section--unified .clients-copy p + p {
  margin-top: 1.25em;
}
.clients-section--unified .kpi span {
  display: block;
}

@media (max-width: 768px) {
  .clients-grid--unified,
  .clients-section--reverse .clients-grid--unified {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "stats";
  }
  #clients-1.clients-section--unified .clients-phones {
    top: 0;
  }

  .clients-head,
  .clients-copy,
  .clients-stats {
    text-align: center;
  }

  .clients-copy {
    margin-left: auto;
    margin-right: auto;
  }
}
/* clients-1: testo sinistra, telefono+stats destra (ordine DOM naturale) */
/* clients-2: telefono+stats sinistra, testo destra → già invertito nel DOM */

.clients-copy{ max-width: 480px; }
.clients-copy h2{ font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; margin: 0 0 16px; color: #9e69ff; }
.clients-copy p{ line-height: 1.65; color: #fff; font-size: 18px; font-weight: 600; margin: 0; }

.clients-phones{
  position: relative;
  top: -30px;
  align-self: start;
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#clients-2 .clients-phones,
#clients-3 .clients-phones {
  top: 0;
  align-self: center;
}
.phone-clients{ width: 320px; height: auto; border-radius: 28px; position: relative; z-index: 2; }
.phone-glow, .phone-glow-2{
  position: absolute;
  width: 140%;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  opacity: .7;
}

.phone-glow {
  bottom: -90px;
}

.clients-stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.stat{ padding: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; }
.stat-wide{ grid-column: 1 / -1; }
.kpi{ font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; margin: 0 0 4px; line-height: 1; color: #a47cff; }
.kpi.strong{ font-size: clamp(16px, 1.8vw, 22px); }
.stat p{ margin: 0; font-size: 15px; font-weight: 600; color: #fff; }


@media (max-width: 860px){
  .clients-grid{ grid-template-columns: 1fr; gap: 32px; }
  .clients-copy{ max-width: 100%; }
  .clients-stats{ grid-template-columns: 1fr; }
  .stat-wide{ grid-column: auto; }
}

/* ponytail: override finale unico per stabilizzare layout+font senza riscrivere tutto il CSS duplicato */
:root{
  --site-container-max: 1200px;
  --site-container-pad: 20px;
}

body,
body * {
  font-family: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
}

/* ponytail: uniforma tutti i titoli con lo stile hero */
.vc-main h1,
.vc-main h2,
.vc-main h3,
.vc-main h4,
.vc-footer .vc-col__title {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  -webkit-text-stroke: 1px currentColor;
  paint-order: stroke fill;
}

.site-header-header .wrap-header,
.vc-footer__inner,
.vc-main > section,
.vc-main > section > .container-hero,
.vc-main > section > .clients-wrap,
.vc-main > section > .wf-wrap,
.vc-main > section > .container {
  width: 100%;
  max-width: var(--site-container-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-container-pad) !important;
  padding-right: var(--site-container-pad) !important;
}

.perche .center-ul ul{
  max-width: none;
  width: fit-content;
  margin: 0 auto 30px;
}

.perche .center-ul ul li{
  white-space: nowrap;
}

@media (max-width: 768px){
  .perche .center-ul ul{
    width: 100%;
    max-width: 100%;
  }

  .perche .center-ul ul li{
    white-space: normal;
  }
}

#perche{
  padding-bottom: 0 !important;
}

#perche .cta-altri{
  margin-top: 28px !important;
  margin-bottom: 0;
}

#code_block-11-45{
  padding-top: 64px !important;
  padding-bottom: 64px !important;
  scroll-margin-top: 80px;
}

/* Sezione "Altri": griglia statica, senza residui del vecchio carosello. */
#altri {
  overflow: visible;
}

#altri .image-track-container {
  overflow: visible;
}

#altri .image-track-altri {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 30px;
  padding-bottom: 50px;
  overflow: visible;
  scroll-snap-type: none;
  scroll-behavior: auto;
  transform: none;
}

#altri .image-slide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  min-width: 0;
  transform: none;
}

#altri .image-card-altri {
  min-width: 0;
}

#altri .badge-text h3 {
  margin: 0;
}

@media (max-width: 768px) {
  #altri .image-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 54px 12px;
  }
}

/* Carosello Altri: una slide da quattro card, controlli solo se necessari. */
#altri .image-track-container {
  overflow: hidden;
}

#altri .image-track-altri {
  display: flex;
  gap: 0;
  overflow: visible;
  transition: transform .5s cubic-bezier(.22,.8,.25,1);
  will-change: transform;
}

#altri .image-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.image-arrows-altri {
  position: absolute;
  inset: 50% 8px auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.image-arrows-altri .arrow-back { pointer-events: auto; }
.arrow-altri {
  position: relative;
  top: -2px;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all .3s ease;
}
.arrow-altri:hover { color: #9e69ff; }

.image-dots-altri {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 10px;
  margin: 8px 0 28px;
}
.dot-altri {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
}
.dot-altri.active { background: #9e69ff; transform: scale(1.2); }

/* Workflow responsivo: niente frecce sovrapposte a numeri o testi. */
#workflow .wf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
  margin-top: 36px;
}

#workflow .wf-grid .wf-step {
  grid-column: auto;
  grid-row: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(11,11,13,.14);
  border-radius: 20px;
  background: rgba(255,255,255,.24);
}

#workflow .wf-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  min-width: 58px;
  margin: 0;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: linear-gradient(145deg, #b98aff 0%, #8b52ed 58%, #6f35d5 100%);
  box-shadow: 0 8px 22px rgba(126,70,220,.34), inset 0 1px 0 rgba(255,255,255,.45);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  text-align: center;
  text-shadow: 0 2px 5px rgba(43,15,89,.28);
}

#workflow .wf-text,
#workflow .wf-step:nth-child(even) .wf-text,
#workflow .wf-step:nth-child(even) .wf-num {
  align-self: start;
  text-align: left;
}

#workflow .wf-step .wf-num {
  text-align: center;
}

#workflow .wf-text h2 {
  margin: 0 0 8px;
}

#workflow .wf-text p {
  margin-top: 0;
}

#workflow {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 48px !important;
}

/* Hero full-bleed: lo sfondo e il glow non sono limitati dal container globale. */
#code_block-2-45 {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible;
}

/* Glow clienti: perfettamente centrato dietro la rispettiva immagine. */
.clients-media > .phone-glow,
.clients-media > .phone-glow-2 {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: 140%;
  height: auto;
  max-width: none;
  margin: 0;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.clients-media > .phone-clients {
  position: relative;
  z-index: 2;
}

#workflow .wf-arrow {
  display: none;
}

@media (min-width: 1200px) {
  #workflow .wf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  #workflow .wf-grid .wf-step {
    padding: 22px;
  }

  #workflow .wf-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  #workflow {
    padding-bottom: 48px !important;
  }

  #workflow .wf-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    align-items: stretch;
  }

  #workflow .wf-grid .wf-step {
    padding: 20px;
    height: auto;
    min-height: 0;
    align-self: stretch;
  }

  #workflow .wf-text {
    min-width: 0;
    overflow: visible;
  }
}

/* ── Custom scrollbar ── */
:root {
  --sb-size: 6px;
  --sb-track: #0b0f14;
  --sb-thumb: var(--accent);
  --sb-thumb-hover: #9e69ff;
}

/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar { width: var(--sb-size); height: var(--sb-size); }
::-webkit-scrollbar-track { background: var(--sb-track); }
::-webkit-scrollbar-thumb {
  background: var(--sb-thumb);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover); }

/* Firefox */
* { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) var(--sb-track); }
