/* TermoAgent: blu del logo, arancio della fiamma, fondo bianco . */
@font-face { font-family: "Lemon Milk"; font-weight: 700; font-style: normal; font-display: swap; src: url(/caratteri/lemonmilk-700.woff2) format("woff2"); }
@font-face { font-family: "Lemon Milk"; font-weight: 500; font-style: normal; font-display: swap; src: url(/caratteri/lemonmilk-500.woff2) format("woff2"); }
@font-face { font-family: "Lemon Milk"; font-weight: 400; font-style: normal; font-display: swap; src: url(/caratteri/lemonmilk-400.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 700; font-style: normal; font-display: swap; src: url(/caratteri/inter-latin.woff2) format("woff2"); }

:root {
  --bg: #ffffff;
  --ink: #0c1f3d;
  --muted: #51607a;
  --blue: #11499c;
  --blue-soft: #e9f0fa;
  --orange: #ff4c0a;
  --line: #d8e1ee;
  --video: #0c1f3d;
  --note: #f4f6f9;
  --display: "Lemon Milk", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 32px;
}
img, video { max-width: 100%; }
a { color: var(--blue); }
[hidden] { display: none !important; }
.wrap { max-width: 1040px; margin: 0 auto; }
header.brand { display: flex; justify-content: center; padding-block: 26px 0; }
header.brand img { height: 46px; width: auto; max-width: 100%; display: block; }
.view { padding-block: 34px 0; }
.center { text-align: center; }
.callout { font-family: var(--display); font-weight: 500; color: var(--ink); font-size: clamp(16px, 2.2vw, 22px); letter-spacing: 0.06em; margin: 0 0 14px; }
h1.hero { font-family: var(--display); font-weight: 700; line-height: 1.18; letter-spacing: 0.01em; margin: 0; font-size: clamp(20px, 4.2vw, 44px); }
h1.hero .l1, h1.hero .l2 { display: block; }
h1.hero .l1 { color: var(--blue); }
h1.hero .l2 { color: var(--orange); }
@media (min-width: 760px) { h1.hero .l1, h1.hero .l2 { white-space: nowrap; } }
.sub { font-size: clamp(15px, 1.7vw, 18px); color: var(--muted); margin: 18px auto 0; }
@media (min-width: 980px) { .sub { white-space: nowrap; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 32px auto 0; max-width: 700px; text-align: left; box-shadow: 0 10px 30px rgba(17, 73, 156, 0.08); }
.card h2 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.02em; margin: 0 0 12px; color: var(--ink); text-align: center; text-wrap: balance; }
.fondatore { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 6px; }
.fondatore img { width: 68px; height: 68px; flex: none; }
.fondatore p { margin: 0; display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.fondatore strong { font-size: 16px; font-weight: 700; color: var(--ink); }
.fondatore span { font-size: 14px; color: var(--muted); }
.calendly-box { min-width: 0; width: 100%; height: 720px; margin-top: 12px; border-radius: 12px; overflow: hidden; background: var(--bg); position: relative; }
.calendly-box .carica { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.hint { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
input:focus, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
form { display: grid; gap: 16px; }
.link { font: inherit; background: none; border: 0; color: var(--blue); font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
label.f { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
input[type="text"] { font: inherit; font-weight: 400; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; min-width: 0; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset; box-shadow: 0 0 0 1000px #ffffff inset;
  -webkit-text-fill-color: #0c1f3d; caret-color: #0c1f3d; transition: background-color 9999s ease-out 0s;
}
.legal { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 12px 0 0; text-align: center; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
legend { padding: 0; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; font-weight: 400; }
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.opt input { margin-top: 4px; accent-color: var(--blue); }
.btn { font-family: var(--display); font-weight: 700; letter-spacing: 0.04em; font-size: 16px; padding: 16px 18px; border-radius: 12px; border: 0; background: var(--blue); color: #ffffff; cursor: pointer; }
.btn:hover { filter: brightness(1.05); }
.btn[disabled] { opacity: .6; cursor: wait; }
.err { color: #c0392b; font-size: 14px; margin: 0; }
.stephead { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.progress { height: 6px; background: var(--blue-soft); border-radius: 6px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 6px; transition: width .25s ease; }
.qstep { display: grid; gap: 10px; }
.qtitle { font-weight: 700; font-size: 19px; line-height: 1.35; margin: 0 0 4px; color: var(--ink); padding: 0; }
.back { justify-self: start; }
.done { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 6.4vw, 30px); line-height: 1.25; letter-spacing: 0.04em; margin: 0; color: var(--ink); text-wrap: balance; }
.done .o { color: var(--orange); }
h2.step { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 5.8vw, 32px); line-height: 1.25; letter-spacing: 0.01em; margin: 30px auto 0; max-width: 30ch; text-wrap: balance; color: var(--ink); }
h2.step em { font-style: normal; color: var(--blue); }
h2.step em.o { color: var(--orange); }
h2.step.small { font-size: clamp(24px, 6.4vw, 28px); margin-top: 52px; }
.vsl { display: block; width: min(100%, 400px); aspect-ratio: 9 / 16; height: auto; margin: 26px auto 0; border-radius: 14px; background: var(--video); object-fit: cover; }
.try { max-width: 700px; margin: 22px auto 0; background: var(--blue-soft); border-radius: 16px; padding: 22px; text-align: center; }
.try p { margin: 0; }
.num { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 4vw, 32px); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; margin: 8px 0 0 !important; color: var(--blue); text-decoration: none; display: inline-block; }
h1.thanks { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 4vw, 40px); line-height: 1.2; color: var(--blue); margin: 0 auto; max-width: 24ch; text-wrap: balance; }
.lead { font-size: 18px; max-width: 52ch; margin: 18px auto 0; color: var(--muted); }
.conf { max-width: 560px; margin: 16px auto 0; background: var(--blue-soft); border-radius: 16px; padding: 20px; text-align: center; }
.conf p { margin: 0; }
.conf .when { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 3vw, 24px); letter-spacing: 0.02em; color: var(--blue); }
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.actions:empty { display: none; }
.btn2 { display: flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; padding: 14px 12px; border-radius: 12px; border: 2px solid var(--blue); background: var(--blue); color: #ffffff; text-decoration: none; cursor: pointer; }
.btn2.alt { background: var(--bg); color: var(--blue); }
.btn2 svg { width: 20px; height: 20px; flex: none; }
.qa { max-width: 700px; margin: 18px auto 0; display: grid; gap: 10px; text-align: left; }
.qa details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 700; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; color: var(--orange); }
.qa details[open] summary::after { content: "\2212"; }
.qa details p { margin: 0; padding: 0 16px 16px; }
.testo { max-width: 720px; margin: 0 auto; text-align: left; }
.testo h1 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 4vw, 34px); color: var(--blue); line-height: 1.2; margin: 0 0 8px; }
.testo h2 { font-size: 19px; margin: 28px 0 6px; }
.testo p, .testo li { color: var(--ink); }
.bozza { background: #fff4ef; border: 1px dashed var(--orange); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
footer.piede { max-width: 1040px; margin: 56px auto 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 13px; color: var(--muted); }
footer.piede a { color: var(--muted); }
.avviso-meta { flex-basis: 100%; max-width: 720px; margin: 6px auto 0; text-align: center; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 640px) {
  h1.hero { font-size: clamp(24px, 6.4vw, 28px); }
  h1.hero .l1, h1.hero .l2 { text-wrap: balance; }
  .actions { grid-template-columns: 1fr; }
  .card, .try { padding: 16px; }
  header.brand img { height: 36px; }
  .calendly-box { height: 1020px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
