/* Caratteri incorporati nel sito (nessuna richiesta a servizi esterni) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("font/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("font/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("font/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("font/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("font/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("font/cormorant-garamond-latin-700-normal.woff2") format("woff2");
}

:root {
  --blu: #13265a;
  --blu-scuro: #0d1b40;
  --accento: #4f7cb8;
  --carta: #f3f6fa;
  --bianco: #ffffff;
  --testo: #26303f;
  --grigio: #667085;
  --linea: #dde3ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--testo);
  background: var(--bianco);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--blu);
  line-height: 1.15;
  margin: 0;
}

a { color: var(--blu); }

.contenitore { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }
.contenitore.stretto { width: min(760px, 100% - 2.5rem); }

/* Testata */
.testata {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--linea);
}
.testata-interno {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .6rem 0; flex-wrap: wrap;
}
.marchio {
  display: inline-flex; align-items: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem; font-weight: 700; text-decoration: none; color: var(--blu);
}
.logo-testata { height: 44px; width: auto; display: block; }
.menu { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.menu a {
  text-decoration: none; font-size: .92rem; font-weight: 500;
  color: var(--testo); padding: .2rem 0; border-bottom: 2px solid transparent;
}
.menu a:hover { border-color: var(--accento); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bianco), var(--carta));
  text-align: center; padding: 4rem 0 4.5rem;
  border-bottom: 1px solid var(--linea);
}
.logo-hero { width: min(440px, 80%); height: auto; margin: 0 auto 1.8rem; display: block; mix-blend-mode: multiply; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.sopratitolo {
  text-transform: uppercase; letter-spacing: .25em; font-size: .8rem;
  color: var(--accento); margin: 0 0 .8rem; font-weight: 600;
}
.slogan { font-size: 1.15rem; color: var(--grigio); margin: 1rem 0 2rem; }
.azioni { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.bottone {
  display: inline-block; padding: .8rem 1.7rem; background: var(--blu);
  color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  border: 2px solid var(--blu); border-radius: 2px; transition: .2s;
}
.bottone:hover { background: var(--blu-scuro); border-color: var(--blu-scuro); }
.bottone.secondario { background: transparent; color: var(--blu); }
.bottone.secondario:hover { background: var(--blu); color: #fff; }

/* Sezioni */
.sezione { padding: 5rem 0; }
.sezione.alt { background: var(--carta); }
.sezione h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.filetto { width: 56px; height: 3px; background: var(--accento); margin: 1rem 0 2rem; }
.lead { font-size: 1.1rem; color: #3a4452; }

/* Eventi */
.griglia { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.evento {
  display: flex; gap: 1.1rem; background: var(--bianco);
  border: 1px solid var(--linea); border-top: 3px solid var(--accento);
  padding: 1.3rem; border-radius: 2px;
}
.data-box {
  flex: 0 0 64px; text-align: center; color: var(--blu);
  border-right: 1px solid var(--linea); padding-right: 1rem;
}
.data-box .giorno { font-family: "Cormorant Garamond", serif; font-size: 2.4rem; font-weight: 700; line-height: 1; display: block; }
.data-box .mese { text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; font-weight: 600; }
.data-box .anno { display: block; font-size: .75rem; color: var(--grigio); }
.evento h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.evento .dettagli { font-size: .85rem; color: var(--grigio); margin: 0 0 .5rem; }
.evento p { margin: 0 0 .6rem; font-size: .95rem; }
.evento .vai { font-weight: 600; font-size: .9rem; }
.vuoto { color: var(--grigio); font-style: italic; }

.passati { margin-top: 2.5rem; }
.passati summary { cursor: pointer; font-weight: 600; color: var(--blu); margin-bottom: 1.2rem; }
.passati .evento { opacity: .7; border-top-color: var(--linea); }

/* Documenti */
.gruppo-doc { margin-bottom: 2.4rem; }
.gruppo-doc h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.lista-doc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.lista-doc li { border-bottom: 1px solid var(--linea); }
.lista-doc a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem .3rem; text-decoration: none; transition: background .15s;
}
.lista-doc a:hover { background: var(--carta); }
.lista-doc strong { display: block; color: var(--blu); }
.lista-doc span.desc { font-size: .9rem; color: var(--grigio); }
.lista-doc .freccia { color: var(--accento); font-size: 1.3rem; flex: none; }

/* Contatti */
.contatti { list-style: none; padding: 0; margin: 0; }
.contatti li { padding: .7rem 0; border-bottom: 1px solid var(--linea); display: flex; gap: 1rem; }
.contatti .etichetta { flex: 0 0 110px; font-weight: 600; color: var(--blu); }

/* Piede */
.piede { background: var(--blu-scuro); color: rgba(255,255,255,.75); text-align: center; padding: 2rem 0; font-size: .88rem; }
.piede p { margin: 0; }

@media (max-width: 560px) {
  .hero { padding: 3rem 0 3.5rem; }
  .sezione { padding: 3.5rem 0; }
  .contatti li { flex-direction: column; gap: 0; }
}
