@font-face { font-family: "PT Sans"; src: url(../fonts/PTSans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PT Sans"; src: url(../fonts/PTSans-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --navy: #18317F; --orange: #F78E1E; --ink: #1d1d1f;
  /* EIPASS, dai colori del logo ufficiale */
  --eip: #0079C1; --eip-deep: #005A90; --eip-light: #7BACDC; --eip-soft: #E7F2FA; --eip-soft2: #D6EAF7;
  --display: "PT Sans Narrow", "PT Sans", system-ui, sans-serif; --sans: "PT Sans", system-ui, sans-serif;
  --gut: clamp(20px, 4vw, 64px); --max: 1360px; --hh: 92px; --r: 28px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --shadow: 0 30px 80px -34px rgba(0, 90, 144, .38);
}
* { box-sizing: border-box; margin: 0; }
body { font-family: var(--sans); color: var(--ink); background: #fff; font-size: 18px; line-height: 1.55; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; color: var(--navy); }
h2 { font-size: clamp(40px, 5.4vw, 76px); margin-bottom: 40px; }
h3 { font-size: clamp(25px, 2.2vw, 32px); margin-bottom: 8px; }
.line-mask { overflow: hidden; }
[class^="line-mask"] { padding-bottom: .16em; margin-bottom: -.16em; }
.ico { display: grid; place-items: center; flex: none; }
.ico svg { width: 52%; height: 52%; }

/* header come nelle proposte A e B */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 14px 40px -30px rgba(24, 49, 127, .45); }
.hdr-in { height: var(--hh); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 17px; }
.nav a:not(.btn) { text-decoration: none; color: var(--navy); }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--orange); }

/* bottoni (disegno della proposta A) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; font: 700 17px var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .3s var(--ease), translate .3s var(--ease), scale .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover { translate: 0 -2px; } }
.btn-accent { background: var(--orange); color: var(--ink); box-shadow: 0 12px 30px -14px rgba(247, 142, 30, .9); }
.btn-accent:hover { background: #ff9c2f; }
.btn-soft { background: var(--eip-soft); color: var(--eip-deep); }
.btn-soft:hover { background: var(--eip-soft2); }
.btn-white { background: #fff; color: var(--eip-deep); }
.nav-cta { min-height: 46px; padding: 0 22px; }

/* menu del telefono, uguale alla home (22/10/2026) */
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #EDEFF6; cursor: pointer; position: relative; flex: none; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: absolute; top: var(--hh); left: 0; right: 0; background: #fff; padding: 12px var(--gut) 28px; display: grid; gap: 4px; align-content: start; min-height: calc(100vh - var(--hh)); min-height: calc(100dvh - var(--hh)); max-height: calc(100dvh - var(--hh)); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 30px 40px -30px rgba(24, 49, 127, .4); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-family: var(--display); font-weight: 700; font-size: 32px; color: var(--navy); text-decoration: none; padding: 8px 0; }
.mobile-menu .btn { margin-top: 14px; font-size: 17px; }
.mm-gruppo { margin: 10px 0 0; font-family: var(--display); font-weight: 700; font-size: 32px; color: var(--navy); }
.mm-sotto { display: grid; padding-left: 18px; margin-bottom: 6px; }
.mobile-menu .mm-sotto a:not(.btn) { font-family: var(--sans); font-size: 21px; padding: 7px 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 120px); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-logo { height: clamp(70px, 7vw, 104px); width: auto; margin-bottom: 30px; }
.hero h1 { font-size: clamp(54px, 7.4vw, 112px); letter-spacing: -.01em; margin-bottom: 26px; }
.lead { font-size: clamp(19px, 1.6vw, 23px); max-width: 32em; margin-bottom: 34px; }
.hero-window { height: min(40vw, 540px); border-radius: var(--r); background: var(--eip); display: grid; place-items: center; overflow: hidden; }
.hw-logo { width: 62%; height: auto; }

/* formule: carte impilate (A) */
.formule { padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); }
.stack { display: grid; gap: 26px; }
.scard { position: sticky; top: calc(var(--hh) + 26px); display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: clamp(24px, 4vw, 56px);
  background: var(--eip-soft); border-radius: var(--r); padding: clamp(28px, 4vw, 52px); min-height: 280px; box-shadow: var(--shadow); transform-origin: 50% 0; }
