/* Sportello IA Valle Camonica - pagina di ingresso (prototipo).
   Stile carta/pietra coerente con lo Sportello. Scoped sotto .oa-sportello-entry. */

.oa-sportello-entry {
  --bg: #efe7d9;
  --paper: #fffdf9;
  --paper-2: #f1ebdf;
  --line: #e4ddcd;
  --line-strong: #d7ccb8;
  --ink: #161210;
  --text: #33302b;
  --muted: #5a5249;
  --quiet: #8a8175;
  --stone: #3a2e1e;
  --orange: #ff4d00;
  --orange-2: #ff6b35;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(120, 90, 40, 0.06);
  --maxw: 1080px;

  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  border-radius: var(--radius);
  padding-bottom: 8px;
  overflow: hidden;
}

.oa-sportello-entry,
.oa-sportello-entry *,
.oa-sportello-entry *::before,
.oa-sportello-entry *::after { box-sizing: border-box; }

.oa-sportello-entry img { max-width: 100%; display: block; }
.oa-sportello-entry a { color: inherit; }
.oa-sportello-entry button, .oa-sportello-entry input, .oa-sportello-entry textarea { font: inherit; }

.ep-wrap {
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
}

.ep-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.ep-skip-link {
  position: absolute;
  left: 12px; top: -48px;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.15s ease;
}
.ep-skip-link:focus { top: 12px; }

/* ---------- Top accent + topbar ---------- */
.ep-top-accent { height: 5px; background: linear-gradient(90deg, var(--orange), var(--orange-2)); }

.ep-topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.ep-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
}
.ep-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ep-brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--ink);
  color: #f0e8dc;
}
.ep-brand-mark svg { width: 31px; height: 22px; }
.ep-brand-copy { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.ep-brand-copy strong { color: var(--ink); font-size: 15px; font-weight: 950; }
.ep-brand-copy small { color: var(--quiet); font-size: 11px; font-weight: 750; letter-spacing: 0.03em; }

/* mode selector (dimostrativo) */
.ep-modesel { position: relative; }
.ep-modesel-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.ep-modesel-btn:hover { background: var(--paper-2); }
.ep-modesel-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.ep-modesel-btn .ep-eyebrow-mini {
  display: block;
  color: var(--quiet);
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ep-modesel-btn .ep-modesel-current { display: block; font-size: 14px; font-weight: 950; color: var(--ink); }
.ep-chevron { width: 14px; height: 14px; flex: 0 0 auto; color: var(--ink); transition: transform 0.18s ease; }
.ep-modesel-btn[aria-expanded="true"] .ep-chevron { transform: rotate(180deg); }

.ep-modesel-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 248px;
  max-width: 78vw;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(58, 46, 30, 0.16);
  padding: 8px;
  display: none;
}
.ep-modesel-menu.is-open { display: block; }
.ep-modesel-menu button {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 11px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.ep-modesel-menu button:hover,
.ep-modesel-menu button:focus-visible { background: var(--paper-2); outline: none; }
.ep-modesel-menu button strong { font-size: 13.5px; font-weight: 900; }
.ep-modesel-menu button span { font-size: 11px; color: var(--quiet); }
.ep-modesel-note {
  margin: 6px 4px 2px;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.4;
}

/* ---------- Hero ---------- */
.ep-hero { padding: 38px 0 8px; }
.ep-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ep-hero h1 {
  margin: 0 0 14px;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.ep-hero h1 em { color: var(--orange); font-style: normal; }
.ep-lead { margin: 0 0 10px; max-width: 600px; color: var(--muted); font-size: clamp(15px, 2.2vw, 18px); }
.ep-lead strong { color: var(--ink); font-weight: 850; }

/* ---------- Sezioni ---------- */
.ep-section { padding: 28px 0; }
.ep-section-head { max-width: 640px; margin-bottom: 18px; }
.ep-section-head h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.ep-section-head p { margin: 0; color: var(--muted); font-size: 15px; }

/* card "cosa trovi" */
.ep-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ep-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.ep-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #f1e4ce;
  color: var(--stone);
}
.ep-card-icon svg { width: 28px; height: 28px; }
.ep-card-body { min-width: 0; }
.ep-card-body h3 { margin: 0 0 5px; color: var(--ink); font-size: 16px; font-weight: 900; }
.ep-card-body p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ---------- Menu explanation ---------- */
/* Guida rapida compatta: non deve sembrare una seconda hero */
.ep-menu-explain {
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.ep-menu-explain .ep-section-head { margin-bottom: 4px; }
.ep-menu-explain .ep-section-head h2 { font-size: clamp(18px, 2.3vw, 23px); }
.ep-menu-explain .ep-section-head p { font-size: 14px; }
.ep-menu-demo {
  position: relative;
  margin-top: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--paper-2);
  padding: 12px 12px 18px;
  overflow: hidden;
}
/* mini topbar riproduzione */
.ep-mini-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 9px 12px;
}
.ep-mini-brand { display: flex; align-items: center; gap: 9px; }
.ep-mini-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #f0e8dc; }
.ep-mini-mark svg { width: 22px; height: 16px; }
.ep-mini-brand strong { font-size: 12.5px; font-weight: 950; color: var(--ink); }
.ep-mini-sel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 2px solid var(--orange);
  border-radius: 11px;
  padding: 6px 11px;
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.12);
}
.ep-mini-sel .ep-eyebrow-mini { color: var(--quiet); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; display: block; }
.ep-mini-sel strong { display: block; font-size: 13px; font-weight: 950; color: var(--ink); }
.ep-mini-sel .ep-chevron { color: var(--orange); }

