/* =========================================================
   L'INTESTAZIONE E IL PIÈ DI PAGINA DEL SITO, UGUALI OVUNQUE
   Li scrive assets/sito.js. Qui solo il loro aspetto.
   Tutte le classi cominciano con st- per non toccare le pagine.
   ========================================================= */
.st-testata,.st-menu-tel,.st-badge,.st-piede{font-family:"Bricolage Grotesque",system-ui,sans-serif;color:#0B1220;box-sizing:border-box}
.st-testata *,.st-menu-tel *,.st-piede *{box-sizing:border-box;margin:0;padding:0}
.st-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.st-spazio{height:84px}

/* ---------- intestazione ---------- */
.st-testata{position:fixed;top:0;left:0;right:0;z-index:50;padding:calc(18px + env(safe-area-inset-top,0px)) 0 18px;transition:background .3s, box-shadow .3s, padding .3s}
.st-testata.stretto{background:rgba(247,249,250,.93);backdrop-filter:blur(12px);box-shadow:0 1px 0 #DDE3E8;padding:10px 0}
.st-barra{display:flex;align-items:center;justify-content:space-between;gap:20px}
.st-logo img{height:28px;width:auto;display:block}
.st-nav ul{display:flex;gap:4px;list-style:none;font-size:15px;font-weight:600;background:rgba(255,255,255,.78);padding:6px;border-radius:999px;border:1px solid #DDE3E8;backdrop-filter:blur(8px)}
.st-nav a,.st-nav span{padding:7px 13px;border-radius:999px;display:block;transition:background .25s;color:#0B1220;text-decoration:none;white-space:nowrap}
.st-nav a:hover{background:#E4F8EF}
.st-nav a.qui{background:#0B1220;color:#fff}
/* il test di livello sta nel menu ma resta sempre verde, anche nella sua pagina */
.st-nav a.accento,.st-nav a.accento.qui{background:#00C878;color:#0B1220;font-weight:700}
.st-nav a.accento:hover{background:#00A866;color:#fff}
.st-nav a.accento.qui{box-shadow:inset 0 0 0 2px #0B1220}
.st-menu-tel a.accento{color:#00A866}
/* su computer il test e' gia' nel menu: il pulsante a destra serve solo quando il menu e' chiuso nell'hamburger */
@media (min-width:1081px){.st-destra .st-btn{display:none}}
.st-nav span.presto{color:#9AA6B5;cursor:default;display:flex;align-items:center;gap:6px}
.st-nav span.presto em,.st-menu-tel em{font-style:normal;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:#EEF1F4;color:#7F8C9C;padding:2px 6px;border-radius:999px}
.st-destra{display:flex;align-items:center;gap:10px}
.st-btn{display:inline-flex;align-items:center;gap:10px;padding:13px 22px;border-radius:999px;font-weight:680;font-size:15px;background:#00C878;color:#0B1220;text-decoration:none;white-space:nowrap;transition:transform .25s, box-shadow .25s}
.st-btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px -12px rgba(0,200,120,.75)}
.st-menu-btn{display:none;gap:5px;background:none;border:0;padding:8px;cursor:pointer}
.st-menu-btn span{display:block;width:22px;height:2px;background:#0B1220;transition:transform .3s, opacity .3s}
body.st-menu-aperto .st-menu-btn span:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.st-menu-aperto .st-menu-btn span:nth-child(2){opacity:0}
body.st-menu-aperto .st-menu-btn span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.st-menu-tel{position:fixed;inset:0;z-index:45;background:#F7F9FA;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:0 32px;opacity:0;pointer-events:none;transition:opacity .3s}
.st-menu-tel a,.st-menu-tel span{font-size:30px;font-weight:760;padding:8px 0;border-bottom:1px solid #DDE3E8;color:#0B1220;text-decoration:none;display:flex;align-items:center;gap:10px;letter-spacing:-.02em}
.st-menu-tel a.qui{color:#00A866}
.st-menu-tel span{color:#9AA6B5}
body.st-menu-aperto .st-menu-tel{opacity:1;pointer-events:auto}
body.st-menu-aperto{overflow:hidden}

/* ---------- il badge del test che gira ---------- */
/* piccolo di base; al passaggio del mouse si ingrandisce e Vix chiede se vuoi fare il test */
.st-badge{position:fixed;right:22px;bottom:22px;z-index:40;width:118px;height:118px;border-radius:50%;background:#fff;box-shadow:0 14px 30px -12px rgba(11,18,32,.45);display:grid;place-items:center;transform-origin:100% 100%;transition:transform .45s cubic-bezier(.3,1.5,.5,1), box-shadow .3s}
.st-badge:hover{transform:scale(1.45);box-shadow:0 22px 44px -16px rgba(0,168,102,.6)}
.st-badge-fumetto{position:absolute;right:calc(100% + 12px);bottom:62%;width:170px;background:#0B1220;color:#fff;font-size:10.5px;line-height:1.35;font-weight:600;padding:9px 11px;border-radius:12px;box-shadow:0 12px 24px -12px rgba(11,18,32,.6);opacity:0;transform:translateX(8px) scale(.85);transform-origin:100% 100%;transition:opacity .25s, transform .35s cubic-bezier(.3,1.5,.5,1);pointer-events:none}
.st-badge-fumetto b{display:block;color:#66F2C1;font-size:11px;margin-bottom:2px}
.st-badge-fumetto::after{content:"";position:absolute;right:-5px;bottom:12px;width:10px;height:10px;background:inherit;transform:rotate(45deg);border-radius:2px}
.st-badge:hover .st-badge-fumetto{opacity:1;transform:none;transition-delay:.12s}
@media (hover:none){.st-badge-fumetto{display:none}}
.st-badge svg{position:absolute;inset:0;animation:st-gira 14s linear infinite}
.st-badge .cuore{width:66px;height:66px;border-radius:50%;background:#00C878;display:grid;place-items:center;overflow:hidden}
.st-badge .cuore img{width:62px;margin-top:6px}
@keyframes st-gira{to{transform:rotate(360deg)}}

/* ---------- piè di pagina ---------- */
.st-piede{padding:70px 0 40px;font-size:14px;color:#4A5566;background:#F7F9FA;line-height:1.6}
.st-colonne{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:30px;margin-bottom:40px}
.st-colonne h5{font-size:14px;color:#0B1220;margin-bottom:12px}
.st-colonne ul{list-style:none;display:grid;gap:8px}
.st-colonne a{color:inherit;text-decoration:none}
.st-colonne a:hover{color:#00A866}
.st-colonne li.presto{color:#9AA6B5}
.st-colonne img{height:24px;width:auto;margin-bottom:14px;display:block}
.st-disclaimer{padding-top:14px;font-size:13px}
.st-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.st-social a{width:40px;height:40px;border-radius:50%;background:#0B1220;display:grid;place-items:center;transition:background .25s, transform .25s}
.st-social a:hover{background:#00C878;transform:translateY(-2px)}
.st-social svg{width:19px;height:19px;fill:#fff}
.st-social a:hover svg{fill:#0B1220}
.st-legale{border-top:1px solid #DDE3E8;padding:22px 130px 0 0;display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;font-size:13px}
.st-legali{display:flex;gap:18px;flex-wrap:wrap}
.st-legali a{color:#0B1220;text-decoration:none;font-weight:650}
.st-legali a:hover{color:#00A866}
.st-legali .presto{color:#9AA6B5}
.st-dato{background:#FFF4D6;color:#7A5A00;border-radius:4px;padding:0 4px}
/* ---------- la fascia della newsletter ---------- */
.st-news{position:relative;display:grid;grid-template-columns:120px 1fr auto;gap:26px;align-items:center;background:#0B1220;color:#fff;border-radius:26px;padding:26px 34px 0 26px;margin-bottom:56px;overflow:hidden}
.st-news::before{content:"";position:absolute;right:-90px;top:-120px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,#00C878 0%,transparent 65%);opacity:.2}
.st-news-vix{width:120px;align-self:end}
.st-news-testo{padding-bottom:26px}
.st-news small{display:block;font-size:12px;font-weight:760;letter-spacing:.16em;text-transform:uppercase;color:#66F2C1;margin-bottom:6px}
.st-news b{display:block;font-size:clamp(22px,2.4vw,30px);line-height:1.15;letter-spacing:-.02em;margin-bottom:6px}
.st-news p{color:#B8C2CF;font-size:15px;max-width:560px}
.st-news-btn{position:relative;margin-bottom:26px}

@media (max-width:1080px){
  .st-nav{display:none}
  .st-menu-btn{display:grid}
}
@media (max-width:900px){
  .st-btn{padding:10px 14px;font-size:14px}
  .st-logo img{height:22px}
  .st-badge{width:86px;height:86px;right:14px;bottom:14px}
  .st-badge .cuore{width:48px;height:48px}.st-badge .cuore img{width:42px;margin-top:4px}
  .st-colonne{grid-template-columns:1fr 1fr}
  .st-legale{padding-right:0}
  .st-colonne>div:first-child{grid-column:1/-1}
  .st-news{grid-template-columns:1fr;padding:24px 22px 0;gap:6px}
  .st-news-vix{order:3;width:96px;justify-self:end;margin-top:-60px}
  .st-news-testo{padding-bottom:6px}
  .st-news-btn{justify-self:start;margin:8px 0 0}
  .st-piede{padding-bottom:120px}
}
@media (prefers-reduced-motion:reduce){.st-badge svg{animation:none}}

/* ---------- le domande frequenti, uguali in ogni pagina (le disegna assets/faq.js) ---------- */
.st-faq{padding:100px 0;font-family:"Bricolage Grotesque",system-ui,sans-serif;color:#0B1220}
.st-faq-g{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}
.st-faq-sopra{display:block;font-size:13px;font-weight:760;letter-spacing:.16em;text-transform:uppercase;color:#00A866;margin-bottom:14px}
.st-faq h2{font-size:clamp(34px,4.2vw,54px);font-weight:780;line-height:1.05;letter-spacing:-.025em;margin:0 0 16px}
.st-faq h2 .v{color:#00C878}
.st-faq-g>div>p{font-size:18px;color:#4A5566;margin:0}
.st-faq details{background:#fff;border:1px solid #DDE3E8;border-radius:18px;margin-bottom:10px;transition:box-shadow .3s}
.st-faq details[open]{box-shadow:0 24px 48px -26px rgba(11,18,32,.4)}
.st-faq summary{list-style:none;cursor:pointer;padding:19px 22px;font-size:17.5px;font-weight:680;display:flex;justify-content:space-between;gap:16px;align-items:center;line-height:1.35}
.st-faq summary::-webkit-details-marker{display:none}
.st-faq summary i{flex:0 0 30px;height:30px;border-radius:50%;background:#00C878;color:#0B1220;display:grid;place-items:center;font-style:normal;font-weight:800;transition:transform .35s}
.st-faq details[open] summary i{transform:rotate(45deg)}
.st-faq details p{padding:0 22px 22px;margin:0;color:#4A5566;line-height:1.6;font-size:16px}
@media (max-width:900px){.st-faq{padding:70px 0}.st-faq-g{grid-template-columns:1fr;gap:24px}}
