/* Vetrina Flow Desk. Marchio: Flowdesk-ops/brand. Montserrat servito dal sito (licenza in font/OFL.txt). */
@font-face { font-family: Montserrat; font-weight: 400; font-display: swap; src: url(/sito/font/montserrat-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 500; font-display: swap; src: url(/sito/font/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 600; font-display: swap; src: url(/sito/font/montserrat-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 800; font-display: swap; src: url(/sito/font/montserrat-latin-800-normal.woff2) format("woff2"); }

:root {
  --notte: #14123C;
  --rosa: #F5317F;
  --corallo: #FF6A45;
  --arancio: #FF9A3D;
  --sfondo: #FFFFFF;
  --tinta: #F6F6FA;
  --carta: #FFFFFF;
  --testo: #14123C;
  --tenue: #5E6278;
  --linea: #E2E2EC;
  --errore: #C4261D;
  --ok: #1B7F50;
  --gradiente: linear-gradient(90deg, var(--rosa), var(--corallo), var(--arancio));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sfondo: #0D0B26;
    --tinta: #14123C;
    --carta: #1B1946;
    --testo: #F2F2F7;
    --tenue: #B3B6CC;
    --linea: #2E2C60;
    --errore: #FF7A70;
    --ok: #4ADE9A;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55; background: var(--sfondo); color: var(--testo); }
a { color: inherit; text-decoration-color: var(--corallo); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--corallo); outline-offset: 2px; }
.nascosto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salta { position: absolute; left: 16px; top: -60px; background: var(--notte); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.salta:focus { top: 12px; }
.tenue { color: var(--tenue); }

.dentro { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.stretto { max-width: 720px; }

/* Testata */
.testata { max-width: 1080px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marchio { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo { width: 34px; height: 37px; }
.parola { font-size: 19px; font-weight: 500; letter-spacing: .1em; white-space: nowrap; }
.parola strong { font-weight: 800; }
.lingue { display: flex; gap: 4px; font-size: 14px; font-weight: 600; }
.lingue a { text-decoration: none; padding: 6px 10px; border-radius: 999px; border: 1px solid transparent; color: var(--tenue); }
.lingue a[aria-current="page"] { color: var(--testo); border-color: var(--linea); }
.lingue a:hover { color: var(--testo); }

/* Apertura */
.apertura { padding: 56px 0 72px;
  background: radial-gradient(55% 70% at 8% 10%, rgba(245,49,127,.10), transparent 60%), radial-gradient(50% 60% at 95% 90%, rgba(255,154,61,.12), transparent 60%); }
.apertura h1 { font-size: clamp(32px, 6.2vw, 60px); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; margin: 0; max-width: 16ch; }
.apertura .sotto { font-size: clamp(18px, 2.4vw, 22px); color: var(--tenue); margin: 20px 0 32px; max-width: 36ch; }
.bottone, .modulo button { display: inline-block; font: inherit; font-weight: 600; font-size: 17px; color: #fff; text-decoration: none; border: 0; border-radius: 12px; padding: 14px 28px; cursor: pointer; background: var(--gradiente); box-shadow: 0 12px 30px -14px rgba(245,49,127,.6); }
.bottone:hover, .modulo button:hover { filter: brightness(1.05); }

/* Sezioni */
.sezione { padding: 64px 0; }
.sezione.tinta { background: var(--tinta); }
.sezione h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; line-height: 1.2; margin: 0 0 28px; }
.sezione h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--gradiente); margin-top: 14px; }
.sezione .sotto { color: var(--tenue); margin: -8px 0 28px; }
.punti, .passi { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.punti { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.passi { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: passo; }
.punti li, .passi li { background: var(--carta); border: 1px solid var(--linea); border-radius: 18px; padding: 24px; }
.punti h3, .passi h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.punti p, .passi p { margin: 0; color: var(--tenue); }
.passi li { counter-increment: passo; }
.passi li::before { content: counter(passo); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 16px; background: var(--gradiente); margin-bottom: 14px; }

/* Modulo */
.modulo { display: grid; gap: 4px; }
.due { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .due { grid-template-columns: 1fr; } }
.campo { display: flex; flex-direction: column; }
.campo label { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.campo input[type="text"], .campo input[type="email"], .campo textarea { font: inherit; font-size: 17px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linea); background: var(--carta); color: var(--testo); width: 100%; }
.campo textarea { resize: vertical; min-height: 150px; }
.campo-errato input[type="text"], .campo-errato input[type="email"], .campo-errato textarea { border-color: var(--errore); box-shadow: 0 0 0 1px var(--errore); }
.errore { color: var(--errore); font-size: 14px; margin: 4px 0 8px; min-height: 1.2em; }
.spunta { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 15px !important; line-height: 1.45; cursor: pointer; }
.spunta input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--rosa); }
.campo-errato .spunta input { outline: 2px solid var(--errore); outline-offset: 1px; }
.avviso { color: var(--errore); font-weight: 600; margin: 0 0 8px; min-height: 1.2em; }
.avviso:empty { margin: 0; min-height: 0; }
.modulo button { justify-self: start; margin-top: 4px; }
.modulo button[disabled] { opacity: .7; cursor: wait; }
.conferma { font-size: 19px; font-weight: 600; color: var(--ok); background: var(--tinta); border-left: 4px solid var(--ok); border-radius: 12px; padding: 20px 22px; margin: 0; }
.trappola { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Informativa */
.testo { padding: 32px 0 56px; }
.testo h1 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; margin: 8px 0 24px; }
.testo h2 { font-size: 20px; font-weight: 800; margin: 28px 0 8px; }
.testo p { margin: 0 0 12px; }

/* Piè di pagina */
.piede { border-top: 1px solid var(--linea); max-width: 1080px; margin: 0 auto; padding: 24px 20px 40px; font-size: 14px; }
.piede p { margin: 4px 0; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .testata { padding: 14px 16px; }
  .dentro, .piede { padding-left: 16px; padding-right: 16px; }
  .apertura { padding: 36px 0 52px; }
  .sezione { padding: 48px 0; }
  .parola { font-size: 17px; }
}
