/* PRIMA Student Living - foglio di stile
   Mobile first: gli stili base sono per il telefono, i @media allargano per tablet e desktop.
   Proporzioni del brand: crema 60% (fondi) - inchiostro 30% (testi) - terracotta 10% (accenti).
   Il terracotta e' il colore delle targhe stampate: sopra si scrive sempre in inchiostro (5,6:1). */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/lato-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lato-latin-700-normal.woff2") format("woff2"); }

:root {
  --crema: #F8F5ED;
  --inchiostro: #202020;
  --terracotta: #D6826C;        /* colore principale: superfici, bottoni, simboli */
  --terracotta-hover: #C9735E;
  --terracotta-scuro: #9A4430;  /* "mattone": testo piccolo colorato su crema (5,9:1) */
  --terracotta-20: #F1DED3;
  --terracotta-8: #F5ECE3;
  --testo-2: #55524C;           /* testo secondario, 7:1 su crema */
  --testo-3: #6B655C;           /* etichette, 5,2:1 su crema */
  --linea: #D9D3C7;
  --bianco: #FFFFFF;
  --verde: #2E7D4F;
  --font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 70rem;
  --gutter: clamp(1rem, 5vw, 2.5rem);
  --header-h: 4rem;
  --r: 4px;
  --r-targa: 6px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; min-height: 100vh;
  background: var(--crema); color: var(--inchiostro);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--inchiostro); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
strong, b { font-weight: 700; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--inchiostro); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--terracotta); color: var(--inchiostro); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  padding: .75rem 1rem; border-radius: var(--r);
  background: var(--inchiostro); color: var(--crema); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 11vw, 6.5rem); }
.section--line { border-top: 1px solid var(--linea); }
.section--tint { background: var(--terracotta-8); border-top: 1px solid var(--linea); }

.split { display: grid; gap: 2.25rem; }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; align-items: start; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .split > .section-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
}

/* ---------- Tipografia ---------- */
.kicker {
  display: block; margin: 0 0 1rem;
  font-size: .75rem; font-weight: 700; line-height: 1.4; letter-spacing: .28em; text-transform: uppercase;
  color: var(--testo-3);
}
.h1 { font-size: clamp(2.75rem, 12.5vw, 5.25rem); }
.h2 { font-size: clamp(2.125rem, 8.5vw, 3.25rem); }
.h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.lead { margin: 1.25rem 0 0; max-width: 36rem; font-size: clamp(1.125rem, 4.6vw, 1.3125rem); line-height: 1.55; color: var(--testo-2); }
.muted { color: var(--testo-2); }
.small { font-size: .9375rem; }
.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 6vw, 3rem); }
.section-head > p:not(.kicker) { margin-top: 1rem; color: var(--testo-2); }
.filetto { width: 2.5rem; height: 1.5px; margin: 0; border: 0; background: currentColor; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.mb-half { margin-bottom: .5rem; }

.lista { list-style: none; border-top: 1px solid var(--linea); }
.lista li { position: relative; padding: .85rem 0 .85rem 1.6rem; border-bottom: 1px solid var(--linea); }
.lista li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .75rem; height: 1.5px; background: var(--terracotta-scuro); }

