/* ============================================================
   MOSAICO FESTIVAL 2026 — stylesheet
   Design system dal deck ufficiale: sabbia / nero / bianco,
   Program Nar OT Black (titoli) + Neue Montreal (testi)
   ============================================================ */

/* Program Nar (titoli) è servito da Adobe Fonts: kit use.typekit.net/glr4qki.css,
   famiglia "program-narrow", peso 900. Neue Montreal resta self-hosted. */
@font-face {
  font-family: "Neue Montreal";
  src: url("../assets/fonts/NeueMontreal-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../assets/fonts/NeueMontreal-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}

:root {
  --sand: #C6A87C;
  --sand-light: #D4BC97;
  --black: #111111;
  --white: #FFFFFF;
  --display: "program-narrow", "Arial Black", sans-serif;
  --sans: "Neue Montreal", "Helvetica Neue", Helvetica, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ---------- Label (chip stile deck) ---------- */
.label {
  display: inline-block;
  background: var(--sand);
  color: var(--black);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 3px 12px;
  margin-bottom: 22px;
}
.section--sand .label { background: var(--black); color: var(--sand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  text-decoration: none;
  padding: 13px 26px;
  font-size: 1rem;
  line-height: 1.2;
  transition: opacity .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
  border: 2px solid var(--black);
}
.btn:hover { opacity: .82; }
.btn--black { background: var(--black); color: var(--white); }
.btn--outline { background: transparent; color: var(--black); }
.btn--sand { background: var(--sand); color: var(--black); border-color: var(--sand); }
.nav__links .btn--nav { background: var(--black); color: var(--white); padding: 8px 18px; font-size: .92rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.nav__logo { height: 22px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
}
.nav__links a:not(.btn):hover { opacity: .6; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav__burger span { width: 26px; height: 3px; background: var(--black); }

/* ---------- Hero ---------- */
.hero {
  background: var(--white);
  padding: 11vh 28px 12vh;
}
.hero__inner { max-width: 1160px; margin: 0 auto; }
.hero__logo { width: 100%; height: auto; }
.hero__meta {
  margin-top: 42px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__tagline {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.25;
}
.hero__info {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.25;
  text-align: right;
}
.hero__cta {
  flex-basis: 100%;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--black { background: var(--black); color: var(--white); }
.section--black .section__intro { color: rgba(255,255,255,.75); }
.section--sand { background: var(--sand); }
.section__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 18px;
}
.section__intro { max-width: 640px; margin-bottom: 44px; }
.section__cta { margin-top: 56px; text-align: center; }

/* ---------- Lineup ---------- */
.lineup {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 30px;
  align-items: baseline;
  margin-top: 8px;
}
.lineup + .lineup { margin-top: 26px; }
.lineup__name {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.12;
  color: var(--white);
}
.lineup__name--xl { font-size: 4.4rem; color: var(--sand); flex-basis: auto; }
.lineup__name--lg { font-size: 2.4rem; }
.lineup__name--sm { font-size: 1.45rem; color: rgba(255,255,255,.82); }
.lineup__name:not(:last-child)::after {
  content: "·";
  color: rgba(255,255,255,.4);
  margin-left: 26px;
  font-size: .8em;
}
.lineup__note {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: none;
  font-size: .42em;
  color: rgba(255,255,255,.65);
  letter-spacing: 0;
}
.lineup__name--xl .lineup__note { font-size: .3em; }

/* ---------- Programma ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 42px; }
.tab {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.15rem;
  padding: 10px 24px;
  border: 2px solid var(--black);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: all .15s ease;
}
.tab:hover { background: rgba(0,0,0,.08); }
.tab.is-active { background: var(--black); color: var(--sand); }

.day { display: none; }
.day.is-active { display: block; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.day__title {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 2.1rem;
  line-height: 1;
}
.day__venue { margin: 8px 0 26px; opacity: .7; }

.event {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 20px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,0,0,.25);
}
.event__name {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 1.1;
}
.event__tag {
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 3px 10px;
  border: 1.5px solid var(--black);
}
.event__place { font-size: .92rem; opacity: .65; }

.day__tickets {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* ---------- Mappa ---------- */
.venues {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}
.venue {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  background: var(--white);
  border: 2px solid var(--black);
  padding: 18px;
  cursor: pointer;
  font-family: var(--sans);
  transition: background .15s ease;
}
.venue:hover { background: var(--sand-light); }
.venue__num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
}
.venue__body strong {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.15rem;
  line-height: 1.1;
  margin-bottom: 5px;
}
.venue__body span { font-size: .88rem; opacity: .7; display: block; line-height: 1.4; }

.map {
  height: 500px;
  border: 2px solid var(--black);
  z-index: 1;
  filter: grayscale(.35);
}
.map__note { margin-top: 14px; font-size: .88rem; opacity: .6; }

.map-popup strong { font-family: var(--sans); font-size: 1.02em; }
.map-popup a { color: var(--black); font-weight: 500; }

/* ---------- Come arrivare ---------- */
.routes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.route {
  background: var(--white);
  padding: 28px;
  border: 2px solid var(--black);
}
.route h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.05;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.route__meta { font-family: var(--sans); font-weight: 500; text-transform: none; font-size: .85rem; opacity: .55; white-space: nowrap; }
.route p { font-size: .95rem; margin-bottom: 16px; }
.route__link { color: var(--black); font-weight: 500; font-size: .92rem; }
.route__link:hover { opacity: .6; }

.routes__bus {
  margin-top: 26px;
  background: var(--black);
  color: var(--white);
  padding: 18px 24px;
}

/* ---------- Dove dormire ---------- */
.stay {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.stay__card {
  border: 2px solid rgba(255,255,255,.35);
  padding: 36px;
}
.stay__card h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--sand);
}
.stay__card p { margin-bottom: 24px; color: rgba(255,255,255,.85); }
.stay__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: start;
}
.about__col p { margin: 0 0 36px; font-size: 1.08rem; }
.about__col p:last-child { margin-bottom: 0; }

.about__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about__photo { overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--a {
  aspect-ratio: 4 / 5;
  clip-path: polygon(0 3%, 97% 0, 100% 100%, 3% 97%);
}
.about__photo--b {
  aspect-ratio: 4 / 5;
  margin-top: 44px;
  clip-path: polygon(3% 0, 100% 3%, 97% 97%, 0 100%);
}
.about__photo--c {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  clip-path: polygon(0 0, 100% 4%, 98% 100%, 2% 96%);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 70px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.footer__logo { height: 34px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: rgba(255,255,255,.75); font-size: .95rem; }
.footer__links, .footer__social { display: flex; flex-direction: column; gap: 10px; }
.footer__icons { display: flex; gap: 18px; margin-bottom: 8px; }
.footer__icons a { display: inline-flex; }
.footer__icons svg { width: 24px; height: 24px; }
.footer a { color: var(--white); text-decoration: none; opacity: .8; }
.footer a:hover { opacity: 1; color: var(--sand); }
.footer__copy { text-align: center; padding-top: 28px; font-size: .85rem; opacity: .5; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    padding: 22px 28px 28px;
    border-bottom: 1px solid rgba(0,0,0,.12);
    gap: 16px;
  }
  .nav__links.is-open { display: flex; }
  .nav__burger { display: flex; }

  .hero { padding: 8vh 28px; }
  .hero__meta { flex-direction: column; align-items: flex-start; margin-top: 30px; }
  .hero__info { text-align: left; }

  .section { padding: 68px 0; }

  .lineup__name--sm { font-size: 1.2rem; }
  .lineup__name--lg { font-size: 1.75rem; }
  .lineup__name--xl { font-size: 2.7rem; }
  .lineup__name:not(:last-child)::after { margin-left: 14px; }
  .lineup { gap: 4px 14px; }

  .event { grid-template-columns: 1fr; gap: 6px; }
  .event__tag { justify-self: start; }

  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__photo--b { margin-top: 0; }

  .footer__grid { grid-template-columns: 1fr; }
  .map { height: 400px; }
}