.scard .ico { width: 150px; height: 150px; border-radius: 50%; background: #fff; color: var(--eip); }
.scard h3 { font-size: clamp(36px, 3.8vw, 56px); color: var(--eip-deep); margin-bottom: 12px; }
.scard p { font-size: clamp(18px, 1.5vw, 21px); max-width: 36em; }
.scard .scard-tag { margin-top: 14px; font-weight: 700; color: var(--eip-deep); }
.scard-blue { background: var(--eip); }
.scard-blue h3, .scard-blue p, .scard-blue .scard-tag { color: #fff; }

/* catalogo: card in stile A */
.catalogo { padding: clamp(70px, 9vw, 130px) 0; }
.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.cat-head h2 { margin-bottom: 0; }
.filtri { display: flex; flex-wrap: wrap; gap: 10px; }
.filtri button { border: 0; cursor: pointer; font: 700 16px var(--sans); padding: 12px 18px; border-radius: 999px; background: var(--eip-soft); color: var(--eip-deep); transition: background .25s, color .25s, scale .2s var(--ease); }
.filtri button:hover { background: var(--eip-soft2); }
.filtri button[aria-pressed="true"] { background: var(--eip); color: #fff; }
.griglia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cert { display: flex; flex-direction: column; text-align: left; border: 0; cursor: pointer; font: inherit; color: inherit; background: var(--eip-soft); border-radius: 24px; padding: 26px 26px 24px; min-height: 230px; transition: translate .35s var(--ease), box-shadow .35s var(--ease), background .3s; }
@media (hover: hover) and (pointer: fine) { .cert:hover { translate: 0 -4px; box-shadow: var(--shadow); background: #fff; } }
.cert .ico { width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--eip); margin-bottom: 18px; }
@media (hover: hover) and (pointer: fine) { .cert:hover .ico { background: var(--eip-soft); } }
.cert h3 { font-size: clamp(25px, 2vw, 30px); color: var(--navy); }
.cert .meta { font-weight: 700; color: var(--eip-deep); font-size: 16px; }
.cert .apri { margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--orange); }
/* solo EIPASS 7 Moduli User in azzurro: è il percorso in evidenza */
.cert.is-evid { background: var(--eip); box-shadow: 0 34px 70px -30px rgba(0, 90, 144, .55); }
.cert.is-evid h3, .cert.is-evid .meta, .cert.is-evid .apri { color: #fff; }
@media (hover: hover) and (pointer: fine) { .cert.is-evid:hover { background: var(--eip-deep); } }

/* pannello dettagli: stesso pannello laterale di A, B, C (shared/anteprima.css) */
.anteprima-head { display: flex; align-items: center; gap: 16px; margin: 6px 0 20px; }
.anteprima-head img { height: 58px; width: auto; }
.anteprima .meta { font-weight: 700; color: var(--eip-deep); margin-bottom: 14px; }
.anteprima h4 { font: 700 20px var(--display); color: var(--navy); margin: 26px 0 10px; }
.anteprima ul { padding-left: 0; list-style: none; }
.anteprima li { padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid #E4E1D8; font-size: 17px; }
.anteprima li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--eip); }
.anteprima .nota { margin-top: 20px; font-weight: 700; color: var(--eip-deep); }
.anteprima .anteprima-azioni { margin-top: 30px; }

/* esame: blocchi (B) */
.esame { padding: clamp(70px, 9vw, 130px) 0; background: var(--eip-soft); }
.passi { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.passi li { background: #fff; border-radius: 24px; padding: 28px 24px; }
.passi .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--eip); color: #fff; margin-bottom: 18px; }
.passi p { font-size: 17px; }

/* graduatorie */
.graduatorie { padding: clamp(70px, 9vw, 130px) 0; }
.grad-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.grad-big { font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; color: var(--navy); margin-bottom: 22px; }
.grad-big b { color: var(--eip); }

/* chiusura blu EIPASS */
.cta { background: var(--eip); color: #fff; padding: clamp(70px, 9vw, 120px) 0; }
.cta-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.cta-logo { width: clamp(160px, 18vw, 260px); height: auto; }
.cta h2 { color: #fff; margin-bottom: 26px; }

.ftr { padding: 40px 0; }
.ftr-in { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.ftr img { height: 52px; width: auto; }
.ftr .ftr-eip { height: 64px; }
.ftr p { margin-left: auto; color: var(--navy); }
.ftr-legale { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; box-shadow: 0 -1px 0 rgba(23, 42, 110, .14); }
.ftr-legale .legale { margin: 0; font-size: 16px; color: var(--navy); }
.legale span { display: inline-block; }
.legale span + span::before { content: '·'; margin: 0 .45em; }
@media (max-width: 599px) { .legale span { display: block; } .legale span + span::before { content: none; } }
.footer-legali { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.footer-legali a { display: inline-block; padding: 6px 0; font-size: 16px; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.ftr .social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ftr .social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--navy); transition: background-color .25s var(--ease); }
.ftr .social svg { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) { .ftr .social a:hover { background: var(--eip-soft); } }

@media (max-width: 1100px) {
  .griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .passi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .nav a:not(.btn) { display: none; }
  .menu-toggle { display: block; }
  .hdr-in { gap: 12px; }
  .nav { margin-left: auto; }
  .hero-in, .cta-in, .grad-in { grid-template-columns: 1fr; }
  .hero-window { height: 52vw; }
  .scard { position: relative; top: auto; grid-template-columns: 110px 1fr; }
  .scard .ico { width: 100px; height: 100px; }
  .ftr p { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 17.5px; }
  .logo img { height: 50px; }
  .hero-window { height: 64vw; }
  .griglia, .passi { grid-template-columns: 1fr; }
  .scard { grid-template-columns: 1fr; padding: 26px; }
  .scard .ico { width: 84px; height: 84px; }
  .actions .btn { flex: 1 1 100%; }
  .ftr img { height: 42px; } .ftr .ftr-eip { height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .cert { transition: none; } }

/* EIPASS 7 Moduli User in evidenza */
.evid { padding: clamp(30px, 4vw, 60px) 0 0; }
.evid-card { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 60px); align-items: center; background: var(--eip); color: #fff; border-radius: var(--r); padding: clamp(32px, 4.5vw, 64px); box-shadow: var(--shadow); }
.evid-k { font-weight: 700; margin-bottom: 8px; }
.evid h2 { color: #fff; margin-bottom: 14px; }
.evid-txt > p:not(.evid-k) { font-size: clamp(18px, 1.5vw, 21px); max-width: 34em; margin-bottom: 20px; }
.evid-dati { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.evid-dati li { font-weight: 700; font-size: 18px; }
.evid-dati li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); margin-right: 10px; transform: translateY(-2px); }
.evid-cta { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 760px) { .evid-card { grid-template-columns: 1fr; } .evid-cta .btn { width: 100%; } }

/* WordPress: con l'accesso fatto la barra nera di WordPress sta sopra la testata */
body.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { body.admin-bar .hdr { top: 46px; } }

/* tocco: niente lampo grigio del browser, la pressione si vede subito sul pulsante */
html { -webkit-tap-highlight-color: transparent; }
.btn:active, .filtri button:active { scale: .97; transition-duration: .12s; }

/* pagamenti online (Jforma, Gateway PayPal): segni di accettazione su riquadri bianchi */
.pay { margin: 16px 0 0; font-size: 16px; line-height: 1.2; }
.pay p { margin: 0; }
.pay-t { font-weight: 700; color: var(--navy); margin-bottom: 8px !important; }
.pay-ms { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-nota { margin-top: 10px !important; font-size: 15px; line-height: 1.4; color: var(--ink); }
.pay-chiaro .pay-nota { color: #fff; }
.pay-m { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #d9deea; color: var(--navy); font-weight: 700; }
.pay-m svg { width: 20px; height: 20px; flex: none; }
.pay-chiaro .pay-t { color: #fff; }
.pay.is-anteprima, .c-online.is-anteprima { outline: 2px dashed #aab3cf; outline-offset: 8px; border-radius: 4px; }

/* prezzo nel riquadro in evidenza (fondo blu) */
.prezzo p { margin: 0; }
.prezzo-cert { margin-top: 16px; color: #fff; }
.prezzo-cert .prezzo-v { font-family: "PT Sans Narrow", "PT Sans", sans-serif; font-weight: 700; font-size: 30px; line-height: 1.1; }
.prezzo-cert .prezzo-come { margin-top: 6px; font-size: 16px; }

/* arrivo con #sezione dalla home: il titolo non finisce sotto la testata */
section[id] { scroll-margin-top: 96px; }

/* telefono: testata come in home, solo logo e menu */
@media (max-width: 899px) {
  :root { --hh: 72px; }
  .logo img { height: 50px; }
  .nav { display: none; }
  .menu-toggle { margin-left: auto; }
}

/* link «Vai al contenuto» per chi usa la tastiera, come nelle altre pagine (11/11/2026) */
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