/* ---------- Bottoni e link ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .8rem 1.35rem;
  border: 1px solid transparent; border-radius: var(--r);
  background: var(--terracotta); color: var(--inchiostro);
  font-size: .9375rem; font-weight: 700; line-height: 1.2; letter-spacing: .01em; text-align: center; text-decoration: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--terracotta-hover); }
.btn--dark { background: var(--inchiostro); color: var(--crema); }
.btn--dark:hover { background: #000; }
.btn--outline { background: transparent; border-color: var(--inchiostro); color: var(--inchiostro); }
.btn--outline:hover { background: var(--inchiostro); color: var(--crema); }
.btn--small { min-height: 2.5rem; padding: .5rem .9rem; font-size: .8125rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn-row--center { justify-content: center; }
@media (max-width: 29.99rem) { .btn-row > .btn { flex: 1 1 100%; } }

.arrow-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; font-weight: 700; text-decoration: none; }
.arrow-link::after { content: "\2192"; color: var(--terracotta-scuro); transition: transform .2s ease; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
/* Su telefono l'header e' pieno: un backdrop-filter qui intrappolerebbe il menu a tutto schermo (position: fixed). */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--crema); border-bottom: 1px solid var(--linea); }
@media (min-width: 60rem) {
  .site-header { background: rgb(248 245 237 / .94); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); }
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; padding: .5rem 0; color: var(--inchiostro); }
.brand svg { width: 7.75rem; height: auto; } /* 124 px: sopra il minimo di 120 px del logotipo */
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.header-cta {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 .9rem;
  border-radius: var(--r); background: var(--terracotta);
  font-size: .8125rem; font-weight: 700; text-decoration: none;
}
.menu-toggle {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem;
  margin-right: -.5rem; padding: 0 .5rem; border: 0; background: none; color: var(--inchiostro);
  font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; cursor: pointer;
}
.menu-toggle__icon { position: relative; width: 1.25rem; height: 9px; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .25s ease, top .25s ease;
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 7.5px; }
.menu-open .menu-toggle__icon::before { top: 3.75px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon::after { top: 3.75px; transform: rotate(-45deg); }

.site-nav { display: none; }
.site-nav ul { list-style: none; }
.menu-open body { overflow: hidden; }
.menu-open .site-nav {
  display: block; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 39;
  overflow-y: auto; padding: .5rem var(--gutter) 2.5rem; background: var(--crema);
}
.site-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--linea);
  font-size: 1.625rem; font-weight: 300; line-height: 1.2; text-decoration: none;
}
.site-nav a::after { content: "\2192"; font-size: 1.125rem; color: var(--terracotta-scuro); }
.site-nav .nav-cta a {
  justify-content: center; margin-top: 1.5rem; padding: 1rem; border: 0; border-radius: var(--r);
  background: var(--terracotta); font-size: 1rem; font-weight: 700;
}
.site-nav .nav-cta a::after { content: none; }

@media (min-width: 60rem) {
  .header-actions { display: none; }
  .site-nav, .menu-open .site-nav { display: block; position: static; margin-left: auto; padding: 0; background: none; overflow: visible; }
  .menu-open body { overflow: auto; }
  .site-nav ul { display: flex; align-items: center; gap: 1.75rem; }
  .site-nav a { padding: .5rem 0; border: 0; font-size: .9375rem; font-weight: 400; }
  .site-nav a::after { content: none; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; text-underline-offset: .4em; }
  .site-nav .nav-cta a { margin-top: 0; padding: .6rem 1rem; font-size: .875rem; }
  .site-nav .nav-cta a:hover { background: var(--terracotta-hover); text-decoration: none; }
}

/* ---------- Targa: il sistema della segnaletica (simbolo, filetto, testo) ---------- */
.targa {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(2rem, 8vw, 2.75rem) clamp(1.25rem, 6vw, 2.25rem);
  border-radius: var(--r-targa); background: var(--terracotta); color: var(--inchiostro);
  box-shadow: 0 1px 1px rgb(60 30 20 / .08), 0 24px 48px -28px rgb(90 40 25 / .55);
}
.targa__simbolo { width: 2.75rem; height: auto; color: var(--inchiostro); }
.targa .filetto { width: 3rem; height: 2px; margin: .85rem auto 1.5rem; background: var(--inchiostro); }
.targa__kicker { margin: 0 0 .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.targa__num { margin: 0; font-size: clamp(4.5rem, 22vw, 6rem); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.targa__label { max-width: 16rem; margin: .5rem 0 1.5rem; font-size: 1.1875rem; line-height: 1.35; }
.targa__dates { display: grid; gap: 1rem; margin: .5rem 0 1.75rem; }
.targa__dates p { margin: 0; font-size: clamp(1.5rem, 7vw, 1.875rem); font-weight: 300; line-height: 1.15; }
.targa__dates span { display: block; margin-bottom: .3rem; font-size: .6875rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.targa .btn { width: 100%; margin-top: 1.25rem; }

.status {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0;
  padding: .55rem .95rem; border-radius: 999px; background: var(--crema); color: var(--inchiostro);
  font-size: .8125rem; font-weight: 700; line-height: 1.3; text-align: left;
}
.status::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--terracotta-scuro); }
[data-state="aperto"] .status::before { background: var(--verde); animation: pulse 2.2s ease-out infinite; }
[data-state="chiuso"] .status::before { background: var(--testo-3); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(46 125 79 / .45); }
  70% { box-shadow: 0 0 0 .45rem rgb(46 125 79 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(46 125 79 / 0); }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 9vw, 5.5rem) clamp(3.5rem, 10vw, 6rem); }
