/* Blog prova — scroll 3D Limena (zona Imma) */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --nero:#0d1a2a;
  --blu:#1a2744;
  --blu2:#2C4A6E;
  --oro:#c9a84c;
  --oro2:#e8c96a;
  --bianco:#F7F5F1;
  --grigio:#8a9bb0;
  --accent:#FF6B35;
}
html{scroll-behavior:smooth}
body.b3d-page{
  font-family:'Montserrat',sans-serif;
  background:var(--nero);
  color:var(--bianco);
  overflow-x:hidden;
}
.skip-link{
  position:absolute;top:-100%;left:50%;transform:translateX(-50%);
  background:var(--oro);color:var(--nero);padding:.6rem 1.2rem;
  border-radius:0 0 8px 8px;font-size:.82rem;font-weight:700;z-index:9999;
}
.skip-link:focus{top:0}
.b3d-header{
  position:fixed;top:0;left:0;right:0;z-index:150;
  padding:.65rem 1.25rem;
  display:flex;align-items:center;justify-content:space-between;
  background:linear-gradient(180deg,rgba(13,26,42,.92),transparent);
  pointer-events:none;
}
.b3d-header a{pointer-events:auto}
.b3d-logo{
  font-family:'Cormorant Garamond',serif;
  font-size:1.15rem;font-weight:600;color:#fff;text-decoration:none;
}
.b3d-logo span{color:var(--oro);font-style:italic}
.b3d-back{
  font-size:.72rem;color:rgba(255,255,255,.75);
  text-decoration:none;padding:.35rem .75rem;
  border:1px solid rgba(255,255,255,.2);border-radius:999px;
  transition:border-color .2s,color .2s;
}
.b3d-back:hover{border-color:var(--oro);color:var(--oro2)}
#b3d-canvas-wrap{
  position:fixed;top:0;left:0;width:100%;height:100vh;z-index:1;
}
#b3d-canvas-wrap canvas{display:block;width:100%;height:100%}
.b3d-loading{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  z-index:120;font-family:'Cormorant Garamond',serif;
  font-size:1.4rem;color:var(--oro2);
  transition:opacity .5s;
}
.b3d-loading.hidden{opacity:0;pointer-events:none}
.b3d-scroll-hint{
  position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);
  z-index:120;background:rgba(13,26,42,.78);
  border:1px solid rgba(201,168,76,.35);
  padding:.65rem 1.35rem;border-radius:999px;
  font-size:.74rem;color:rgba(255,255,255,.85);
  display:flex;align-items:center;gap:.5rem;
  transition:opacity .4s;
}
.b3d-scroll-hint.hidden{opacity:0;pointer-events:none}
.b3d-scroll-hint svg{width:14px;height:14px;fill:var(--oro2);animation:b3d-bounce 1.6s ease infinite}
@keyframes b3d-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}
.b3d-progress{
  position:fixed;top:0;left:0;height:3px;z-index:160;
  background:linear-gradient(90deg,var(--oro),var(--accent));
  width:0%;transition:width .08s linear;
}
.b3d-scroll-layer{
  position:relative;z-index:2;pointer-events:none;
}
.b3d-section{
  min-height:100vh;display:flex;align-items:center;justify-content:center;
  flex-direction:column;padding:5rem 1.5rem 3rem;text-align:center;
}
.b3d-section__inner{max-width:640px}
.b3d-kicker{
  font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--oro2);margin-bottom:.75rem;font-weight:700;
}
.b3d-section h2{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2rem,6vw,3.6rem);font-weight:300;line-height:1.12;
  margin-bottom:1rem;text-shadow:0 4px 24px rgba(0,0,0,.55);
}
.b3d-section h2 em{font-style:italic;color:var(--oro2);font-weight:600}
.b3d-section p{
  font-size:clamp(.92rem,2.5vw,1.08rem);
  line-height:1.75;color:rgba(255,255,255,.78);
  text-shadow:0 2px 12px rgba(0,0,0,.45);
}
.b3d-stat-row{
  display:flex;flex-wrap:wrap;gap:.65rem;justify-content:center;margin-top:1.35rem;
}
.b3d-stat{
  background:rgba(26,39,68,.72);border:1px solid rgba(201,168,76,.28);
  border-radius:12px;padding:.65rem 1rem;min-width:120px;
}
.b3d-stat strong{
  display:block;font-family:'Cormorant Garamond',serif;
  font-size:1.55rem;color:var(--oro2);line-height:1.1;
}
.b3d-stat span{font-size:.62rem;text-transform:uppercase;letter-spacing:.06em;color:var(--grigio)}
.b3d-section--1 h2{color:#fff}
.b3d-section--2 h2{color:var(--oro2)}
.b3d-section--3 h2{color:#7ec8ff}
.b3d-section--4 h2{color:#ffb4a2}
.b3d-section--5 h2{color:var(--oro2)}
.b3d-article{
  position:relative;z-index:3;background:var(--bianco);color:#152435;
  padding:3rem 1.5rem 4rem;
}
.b3d-article-inner{max-width:820px;margin:0 auto}
.b3d-article h1{
  font-family:'Cormorant Garamond',serif;font-size:2rem;
  color:var(--blu2);margin-bottom:.75rem;line-height:1.2;
}
.b3d-article .lead{font-size:.95rem;color:#6B7A8D;line-height:1.85;margin-bottom:1.5rem}
.b3d-article h2{
  font-family:'Cormorant Garamond',serif;font-size:1.65rem;
  color:var(--blu2);margin:2.2rem 0 .75rem;
  padding-bottom:.35rem;border-bottom:2px solid var(--oro);
}
.b3d-article h3{font-family:'Cormorant Garamond',serif;font-size:1.2rem;color:var(--blu);margin:1.4rem 0 .5rem}
.b3d-article p{font-size:.9rem;line-height:1.85;margin-bottom:1rem}
.b3d-article a{color:var(--blu2);text-decoration:underline}
.b3d-article ul,.b3d-article ol{margin:0 0 1rem 1.3rem;font-size:.9rem;line-height:1.8}
.b3d-article table{width:100%;border-collapse:collapse;margin:1.2rem 0;font-size:.84rem}
.b3d-article th,.b3d-article td{padding:.65rem;border:1px solid #E1DBD1}
.b3d-article th{background:#ECE7DF;font-size:.72rem;text-transform:uppercase}
.b3d-callout{
  background:linear-gradient(135deg,rgba(44,74,110,.08),rgba(201,168,76,.1));
  border:1px solid rgba(44,74,110,.18);border-radius:12px;
  padding:1.15rem 1.25rem;margin:1.5rem 0;
}
.b3d-callout strong{color:var(--blu2)}
.b3d-chart{margin:1.5rem 0;border-radius:12px;overflow:hidden;border:1px solid #E1DBD1}
.b3d-faq{border:1px solid #E1DBD1;border-radius:10px;margin-bottom:.55rem;background:#fff}
.b3d-faq summary{cursor:pointer;padding:.95rem 1.1rem;font-weight:600;font-size:.86rem;list-style:none}
.b3d-faq summary::-webkit-details-marker{display:none}
.b3d-faq p{padding:0 1.1rem 1rem;font-size:.84rem;color:#6B7A8D;line-height:1.75}
.b3d-cta{
  display:inline-block;margin-top:1rem;padding:.85rem 1.6rem;
  background:linear-gradient(180deg,var(--oro2),var(--oro));
  color:var(--nero);font-weight:800;font-size:.84rem;
  border-radius:10px;text-decoration:none;
}
.b3d-cta:hover{transform:translateY(-2px)}
.b3d-footer{
  position:relative;z-index:3;background:var(--nero);
  padding:2rem 1.5rem;text-align:center;
  font-size:.74rem;color:rgba(255,255,255,.55);
}
.b3d-footer a{color:var(--oro2)}
.b3d-ai-note{
  font-size:.68rem;color:#6B7A8D;background:#ECE7DF;
  border-radius:8px;padding:.65rem .85rem;margin:1rem 0;
}
@media(max-width:768px){
  .b3d-header{padding:.5rem 1rem}
  /* Mobile: blocchi testo più ravvicinati (−50% spazio verticale) */
  .b3d-section{
    min-height:50vh;
    padding:2.5rem 1.15rem 1.5rem;
  }
  .b3d-kicker{margin-bottom:.38rem}
  .b3d-section h2{
    font-size:clamp(1.65rem,7vw,2.4rem);
    margin-bottom:.5rem;
    line-height:1.08;
  }
  .b3d-section p{
    font-size:.88rem;
    line-height:1.55;
  }
  .b3d-stat-row{gap:.35rem;margin-top:.68rem}
  .b3d-stat{padding:.45rem .7rem;min-width:100px}
  .b3d-stat strong{font-size:1.25rem}
  .b3d-scroll-hint{bottom:1rem;padding:.45rem 1rem;font-size:.68rem}
  .b3d-article{padding:1.5rem 1.15rem 2rem}
  .b3d-article h1{font-size:1.65rem;margin-bottom:.38rem}
  .b3d-article .lead{margin-bottom:.75rem;line-height:1.65}
  .b3d-article h2{margin:1.1rem 0 .38rem;padding-bottom:.2rem}
  .b3d-article h3{margin:.7rem 0 .25rem}
  .b3d-article p{margin-bottom:.5rem;line-height:1.65}
  .b3d-article ul,.b3d-article ol{margin-bottom:.5rem;line-height:1.6}
  .b3d-callout{padding:.6rem .75rem;margin:.75rem 0}
  .b3d-chart{margin:.75rem 0}
  .b3d-faq{margin-bottom:.28rem}
  .b3d-faq summary{padding:.5rem .75rem}
  .b3d-faq p{padding:0 .75rem .5rem}
  .b3d-ai-note{margin:.5rem 0;padding:.45rem .6rem}
  .author-bio{margin:1rem 0!important;padding:.75rem!important}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .b3d-scroll-hint svg{animation:none}
}
