/* ==========================================================================
   SENSE ACADEMY® — foglio di stile del sito
   Conforme al Brand Manual v1.0 (luglio 2026).

   Palette      Amber #FEBD59 · Teal #147D75 · Night #0E1B2A · Mist #F6F3EE
   Tipografia   Montserrat (titoli) · Inter (corpo, UI e dati)
   Regola       Amber per fondi, segni e accenti; MAI per testo su bianco.
                Testi in Night/Ink. Teal per stati positivi e avanzamento.
   Font self-hosted: nessuna connessione verso fornitori esterni.
   ========================================================================== */

/* ---------------------------------------------------------------- font */
@font-face {
	font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap;
	src: url('/fonts/montserrat-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
	font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap;
	src: url('/fonts/montserrat-600-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap;
	src: url('/fonts/montserrat-700-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
	font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap;
	src: url('/fonts/montserrat-700-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
	src: url('/fonts/inter-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
	src: url('/fonts/inter-400-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
	src: url('/fonts/inter-500-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
	src: url('/fonts/inter-500-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
	src: url('/fonts/inter-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
	src: url('/fonts/inter-600-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------- variabili */
:root {
	/* palette di marca */
	--amber: #FEBD59;
	--amber-scuro: #E3A337;
	--amber-tenue: #FFF4E1;
	--teal: #147D75;
	--teal-scuro: #0E5F59;
	--teal-tenue: #E6F2F1;
	--night: #0E1B2A;
	--night-soft: #16283C;
	--mist: #F6F3EE;

	/* testi e superfici */
	--ink: #1B2735;
	--ink-tenue: #5A6879;
	--bordo: #E4E1DA;
	--bianco: #FFFFFF;
	--rosso: #C0392B;

	--titolo: 'Montserrat', 'Segoe UI', Arial, sans-serif;
	--corpo: 'Inter', 'Segoe UI', Arial, sans-serif;

	--r: 12px;          /* raggio moderato, come da manuale */
	--r-grande: 18px;
	--ombra: 0 4px 24px rgba(14, 27, 42, .07);
	--ombra-alta: 0 16px 48px rgba(14, 27, 42, .13);
	--t: .25s cubic-bezier(.4, 0, .2, 1);

	--gutter: clamp(20px, 4vw, 40px);
	--sezione-y: clamp(64px, 9vw, 116px);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--corpo);
	font-size: 17px;              /* manuale: minimo 16 px sul web */
	line-height: 1.7;
	color: var(--ink);
	background: var(--bianco);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--teal); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--teal-scuro); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--titolo); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; color: var(--night); }
h3, h4 { font-weight: 600; }
ul { list-style: none; }
strong { font-weight: 600; }

.contenitore { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.contenitore.stretto { width: min(780px, 100% - var(--gutter) * 2); }
.centro { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salta {
	position: absolute; left: -9999px; top: 0; z-index: 200;
	background: var(--night); color: #fff; padding: 14px 22px; border-radius: 0 0 var(--r) 0;
}
.salta:focus { left: 0; color: #fff; text-decoration: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* icone lineari (mai emoji, come da manuale) */
.icona { width: 24px; height: 24px; flex: none; }
.icona-grande { width: 30px; height: 30px; }

/* ---------------------------------------------------------------- testata */
.testata {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--t), box-shadow var(--t);
}
.testata.staccata { border-bottom-color: var(--bordo); box-shadow: 0 2px 16px rgba(14, 27, 42, .05); }
.testata-riga { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 15px 0; }
.marchio { display: block; line-height: 0; }
.marchio:hover { text-decoration: none; }
.marchio img { height: 44px; width: auto; }

.menu { display: flex; align-items: center; gap: 32px; }
.menu > a {
	font-size: .95rem; font-weight: 500; color: var(--ink); position: relative; padding: 5px 0;
}
.menu > a:hover { color: var(--night); text-decoration: none; }
.menu > a::after {
	content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px;
	background: var(--amber); transition: width var(--t);
}
.menu > a:hover::after, .menu > a[aria-current]::after { width: 100%; }
.menu-cta { padding: 11px 22px !important; font-size: .92rem !important; }
.menu-cta::after { display: none; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.hamburger, .hamburger::before, .hamburger::after {
	display: block; width: 24px; height: 2px; background: var(--night); border-radius: 2px;
	transition: transform var(--t), opacity var(--t);
}
.hamburger::before, .hamburger::after { content: ''; position: relative; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.menu-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------------------------------------------------------------- bottoni */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--corpo); font-size: 1rem; font-weight: 600; line-height: 1;
	padding: 16px 30px; border-radius: var(--r); border: 2px solid transparent; cursor: pointer;
	transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t), color var(--t);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn .icona { width: 20px; height: 20px; }
/* Amber = azione primaria; testo Night per contrasto conforme */
.btn-primario { background: var(--amber); border-color: var(--amber); color: var(--night); }
.btn-primario:hover { background: var(--amber-scuro); border-color: var(--amber-scuro); color: var(--night); box-shadow: 0 10px 26px rgba(254, 189, 89, .45); }
.btn-secondario { background: transparent; border-color: var(--bordo); color: var(--night); }
.btn-secondario:hover { border-color: var(--night); color: var(--night); }
.btn-teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-scuro); border-color: var(--teal-scuro); color: #fff; }
.btn-blocco { width: 100%; }
.su-scuro .btn-secondario { color: #fff; border-color: rgba(255, 255, 255, .3); }
.su-scuro .btn-secondario:hover { border-color: var(--amber); color: var(--amber); }

/* ---------------------------------------------------------------- hero */
.hero { background: var(--night); color: #E8EDF3; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 108px); position: relative; overflow: hidden; }
.hero::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(900px 500px at 88% -10%, rgba(254, 189, 89, .16), transparent 60%),
	            radial-gradient(700px 420px at 5% 105%, rgba(20, 125, 117, .22), transparent 62%);
	pointer-events: none;
}
.hero > * { position: relative; }
.hero-griglia { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 68px); align-items: center; }
.hero .modulo-marca { margin-bottom: 26px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4rem); margin: 18px 0 20px; }
.hero h1 .punto { color: var(--amber); }
.hero-sottotitolo { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: #B9C6D4; max-width: 46ch; }
.hero-azioni { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.occhiello {
	font-family: var(--corpo); font-size: .77rem; font-weight: 600;
	letter-spacing: .19em; text-transform: uppercase; color: var(--teal);
}
.hero .occhiello, .su-scuro .occhiello { color: var(--amber); }

/* prove sotto l'hero */
.prove { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; margin-top: clamp(44px, 6vw, 66px); background: rgba(255, 255, 255, .12); border-radius: var(--r); overflow: hidden; }
.prova { background: var(--night); padding: 22px 24px; }
.prova dt { font-family: var(--titolo); font-weight: 600; font-size: 1rem; color: #fff; margin-bottom: 5px; }
.prova dd { font-size: .89rem; color: #9EAEBF; }

/* mockup: griglia 2×2 del marchio, progressione vuoto → pieno */
.hero-visual { display: flex; justify-content: center; }
.pannello-demo {
	width: 100%; max-width: 430px; background: #fff; border-radius: var(--r-grande);
	box-shadow: 0 30px 70px rgba(0, 0, 0, .4); overflow: hidden;
}
.pannello-testa { background: var(--mist); padding: 14px 18px; border-bottom: 1px solid var(--bordo); display: flex; align-items: center; gap: 10px; }
.pannello-testa .titolo-finto { font-family: var(--titolo); font-weight: 600; font-size: .82rem; color: var(--night); }
.pannello-testa .icona { color: var(--teal); width: 18px; height: 18px; }
.pannello-corpo { padding: 20px 22px 24px; }
.voce-corso { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 10px; background: var(--mist); margin-bottom: 9px; font-size: .87rem; color: var(--ink); }
.voce-corso .stato { width: 20px; height: 20px; border-radius: 5px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.voce-corso .stato.fatto { background: var(--teal); color: #fff; }
.voce-corso .stato.fatto .icona { width: 13px; height: 13px; stroke-width: 2.6; }
.voce-corso .stato.attesa { border: 2px solid var(--bordo); }
.voce-corso.corrente { background: var(--amber-tenue); }
.voce-corso.corrente .stato { background: var(--amber); }
.barra-demo { height: 7px; border-radius: 99px; background: var(--mist); overflow: hidden; margin-top: 16px; }
.barra-demo span { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--teal), var(--amber)); border-radius: 99px; }
.etichetta-demo { font-size: .78rem; color: var(--ink-tenue); margin-top: 8px; }

/* ---------------------------------------------------------------- sezioni */
.sezione { padding: var(--sezione-y) 0; }
.sezione-mist { background: var(--mist); }
.sezione-night { background: var(--night); color: #C6D2DE; }
.sezione-night h2, .sezione-night h3 { color: #fff; }
.intestazione-sezione { max-width: 780px; margin-bottom: clamp(34px, 4vw, 52px); }
.titolo-sezione { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin: 12px 0 16px; }
.sezione-night .titolo-sezione { color: #fff; }
.testo-guida { font-size: 1.06rem; color: var(--ink-tenue); max-width: 70ch; }
.sezione-night .testo-guida { color: #A9B8C7; }

/* schede servizi */
.griglia-schede { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 24px; }
.scheda {
	background: var(--bianco); border: 1px solid var(--bordo); border-radius: var(--r-grande);
	padding: 30px 28px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.scheda:hover { transform: translateY(-4px); box-shadow: var(--ombra-alta); border-color: transparent; }
.scheda-icona {
	width: 52px; height: 52px; border-radius: var(--r); background: var(--amber-tenue);
	color: var(--night); display: grid; place-items: center; margin-bottom: 18px;
}
.scheda:nth-child(3n+2) .scheda-icona { background: var(--teal-tenue); color: var(--teal); }
.scheda h3 { font-size: 1.2rem; margin-bottom: 9px; }
.scheda p { color: var(--ink-tenue); font-size: .97rem; }
.elenco-voci { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bordo); }
.elenco-voci li { display: flex; align-items: flex-start; gap: 10px; font-size: .91rem; margin: 8px 0; }
.elenco-voci .icona { width: 17px; height: 17px; color: var(--teal); margin-top: 4px; stroke-width: 2.4; }

/* pubblico */
.griglia-pubblico { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.pubblico { padding-left: 20px; border-left: 3px solid var(--bordo); transition: border-color var(--t); }
.pubblico:hover { border-left-color: var(--amber); }
.pubblico h3 { font-size: 1.08rem; margin-bottom: 6px; }
.pubblico .bisogno { font-size: .93rem; color: var(--ink-tenue); }
.pubblico .messaggio { font-size: .93rem; color: var(--teal); font-weight: 500; margin-top: 8px; }

/* blocchi pagina interna */
.griglia-blocchi { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 30px 34px; }
.blocco { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.blocco .scheda-icona { margin-bottom: 0; }
.blocco h3 { font-size: 1.12rem; margin-bottom: 7px; }
.blocco p { color: var(--ink-tenue); font-size: .97rem; }

/* passi numerati */
.passi { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 22px; counter-reset: passo; }
.passo {
	position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--r-grande); padding: 28px 26px; transition: background var(--t), border-color var(--t);
}
.passo:hover { background: rgba(255, 255, 255, .09); border-color: rgba(254, 189, 89, .5); }
.passo::before {
	counter-increment: passo; content: counter(passo);
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
	background: var(--amber); color: var(--night); font-family: var(--titolo); font-weight: 700; font-size: 1.15rem;
	margin-bottom: 16px;
}
.passo h3 { font-size: 1.1rem; margin-bottom: 7px; }
.passo p { color: #A9B8C7; font-size: .93rem; }
/* variante su fondo chiaro */
.passo-chiaro { background: var(--bianco); border-color: var(--bordo); }
.passo-chiaro:hover { background: var(--bianco); border-color: var(--amber); box-shadow: var(--ombra); }
.passo-chiaro h3 { color: var(--night); }
.passo-chiaro p { color: var(--ink-tenue); }
.nota { border-left: 3px solid var(--amber); padding: 4px 0 4px 20px; color: var(--ink-tenue); font-size: .97rem; max-width: 76ch; margin-top: 36px; }
.sezione-night .nota { color: #A9B8C7; }

/* elenco impatto/sostenibilità */
.elenco-impatto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 28px; }
.elenco-impatto li {
	display: flex; align-items: center; gap: 12px; padding: 16px 20px;
	background: var(--mist); border-radius: var(--r); font-weight: 500;
}
.elenco-impatto .icona { width: 19px; height: 19px; color: var(--teal); stroke-width: 2.4; flex: none; }

/* numeri con contatore animato */
.griglia-numeri { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.numero {
	position: relative; background: var(--bianco); border: 1px solid var(--bordo);
	border-radius: var(--r-grande); padding: 34px 30px 30px; overflow: hidden;
	transition: transform var(--t), box-shadow var(--t);
}
.numero::before {
	content: ''; position: absolute; top: 0; left: 0; height: 4px; width: 100%;
	background: linear-gradient(90deg, var(--teal), var(--amber));
	transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
}
.numero.visibile::before { transform: scaleX(1); }
.numero:hover { transform: translateY(-4px); box-shadow: var(--ombra-alta); }
.numero-cifra {
	font-family: var(--titolo); font-weight: 700; line-height: 1;
	font-size: clamp(2.5rem, 5vw, 3.6rem); color: var(--night);
	display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.numero-prefisso {
	font-family: var(--corpo); font-size: .95rem; font-weight: 600; color: var(--teal);
	text-transform: uppercase; letter-spacing: .12em;
}
.contatore { font-variant-numeric: tabular-nums; }
.numero-etichetta { margin-top: 12px; color: var(--ink-tenue); font-size: 1rem; max-width: 26ch; }

/* FAQ */
.faq { max-width: 820px; }
.faq details {
	border: 1px solid var(--bordo); border-radius: var(--r); margin-bottom: 12px;
	background: var(--bianco); transition: border-color var(--t), box-shadow var(--t);
}
.faq details[open] { border-color: var(--amber); box-shadow: var(--ombra); }
.faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 22px; cursor: pointer; font-family: var(--titolo); font-weight: 600;
	font-size: 1.02rem; color: var(--night); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ''; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--teal);
	border-bottom: 2px solid var(--teal); transform: rotate(45deg) translateY(-3px); transition: transform var(--t);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .risposta { padding: 0 22px 20px; color: var(--ink-tenue); font-size: .97rem; }

/* CTA finale */
.fascia-cta { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-scuro) 100%); color: #fff; border-radius: var(--r-grande); padding: clamp(38px, 5vw, 58px); text-align: center; }
.fascia-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.fascia-cta p { color: rgba(255, 255, 255, .88); max-width: 58ch; margin: 0 auto 28px; }

/* ---------------------------------------------------------------- contatti */
.contatti-griglia { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5vw, 60px); align-items: start; }
.contatti-diretti { margin-top: 28px; }
.contatti-diretti li { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.contatti-diretti .icona { color: var(--teal); }
.modulo { background: var(--mist); border: 1px solid var(--bordo); border-radius: var(--r-grande); padding: clamp(24px, 3vw, 34px); }
.campo { margin-bottom: 16px; }
.campo label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.campo input, .campo select, .campo textarea {
	width: 100%; padding: 13px 15px; border: 1px solid var(--bordo); border-radius: 10px;
	font-family: var(--corpo); font-size: .98rem; background: var(--bianco); color: var(--ink);
	transition: border-color var(--t), box-shadow var(--t);
}
.campo input:focus, .campo select:focus, .campo textarea:focus {
	outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 125, 117, .16);
}
.campo textarea { resize: vertical; min-height: 112px; }
.campo-consenso { font-size: .86rem; color: var(--ink-tenue); margin: 4px 0 18px; }
.campo-consenso label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.campo-consenso input { margin-top: 4px; flex: none; width: auto; }
.modulo-esito { margin-top: 14px; font-size: .93rem; font-weight: 600; }
.modulo-esito.ok { color: var(--teal); }
.modulo-esito.ko { color: var(--rosso); }

/* ---------------------------------------------------------------- testo lungo */
.testo-lungo h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.testo-lungo p { color: var(--ink-tenue); margin-bottom: 12px; }
.torna { margin-top: 44px; }

/* ---------------------------------------------------------------- piede */
.piede { background: var(--night); color: #96A6B8; padding: clamp(48px, 6vw, 70px) 0 26px; font-size: .93rem; }
.piede-griglia { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; gap: 40px; }
.piede img.logo-piede { height: 40px; width: auto; margin-bottom: 16px; }
.piede-testo { max-width: 40ch; }
.piede h3 { font-family: var(--corpo); font-size: .77rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.piede li { margin: 8px 0; }
.piede a { color: #BCCAD8; }
.piede a:hover { color: #fff; }
.piede-basso {
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
	margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .83rem; color: #7A8BA0;
}
.firma-sviluppo { display: flex; align-items: center; gap: 10px; }
.firma-sviluppo img { height: 26px; width: auto; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
	.hero-griglia { grid-template-columns: 1fr; gap: 40px; }
	.hero-visual { order: -1; }
	.contatti-griglia { grid-template-columns: 1fr; }
	.piede-griglia { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.menu-toggle { display: block; }
	.menu {
		position: absolute; top: 100%; left: 0; right: 0; display: none;
		flex-direction: column; align-items: stretch; gap: 0; background: #fff;
		border-bottom: 1px solid var(--bordo); box-shadow: var(--ombra); padding: 6px var(--gutter) 20px;
	}
	.menu.aperto { display: flex; }
	.menu > a { padding: 15px 0; border-bottom: 1px solid var(--mist); }
	.menu > a::after { display: none; }
	.menu-cta { margin-top: 14px; }
	.piede-griglia { grid-template-columns: 1fr; }
	.blocco { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------------------------------------------------------------- movimento
   Il brand manual prescrive: "Movimento: progressione da vuoto a pieno per
   raccontare apprendimento e crescita". Le animazioni seguono quel principio.
   Tutto si disattiva con prefers-reduced-motion.                             */

.rivela { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.rivela.visibile { opacity: 1; transform: none; }

/* modulo 2×2 di marca: le celle si riempiono una dopo l'altra */
.modulo-marca { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 62px; }
.modulo-marca span {
	aspect-ratio: 1; border-radius: 4px; border: 2.5px solid var(--amber); background: transparent;
	transition: background .5s ease, transform .5s ease;
}
.modulo-marca.attivo span { animation: riempi 3.4s ease-in-out infinite; }
.modulo-marca span:nth-child(1) { animation-delay: 0s; }
.modulo-marca span:nth-child(2) { animation-delay: .28s; }
.modulo-marca span:nth-child(4) { animation-delay: .56s; }
.modulo-marca span:nth-child(3) { animation-delay: .84s; }
@keyframes riempi {
	0%, 8% { background: transparent; transform: scale(1); }
	16%, 46% { background: var(--amber); transform: scale(1.06); }
	60%, 100% { background: transparent; transform: scale(1); }
}

/* hero: alone luminoso che respira lentamente */
.hero::before { animation: respiro 14s ease-in-out infinite alternate; }
@keyframes respiro {
	from { opacity: .78; transform: translate3d(0, 0, 0) scale(1); }
	to { opacity: 1; transform: translate3d(-18px, 10px, 0) scale(1.06); }
}

/* pannello demo: entra in scena e ondeggia appena */
.pannello-demo { animation: entra .85s cubic-bezier(.2, .8, .2, 1) both, fluttua 7s ease-in-out 1s infinite alternate; }
@keyframes entra { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fluttua { from { transform: translateY(0); } to { transform: translateY(-9px); } }

/* barra di avanzamento del pannello: cresce quando compare */
.barra-demo span { width: 0; animation: cresci 2s cubic-bezier(.2, .8, .2, 1) .7s forwards; }
@keyframes cresci { to { width: 62%; } }

/* voce "in corso": pulsazione discreta */
.voce-corso.corrente .stato { animation: pulsa 2.4s ease-in-out infinite; }
@keyframes pulsa {
	0%, 100% { box-shadow: 0 0 0 0 rgba(254, 189, 89, .55); }
	50% { box-shadow: 0 0 0 7px rgba(254, 189, 89, 0); }
}

/* micro-interazioni sulle icone */
.scheda .scheda-icona, .blocco .scheda-icona { transition: transform var(--t), background var(--t); }
.scheda:hover .scheda-icona, .blocco:hover .scheda-icona { transform: scale(1.08) rotate(-3deg); }
.btn .icona { transition: transform var(--t); }
.btn:hover .icona { transform: translateX(4px); }
.passo::before { transition: transform var(--t); }
.passo:hover::before { transform: scale(1.08) rotate(-4deg); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
	.rivela { opacity: 1; transform: none; }
	.barra-demo span { width: 62%; }
	.numero::before { transform: scaleX(1); }
	.modulo-marca span:nth-child(2) { background: var(--amber); }
}

/* ---------------------------------------------------------------- stampa */
@media print {
	.testata, .piede, .hero-visual, .modulo, .fascia-cta { display: none; }
	body { color: #000; font-size: 11.5pt; }
	.hero { background: none; color: #000; padding: 16pt 0; }
	.hero h1, .titolo-sezione, .hero-sottotitolo { color: #000; }
	.faq details { border: none; }
	.faq .risposta { display: block !important; }
}
