/* Montserrat (SIL Open Font License) servito dal sito: nessuna richiesta a Google Fonts */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/montserrat-latin-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-500.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/montserrat-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/montserrat-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/montserrat-latin-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/montserrat-latin-ext-800.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff;
  --box: #f3f2f2;
  --hover: #eae7e7;
  --text: #201e1d;
  --para: #444141;
  --muted: #605d5d;
  --red: #ae1800;
  --red-hover: #7c1405;
  --green: oklch(0.58 0.14 150);
  --green-text: oklch(0.42 0.12 150);
  --line: rgba(32, 30, 29, .12);
  --dot: #d7d3d3;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Montserrat', system-ui, sans-serif; font-weight: 500;
  -webkit-font-smoothing: antialiased; text-size-adjust: 100%;
}
img { display: block; }
[hidden] { display: none !important; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
svg path, svg circle { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: square; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; transition: background .15s, color .15s; }
.btn-sm { height: 44px; padding: 0 18px; border-radius: 12px; font-size: 14px; }
.btn-md { height: 52px; padding: 0 20px; border-radius: 14px; font-size: 16px; }
.btn-lg { height: 56px; padding: 0 24px; border-radius: 14px; font-size: 16px; }
.btn-red { background: var(--red); color: var(--box); }
.btn-red:hover { background: var(--red-hover); color: var(--box); }
.btn-grey { background: var(--box); color: var(--text); font-weight: 700; }
.btn-grey:hover { background: var(--hover); color: var(--text); }
.btn-outline { border: 2px solid var(--text); color: var(--text); }
.btn-outline:hover { background: var(--bg); color: var(--text); }
.btn-light { background: var(--box); color: var(--text); }
.btn-light:hover { background: var(--hover); color: var(--text); }
.arrow { flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--box); border-bottom: 1px solid var(--line); }
.header-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.nav-link { color: var(--text); }
.nav-link:hover { color: var(--red); }

