:root {
  --ink: #000;
  --ink-2: #343434;
  --mute: #7b7b7b;
  --line: #dcdcdc;
  --soft: #efefef;
  --paper: #fff;
  --head: 'Abel', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Geist', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); color: var(--ink-2); background: var(--paper); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; color: var(--ink); line-height: 1.08; }
h1 { font-size: clamp(40px, 9vw, 76px); }
h2 { font-size: clamp(30px, 6vw, 46px); margin-bottom: 14px; }
h3 { font-size: 22px; margin-bottom: 6px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.wrap--narrow { max-width: 600px; }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.note { font-size: 13px; color: var(--mute); }
.lead { font-size: 17px; margin-bottom: 22px; }

.btn { display: inline-block; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 19px 30px; text-align: center; text-decoration: none; transition: opacity .2s; }
.btn:hover { opacity: .82; }
.btn[disabled] { opacity: .35; cursor: default; }
.btn--light { background: #fff; color: var(--ink); }
.btn--ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* Ingresso */
.hero { position: relative; min-height: min(92svh, 780px); display: flex; align-items: flex-end; color: #fff; background: #000; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.86) 100%); }
.hero__logo { position: absolute; top: 24px; left: 20px; z-index: 2; }
.hero__logo img { width: 78px; filter: invert(1); }
.hero__body { position: relative; padding-top: 120px; padding-bottom: 36px; }
.hero .kicker { color: #fff; }
.hero h1 { color: #fff; max-width: 13em; }
.hero__sub { font-size: 17px; max-width: 34em; margin: 18px 0 26px; color: #fff; }
.hero__meta { font-size: 13px; margin-top: 16px; color: rgba(255,255,255,.82); }
.hero .btn { width: 100%; max-width: 340px; }

.block { padding-top: 64px; padding-bottom: 64px; }
.block--soft { background: var(--soft); }
.block--line { border-top: 1px solid var(--ink); }
.block p { max-width: 34em; }
.steps { list-style: none; display: grid; gap: 28px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 16px; }
.steps span { font-family: var(--head); font-size: 15px; color: var(--mute); display: block; margin-bottom: 10px; }
.two { display: grid; gap: 34px; align-items: center; }
.two .btn { margin-top: 24px; }
.list { list-style: none; margin-top: 8px; }
.list li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; }
.list li::before { content: ''; position: absolute; left: 0; top: 23px; width: 10px; height: 1px; background: var(--ink); }
.portrait { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 100% 50%; }
.trust { display: grid; gap: 26px; }
.foot { padding-top: 34px; padding-bottom: 44px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.foot img { width: 62px; margin-bottom: 14px; }

.sample { background: #fff; padding: 26px 24px; }
.sample__t { font-family: var(--head); font-size: 24px; color: var(--ink); line-height: 1.15; margin-bottom: 18px; }
.sample__n { font-size: 12px; color: var(--mute); margin-top: 16px; letter-spacing: .12em; text-transform: uppercase; }

/* Indicatore a cinque livelli */
.meter { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 9px 0; font-size: 15px; color: var(--ink); }
.meter i, .lvl { flex: none; width: 150px; height: 6px;
  background: linear-gradient(90deg, var(--ink) calc(var(--l, 0) * 20%), var(--line) 0);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 3px), transparent 0 20%); mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 3px), transparent 0 20%); }
[data-l="1"] { --l: 1; } [data-l="2"] { --l: 2; } [data-l="3"] { --l: 3; } [data-l="4"] { --l: 4; } [data-l="5"] { --l: 5; }

/* Percorso */
.bar { position: sticky; top: 0; z-index: 5; background: #fff; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 58px; padding: 0 8px; }
.bar img { width: 54px; justify-self: center; }
.bar__back { font-size: 22px; height: 44px; color: var(--ink); }
.bar__n { font-size: 12px; color: var(--mute); justify-self: end; padding-right: 8px; white-space: nowrap; }
.bar__p { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.bar__p i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .35s; }
#form { padding-top: 30px; padding-bottom: 130px; }
.step h2 { margin-bottom: 8px; }
.group { border: 0; margin: 26px 0 0; }
.group legend, .group__l { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 12px; padding: 0; }
.group__l { margin-top: 18px; }
.group small { font-weight: 400; color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); padding: 14px 16px; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .15s, background .15s, color .15s; text-align: left; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips--col .chip { flex: 1 1 100%; }
.field { display: block; margin-top: 18px; }
.field span { display: block; font-size: 13px; color: var(--mute); margin-bottom: 6px; }
.field input, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0; background: none; outline: none; }
textarea { border: 1px solid var(--line); padding: 12px; min-height: 86px; resize: vertical; }
textarea:focus { border-color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 14px; cursor: pointer; }
.check:first-of-type { margin-top: 30px; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: #000; }
.tips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tips li { font-size: 13px; background: var(--soft); padding: 8px 12px; color: var(--ink); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.shot { position: relative; border: 1px dashed var(--mute); display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.shot:focus-within { border-color: var(--ink); border-style: solid; }
.shot__body { position: relative; flex: 1; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; text-align: center; cursor: pointer; }
.shot svg { width: 64px; height: 64px; flex: none; }
.shot b { font-weight: 600; font-size: 15px; color: var(--ink); }
.shot small { font-size: 12px; color: var(--mute); line-height: 1.3; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot.is-ok { border: 1px solid var(--ink); }
.shot.is-ok .shot__body::after { content: attr(data-label); position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; padding: 8px; pointer-events: none; }
.shot__acts { display: flex; border-top: 1px solid var(--ink); }
.shot__acts button { flex: 1; height: 44px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: #fff; }
.shot__acts button:first-child:not(:only-child) { background: var(--ink); color: #fff; }
.shot--wide { grid-column: 1 / -1; }
.shot--wide .shot__body { aspect-ratio: auto; min-height: 96px; flex-direction: row; text-align: left; justify-content: flex-start; gap: 14px; }
.shot--wide.is-ok .shot__body { min-height: 150px; }
.cam { position: fixed; inset: 0; z-index: 20; background: #000; color: #fff; display: flex; flex-direction: column; }
.cam[hidden] { display: none; }
.cam__top { padding: 18px 20px; text-align: center; font-size: 13px; }
.cam__top b { display: block; font-family: var(--head); font-weight: 400; font-size: 24px; }
.cam video { flex: 1; min-height: 0; width: 100%; object-fit: contain; transform: scaleX(-1); }
.cam__acts { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); }
.cam__acts .btn { width: 100%; max-width: 340px; }
.cam__x { color: #fff; font-size: 13px; padding: 12px; text-decoration: underline; }
.error { color: #000; background: var(--soft); border-left: 3px solid #000; padding: 12px 14px; font-size: 14px; margin-top: 20px; }
.actions { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); z-index: 5; }
.actions .btn { width: 100%; max-width: 560px; display: block; margin: 0 auto; }

/* Attesa */
.screen--center { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 18px; }
.wait__logo { width: 70px; }
.wait__t { font-family: var(--head); font-size: 28px; color: var(--ink); min-height: 2.3em; max-width: 12em; line-height: 1.15; }
.pulse { width: 120px; height: 2px; background: var(--line); position: relative; overflow: hidden; margin: 14px 0; }
.pulse::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--ink); animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-110%); } to { transform: translateX(280%); } }

/* Report */
.rep__head { background: #000 url(img/texture.jpg) center / cover; color: #fff; position: relative; }
.rep__head::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.rep__head .wrap { position: relative; padding-top: 26px; padding-bottom: 44px; }
.rep__head img { width: 70px; filter: invert(1); margin-bottom: 46px; }
.rep__head .kicker { color: rgba(255,255,255,.8); }
.rep__head h1 { color: #fff; font-size: clamp(34px, 7.4vw, 56px); margin-bottom: 18px; }
.rep__type { font-family: var(--head); font-size: 24px; line-height: 1.15; border-top: 1px solid rgba(255,255,255,.5); padding-top: 16px; margin-bottom: 10px; }
.rep__head p { color: #fff; }
.rep__sec { padding-top: 40px; }
.rep__sec:last-of-type { padding-bottom: 20px; }
.rep__sec h2 { font-size: 30px; border-top: 1px solid var(--ink); padding-top: 16px; }
.param { padding: 14px 0; border-bottom: 1px solid var(--line); }
.param__r { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; }
.param p { font-size: 14px; color: var(--mute); margin-top: 4px; }
.zones { display: grid; gap: 14px; }
.zones b { color: var(--ink); display: block; font-family: var(--head); font-weight: 400; font-size: 21px; }
.prio { list-style: none; counter-reset: p; }
.prio li { counter-increment: p; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); font-size: 17px; }
.prio li::before { content: '0' counter(p); position: absolute; left: 0; font-family: var(--head); color: var(--mute); }
.moment { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin: 24px 0 4px; }
.prod { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.prod small { grid-column: 1 / -1; font-size: 12px; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }
.prod b { font-family: var(--head); font-weight: 400; font-size: 23px; color: var(--ink); line-height: 1.1; }
.prod b span { font-family: var(--body); font-size: 13px; color: var(--mute); display: block; margin-top: 3px; }
.prod a { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.prod p { grid-column: 1 / -1; font-size: 14px; }
.plain { list-style: none; }
.plain li { padding: 10px 0 10px 22px; position: relative; }
.plain li::before { content: ''; position: absolute; left: 0; top: 21px; width: 10px; height: 1px; background: var(--ink); }
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.shop__c { display: flex; flex-direction: column; background: var(--soft); color: var(--ink-2); text-decoration: none; }
.shop__c img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 12px; }
.shop__c b { font-family: var(--head); font-weight: 400; font-size: 21px; line-height: 1.1; color: var(--ink); padding: 4px 12px 0; }
.shop__c span { font-size: 13px; color: var(--mute); padding: 4px 12px 14px; flex: 1; }
.shop__c i { font-style: normal; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 14px 8px; transition: opacity .2s; }
.shop__c:hover i { opacity: .82; }
.callout { background: var(--soft); padding: 16px 18px; margin-top: 18px; font-size: 15px; }
.cta { background: #000; color: #fff; margin-top: 48px; }
.cta .wrap { padding-top: 48px; padding-bottom: 52px; display: grid; gap: 28px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #fff; max-width: 32em; }
.cta .kicker { color: rgba(255,255,255,.75); }
.cta .btn { margin-top: 22px; width: 100%; max-width: 360px; }
.cta .portrait { max-width: 300px; }
.cta small { display: block; margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.75); }
.legal { padding-top: 26px; padding-bottom: 46px; font-size: 12px; color: var(--mute); }
.legal p + p { margin-top: 10px; }

/* Informativa */
.doc { padding-top: 40px; padding-bottom: 70px; }
.doc img { width: 70px; margin-bottom: 40px; }
.doc h1 { font-size: clamp(34px, 7vw, 52px); margin-bottom: 10px; }
.doc h2 { font-size: 26px; margin: 34px 0 8px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc ul { padding-left: 20px; }

@media (min-width: 820px) {
  .wrap { padding-left: 40px; padding-right: 40px; }
  .hero__logo { left: 40px; top: 34px; }
  .hero__logo img { width: 96px; }
  .hero__body { padding-bottom: 64px; }
  .hero__sub { font-size: 19px; }
  .block { padding-top: 96px; padding-bottom: 96px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 34px; }
  .two { grid-template-columns: 1fr 1fr; gap: 72px; }
  .two--img { grid-template-columns: 420px 1fr; }
  .trust { grid-template-columns: repeat(3, 1fr); gap: 44px; }
  .sample { padding: 40px; }
  #form { padding-top: 54px; }
  .shots { grid-template-columns: repeat(4, 1fr); }
  .shop { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .shot__body { aspect-ratio: 4 / 5; }
  .shot--wide .shot__body { aspect-ratio: auto; }
  .zones { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .rep__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; }
  .cta .wrap { grid-template-columns: 300px 1fr; gap: 64px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