/* menu aperto sotto il selettore */
.ep-mini-menu {
  margin: 10px 0 0 auto;
  width: 220px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 16px 36px rgba(58, 46, 30, 0.14);
  padding: 7px;
}
.ep-mini-menu div {
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 850;
  color: var(--ink);
}
.ep-mini-menu div + div { margin-top: 2px; }
.ep-mini-menu div.is-current { background: var(--ink); color: var(--paper); }

/* freccia annotativa */
.ep-annot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
}
.ep-annot svg { width: 30px; height: 22px; }
.ep-annot.is-pulse svg { animation: epArrow 1.6s ease-in-out infinite; }

/* ---------- Form ---------- */
.ep-access { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
.ep-access-aside { color: var(--muted); }
.ep-access-aside h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 950;
  letter-spacing: -0.03em;
}
.ep-access-aside p { margin: 0 0 16px; font-size: 15px; }
.ep-reassure { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ep-reassure li { position: relative; padding-left: 28px; font-size: 14px; color: var(--text); }
.ep-reassure li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: rgba(255, 77, 0, 0.12);
  border: 1px solid rgba(255, 77, 0, 0.3);
}
.ep-reassure li::after {
  content: "";
  position: absolute; left: 6px; top: 6px;
  width: 6px; height: 10px;
  border: solid var(--orange);
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}

