/* Sito di prodotto EruFATT (erufatt.ch). Colori dal logo EruFATT, forme dal linguaggio ERUNNA (tagli a 30°). */
@font-face { font-family: "Inter Tight"; src: url("/fonts/InterTight-normal-300-800-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
:root {
  --navy: #0b295b; --navy-2: #0a3f8a; --deep: #061a3a; --ink: #0b1220; --teal: #0fcdbe; --green: #16e992; --green-2: #01cf9e;
  --paper: #f4f7fa; --line: #d8dee8; --mute: #5b6577; --red: #ff000e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --cut: 10px; --cutx: calc(var(--cut) * 1.732); --cutl: 20px; --cutlx: calc(var(--cutl) * 1.732);
  --shape: polygon(0 var(--cut), var(--cutx) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cutx)) 100%, 0 100%);
  --shape-l: polygon(0 var(--cutl), var(--cutlx) 0, 100% 0, 100% calc(100% - var(--cutl)), calc(100% - var(--cutlx)) 100%, 0 100%);
  --check: polygon(14% 52%, 0 66%, 38% 100%, 100% 18%, 86% 4%, 38% 72%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -0.015em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--mute); }
.dark .lead { color: rgba(255, 255, 255, .74); }

/* Pulsanti tagliati con spunta verde (dal simbolo EruFATT) */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 24px; font-weight: 600; font-size: 15px; clip-path: var(--shape); transition: background-color .2s ease, transform .16s var(--ease); cursor: pointer; border: 0; font-family: inherit; }
.btn:active { transform: scale(.97); }
.btn::after { content: ""; width: 12px; height: 10px; background: var(--green); clip-path: var(--check); }
.btn-main { background: var(--green); color: var(--deep); }
.btn-main::after { background: var(--deep); }
.btn-main:hover { background: #4cf0ab; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }

/* Navigazione */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(6, 26, 58, .86); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); }
.nav .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav img { height: 38px; width: auto; }
.nav nav { display: flex; gap: 26px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.nav nav a:hover { color: #fff; }
.nav .right { display: flex; align-items: center; gap: 16px; color: rgba(255, 255, 255, .7); font-size: 13px; }
.nav .right b { color: #fff; }
.nav .btn { height: 40px; padding: 0 16px; font-size: 14px; --cut: 8px; }
@media (max-width: 900px) { .nav nav { display: none; } }
@media (max-width: 480px) { .nav .btn { display: none; } }

/* Apertura */
.hero { color: #fff; padding: 90px 0 0; overflow: hidden; position: relative;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='69.28' height='40'%3E%3Cpath d='M0 0L69.28 40M69.28 0L0 40M0 0V40' stroke='%230fcdbe' stroke-opacity='.08' stroke-width='1' fill='none'/%3E%3C/svg%3E"), linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 40%, var(--deep) 100%); }
.hero .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--green); background: rgba(22, 233, 146, .1); padding: 8px 14px; clip-path: var(--shape); --cut: 7px; margin-bottom: 22px; }
.kicker::before { content: ""; width: 12px; height: 10px; background: var(--green); clip-path: var(--check); }
.hero h1 { font-size: clamp(44px, 5.6vw, 82px); line-height: .96; letter-spacing: -0.05em; font-weight: 800; }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--teal), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, .8); max-width: 540px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 11px; height: 9px; background: var(--teal); clip-path: var(--check); }
.shotwrap { position: relative; align-self: end; }
.shotwrap::before { content: ""; position: absolute; inset: 0; transform: translate(16px, 16px); background: var(--teal); opacity: .35; clip-path: var(--shape-l); }
.shot { position: relative; background: #fff; padding: 10px 10px 0; clip-path: var(--shape-l); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.tag { position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--navy); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; clip-path: var(--shape); --cut: 5px; }
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; } .hero { padding-top: 60px; } }

/* Sezioni */
section { padding: 110px 0; }
@media (max-width: 700px) { section { padding: 72px 0; } }
.paper { background: var(--paper); }
.dark { background: var(--deep); color: #fff; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.head .lead { max-width: 440px; }

/* Funzioni */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { background: #fff; padding: 30px 30px 32px; clip-path: var(--shape-l); --cutl: 14px; }
.paper .feat { background: #fff; }
.feat i { display: block; width: 18px; height: 15px; background: linear-gradient(90deg, var(--teal), var(--green)); clip-path: var(--check); margin-bottom: 18px; }
.feat h3 { font-size: 21px; letter-spacing: -0.025em; line-height: 1.2; }
.feat p { margin-top: 8px; color: var(--mute); font-size: 16px; }
.feat small { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--navy-2); background: #e8eef8; padding: 4px 9px; clip-path: var(--shape); --cut: 5px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* IA */
.ai .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai ul { margin-top: 26px; display: grid; gap: 12px; }
.ai li { display: flex; gap: 12px; font-size: 17px; color: rgba(255, 255, 255, .86); }
.ai li::before { content: ""; flex: none; width: 12px; height: 10px; margin-top: 7px; background: var(--green); clip-path: var(--check); }
@media (max-width: 900px) { .ai .grid { grid-template-columns: 1fr; } }

/* Passi */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: #fff; padding: 30px; clip-path: var(--shape-l); --cutl: 14px; }
.step b { display: flex; align-items: center; gap: 12px; font-size: 21px; letter-spacing: -0.025em; }
.step b em { font-style: normal; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-size: 15px; clip-path: var(--shape); --cut: 6px; }
.step p { margin-top: 8px; color: var(--mute); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Fiducia */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust div { border-top: 2px solid var(--teal); padding-top: 18px; }
.trust b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.trust p { margin-top: 6px; color: var(--mute); font-size: 15px; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }

/* Domande */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--navy-2); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--mute); }

/* Contatto */
.contact .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.form { background: #fff; color: var(--ink); padding: 36px 34px; clip-path: var(--shape-l); }
.form label { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; font: inherit; font-size: 17px; letter-spacing: -0.01em; text-transform: none; color: var(--ink); background: transparent; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--navy-2); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .note { font-size: 13px; color: var(--mute); margin: 6px 0 20px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.form .note a { text-decoration: underline; }
.form .msg { margin-top: 14px; font-size: 15px; }
.direct { margin-top: 30px; display: grid; gap: 8px; }
.direct a { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
@media (max-width: 900px) { .contact .grid, .form .row { grid-template-columns: 1fr; } }

footer { background: #040f24; color: #8b97ab; font-size: 13px; padding: 48px 0 30px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .by { display: flex; align-items: center; gap: 12px; }
footer .by img { height: 24px; width: auto; }
footer a:hover { color: #fff; }

.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