.hero__grid { display: grid; gap: clamp(2.75rem, 9vw, 4rem); align-items: center; }
.hero .h1 { max-width: 11ch; }
.hero__aside { width: 100%; max-width: 23rem; margin-inline: auto; }
@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .hero__aside { margin-right: 0; }
}

/* Numeri chiave */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 0 0 clamp(2.5rem, 7vw, 3.5rem); }
.stat { margin: 0; }
.stat::before { content: ""; display: block; width: 1.75rem; height: 2px; margin-bottom: 1rem; background: var(--terracotta); }
.stat__num { display: block; font-size: clamp(2.75rem, 12vw, 3.75rem); font-weight: 300; line-height: 1; }
.stat__label { display: block; max-width: 15rem; margin-top: .6rem; font-size: .9375rem; line-height: 1.45; color: var(--testo-2); }

/* Servizi: ogni icona e' una piccola targa */
.servizi { display: grid; list-style: none; border-top: 1px solid var(--linea); }
.servizio { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.25rem 0; border-bottom: 1px solid var(--linea); }
.servizio__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r); background: var(--terracotta); color: var(--inchiostro); }
.servizio__icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.servizio h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.servizio p { margin: .2rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--testo-2); }
@media (min-width: 40rem) { .servizi { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
@media (min-width: 64rem) { .servizi { grid-template-columns: repeat(3, 1fr); } }

/* Arco: la A e' una porta di casa */
.arco {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%; max-width: 24rem; margin-inline: auto;
  padding: clamp(5rem, 26vw, 7rem) 1.5rem 2.25rem;
  border-radius: 100vmax 100vmax var(--r-targa) var(--r-targa);
  background: var(--terracotta); color: var(--inchiostro);
}
.arco .kicker { color: var(--inchiostro); margin-bottom: .75rem; }
.arco address { font-size: clamp(1.5rem, 7vw, 1.875rem); font-weight: 300; line-height: 1.3; }
.arco .filetto { width: 3rem; height: 2px; margin: 1.5rem auto 0; background: var(--inchiostro); }
.arco .btn-row { margin-top: 1.5rem; width: 100%; justify-content: center; }
.arco .btn { flex: 1 1 100%; }

/* ---------- Domande frequenti ---------- */
.faq { border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-size: 1.0625rem; font-weight: 700; line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: .95rem; height: .95rem; margin-top: .3rem;
  background:
    linear-gradient(var(--terracotta-scuro), var(--terracotta-scuro)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--terracotta-scuro), var(--terracotta-scuro)) center / 1.5px 100% no-repeat;
  transition: transform .25s ease;
}
.faq details[open] > summary::after { transform: rotate(45deg); }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.faq__answer { max-width: 44rem; padding: 0 2.25rem 1.35rem 0; color: var(--testo-2); }
.faq__answer p { margin-bottom: .75em; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Contatti ---------- */
.contatti { display: grid; gap: 1rem; list-style: none; }
.contatto { padding: 1.5rem 1.35rem; border: 1px solid var(--linea); border-radius: var(--r-targa); background: var(--crema); }
.contatto .kicker { margin-bottom: .6rem; }
.contatto__val { display: block; font-size: 1.3125rem; font-weight: 300; line-height: 1.35; overflow-wrap: anywhere; }
a.contatto__val { text-decoration: none; }
a.contatto__val:hover { text-decoration: underline; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; }
.contatto__note { margin: .6rem 0 0; font-size: .9375rem; color: var(--testo-2); }
@media (min-width: 48rem) { .contatti { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Pagina del bando ---------- */
.facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: clamp(2.75rem, 8vw, 4rem) 0 0;
  border: 1px solid var(--linea); border-radius: var(--r-targa); overflow: hidden; background: var(--linea);
}
.fact { padding: 1.1rem 1rem; background: var(--crema); }
.fact dt { font-size: .6875rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--testo-3); }
.fact dd { margin: .45rem 0 0; font-size: 1.0625rem; line-height: 1.35; }
.fact--wide { grid-column: 1 / -1; }
@media (min-width: 48rem) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .fact { padding: 1.35rem 1.25rem; }
  .fact--wide { grid-column: auto; }
}

.steps { list-style: none; counter-reset: passo; border-top: 1px solid var(--linea); }
.step { counter-increment: passo; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0 1rem; padding: 1.75rem 0; border-bottom: 1px solid var(--linea); }
.step::before { content: counter(passo, decimal-leading-zero); font-size: 1.5rem; font-weight: 300; line-height: 1.15; color: var(--terracotta-scuro); }
.step > div > * + * { margin-top: .85rem; }
.step .btn { margin-top: 1.25rem; }
@media (min-width: 48rem) { .step { grid-template-columns: 4.5rem minmax(0, 1fr); padding: 2.25rem 0; } .step::before { font-size: 2rem; } }

.downloads { display: grid; gap: .75rem; list-style: none; }
.download {
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem;
  border: 1px solid var(--inchiostro); border-radius: var(--r); background: var(--crema);
  text-decoration: none; transition: background-color .2s ease;
}
.download:hover { background: var(--terracotta-20); }
.download__type {
  flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 3px;
  background: var(--terracotta); font-size: .6875rem; font-weight: 700; letter-spacing: .08em;
}
.download__text { min-width: 0; }
.download__name { display: block; font-weight: 700; line-height: 1.3; }
.download__meta { display: block; margin-top: .15rem; font-size: .8125rem; color: var(--testo-2); }
.download::after { content: "\2193"; margin-left: auto; padding-left: .5rem; font-size: 1.25rem; line-height: 1; }
@media (min-width: 48rem) { .downloads--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.checklist { margin: 0; padding: 0; border: 0; min-width: 0; }
.check { display: flex; align-items: flex-start; gap: .85rem; padding: .9rem 0; border-bottom: 1px solid var(--linea); cursor: pointer; }
.check:first-of-type { border-top: 1px solid var(--linea); }
.check input { flex: none; width: 1.375rem; height: 1.375rem; margin: .1rem 0 0; accent-color: var(--inchiostro); cursor: pointer; }
.check small { display: block; margin-top: .2rem; font-size: .875rem; color: var(--testo-2); }
.check:has(input:checked) > span { text-decoration: line-through; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; color: var(--testo-2); }
.check-progress { margin: .9rem 0 0; font-size: .875rem; font-weight: 700; color: var(--testo-2); }

.copy {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem;
  padding: .85rem 1rem; border-radius: var(--r); background: var(--crema); border: 1px solid var(--linea);
}
.copy__val { font-size: 1.1875rem; font-weight: 700; overflow-wrap: anywhere; }

.table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: .9375rem; line-height: 1.4; }
.table caption { text-align: left; padding-bottom: .5rem; font-size: .875rem; color: var(--testo-2); }
.table th, .table td { padding: .7rem .75rem .7rem 0; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: top; }
.table thead th { font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--testo-3); }
.table th:last-child, .table td:last-child { padding-right: 0; text-align: right; white-space: nowrap; }
.table tbody th { font-weight: 400; color: var(--inchiostro); }
.table td { font-weight: 700; color: var(--inchiostro); }

