/* ===== L8xilFuturo 2026 · Call artisti ===== */
:root{
  --bg:#0b0b0d;
  --bg-2:#131317;
  --line:#26262d;
  --text:#f4f4f1;
  --muted:#9d9da6;
  --yellow:#ffe600;
  --blue:#1e6fb5;
  --blue-2:#3d8fd6;
  --danger:#ff5d5d;
  --radius:18px;
  --font:"Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--font);font-size:17px;line-height:1.55;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;display:block}
strong{font-weight:800}
.hl{color:var(--yellow)}
.center{text-align:center}
[hidden]{display:none!important}

/* ---------- HERO ---------- */
.hero{
  position:relative;min-height:100svh;display:flex;align-items:center;
  padding:48px 22px 64px;overflow:hidden;isolation:isolate;
}
.hero__inner{position:relative;max-width:1080px;width:100%;margin:0 auto;z-index:2}

.orbs{position:absolute;inset:0;z-index:0;pointer-events:none}
.orb{position:absolute;border-radius:50%;will-change:transform}
.orb--yellow{
  width:clamp(160px,30vw,360px);aspect-ratio:1;background:var(--yellow);
  right:clamp(-40px,8vw,140px);top:clamp(40px,10vh,110px);
  animation:floatA 9s ease-in-out infinite;
}
.orb--blue{
  width:clamp(240px,46vw,560px);aspect-ratio:1;background:var(--blue);
  right:clamp(-160px,-2vw,40px);bottom:clamp(-180px,-10vh,-60px);
  animation:floatB 12s ease-in-out infinite;
}
.hero::after{ /* grana + velatura per leggibilità */
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(11,11,13,.92) 0%,rgba(11,11,13,.55) 55%,rgba(11,11,13,.1) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}
@keyframes floatA{0%,100%{transform:translate(0,0)}50%{transform:translate(-24px,22px)}}
@keyframes floatB{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(18px,-26px) scale(1.04)}}

.brand{display:inline-flex;align-items:center;gap:12px;margin-bottom:40px}
.brand__dots{display:inline-flex;flex-direction:column;align-items:center;gap:3px}
.brand__dots i{display:block;border-radius:50%}
.brand__dots i:first-child{width:13px;height:13px;background:var(--yellow);transform:translateX(3px)}
.brand__dots i:last-child{width:17px;height:17px;background:var(--blue)}
.brand__word{font-weight:800;font-size:1.35rem;letter-spacing:-.02em}
.brand__img{width:clamp(170px,24vw,260px);height:auto;margin:0 0 36px -6px}

