/* Questionario anonimo nel sito nuovo (22/10/2026): regole del sito di oggi (la-tua-opinione/index.html), nei caratteri
   del sito nuovo; in fondo i ritocchi per la testata della home (che sta sopra la parte gialla) e per i titoli grandi. */
.op { --scuro: var(--notte); }
.op fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.op legend { padding: 0; }
.op-scelte { display: flex; flex-wrap: wrap; gap: 10px; }
.op-scelta input, .op-voto__n input, .op-dieci input { position: absolute; opacity: 0; pointer-events: none; }
.op-scelta span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px; border-radius: 999px; border: 2px solid rgba(255,212,0,.5); font-size: 15.5px; line-height: 1.3; cursor: pointer; transition: background .15s, color .15s; }
.op-scelta input:checked + span { background: var(--giallo); color: var(--scuro); border-color: var(--giallo); font-weight: 700; }
.op-scelta input:focus-visible + span, .op-voto__n input:focus-visible + span, .op-dieci input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.op-voti { display: grid; gap: 12px; }
.op-voto { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.op-voto__t { font-size: 16px; flex: 1 1 180px; }
.op-voto__n, .op-dieci { display: flex; gap: 6px; }
.op-voto__n span, .op-dieci span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; border: 2px solid rgba(255,212,0,.45); font-family: var(--titolo); font-weight: 700; font-size: 16px; cursor: pointer; }
.op-dieci { flex-wrap: wrap; }
.op-dieci span { width: 38px; height: 42px; }
.op-voto__n input:checked + span, .op-dieci input:checked + span { background: var(--giallo); color: var(--scuro); border-color: var(--giallo); }
.op-dieci__l { display: flex; justify-content: space-between; max-width: 470px; font-size: 13px; opacity: .75; margin-top: 6px; }
.op-testo { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 1.5; padding: 12px 14px; border-radius: 14px; border: 2px solid rgba(255,212,0,.45); background: rgba(255,255,255,.06); color: inherit; resize: vertical; }
.op-testo::placeholder { color: rgba(253,250,241,.5); }
.op-altro { margin-top: 10px; max-width: 420px; }
.op-aiuto { font-size: 14.5px; line-height: 1.45; opacity: .8; margin: 4px 0 14px; }
.op-invia, .op-avanti, .op-ok { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--giallo); color: var(--scuro); font-family: var(--titolo); font-weight: 700; font-size: 18px; cursor: pointer; box-shadow: 0 5px 0 var(--rosso); }
.op-invia:disabled { opacity: .6; cursor: wait; }
.op-trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#op-stato { min-height: 22px; font-size: 15px; color: var(--giallo); margin: 10px 0 0; }
.op-privacy { font-size: 13.5px; opacity: .7; margin-top: 14px; }
#op-grazie h2 { font-family: var(--titolo); font-size: clamp(30px, 6vw, 44px); line-height: 1; margin: 0 0 12px; }
#op-grazie h2 span { color: var(--giallo); }
#op-grazie p { font-size: 17px; line-height: 1.55; max-width: 560px; }
.op-g-rec { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 22px 0 8px; }
.op-rec { display: inline-block; line-height: 1.3; padding: 15px 26px; border-radius: 999px; font-family: var(--titolo); font-size: 17px; text-decoration: none; border: 2px solid var(--giallo); color: inherit; }
[hidden] { display: none !important; } /* un display:flex di classe scavalcava hidden (Manda visibile a meta' percorso) */
.op-g-rec.forte .op-rec { background: var(--giallo); color: var(--scuro); border-color: var(--giallo); font-size: 18px; box-shadow: 0 5px 0 var(--rosso); }
.op-g-menu a { color: inherit; text-decoration: underline; font-size: 16px; }
.c-main .op-rec { border-color: var(--blu, #1b2a6b); }

.a-hero { background: var(--giallo); color: var(--scuro); text-align: center; padding: 40px 20px 34px; }
.a-pill { display: inline-block; background: var(--rosso); color: #fff; font-family: var(--titolo); font-weight: 700; font-size: 12.5px; padding: 8px 16px; border-radius: 999px; margin-bottom: 16px; }
.a-hero h1 { font-family: var(--titolo); font-weight: 700; font-size: clamp(36px, 8vw, 66px); line-height: .98; letter-spacing: -.03em; margin: 0 0 14px; }
.a-hero h1 span { color: var(--rosso); }
.a-hero p { font-size: clamp(17px, 2.3vw, 20px); line-height: 1.5; max-width: 580px; margin: 0 auto; }
.a-body { background: var(--scuro); color: var(--crema); padding: 36px 16px 60px; }
.a-wrap { max-width: 760px; margin: 0 auto; }
.a-body .q { background: rgba(255,255,255,.05); border: 2px solid rgba(255,212,0,.18); border-radius: 22px; padding: 22px 18px; margin-bottom: 16px; }
.a-body legend { font-family: var(--titolo); font-weight: 700; font-size: 21px; color: #fff; display: flex; gap: 12px; align-items: center; margin-bottom: 10px; float: left; width: 100%; }
.a-body legend + * { clear: both; }
.op-n { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--giallo); color: var(--scuro); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 3px 0 var(--rosso); }
.a-invio { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--scuro) 30%); padding: 26px 0 16px; text-align: center; }

.b-main { background: var(--scuro); color: var(--crema); min-height: calc(100vh - 70px); min-height: calc(100svh - 70px); display: flex; flex-direction: column; }
.b-top { max-width: 720px; width: 100%; margin: 0 auto; padding: 22px 18px 0; box-sizing: border-box; }
.b-top h1 { font-family: var(--titolo); font-weight: 700; font-size: clamp(22px, 4.5vw, 30px); margin: 0 0 4px; color: #fff; }
.b-top h1 span { color: var(--giallo); }
.b-top p { margin: 0 0 16px; font-size: 15px; opacity: .8; }
.op-barra { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.op-barra i { display: block; height: 100%; width: 0; background: var(--giallo); transition: width .3s; }
.op-conta { font-family: var(--titolo); font-size: 14px; color: var(--giallo); margin-top: 8px; }
.b-form { flex: 1; max-width: 720px; width: 100%; margin: 0 auto; padding: 26px 18px 30px; box-sizing: border-box; display: flex; flex-direction: column; }
.b-form .q { display: none; animation: bEntra .3s ease; }
.b-form .q.attiva { display: block; }
@keyframes bEntra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.b-form legend { font-family: var(--titolo); font-weight: 700; font-size: clamp(28px, 6vw, 42px); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin-bottom: 10px; }
.b-form .op-n { display: none; }
.b-form .op-scelte { flex-direction: column; align-items: stretch; max-width: 460px; }
.b-form .op-scelta span { width: 100%; box-sizing: border-box; font-size: 17px; min-height: 54px; border-radius: 16px; }
.b-nav { margin-top: auto; padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.op-indietro { background: none; border: 0; color: var(--crema); font: inherit; font-size: 16px; text-decoration: underline; cursor: pointer; }

.a-body { padding-top: 26px; }
.op-prog { max-width: 760px; margin: 0 auto 6px; }
.d-form { padding: 18px 0 10px; min-height: 340px; }
.d-form .q { background: none; border: 0; padding: 0; }
.d-form .op-n { display: none; } /* con "Non ancora" il numero fisso contraddiceva il contatore */
.op-avanti:disabled, .op-invia:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* ritocchi del sito nuovo */
body { background: var(--notte); }
.a-hero { padding: 132px max(20px, env(safe-area-inset-right, 0px)) clamp(40px, 5vw, 64px) max(20px, env(safe-area-inset-left, 0px)); }
.a-pill { font-size: 15px; padding: 8px 16px; margin-bottom: 20px; }
.a-hero h1 { font-size: clamp(44px, 7vw, 96px); line-height: .95; letter-spacing: -.045em; margin-bottom: 18px; text-wrap: balance; }
.a-hero p { font-weight: 500; }
@media (max-width: 680px) { .a-hero { padding-top: 100px; } }