.cards { display: grid; gap: 1rem; list-style: none; }
.card { padding: 1.5rem 1.35rem; border: 1px solid var(--linea); border-radius: var(--r-targa); background: var(--crema); }
.card .kicker { margin-bottom: .75rem; }
.card__main { margin: 0; font-size: 1.625rem; font-weight: 300; line-height: 1.2; }
.card__note { margin: .6rem 0 0; font-size: .9375rem; color: var(--testo-2); }
@media (min-width: 48rem) { .cards { grid-template-columns: repeat(3, 1fr); } }

.info-list { margin: 0; border-top: 1px solid var(--linea); }
.info-list > div { padding: 1.25rem 0; border-bottom: 1px solid var(--linea); }
.info-list dt { font-size: .75rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--testo-3); }
.info-list dd { margin: .5rem 0 0; }

.note {
  margin-top: 2rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--r) var(--r) 0; background: var(--terracotta-8);
  font-size: .9375rem; color: var(--testo-2);
}
.placeholder-box { padding: 1.5rem; border: 1px dashed var(--linea); border-radius: var(--r-targa); color: var(--testo-2); }

/* ---------- Testi lunghi (privacy) ---------- */
.prose { max-width: 42rem; }
.prose h2 { margin: 2.5rem 0 .75rem; font-size: 1.5rem; font-weight: 400; line-height: 1.25; }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }

