/* viaggiare.gratis: mare, sabbia e biglietti. Ogni voce e' un biglietto: Gratis / Paghi comunque. */
@font-face {
  font-family: "Overpass";
  src: url("/fonts/overpass-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --sea: #0d5c75;
  --sea-deep: #08455a;
  --sea-ink: #0a3342;
  --sun: #f4a23a;
  --free: #1d7a4e;
  --free-bg: #e9f5ee;
  --pay: #a2462b;
  --pay-bg: #fbefe9;
  --paper: #f7f4ec;
  --card: #ffffff;
  --ink: #142028;
  --muted: #56636c;
  --line: #e2dccd;
  --link: #0b6a87;
  --shadow: 0 1px 2px rgba(10, 51, 66, 0.06), 0 10px 26px rgba(10, 51, 66, 0.07);
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --free: #63d394;
    --free-bg: rgba(99, 211, 148, 0.1);
    --pay: #f29a79;
    --pay-bg: rgba(242, 154, 121, 0.1);
    --paper: #0d1417;
    --card: #141d22;
    --ink: #e8eef0;
    --muted: #a0acb3;
    --line: #26333a;
    --link: #74c9e2;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 26px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-weight: 900; }
h2 { font-weight: 800; font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem); }
h3 { font-weight: 800; font-size: 1.2rem; }
p { margin: 0 0 1em; }
strong, b { font-weight: 800; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--sun); color: #111; padding: 8px 12px; z-index: 70; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- header / footer ---------- */
.site-header { background: var(--sea-ink); color: #fff; position: relative; z-index: 62; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--sun); color: var(--sea-ink); font-weight: 900; font-size: 0.95rem; letter-spacing: -0.02em; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand-name span { color: var(--sun); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a, .footer-nav a { color: #fff; text-decoration: none; font-weight: 600; }
.site-nav a:hover, .footer-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { box-shadow: 0 3px 0 var(--sun); }
.site-footer { background: var(--sea-ink); color: #c4d2d8; margin-top: 64px; padding: 36px 0 44px; font-size: 0.95rem; }
.site-footer .brand-name { color: #fff; }
.footer-brand { margin-bottom: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 14px; }
.footer-note { max-width: 760px; margin: 0; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 300px at 85% 120%, rgba(244, 162, 58, 0.28), transparent 60%),
    linear-gradient(160deg, var(--sea) 0%, var(--sea-ink) 100%);
  color: #fff;
  padding: 64px 0 72px;
}
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 5vw, 4.8rem); line-height: 1.02; margin: 0 0 16px; max-width: 15ch; }
.hero h1 span { color: var(--sun); }
.hero .lead { color: #e2edf1; max-width: 56ch; }
.hero-ticket { margin-top: 30px; max-width: 640px; background: var(--card); color: var(--ink); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); padding: 18px 20px; }
.hero-ticket .t-split { margin: 0; }
.hero-ticket .t-head { margin-bottom: 10px; }

/* ---------- bands ---------- */
.band { padding: 52px 0; }
.band + .band { padding-top: 8px; }
.lead { font-size: clamp(1.12rem, 1.04rem + 0.45vw, 1.3rem); line-height: 1.55; max-width: 64ch; }
.note { color: var(--muted); font-size: 0.95rem; }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; font-size: 0.82rem; color: var(--link); margin: 0 0 8px; }
.page-head { background: linear-gradient(160deg, var(--sea) 0%, var(--sea-ink) 100%); color: #fff; padding: 46px 0 42px; }
.page-head .kicker { color: var(--sun); }
.page-head h1 { font-size: clamp(2.05rem, 1.4rem + 3vw, 3.4rem); max-width: 24ch; }
.page-head .lead { color: #e2edf1; margin-bottom: 0; }
.page-head a { color: #fff; }
.arrow { width: 20px; height: 20px; flex: none; }

/* ---------- section grid (home) ---------- */
.sec-grid { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.sec-card { display: flex; flex-direction: column; gap: 4px; height: 100%; background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--sea); border-radius: var(--radius); padding: 18px 20px 16px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.sec-card:hover { border-color: var(--sun); text-decoration: none; }
.sec-card:hover .sec-name { text-decoration: underline; }
.sec-truffe { border-top-color: var(--pay); }
.sec-name { font-weight: 900; font-size: 1.35rem; }
.sec-sub { color: var(--muted); }
.sec-count { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--link); }

/* ---------- tickets ---------- */
.tickets { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); align-items: start; }
.ticket { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px 14px; scroll-margin-top: 16px; }
.ticket:target { outline: 3px solid var(--sun); outline-offset: 2px; }
.t-where { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; font-size: 0.78rem; color: var(--link); margin: 0 0 4px; }
.ticket h3 { margin: 0; }
.t-split { display: grid; gap: 10px; margin: 14px 0 12px; }
@media (min-width: 560px) { .t-split { grid-template-columns: 1fr 1fr; } }
.t-free, .t-pay { border-radius: 10px; padding: 10px 12px 2px; }
.t-free { background: var(--free-bg); border-left: 4px solid var(--free); }
.t-pay { background: var(--pay-bg); border-left: 4px solid var(--pay); }
.t-label { font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; margin: 0 0 4px; }
.t-free .t-label { color: var(--free); }
.t-pay .t-label { color: var(--pay); }
.t-split p:last-child { margin-bottom: 8px; }
.t-meta { margin: 0 0 8px; display: grid; gap: 6px; }
.t-meta div { display: grid; grid-template-columns: 6.6em 1fr; gap: 10px; }
.t-meta dt { font-weight: 800; font-size: 0.86rem; color: var(--muted); padding-top: 2px; }
.t-meta dd { margin: 0; }
.t-note { font-size: 0.95rem; background: rgba(244, 162, 58, 0.14); border-radius: 8px; padding: 8px 12px; margin: 8px 0; }
.t-quote { margin: 6px 0 4px; font-size: 0.92rem; }
.t-quote summary { cursor: pointer; color: var(--link); font-weight: 700; }
.t-quote blockquote { margin: 6px 0 0; font-style: italic; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; }
.t-src { font-size: 0.88rem; color: var(--muted); border-top: 2px dashed var(--line); padding-top: 10px; margin: 10px 0 0; overflow-wrap: anywhere; }
.t-date { white-space: nowrap; }

/* ---------- novita ---------- */
.novita { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.n-item { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--sun); border-radius: 12px; padding: 14px 18px 4px; }
.n-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.n-meta { font-size: 0.85rem; color: var(--muted); margin: 0 0 4px; display: flex; gap: 10px; flex-wrap: wrap; }
.n-sec { font-weight: 800; text-decoration: none; }
.n-src { font-size: 0.88rem; color: var(--muted); }

/* ---------- prose ---------- */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.callout { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--sun); border-radius: 12px; padding: 16px 20px 4px; margin: 22px 0; }
.callout-warn { border-left-color: var(--pay); }

@media (max-width: 600px) {
  body { font-size: 1.02rem; }
  .hero { padding: 44px 0 52px; }
  .band { padding: 40px 0; }
  .ticket { padding: 16px 16px 12px; }
  .t-meta div { grid-template-columns: 1fr; gap: 0; }
}
@media print {
  .site-header, .site-footer, .hero, .page-head { background: none; color: #000; }
}

/* ---------- site menu (hamburger) ---------- */
.menu-btn { -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 6px; margin: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; color: #fff; }
.menu-btn:hover { color: var(--sun); }
.menu-btn:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.menu-bars { position: relative; display: block; width: 24px; height: 16px; }
.menu-bars i { position: absolute; left: 0; right: 0; height: 3px; border-radius: 2px; background: currentColor; transition: transform .22s ease, opacity .16s ease; }
.menu-bars i:nth-child(1) { top: 0; }
.menu-bars i:nth-child(2) { top: 50%; margin-top: -1.5px; }
.menu-bars i:nth-child(3) { bottom: 0; }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.menu-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(6, 20, 26, 0.55); visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s; }
.menu-scrim.is-open { visibility: visible; opacity: 1; transition: opacity .25s ease, visibility 0s; }
.sitemenu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(22rem, 86%); background: var(--sea-ink); border-left: 4px solid var(--sun); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; transform: translateX(100%); transition: transform .28s ease, visibility 0s linear .28s; }
.sitemenu.is-open { visibility: visible; transform: translateX(0); transition: transform .28s ease, visibility 0s; }
.sitemenu-inner { padding: 96px 24px 40px; }
.sm-label { color: var(--sun); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 6px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.sm-pages { list-style: none; margin: 0; padding: 0; }
.sm-pages a { display: block; padding: 12px 0; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.sm-pages a:hover, .sm-pages a[aria-current="page"] { color: var(--sun); }
html.menu-open { overflow: hidden; }
html.menu-open .site-nav { opacity: 0; pointer-events: none; transition: opacity .18s ease; }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .header-in { justify-content: space-between; flex-wrap: nowrap; }
}
@media (min-width: 861px) {
  .menu-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sitemenu, .menu-scrim, .menu-bars i { transition: none; }
}
@media print {
  .menu-btn, .menu-scrim, .sitemenu { display: none; }
}
