/* Colocatar · siti di presentazione (anteprima del 25/11/2026)
   Stessi token del design approvato (docs/prodotto/design.md, tag design-v1), versione essenziale. */
@font-face { font-family: 'Bricolage'; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage'; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-700-normal.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: 'Bricolage'; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage'; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-800-normal.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: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.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: 'Inter'; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.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: 'Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.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; }

:root {
  --ink: #1d1838; --ink-soft: #3b3560; --muted: #6b6787; --cream: #fff7ef; --paper: #fff; --line: #ece4da;
  --coral: #ff6b4a; --coral-dark: #e14e2e; --mint: #1fb3a1; --mint-dark: #13786c;
  --sun: #ffc83d; --lilac: #b9a7ff; --sky: #8fd3ff;
  --r: 1.5rem; --hard: 4px 4px 0 0 var(--ink); --soft: 0 10px 30px -12px rgba(29,24,56,.18);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 Inter, system-ui, sans-serif; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .display { font-family: Bricolage, Inter, sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }
.coral { color: var(--coral); }
.muted { color: var(--muted); }
.soft { color: var(--ink-soft); }

/* Barra in alto: vetro sfocato, solo qui */
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 247 239 / .85); backdrop-filter: blur(14px); border-bottom: 1px solid rgb(236 228 218 / .7); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 800 1.25rem Bricolage, sans-serif; letter-spacing: -.02em; }
.logo img { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current] { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.lang { font-weight: 600; font-size: .85rem; text-decoration: none; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--ink); }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; font: inherit; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; inset: 64px 0 auto; flex-direction: column; background: var(--cream); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .burger { display: block; }
  .lang { margin-left: 0; }
}

/* Bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; text-decoration: none; padding: 15px 26px; transition: transform .15s; border: 0; cursor: pointer; font-size: 1.02rem; }
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: var(--ink); box-shadow: var(--hard); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-line { box-shadow: inset 0 0 0 2px var(--ink); background: transparent; }

/* Etichette */
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Sezioni */
section { padding: 72px 0; }
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero .grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1.15fr 1fr; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } }
.hero p.lead { margin-top: 22px; font-size: 1.2rem; color: var(--ink-soft); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; z-index: -1; }

/* Card */
.card { background: var(--paper); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); padding: 26px; }
.card.big { border-radius: 2rem; }
.card.hard { box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 0 var(--ink); }
.grid2, .grid3, .grid4 { display: grid; gap: 18px; }
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }
.icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t-sun { background: rgb(255 200 61 / .4); } .t-sky { background: rgb(143 211 255 / .45); } .t-mint { background: rgb(31 179 161 / .18); } .t-lilac { background: rgb(185 167 255 / .35); } .t-coral { background: rgb(255 107 74 / .2); }
.card h3 + p { margin-top: 8px; color: var(--ink-soft); }

/* Città */
.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .cities { grid-template-columns: repeat(2, 1fr); } }
.city { text-decoration: none; border-radius: var(--r); padding: 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: inset 0 0 0 2px var(--ink); transition: transform .15s, box-shadow .15s; }
.city:hover { transform: translate(-3px, -3px); box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 0 var(--ink); }
.city b { font: 800 1.6rem Bricolage, sans-serif; letter-spacing: -.02em; }
.city span { font-size: .92rem; color: var(--ink-soft); }
.city .arrow { align-self: flex-end; font-weight: 800; }

/* Nastro che scorre */
.marquee { overflow: hidden; background: var(--ink); color: var(--cream); padding: 14px 0; transform: rotate(-1.2deg); margin: 10px -10px; }
.marquee div { display: flex; gap: 40px; width: max-content; animation: scroll 38s linear infinite; font: 800 1.25rem Bricolage, sans-serif; white-space: nowrap; }
.marquee i { color: var(--coral); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee div, .dot { animation: none; } html { scroll-behavior: auto; } }