/* Tipografia di sezione */
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; max-width: 720px; text-wrap: balance; }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.sec-sub { font-size: 17px; line-height: 1.55; color: var(--para); max-width: 620px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-tight { padding-top: 0; }

/* Hero */
.hero { overflow: hidden; }
.hero-in {
  padding-top: 72px; padding-bottom: 80px; display: grid; gap: 48px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.h1-line { display: block; }
.lead { font-size: 19px; line-height: 1.55; color: var(--para); max-width: 520px; text-wrap: pretty; }
.logo-inline { display: inline-block; height: 1.5em; width: auto; vertical-align: -0.42em; margin: 0 2px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ok-line { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--green-text); }
.ok-line svg { color: var(--green); flex: none; }

/* Telefono */
.phone-wrap { display: grid; place-items: center; min-height: 620px; perspective: 2200px; }
.phone-tilt { width: 300px; height: 620px; transform: rotateZ(22deg) rotateX(10deg) rotateY(-12deg); transform-style: preserve-3d; transition: transform .4s ease; }
.phone-frame { width: 100%; height: 100%; border-radius: 52px; padding: 4px; background: linear-gradient(135deg, #f6f6f6 0%, #c9c9c9 30%, #efefef 55%, #a9a9a9 100%); box-shadow: 30px 40px 70px rgba(32,30,29,.28), 8px 10px 20px rgba(32,30,29,.18); }
.phone-bezel { width: 100%; height: 100%; border-radius: 48px; background: #0b0b0b; padding: 10px; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #f4f3f3; display: flex; flex-direction: column; color: var(--text); }
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #0b0b0b; z-index: 2; }
.ps-status { height: 44px; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 24px 4px; font-size: 12px; font-weight: 700; }
.batt { width: 16px; height: 9px; border: 1.5px solid var(--text); border-radius: 2px; }
.ps-shot { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }

/* Come funziona */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.step { background: var(--box); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.step-n { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--red); line-height: 1; }
.step h3 { font-size: 22px; font-weight: 800; }
.step p { font-size: 16px; line-height: 1.55; color: var(--para); text-wrap: pretty; }

/* Funzioni */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.feat { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 26px; background: var(--box); border-radius: 20px; }
.feat-n { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--red); }
.feat h3 { font-size: 20px; font-weight: 800; }
.feat p { font-size: 15px; line-height: 1.55; color: var(--para); text-wrap: pretty; }

/* Pallini carosello */
.car-dots { display: none; justify-content: center; align-items: center; gap: 6px; margin-top: 18px; }
.car-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; background: var(--dot); transition: width .2s ease, background .2s ease; position: relative; }
.car-dots button::after { content: ''; position: absolute; inset: -18px -4px; } /* area toccabile 44px */
.car-dots button.past { background: var(--red); }
.car-dots button.on { width: 20px; }

/* Prezzi */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; max-width: 860px; }
.plan { background: var(--box); border: 2px solid transparent; border-radius: 28px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.plan-best { border-color: var(--red); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { font-size: 22px; font-weight: 800; }
.pill { padding: 5px 10px; border-radius: 999px; background: var(--red); color: var(--box); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.price { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; }
.per { font-size: 16px; font-weight: 600; color: var(--muted); }
.plan-note { font-size: 15px; font-weight: 600; color: var(--muted); }
.cancel-box { margin-top: 24px; max-width: 860px; display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: var(--box); border-radius: 24px; }
.cancel-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: var(--box); }
.cancel-box strong { display: block; font-size: 18px; font-weight: 800; color: var(--green-text); }
.cancel-box strong + span { display: block; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; align-items: start; }
.faq .sec-head { margin-bottom: 0; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: var(--box); border-radius: 18px; padding: 0 22px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; font-size: 17px; font-weight: 700; list-style: none; border-radius: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.chev { flex: none; color: var(--red); transition: transform .2s; }
details[open] .chev { transform: rotate(180deg); }
.faq-list p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--para); max-width: 600px; text-wrap: pretty; }

/* Fascia finale */
.final-wrap { padding-bottom: 64px; }
.final { background: var(--red); color: var(--box); border-radius: 32px; padding: 72px clamp(24px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.final h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.03em; max-width: 820px; }
.final p { font-size: 18px; line-height: 1.55; max-width: 600px; }
.final :focus-visible { outline-color: var(--box); }
.final .soon-note { font-size: 16px; font-weight: 700; margin-top: -8px; }
.soon { height: 56px; padding: 0 20px; border-radius: 14px; display: inline-flex; align-items: center; background: #ffffff; border: 0; font-size: 14px; font-weight: 800; color: var(--red); }

/* Pagine legali */
.legal { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(34px, 4.4vw, 52px); margin: 12px 0 8px; }
.legal h2 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--para); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal strong { color: var(--text); font-weight: 700; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal-date { font-size: 14px !important; color: var(--muted) !important; margin-bottom: 28px; }
.foot-links a[aria-current="page"] { color: var(--red); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-in { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 600; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { height: 28px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-links a { color: var(--muted); padding: 12px 0; }
.foot-links a:hover { color: var(--red); }

/* Mobile */
@media (max-width: 760px) {
  .nav-link { display: none; }
  .car {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: 12px; margin: 0 -24px; padding: 0 24px; scroll-padding: 0 24px;
  }
  .car::-webkit-scrollbar { display: none; }
  .car > * { flex: 0 0 86%; scroll-snap-align: start; }
  .car-dots { display: flex; }
  .phone-wrap { min-height: 0; order: 1; }
  /* scale non riduce l'ingombro: i margini negativi recuperano il 20% in altezza */
  .phone-tilt { transform: scale(.8); margin: -62px 0; }
  .hero-in { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section-tight { padding-top: 0; }
  .sec-head { margin-bottom: 28px; }
  .final { padding-top: 56px; padding-bottom: 56px; }
  .soon { flex: 1 1 0; min-width: 0; justify-content: center; height: 48px; padding: 0 8px; font-size: 12px; white-space: nowrap; }
  .final .btn-light { width: 100%; justify-content: center; }
  .soon-web { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