.ep-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 22px;
}
.ep-field { margin-bottom: 14px; }
.ep-field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 13.5px; font-weight: 850; }
.ep-field label .ep-req { color: var(--orange); }
.ep-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--paper-2);
  color: var(--text);
  font-size: 16px; /* >=16px: evita lo zoom iOS */
  outline: none;
}
.ep-field input::placeholder { color: #a99d83; }
.ep-field input:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.14);
  background: var(--paper);
}
.ep-field.has-error input { border-color: #c0392b; background: #fff5f3; }
.ep-error {
  display: none;
  margin-top: 6px;
  color: #b3271b;
  font-size: 12.5px;
  font-weight: 700;
}
.ep-field.has-error .ep-error { display: block; }
.ep-error::before { content: "⚠ "; }

/* honeypot - nascosto agli umani */
.ep-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.ep-privacy { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 16px; }
.ep-privacy input[type="checkbox"] {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin: 1px 0 0;
  accent-color: var(--orange);
}
.ep-privacy label { font-size: 13px; line-height: 1.5; color: var(--text); }
.ep-privacy a { color: var(--orange); font-weight: 800; text-underline-offset: 2px; }
.ep-field.has-error.ep-privacy-field { }

.ep-cta {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(255, 77, 0, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.ep-cta:hover { transform: translateY(-1px); background: var(--orange-2); }
.ep-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ep-cta:disabled { opacity: 0.72; cursor: progress; transform: none; }
.ep-cta .ep-spinner { display: none; width: 18px; height: 18px; }
.ep-cta.is-loading .ep-spinner { display: inline-block; animation: epSpin 0.8s linear infinite; }
.ep-cta.is-loading .ep-cta-label { opacity: 0.85; }

.ep-cta-foot { margin: 12px 0 0; color: var(--quiet); font-size: 12.5px; text-align: center; }

/* success */
.ep-success {
  display: none;
  border: 1px solid rgba(255, 77, 0, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 77, 0, 0.08), rgba(255, 255, 255, 0.4)), var(--paper);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  text-align: center;
}
.ep-success.is-visible { display: block; }
.ep-success-mark {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}
.ep-success-mark svg { width: 30px; height: 30px; }
.ep-success h2 { margin: 0 0 8px; color: var(--ink); font-size: 24px; font-weight: 950; }
.ep-success p { margin: 0 auto 18px; max-width: 460px; color: var(--muted); font-size: 14.5px; }
.ep-success-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ep-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px; font-weight: 900;
  cursor: pointer; text-decoration: none;
}
.ep-btn-ghost:hover { border-color: var(--orange); background: var(--paper-2); }
.ep-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  background: var(--orange);
  color: #fff;
  font-size: 14px; font-weight: 950;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 22px rgba(255, 77, 0, 0.22);
}
.ep-btn-primary:hover { background: var(--orange-2); }

/* ---------- Fregio / footer ---------- */
.ep-frieze {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 20px;
}
.ep-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: end;
}
.ep-timeline span { display: grid; justify-items: center; gap: 8px; min-width: 0; }
.ep-timeline img { height: 64px; width: auto; object-fit: contain; opacity: 0.7; }
.ep-timeline small { color: var(--quiet); font-size: 11px; font-weight: 800; }
.ep-footer-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-bottom: 28px;
  color: var(--quiet);
  font-size: 12.5px;
}
.ep-footer-copy strong { color: var(--ink); display: block; font-weight: 900; }

/* ---------- Reveal animazioni ---------- */
.ep-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.ep-reveal.is-in { opacity: 1; transform: none; }

@keyframes epSpin { to { transform: rotate(360deg); } }
@keyframes epArrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .ep-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .ep-cards { grid-template-columns: repeat(2, 1fr); }
  .ep-access { grid-template-columns: 0.85fr 1.15fr; gap: 28px; }
  .ep-access-aside { position: sticky; top: 92px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ep-reveal { opacity: 1; transform: none; transition: none; }
  .ep-annot.is-pulse svg { animation: none; }
  .ep-cta { transition: none; }
  .ep-chevron { transition: none; }
}

/* ---------- Intro camuna del gate (scroll lock) ---------- */
html.oa-entry-intro-lock,
body.oa-entry-intro-lock { overflow: hidden !important; }

/* =====================================================================
   Landing pubblica: componenti aggiuntivi (header CTA, hero, strumenti,
   accesso, destinatari, FAQ, CTA finale) e incapsulamento sezioni Home.
   ===================================================================== */

/* Scorrimento fluido + offset per header sticky (funziona anche senza JS).
   Limitato alle pagine che contengono lo Sportello per non toccare il resto. */
html:has(.oa-sportello-entry) { scroll-behavior: smooth; }
.oa-sportello-entry #top,
.oa-sportello-entry #strumenti,
.oa-sportello-entry #accesso { scroll-margin-top: 78px; }
.oa-sportello-entry #accesso:focus { outline: none; }