/* ---------- 404 ---------- */
.notfound { display: grid; place-items: center; min-height: 70vh; padding-block: 4rem; text-align: center; }
.notfound__arco { width: 6rem; height: auto; margin: 0 auto 2rem; color: var(--terracotta); }
.notfound .h1 { max-width: 14ch; margin-inline: auto; font-size: clamp(2.25rem, 9vw, 3.75rem); }
.notfound .lead { margin-inline: auto; }
.notfound .btn-row { justify-content: center; }

/* ---------- PNRR e footer ---------- */
.pnrr { padding-block: 2rem 2.25rem; background: var(--bianco); border-top: 1px solid var(--linea); }
.pnrr__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem 2.25rem; list-style: none; }
.pnrr__logos img { width: auto; height: 2.25rem; }
.pnrr__text { max-width: 48rem; margin: 1.35rem auto 0; font-size: .8125rem; line-height: 1.55; color: #4A4A4A; text-align: center; }
@media (min-width: 48rem) { .pnrr__logos img { height: 2.75rem; } }

.site-footer { padding-block: clamp(3rem, 9vw, 4.5rem) 2rem; background: var(--inchiostro); color: var(--crema); font-size: .9375rem; }
.site-footer a { color: var(--crema); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; }
.footer-logo { width: 17.5rem; max-width: 100%; height: auto; } /* minimo del brand: 280 px */
.footer-grid { display: grid; gap: 2rem; margin-top: 2.75rem; }
.footer-grid h2 { margin-bottom: .75rem; font-size: .6875rem; font-weight: 700; line-height: 1.4; letter-spacing: .26em; text-transform: uppercase; color: rgb(248 245 237 / .64); }
.footer-grid ul { display: grid; gap: .45rem; list-style: none; }
.footer-grid .tag { font-size: .8125rem; color: rgb(248 245 237 / .64); }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid rgb(248 245 237 / .16);
  font-size: .8125rem; color: rgb(248 245 237 / .7);
}
.footer-bottom p { margin: 0; }

/* Messaggio temporaneo dopo "Copia" */
.toast {
  position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 60;
  transform: translate(-50%, 1rem); opacity: 0; pointer-events: none;
  padding: .7rem 1.1rem; border-radius: 999px; background: var(--inchiostro); color: var(--crema);
  font-size: .875rem; font-weight: 700; transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
