/* Sito di Formavista: pagina statica, nessuna risorsa esterna (niente font, statistiche o cookie di terzi). */
:root {
    --navy: #0b1120;
    --navy-2: #13204a;
    --blue: #2563eb;
    --blue-mm: #3366ff;
    --sky: #93c5fd;
    --ink: #0f172a;
    --text: #1e293b;
    --muted: #5b6b82;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-alt: #f4f7fb;
    --ok: #00b686;
    --radius: 14px;
    --shadow: 0 18px 50px rgba(15, 23, 42, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; font-weight: 700; color: var(--blue); margin-bottom: .6em; }
.note { color: var(--muted); font-size: .92rem; }
.small { font-size: .85rem; }

/* pulsanti */
.btn { display: inline-block; padding: .85em 1.4em; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid var(--blue); transition: transform .12s ease, background .12s ease; }
.btn:hover { background: #1d4fd8; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-small { padding: .55em 1.1em; font-size: .92rem; }

/* testata */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 17, 32, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #cbd5e1; text-decoration: none; font-size: .95rem; }
.nav a:hover { color: #fff; }

/* apertura */
.hero { background: radial-gradient(circle at 20% 10%, #1e3a8a 0, var(--navy) 62%); color: #e2e8f0; padding: 72px 0 80px; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--sky); }
.hero .eyebrow { color: var(--sky); }
.hero .note { color: #94a3b8; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: #cbd5e1; }
.lead b { color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.hero-video { margin: 0; }
.hero-video video { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); background: #000; aspect-ratio: 16 / 9; }
.hero-video figcaption { color: #94a3b8; font-size: .88rem; margin-top: 10px; }

/* numeri chiave */
.facts { background: var(--navy-2); color: #cbd5e1; }
.facts-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 26px 0; }
.facts b { display: block; color: #fff; font-size: 1.08rem; }
.facts span { font-size: .93rem; }

/* sezioni */
.block { padding: 84px 0; }
.block.alt { background: var(--bg-alt); }
.intro { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.split-text { grid-template-columns: 1fr 1fr; align-items: start; }
.shot { margin: 0; }
.shot img { border-radius: var(--radius); box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin: 0 0 .7em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* funzioni della fonderia */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 36px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.feature img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 40% 50%; border-bottom: 1px solid var(--line); }
.feature h3 { margin: 18px 20px 6px; }
.feature p { margin: 0 20px 20px; color: var(--muted); font-size: .97rem; }
.feature img.crop-right { object-position: 100% 50%; }
.feature-text { padding-top: 4px; background: linear-gradient(160deg, #eef4ff, #fff); }

/* tre forme */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }

/* versioni */
.table-wrap { overflow-x: auto; margin-top: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--navy); color: #fff; font-size: .98rem; }
.compare thead th:last-child { background: var(--blue); }
.compare tbody td:not(:first-child) { color: var(--ok); font-weight: 700; }
.compare tfoot td { font-weight: 600; color: var(--ink); background: var(--bg-alt); border-bottom: 0; }

/* domande */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin: 0 0 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); }

/* contatti */
.contact { background: radial-gradient(circle at 80% 0, #1e3a8a 0, var(--navy) 65%); color: #cbd5e1; padding: 72px 0; }
.contact h2 { color: #fff; }
.contact-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.contact .note { color: #94a3b8; margin-top: 12px; }
.contact .btn { font-size: 1.1rem; }

/* piede */
.foot { background: #070b16; color: #94a3b8; padding: 40px 0; }
.foot a { color: #cbd5e1; }
.maker { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; color: #cbd5e1; }
.maker img { background: #fff; border-radius: 8px; padding: 5px 6px; }
.maker b { color: #fff; }

/* pagina di testo (privacy) */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 820px; }
.page h2 { font-size: 1.35rem; margin-top: 1.6em; }

@media (max-width: 960px) {
    .hero-in, .split, .split-text, .contact-in { grid-template-columns: 1fr; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .nav { display: none; }
    .top-in .btn-small { margin-left: auto; }
}
@media (max-width: 640px) {
    .hero { padding: 44px 0 52px; }
    .block { padding: 56px 0; }
    .facts-in, .features, .cards3 { grid-template-columns: 1fr; }
    .brand span { font-size: 1.05rem; }
}