/* ---------- Header: CTA fissa "Accedi gratis" ---------- */
.ep-topcta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 77, 0, 0.22);
  transition: transform 0.15s ease, background 0.15s ease;
}
.ep-topcta:hover { background: var(--orange-2); transform: translateY(-1px); }
.ep-topcta:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Hero: microelementi + CTA ---------- */
.ep-hero-micro {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.ep-hero-micro li {
  position: relative;
  padding: 6px 12px 6px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}
.ep-hero-micro li::before {
  content: "";
  position: absolute;
  left: 11px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--orange);
}
.ep-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.ep-btn-lg {
  min-height: 54px;
  padding: 15px 26px;
  font-size: 15.5px;
  border-radius: 13px;
}

/* ---------- Strumenti: griglia 3 colonne + etichetta ---------- */
.ep-tools-grid { gap: 14px; }
.ep-card-body p + p { margin-top: 8px; }
.ep-card-tag {
  display: inline-block;
  margin-top: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--paper-2);
  color: var(--stone);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Accesso: microcopy sotto la lista ---------- */
.ep-access-micro {
  margin: 16px 0 0;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 850;
}

/* ---------- Incapsulamento sezioni Home riutilizzate ---------- */
/* Le sezioni condivise (.oa-home-*) portano il proprio stile da sportello.css,
   scoped sotto .oa-sportello-app. Qui si neutralizza il "guscio" app (sfondo,
   bordi, clipping) e il reveal JS della Home (non caricato in questa pagina). */
.ep-landing-reuse { padding-top: 6px; }
.oa-sportello-entry .oa-landing-embed {
  background: none;
  border-radius: 0;
  overflow: visible;
}
.oa-sportello-entry .oa-landing-embed .oa-home-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.oa-sportello-entry .oa-landing-embed .oa-home-section:first-child { padding-top: 0; }

/* ---------- Destinatari ---------- */
.ep-audience {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.ep-audience-lead { margin: 0 0 14px; color: var(--ink); font-size: 15px; font-weight: 850; }
.ep-audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 24px;
}
.ep-audience-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.45;
}
.ep-audience-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.ep-audience-foot { margin: 18px 0 0; color: var(--muted); font-size: 14.5px; font-weight: 800; }

/* ---------- FAQ (accordion nativo, contenuto sempre nel DOM) ---------- */
.ep-faq { display: grid; gap: 10px; }
.ep-faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ep-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}
.ep-faq-item summary::-webkit-details-marker { display: none; }
.ep-faq-item summary:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.ep-faq-item summary h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}
.ep-faq-mark {
  position: relative;
  flex: 0 0 auto;
  width: 20px; height: 20px;
}
.ep-faq-mark::before,
.ep-faq-mark::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--orange);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.ep-faq-mark::before { width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; }
.ep-faq-mark::after { width: 2.5px; height: 14px; margin: -7px 0 0 -1.25px; }
.ep-faq-item[open] .ep-faq-mark::after { opacity: 0; transform: scaleY(0); }
.ep-faq-a { padding: 0 18px 16px; }
.ep-faq-a p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ep-faq-a p + p { margin-top: 10px; }

/* ---------- CTA finale ---------- */
.ep-final-cta {
  border: 1px solid rgba(255, 77, 0, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 77, 0, 0.08), rgba(255, 255, 255, 0.4)), var(--paper);
  box-shadow: var(--shadow);
  padding: 34px 28px;
  text-align: center;
}
.ep-final-cta h2 {
  margin: 0 auto 12px;
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ep-final-cta p { margin: 0 auto 6px; max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ep-final-cta .ep-btn-primary { margin-top: 18px; }
.ep-final-micro { margin: 16px auto 0; color: var(--quiet); font-size: 12.5px; font-weight: 850; }

/* ---------- Desktop: landing ---------- */
@media (min-width: 720px) {
  .ep-audience-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .ep-tools-grid { grid-template-columns: repeat(3, 1fr); }
  .ep-card { flex-direction: column; }
}

/* ---------- Reduced motion: landing ---------- */
@media (prefers-reduced-motion: reduce) {
  html:has(.oa-sportello-entry) { scroll-behavior: auto; }
  .ep-topcta { transition: none; }
  .ep-faq-mark::before,
  .ep-faq-mark::after { transition: none; }
}
