
/* Home Soul Café: composizione editoriale, non griglia di pulsanti uniformi */
.sc-home-intro{padding:clamp(26px,6vw,70px) clamp(22px,5vw,64px);border:1px solid #6e6247;border-radius:24px;background:linear-gradient(135deg,#23352d,#101918 72%);margin-bottom:20px}
.sc-home-eyebrow,.sc-home-intro .kicker{letter-spacing:.18em;color:#d6bd83;font-size:12px;font-weight:700}
.sc-home-intro h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(38px,7vw,70px);line-height:1.09;max-width:800px;margin:16px 0}
.sc-home-intro h1 em,.sc-home-world-copy em{color:#e7c98d;font-weight:400}
.sc-home-intro p{font-size:clamp(16px,2.3vw,21px);max-width:560px;line-height:1.55}
.sc-home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}
.sc-home-world{display:grid;grid-template-columns:1.15fr .85fr;position:relative;overflow:hidden;min-height:320px;border:1px solid #a18859;border-radius:24px;background:radial-gradient(circle at 77% 48%,#3c584c,#172522 49%,#0b1415 88%);color:#f2e8d4;text-decoration:none;margin:20px 0}
.sc-home-world-copy{display:flex;flex-direction:column;justify-content:center;gap:15px;padding:35px;z-index:2}
.sc-home-world-copy strong{font:normal clamp(28px,4.6vw,50px)/1.12 Georgia,serif}
.sc-home-world-copy>span:nth-of-type(2){font-size:15px;line-height:1.5;max-width:460px}
.sc-home-world-copy b,.sc-home-go{color:#edce91;font-size:14px}
.sc-home-world-art{position:relative;display:grid;place-items:center;min-width:0;isolation:isolate}
.sc-home-world-sphere{font-size:clamp(125px,23vw,250px);line-height:1;filter:drop-shadow(-18px 20px 16px #0009);animation:sc-globe-float 7s ease-in-out infinite}
.sc-home-world-ring{position:absolute;width:85%;aspect-ratio:1;border:1px solid #d6b97975;border-radius:50%;transform:rotateX(67deg) rotate(-25deg)}
@keyframes sc-globe-float{0%,100%{transform:translateY(6px) rotate(-7deg)}50%{transform:translateY(-10px) rotate(7deg)}}
.sc-home-mosaic{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;margin:22px 0}
.sc-home-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:270px;padding:24px;border:1px solid #786a50;border-radius:21px;text-decoration:none;color:#f3e9d6;overflow:hidden;position:relative}
.sc-home-card strong{font:normal clamp(23px,3.2vw,33px)/1.15 Georgia,serif;max-width:360px}
.sc-home-card small{font-size:14px;line-height:1.4;max-width:350px;color:#e3d9c4}
.sc-home-card .sc-home-go{margin-top:auto;font-weight:700}
.sc-home-card-paper{background:linear-gradient(140deg,#28392f,#172522)}
.sc-paper-visual{align-self:center;transform:rotate(-5deg);background:#d7c5a0;color:#4c3724;border:2px solid #aa906a;box-shadow:6px 9px 0 #0004;padding:12px 24px;display:flex;align-items:center;gap:8px;font:22px Georgia,serif}
.sc-paper-visual span{font-size:16px;color:#866546}
.sc-home-card-passport{background:linear-gradient(140deg,#4d3d2c,#211e1b)}
.sc-passport-visual{align-self:center;display:grid;place-items:center;gap:4px;width:145px;height:95px;background:#b39c76;color:#493628;border:6px double #5f4b34;transform:rotate(8deg);font-size:37px}
.sc-passport-visual small{font:9px Georgia,serif;color:#4b3526}
.sc-home-card-menu{background:linear-gradient(140deg,#3b4637,#1a2925)}
.sc-menu-visual{align-self:center;font-size:75px;filter:drop-shadow(3px 8px 5px #0005)}
.sc-home-card-egg{background:linear-gradient(140deg,#313c47,#18252d)}
.sc-egg-visual{align-self:center;font-size:78px;color:#e4c88b;text-shadow:0 0 24px #ddbe7866}
.sc-home-next{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px;border:1px solid #625e48;border-radius:20px;background:#24352c;margin-top:24px}
.sc-home-next>div{display:flex;flex-direction:column;gap:7px}
.sc-home-next strong{font:normal 27px Georgia,serif}
.sc-home-footerlinks{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
.sc-home-footerlinks a{color:#e7c98d;padding:10px 0;margin-right:20px}
@media(max-width:640px){.sc-home-world{grid-template-columns:1fr;min-height:0}.sc-home-world-copy{padding:26px 24px 0}.sc-home-world-art{height:200px}.sc-home-world-sphere{font-size:160px}.sc-home-mosaic{grid-template-columns:1fr}.sc-home-card{min-height:235px}.sc-home-next{flex-direction:column;align-items:stretch}.sc-home-intro{padding:28px 23px}.sc-home-intro h1{font-size:40px}}
@media(prefers-reduced-motion:reduce){.sc-home-world-sphere{animation:none}}

@media(max-width:640px){.sc-home-world{display:flex;flex-direction:column}.sc-home-world-art{height:190px;min-height:190px;order:-1}.sc-home-world-sphere{font-size:155px}.sc-home-world-copy{padding:0 24px 25px}}

/* V17.0 — Anteprime oggetti fisici: tessera cartacea e passaporto, senza emoji */
.sc-home-card-paper .sc-paper-visual{
 box-sizing:border-box;position:relative;align-self:center;width:min(100%,360px);min-height:190px;
 display:flex;flex-direction:column;gap:11px;justify-content:center;padding:21px 22px;
 transform:rotate(-4deg);background:radial-gradient(ellipse at 9% 15%,#ac8c5c2e,transparent 32%),
 radial-gradient(ellipse at 91% 83%,#80623a36,transparent 33%),
 repeating-linear-gradient(174deg,#e2d3ae 0 6px,#dfcea9 6px 13px);
 border:1px solid #ad9166;border-radius:3px 8px 4px 3px;
 box-shadow:inset 0 0 0 4px #c6b28b,inset 0 0 0 5px #8c7554,8px 12px 0 #0004,12px 15px 20px #0005;
 color:#4a3527;font-family:Georgia,serif;
}
.sc-paper-visual:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,#fff8e355,transparent 32%,#6d533719 85%);border-radius:inherit}
.sc-paper-heading{display:flex;flex-direction:column;text-align:center;gap:4px}
.sc-paper-heading b{font-size:27px;letter-spacing:.1em;font-weight:500}
.sc-paper-heading i{font-size:10px;letter-spacing:.18em;font-style:normal}
.sc-paper-stamps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 9px;width:100%}
.sc-paper-stamps span{display:grid;place-items:center;aspect-ratio:1;border:1.5px dashed #8b6d4c;border-radius:50%;font:12px Georgia,serif;color:#806444;background:#f1e5c83d}
.sc-paper-bottom{font:10px Georgia,serif;letter-spacing:.08em;text-align:center}
.sc-home-card-passport .sc-passport-visual{box-sizing:border-box;align-self:center;width:165px;height:145px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;transform:rotate(7deg);border:3px double #bca173;border-radius:4px 9px 9px 4px;background:repeating-linear-gradient(100deg,#62472e 0 4px,#543b28 4px 8px);color:#e0c48e;box-shadow:inset 8px 0 11px #24160caa,8px 10px 0 #0004}
.sc-passport-visual .sc-mini-passport-seal{border:1px solid #c6a675;border-radius:50%;display:grid;place-items:center;width:32px;height:32px;font:16px Georgia,serif}
.sc-passport-visual strong{font:normal 16px/1.12 Georgia,serif;text-align:center}
.sc-passport-visual small{font:8px Georgia,serif;color:#dfc58e;letter-spacing:.08em}
@media(max-width:420px){.sc-home-card-paper .sc-paper-visual{width:100%;min-height:175px;padding:16px}.sc-paper-heading b{font-size:23px}}

/* V17.1 visual review: actual artwork, not placeholder icon */
.sc-home-world-sphere{display:block;width:min(100%,280px);aspect-ratio:1;border-radius:50%;overflow:hidden;box-shadow:inset -20px -15px 24px #0008,0 20px 30px #0007;position:relative;transform-style:preserve-3d}
.sc-home-world-sphere img{width:100%;height:100%;object-fit:cover;filter:saturate(.75) contrast(1.1)}
.sc-home-world-sphere::after{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 30% 28%,#ffffff3d,transparent 35%),linear-gradient(100deg,transparent 35%,#071614a8 95%)}
.event-card>img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;background:#172521}
.sc-passport-ink-seal{display:grid!important;place-items:center!important;width:76px!important;height:76px!important;margin:10px auto!important;border:3px double #795b3b!important;border-radius:50%!important;background:transparent!important;color:#775736!important;font:normal 30px Georgia,serif!important;box-shadow:none!important;text-shadow:none!important}

/* V17.6 — Revisione percorso cliente: globo riconoscibile, proporzioni e navigazione mobile */
.sc-home-world-art{pointer-events:none}
.sc-home-world-sphere{width:clamp(175px,27vw,310px);height:auto;aspect-ratio:1;overflow:hidden;border:1px solid #d3b67c80;background:radial-gradient(circle at 28% 26%,#477b79,#1e525a 48%,#0b2932 85%);box-shadow:inset -24px -20px 35px #061718aa,0 18px 28px #0008;animation:sc-world-drift 14s ease-in-out infinite}
.sc-world-map{position:absolute;inset:0;background-image:url('/assets/mondo-soul.svg');background-size:210% 100%;background-position:25% center;animation:sc-world-turn 38s linear infinite;opacity:.96}
.sc-world-light{position:absolute;inset:0;background:radial-gradient(circle at 26% 22%,#fff8db42,transparent 36%),linear-gradient(100deg,#061d1a08 20%,#041718aa 100%);pointer-events:none}
@keyframes sc-world-turn{0%{background-position:0% center}100%{background-position:100% center}}
@keyframes sc-world-drift{0%,100%{transform:translateY(4px)}50%{transform:translateY(-7px)}}
.sc-home-world-copy{position:relative;z-index:3}
.sc-home-world-copy strong{overflow-wrap:normal}
.sc-home-card{transition:transform .2s ease,border-color .2s ease}
.sc-home-card:focus-visible,.sc-home-world:focus-visible{outline:3px solid #e7c98d;outline-offset:4px}
@media(hover:hover){.sc-home-card:hover{transform:translateY(-4px);border-color:#d5b982}}
@media(max-width:640px){
 .sc-home-world{display:flex;flex-direction:column;min-height:0}
 .sc-home-world-art{order:0;height:215px;min-height:215px;margin-top:8px}
 .sc-home-world-copy{order:1;padding:8px 24px 28px;gap:12px}
 .sc-home-world-sphere{width:190px}
 .sc-home-world-copy strong{font-size:clamp(27px,7vw,38px)}
 .sc-home-mosaic{gap:20px}
 .sc-home-next strong{font-size:24px}
}
@media(prefers-reduced-motion:reduce){.sc-home-world-sphere,.sc-world-map{animation:none!important}}
/* prevent fixed navigation from obscuring the last content on short screens */
main#app{padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}
.footer{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
#app .event-card img{min-height:180px;object-fit:cover}
#app .sc-home-card-paper .sc-paper-visual{flex-shrink:0}

.event-card img.sc-fallback-art{object-fit:contain!important;padding:30px;background:radial-gradient(circle,#34443a,#15231f)}

/* V17.7: globo cartografico, non poligoni schematici; animazione sobria */
.sc-home-world-sphere{background:#153a46!important;animation:sc-globe-breathe 9s ease-in-out infinite!important}
.sc-home-world-sphere .sc-globe-cartography{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 10px #071212);opacity:1}
.sc-home-world-sphere .sc-world-light{position:absolute;inset:0;pointer-events:none;border-radius:50%;background:radial-gradient(circle at 25% 22%,#fff7da22,transparent 45%)}
@keyframes sc-globe-breathe{0%,100%{transform:translateY(2px)}50%{transform:translateY(-7px)}}
@media(prefers-reduced-motion:reduce){.sc-home-world-sphere{animation:none!important}}
.sc-bar-menu-intro{padding:24px;border:1px solid #9c8157;border-radius:20px;background:linear-gradient(145deg,#26362c,#111c1b);margin-bottom:20px}
.sc-bar-menu-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 25px}
.sc-bar-menu-tabs a{border:1px solid #a38b60;border-radius:25px;padding:9px 14px;color:#e7cb94;text-decoration:none}
.sc-bar-menu-intro h1{font:normal clamp(34px,7vw,54px) Georgia,serif;margin:10px 0}
.sc-bar-menu-note{font-size:13px;opacity:.8}