.eyebrow{
  display:inline-block;margin:0 0 14px;padding:6px 12px;border:1px solid var(--line);
  border-radius:99px;font-size:.85rem;letter-spacing:.02em;font-weight:600;color:var(--muted);
  background:rgba(255,255,255,.03);backdrop-filter:blur(6px);
}
.hero__title{
  margin:0 0 22px;font-weight:800;line-height:.92;letter-spacing:-.045em;
  font-size:clamp(3.4rem,12vw,8.5rem);
}
.hero__lead{max-width:34ch;font-size:clamp(1.05rem,2.4vw,1.3rem);color:#dcdcd6;margin:0 0 28px}

.chips{list-style:none;margin:0 0 36px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.chips li{
  display:flex;flex-direction:column;padding:12px 16px;border-radius:14px;
  background:rgba(20,20,24,.72);border:1px solid var(--line);backdrop-filter:blur(8px);
  font-size:.9rem;color:var(--muted);min-width:150px;
}
.chips strong{color:var(--text);font-size:1.05rem}
#countdown{color:var(--yellow)}

/* ---------- BUTTONS ---------- */
.btn{
  --h:56px;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  height:var(--h);padding:0 28px;border-radius:99px;border:0;cursor:pointer;
  font:800 1.05rem/1 var(--font);letter-spacing:-.01em;text-decoration:none;
  transition:transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn--primary{background:var(--yellow);color:#111;box-shadow:0 10px 30px -10px rgba(255,230,0,.55)}
.btn--primary:hover{transform:translateY(-2px);box-shadow:0 16px 36px -12px rgba(255,230,0,.7)}
.btn--primary:active{transform:translateY(0)}
.btn--block{width:100%}
.btn:focus-visible{outline:3px solid var(--blue-2);outline-offset:3px}
.btn__spinner{display:none;width:20px;height:20px;border-radius:50%;border:3px solid rgba(0,0,0,.25);border-top-color:#111;animation:spin .8s linear infinite}
.btn.is-loading{pointer-events:none;opacity:.9}
.btn.is-loading .btn__spinner{display:inline-block}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---------- INTRO ---------- */
.intro{max-width:820px;margin:0 auto;padding:72px 22px 24px;font-size:1.15rem;color:#d6d6d0}
.intro__big{font-size:clamp(1.6rem,4.4vw,2.6rem);line-height:1.12;font-weight:800;letter-spacing:-.03em;color:var(--text);margin-top:28px}

/* ---------- FORM ---------- */
.form-wrap{max-width:820px;margin:0 auto;padding:40px 16px 80px}
form{display:flex;flex-direction:column;gap:22px}
.step{
  margin:0;padding:28px 22px;border:1px solid var(--line);border-radius:24px;
  background:linear-gradient(180deg,var(--bg-2),#0f0f12);
}
.step legend{
  float:left;width:100%;padding:0;margin:0 0 22px;
  font-weight:800;font-size:1.5rem;letter-spacing:-.02em;display:flex;align-items:center;gap:12px;
}
.step legend ~ *{clear:both}
.step__n{
  display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;
  background:var(--blue);color:#fff;font-size:.95rem;letter-spacing:0;
}
.step:nth-of-type(even) .step__n{background:var(--yellow);color:#111}

.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;min-width:0}
.grid .field{margin-bottom:0}
.field--full{grid-column:1/-1}
@media (max-width:620px){.grid{grid-template-columns:1fr}}

label,.label{font-weight:600;font-size:.95rem}
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=url],textarea{
  width:100%;padding:15px 16px;border-radius:14px;border:1.5px solid var(--line);
  background:#0a0a0c;color:var(--text);font:400 1rem/1.4 var(--font);
  transition:border-color .2s, box-shadow .2s;-webkit-appearance:none;appearance:none;
}
textarea{resize:vertical;min-height:140px}
input::placeholder,textarea::placeholder{color:#5f5f68}
input:focus,textarea:focus{outline:none;border-color:var(--yellow);box-shadow:0 0 0 4px rgba(255,230,0,.14)}
.field.is-invalid input,.field.is-invalid textarea,.field.is-invalid .drop{border-color:var(--danger)}
.err{color:var(--danger);font-size:.85rem;font-weight:600}
input[type=number]::-webkit-inner-spin-button{opacity:.4}

.prefix{display:flex;align-items:stretch}
.prefix span{display:grid;place-items:center;padding:0 14px;border:1.5px solid var(--line);border-right:0;border-radius:14px 0 0 14px;background:#151518;color:var(--muted);font-weight:600}
.prefix input{border-radius:0 14px 14px 0}

.hint{font-size:.85rem;color:var(--muted)}
#charCount{font-variant-numeric:tabular-nums}

/* drop zone */
.drop{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  padding:30px 18px;border:2px dashed #3a3a44;border-radius:18px;text-align:center;cursor:pointer;
  background:rgba(30,111,181,.06);transition:border-color .2s, background .2s;font-weight:400;
}
.drop:hover,.drop.is-over{border-color:var(--blue-2);background:rgba(30,111,181,.14)}
.drop input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.drop__icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--blue);color:#fff;font-size:1.5rem;margin-bottom:8px}
.drop__text{font-size:1rem}
.drop__sub{font-size:.82rem;color:var(--muted)}
.drop.is-full{opacity:.45;pointer-events:none}

.filelist{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.filelist li{
  display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;
  background:#0a0a0c;border:1px solid var(--line);
}
.filelist .dot{flex:none;width:12px;height:12px;border-radius:50%;background:var(--yellow)}
.filelist .name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.filelist .size{color:var(--muted);font-size:.85rem;font-variant-numeric:tabular-nums}
.filelist button{flex:none;width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--text);cursor:pointer;font-size:1rem}
.filelist button:hover{background:var(--danger);border-color:var(--danger)}

/* checkbox */
.check-wrap{margin-bottom:14px}
.check{display:flex;gap:14px;align-items:flex-start;font-weight:400;font-size:.95rem;color:#d6d6d0;cursor:pointer;margin-bottom:18px}
.check input{
  flex:0 0 26px;-webkit-appearance:none;appearance:none;width:26px;height:26px;min-width:26px;margin:1px 0 0;padding:0;border-radius:8px;
  border:2px solid #4a4a55;background:#0a0a0c center/16px 16px no-repeat;display:block;position:static;cursor:pointer;transition:.15s;
}
.check span{flex:1;min-width:0}
.check input:checked{background-color:var(--yellow);border-color:var(--yellow);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23111' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.check input:focus-visible{outline:3px solid var(--blue-2);outline-offset:2px}
.check.is-invalid input{border-color:var(--danger)}
.linkbtn{background:none;border:0;padding:0;font:inherit;color:var(--yellow);text-decoration:underline;cursor:pointer}

.form-error{
  margin:0 0 16px;padding:14px 16px;border-radius:14px;
  background:rgba(255,93,93,.1);border:1px solid rgba(255,93,93,.4);color:#ffb3b3;font-weight:600;
}

.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- NOTICES ---------- */
.notice{
  text-align:center;padding:56px 24px;border-radius:28px;border:1px solid var(--line);
  background:radial-gradient(circle at 50% 0%,rgba(30,111,181,.25),transparent 60%),var(--bg-2);
}
.notice h2{font-size:clamp(2rem,6vw,3.2rem);line-height:1;letter-spacing:-.04em;margin:18px 0 14px}
.notice p{max-width:42ch;margin:0 auto 10px;color:#d6d6d0}
.notice:focus{outline:none}
.success__orbs{display:flex;justify-content:center;align-items:flex-end;gap:6px;height:90px}
.success__orbs i{display:block;border-radius:50%;animation:pop .6s cubic-bezier(.2,1.6,.4,1) both}
.success__orbs i:first-child{width:46px;height:46px;background:var(--yellow);margin-bottom:46px;animation-delay:.15s}
.success__orbs i:last-child{width:72px;height:72px;background:var(--blue)}
@keyframes pop{from{transform:scale(0)}to{transform:scale(1)}}

/* ---------- FOOTER ---------- */
.footer{border-top:1px solid var(--line);padding:48px 22px 56px;text-align:center}
.footer__label{text-transform:uppercase;letter-spacing:.14em;font-size:.75rem;color:var(--muted);margin:0 0 18px}
.partners{display:flex;justify-content:center;flex-wrap:wrap;gap:16px}
.partner--comune{width:170px;height:auto;background:#fff;border-radius:18px;padding:12px}
.footer__small{margin:24px 0 0;font-size:.85rem;color:var(--muted)}

/* ---------- DIALOG ---------- */
.dialog{
  width:min(640px,calc(100% - 24px));max-height:86vh;padding:0;border:1px solid var(--line);
  border-radius:24px;background:var(--bg-2);color:var(--text);
}
.dialog::backdrop{background:rgba(0,0,0,.7);backdrop-filter:blur(4px)}
.dialog__body{padding:28px 24px}
.dialog h2{margin:0;font-size:1.8rem;letter-spacing:-.03em}
.dialog h3{margin:22px 0 6px;font-size:1.05rem;color:var(--yellow)}
.dialog p{margin:0;color:#d6d6d0;font-size:.95rem}
.dialog form{margin-top:28px}
.dialog a{color:var(--yellow)}

/* ---------- MOTION ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media (max-width:620px){
  .hero{align-items:flex-end;padding-bottom:48px}
  .hero::after{background:linear-gradient(180deg,rgba(11,11,13,.15) 0%,rgba(11,11,13,.75) 45%,rgba(11,11,13,.96) 100%)}
  .orb--yellow{right:-30px;top:60px}
  .orb--blue{right:-140px;top:150px;bottom:auto}
  .chips li{flex:1 1 140px;min-width:0}
  .btn{width:100%}
  .step{padding:24px 16px}
}