/* Teaser del test (sorpresa del lancio) */
.teaser { background: var(--ink); color: var(--cream); border-radius: 2rem; padding: 44px; position: relative; overflow: hidden; }
.teaser h2 { color: var(--cream); }
.teaser .weights { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.teaser .weights span { border: 2px dashed rgb(255 247 239 / .35); border-radius: 999px; padding: 8px 14px; font-weight: 600; filter: blur(.6px); }
.lock { display: inline-flex; gap: 8px; align-items: center; background: var(--sun); color: var(--ink); font-weight: 700; border-radius: 999px; padding: 6px 14px; font-size: .9rem; }

/* Articoli e guide */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.article h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.article .meta { margin-top: 16px; color: var(--muted); font-size: .95rem; }
.article .body { margin-top: 34px; }
.article .body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 44px 0 14px; }
.article .body h3 { margin: 26px 0 8px; }
.article .body p, .article .body li { color: var(--ink-soft); }
.article .body p + p { margin-top: 14px; }
.article .body ul, .article .body ol { padding-left: 22px; }
.article .body li { margin: 6px 0; }
.box { border-radius: var(--r); padding: 22px 24px; margin: 26px 0; }
.box.tip { background: rgb(31 179 161 / .12); }
.box.note { background: rgb(255 200 61 / .3); }
.box b:first-child { display: block; margin-bottom: 6px; color: var(--ink); }
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .95rem; background: var(--paper); border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
td b { white-space: nowrap; }
th { font-weight: 600; background: rgb(236 228 218 / .45); }
.src { font-size: .82rem; color: var(--muted); }
.toc { background: var(--paper); border-radius: var(--r); padding: 18px 22px; box-shadow: inset 0 0 0 1px var(--line); margin-top: 26px; }
.toc a { display: block; text-decoration: none; padding: 4px 0; color: var(--ink-soft); }
.list-articles { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .list-articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .list-articles { grid-template-columns: 1fr; } }
.a-card { text-decoration: none; background: var(--paper); border-radius: var(--r); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .15s; }
.a-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--soft); }
.a-card h3 { font-size: 1.2rem; }
.a-card p { color: var(--ink-soft); font-size: .95rem; }

/* FAQ */
details { background: var(--paper); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 18px 22px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; font: 800 1.4rem/1 Bricolage, sans-serif; }
details[open] summary::after { content: '–'; }
details p { margin-top: 10px; color: var(--ink-soft); }

/* Calcolatore */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field select { width: 100%; font: inherit; padding: 13px 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--cream); color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { font: 600 .95rem Inter, sans-serif; border: 0; border-radius: 999px; padding: 10px 16px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); cursor: pointer; color: var(--ink); }
.seg button[aria-pressed=true] { background: var(--ink); color: var(--cream); box-shadow: none; }
.result { background: var(--coral); border-radius: 2rem; padding: 30px; box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 0 var(--ink); }
.result .big { font: 800 clamp(2.6rem, 6vw, 3.6rem)/1 Bricolage, sans-serif; letter-spacing: -.02em; margin: 8px 0 14px; }
.result ul { list-style: none; padding: 0; margin: 14px 0 0; }
.result li { display: flex; justify-content: space-between; border-top: 1px solid rgb(29 24 56 / .2); padding: 9px 0; font-weight: 500; }

/* Piè di pagina */
footer { background: var(--ink); color: var(--cream); padding: 56px 0 40px; margin-top: 40px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } }
footer h4 { margin: 0 0 12px; font: 700 1rem Bricolage, sans-serif; }
footer a { display: block; text-decoration: none; color: rgb(255 247 239 / .8); padding: 3px 0; font-size: .95rem; }
footer a:hover { color: var(--cream); }
footer .legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgb(255 247 239 / .15); font-size: .85rem; color: rgb(255 247 239 / .6); display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Comparsa al primo scorrimento */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Nota dell'anteprima (non va sul sito vero) */
.preview-note { background: var(--sun); color: var(--ink); text-align: center; font-size: .85rem; font-weight: 600; padding: 6px 12px; }

/* Seconda versione (26/11): sito di contenuti, prezzi in primo piano */
.prices-card { padding: 28px; max-width: 420px; justify-self: center; width: 100%; }
.price-list { list-style: none; padding: 0; margin: 14px 0 0; }
.price-list li { border-top: 1px solid var(--line); }
.price-list li:first-child { border-top: 0; }
.price-list a, .price-list li.it { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; text-decoration: none; }
.price-list span { font-weight: 600; }
.price-list b { font: 800 1.7rem Bricolage, sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.price-list a b { color: var(--coral-dark); }
.price-list a:hover span { text-decoration: underline; }
.price-list li.it span, .price-list li.it b { color: var(--muted); font-size: 1.05rem; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.vs small { display: block; color: var(--muted); font-size: .85rem; }
.vs b { font: 800 1.5rem Bricolage, sans-serif; white-space: nowrap; }
.vs div:last-child b { color: var(--coral-dark); }
.save { margin-top: 14px; font-weight: 700; background: rgb(31 179 161 / .14); color: var(--mint-dark); border-radius: 999px; padding: 6px 12px; display: inline-block; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; max-width: 760px; }
.kpis div { background: var(--paper); border-radius: var(--r); padding: 16px 18px; box-shadow: inset 0 0 0 2px var(--ink); }
.kpis small { display: block; color: var(--muted); font-size: .85rem; }
.kpis b { display: block; font: 800 1.8rem/1.15 Bricolage, sans-serif; letter-spacing: -.02em; margin: 4px 0; white-space: nowrap; }
.kpis span { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } }
td small { color: var(--muted); }
.todo { background: rgb(255 200 61 / .35); border-radius: 12px; padding: 12px 14px; }
