:root {
  --night: #080c2b;
  --night-2: #121a4d;
  --cream: #f4f8ff;
  --cream-2: #fff5d1;
  --ink: #0f1638;
  --muted: #4d5778;
  --blu: #1f48e0;
  --blu-dark: #1534a8;
  --azzurro: #8fd0ff;
  --giallo: #ffd23f;
  --giallo-dark: #f2b705;
  --line: rgba(15, 22, 56, 0.14);

  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --script: "Yellowtail", cursive;
  --sans: "Outfit", system-ui, sans-serif;
  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .98; margin: 0; letter-spacing: .01em; }
h1 em, h2 em, h3 em { font-family: var(--script); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: .9em; padding-right: .08em; }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.9rem; margin-bottom: .5rem; }
em { font-style: normal; color: var(--blu); }
p { margin: 0 0 1rem; }
.text-link { color: var(--blu); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
.text-link:hover { color: var(--blu-dark); }

.eyebrow {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blu);
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

small { font-size: .7em; opacity: .6; margin-left: .3em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font: 500 1rem var(--sans);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--giallo); color: var(--night); font-weight: 600; box-shadow: 0 10px 30px -10px rgba(255, 210, 63, .8); }
.btn-primary:hover { background: var(--giallo-dark); transform: translateY(-2px); }
.btn-ghost { color: var(--cream); border-color: rgba(244, 248, 255, .35); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(244, 248, 255, .08); }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  color: var(--cream);
  transition: background .35s, padding .35s, color .35s, box-shadow .35s;
}
.nav.scrolled {
  background: rgba(244, 248, 255, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  padding-block: .7rem;
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font: 400 1.6rem/1 var(--script);
  background: var(--giallo); color: var(--night);
}
/* La G di Yellowtail disegna a destra e in basso rispetto al suo riquadro (misurato: +0,127em / +0,11em):
   il padding la riporta esattamente al centro del cerchio */
.brand-mark, .hero-badge .g-mark { box-sizing: border-box; padding: 0 .254em .22em 0; transform: rotate(-5deg); }
.brand-name { font-family: var(--display); font-size: 1.55rem; font-weight: 400; letter-spacing: .04em; white-space: nowrap; }
/* Nella barra in alto, sotto il nome: si vede subito che è musica italiana */
.brand-text { display: flex; flex-direction: column; gap: .25rem; min-width: 0; line-height: 1; }
.brand-sub {
  font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--giallo);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-height: 0; opacity: 0; transition: max-height .35s var(--ease), opacity .35s;
}
/* Compare solo quando la scritta grande nella foto iniziale non si vede più (script.js) */
.nav.show-sub .brand-sub { max-height: 1em; opacity: 1; }
.nav:not(.show-sub) .brand-text { gap: 0; }
.nav.scrolled .brand-sub { color: var(--blu); }
.nav.menu-open .brand-sub { color: var(--giallo); }
.menu { display: flex; align-items: center; gap: 2rem; }
.menu a { text-decoration: none; font-size: .95rem; position: relative; }
.menu a:not(.menu-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.menu a:not(.menu-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.menu-cta { padding: .55rem 1.2rem; border-radius: 999px; background: var(--giallo); color: var(--night); font-weight: 500; transition: background .25s; }
.menu-cta:hover { background: var(--giallo-dark); }
.nav-toggle { display: none; }
.nav { gap: 1.5rem; }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid currentColor; position: relative; z-index: 2; }
.lang button {
  font: 600 .75rem var(--sans); letter-spacing: .08em;
  padding: .35rem .6rem; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: inherit; opacity: .65;
  transition: background .25s, color .25s, opacity .25s;
}
.lang button:hover { opacity: 1; }
.lang button[aria-pressed="true"] { background: var(--giallo); color: var(--night); opacity: 1; }
.nav.scrolled .lang button[aria-pressed="true"] { background: var(--blu); color: #fff; }
.nav.menu-open .lang button[aria-pressed="true"] { background: var(--giallo); color: var(--night); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 8rem clamp(1rem, 6vw, 5rem) 5rem;
  background: radial-gradient(120% 90% at 70% 10%, #1b2fa8 0%, var(--night) 62%);
  color: var(--cream);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.spot { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.spot-1 { width: 520px; height: 520px; background: #2b4dff; top: -160px; right: -80px; animation: drift 14s ease-in-out infinite alternate; }
.spot-2 { width: 380px; height: 380px; background: var(--giallo); bottom: -180px; left: 10%; opacity: .3; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: min(62%, 900px); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; opacity: .8; filter: saturate(1.15); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(8, 12, 43, .55) 45%, rgba(8, 12, 43, .05) 100%), linear-gradient(0deg, var(--night) 0%, transparent 35%); }

.hero-inner { position: relative; max-width: 860px; z-index: 1; }
.hero .eyebrow { color: var(--azzurro); }
/* La prima cosa che si vede: "musica dal vivo italiana" */
.hero-kicker { margin: 0 0 1.2rem; }
.hero-kicker span {
  display: inline-block;
  font: 400 clamp(2rem, 5.2vw, 3.6rem)/1 var(--display); letter-spacing: .05em; text-transform: uppercase;
  color: var(--giallo); text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.hero h1 { font-size: clamp(4rem, 12vw, 10rem); letter-spacing: .01em; line-height: .9; }
.hero h1 em { color: var(--giallo); display: inline-block; transform: rotate(-4deg); text-shadow: 0 0 40px rgba(255, 210, 63, .45); }
.h1-small { display: block; font: 400 clamp(1.6rem, 3vw, 2.3rem) var(--script); letter-spacing: 0; margin-bottom: .2rem; color: var(--azzurro); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 620px; margin: 2rem 0 2.5rem; color: rgba(244, 248, 255, .82); font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-badge {
  position: absolute; right: clamp(1rem, 7vw, 7rem); bottom: clamp(2rem, 9vh, 6rem);
  width: 170px; height: 170px;
  display: grid; place-items: center;
}
.hero-badge svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.hero-badge text { font: 500 15px var(--sans); letter-spacing: .32em; text-transform: uppercase; fill: var(--cream); }
.hero-badge span { width: 74px; height: 74px; border-radius: 50%; background: var(--giallo); color: var(--night); display: grid; place-items: center; font: 400 2.9rem/1 var(--script); box-sizing: border-box; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--giallo); color: var(--night); overflow: hidden; padding: 1rem 0; border-block: 4px solid var(--night); }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: scroll 40s linear infinite; align-items: center; }
.marquee span { font: 400 1.9rem var(--display); letter-spacing: .04em; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--blu); }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-edit { display: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) clamp(1rem, 6vw, 5rem); max-width: var(--wrap); margin: 0 auto; }
.section-head { max-width: 700px; margin-bottom: 3.5rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.about-media { position: relative; }
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  transform: rotate(2deg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--blu) 0%, var(--night) 100%);
  box-shadow: 0 30px 60px -30px rgba(15, 22, 56, .6);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-stamp {
  position: absolute; right: -1.2rem; bottom: 2.5rem;
  transform: rotate(-5deg);
  background: var(--giallo); border: 1px solid var(--line);
  padding: 1.1rem 1.4rem; border-radius: 14px;
  box-shadow: 0 20px 40px -20px rgba(15, 22, 56, .4);
  display: flex; align-items: center; gap: .9rem;
}
.about-stamp strong { font: 400 3rem var(--display); color: var(--night); line-height: 1; }
.about-stamp span { font-size: .9rem; line-height: 1.3; max-width: 10rem; color: var(--night); font-weight: 500; }
.about-stamp strong::before { content: "♪"; font-size: .55em; vertical-align: .55em; margin-right: .15em; color: var(--blu); }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem; }
.facts li { padding-left: 1.6rem; position: relative; font-size: .98rem; }
.facts li::before { content: "♪"; position: absolute; left: 0; color: var(--blu); }

/* Repertorio */
.repertoire { max-width: none; background: var(--cream-2); }
.repertoire-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.repertoire-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(15, 22, 56, .6); transform: rotate(-2deg); }
.repertoire-photo img { width: 100%; height: 100%; object-fit: cover; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2.2rem; }
.pills span { padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .9rem; }
.pills .pill-main { padding: .6rem 1.3rem; font-size: 1.05rem; font-weight: 500; background: var(--blu); color: #fff; border-color: var(--blu);; display: inline-flex; align-items: center; gap: .65rem; }
/* Bandiera disegnata in CSS: l'emoji 🇮🇹 su Windows appare come "IT" */
.pills .pill-main::before {
  content: ""; flex: none; width: 1.6em; height: 1.1em; border-radius: 3px;
  background: linear-gradient(90deg, #009246 33.3%, #fff 33.3% 66.6%, #ce2b37 66.6%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
}
.occasion-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.occasion-row div { padding: 1.2rem 1rem 0 0; display: flex; flex-direction: column; }
.occasion-row div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.occasion-row strong { font: 400 1.7rem var(--script); color: var(--blu); }
.occasion-row span { font-size: .9rem; color: var(--muted); }

/* Formazioni */
.formations { max-width: none; background: var(--night); color: var(--cream); }
.formations > * { max-width: var(--wrap); margin-inline: auto; }
.formations .eyebrow { color: var(--azzurro); }
.formations h2 em { color: var(--giallo); }
.formation-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.formation-grid .formation:not(.featured) { display: grid; grid-template-columns: 1fr 1.3fr; }
.formation-grid .formation:not(.featured) .formation-img { aspect-ratio: auto; min-height: 260px; }
.formation-grid .formation:not(.featured) .formation-body { padding: clamp(1.5rem, 4vw, 2.5rem); align-self: center; }
.formation {
  background: var(--night-2); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(143, 208, 255, .12);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s;
}
.formation:hover { transform: translateY(-6px); border-color: rgba(255, 210, 63, .5); }
.formation-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.formation-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.formation:hover .formation-img img { transform: scale(1.05); }
.formation-body { padding: 1.5rem 1.5rem 1.7rem; }
.formation-body p { color: rgba(244, 248, 255, .72); font-size: .97rem; margin: 0; }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--azzurro); margin-bottom: .5rem; }
.formation.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.formation.featured .formation-img { aspect-ratio: 3 / 2; min-height: 0; } /* stessa grandezza per tutte le foto */
.formation.featured .formation-body { padding: clamp(1.8rem, 4vw, 3rem); align-self: center; }
.formation.featured h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.formation.featured p { font-size: 1.1rem; margin-bottom: 1.4rem; }
.past { margin-top: 4rem; }
.past-title { font: 400 2.2rem var(--script); color: var(--azzurro); margin-bottom: 1.2rem; }
.past-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.past-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.1rem; align-items: center;
  padding: .8rem; border-radius: 14px; border: 1px dashed rgba(143, 208, 255, .25);
}
.past-item img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; opacity: .9; }
.past-item h4 { font: 400 1.4rem var(--display); letter-spacing: .02em; margin: 0 0 .2rem; }
.past-item p { margin: 0; font-size: .92rem; color: rgba(244, 248, 255, .65); }
.link-arrow { color: var(--giallo); text-decoration: none; font-weight: 500; }
.link-arrow::after { content: " →"; transition: margin .25s var(--ease); }
.link-arrow:hover::after { margin-left: .3rem; }

/* Video */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 0; padding: 0; cursor: pointer; background: var(--night); color: #fff; text-align: left;
  font: inherit;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .6s var(--ease), opacity .4s; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(8, 12, 43, .88)); }
.video:hover img { transform: scale(1.04); opacity: .9; }
.video-play {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; z-index: 1;
  width: 72px; height: 72px; border-radius: 50%; background: var(--giallo);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .25s var(--ease);
}
.video:hover .video-play { transform: scale(1.1); }
.video-play svg { width: 28px; height: 28px; fill: var(--night); margin-left: 3px; }
.video-title { position: absolute; left: 1.4rem; bottom: 1.1rem; right: 1.4rem; z-index: 1; font: 400 1.8rem var(--display); letter-spacing: .02em; line-height: 1.05; }
.video-title small { display: block; margin: .2rem 0 0; font: 400 .85rem var(--sans); opacity: .75; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.note { text-align: center; margin-top: 2rem; color: var(--muted); font-size: .9rem; }

/* Galleria */
.gallery-section { max-width: none; background: #e3f1ff; }
.gallery-section > * { max-width: var(--wrap); margin-inline: auto; }
.gallery { columns: 4 220px; column-gap: .9rem; }
.gallery button {
  display: block; width: 100%; margin: 0 0 .9rem; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 12px; overflow: hidden; background: var(--night); break-inside: avoid;
}
.gallery img { width: 100%; height: auto; transition: transform .6s var(--ease), opacity .3s; }
.gallery button:hover img { transform: scale(1.04); opacity: .9; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(5, 8, 30, .95);
  display: grid; place-items: center; padding: 4rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 85vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox button { position: absolute; background: none; border: 0; color: var(--cream); font-size: 3rem; line-height: 1; cursor: pointer; padding: .5rem 1rem; opacity: .75; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: .5rem; right: .5rem; }
.lb-prev { left: .5rem; top: 50%; translate: 0 -50%; }
.lb-next { right: .5rem; top: 50%; translate: 0 -50%; }

/* Quote */
.quote-band {
  background: radial-gradient(90% 120% at 50% 0%, #2b4dff 0%, var(--blu-dark) 55%, var(--night) 100%); color: #fff;
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 6vw, 5rem);
  text-align: center;
}
.quote-band blockquote { margin: 0 auto; max-width: 900px; }
.quote-band p { font: 400 clamp(2.4rem, 5.4vw, 4.2rem) var(--display); letter-spacing: .01em; line-height: 1.15; margin-bottom: 1.2rem; }
.quote-band em { color: var(--giallo); font-family: var(--script); letter-spacing: 0; }
.quote-band cite { font-style: normal; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }

/* Contact */
.contact { text-align: center; }
.contact-text {
  max-width: 820px; margin: 0 auto; padding: clamp(2.2rem, 6vw, 4.5rem) clamp(1.2rem, 5vw, 4rem);
  background: #fff; border: 1px solid var(--line); border-radius: 32px;
  box-shadow: 0 40px 80px -50px rgba(15, 22, 56, .5);
}
.contact h2 { font-size: clamp(3rem, 7vw, 5.4rem); }
.contact-text > p { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 600px; margin-inline: auto; color: var(--muted); }
.btn-mail { margin-top: 1.4rem; padding: 1.1rem 2.2rem; font-size: 1.1rem; }
.btn-mail svg { width: 22px; height: 22px; }
.contact-list { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 1.6rem; }
.contact-list li { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.contact-list span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list p { margin: 0; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a { font: 600 clamp(1.25rem, 3.4vw, 1.9rem) var(--sans); color: var(--blu); }
.contact-list p { font: 500 1.25rem var(--sans); }
.contact-list a:hover { color: var(--blu-dark); text-decoration: underline; text-underline-offset: .2em; }

.form {
  background: #fff; border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(15, 22, 56, .5);
}
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; min-width: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: .85rem; font-weight: 500; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--cream);
  width: 100%;
  transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blu); background: #fff; }
input.invalid { border-color: #d93a2b; }
textarea { resize: vertical; }
.form-hint { font-size: .82rem; color: var(--muted); text-align: center; margin: .9rem 0 0; }

/* Footer */
.footer { background: var(--night); color: rgba(244, 248, 255, .75); text-align: center; }
.tricolore { display: flex; height: 6px; }
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: #009246; } /* bandiera italiana */
.tricolore i:nth-child(2) { background: #fff; }
.tricolore i:nth-child(3) { background: #ce2b37; }
.footer-inner { padding: 3.5rem 1rem; }
.footer .brand-name { font-size: 2.4rem; color: var(--cream); margin-bottom: .2rem; }
.footer .small { font-size: .85rem; margin-top: 1.5rem; opacity: .7; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--giallo); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .formation.featured { grid-template-columns: 1fr; }
  .formation.featured .formation-img { min-height: 0; aspect-ratio: 16 / 10; }
  .hero-badge { display: none; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; z-index: 2; color: inherit;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin-inline: auto; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--night); color: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .menu a { font: 400 2.4rem var(--display); letter-spacing: .04em; }
  .menu.open { opacity: 1; visibility: visible; }
  .nav.menu-open { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
  .about, .repertoire-inner { grid-template-columns: 1fr; }
  .about-media, .repertoire-photo { max-width: 420px; }
  .about-stamp { right: .5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .past-grid { grid-template-columns: 1fr; }
  .formation-grid .formation:not(.featured) { grid-template-columns: 1fr; }
  .formation-grid .formation:not(.featured) .formation-img { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .nav { gap: .6rem; }
  .nav .brand { gap: .55rem; min-width: 0; }
  .nav .brand-name { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; }
  .brand-sub { font-size: .58rem; letter-spacing: .1em; }
  .brand-mark { flex: none; width: 36px; height: 36px; font-size: 1.45rem; }
  .facts, .row, .occasion-row { grid-template-columns: 1fr; }
  .past-item { grid-template-columns: 88px 1fr; }
  .past-item img { width: 88px; height: 70px; }
  .occasion-row div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-bottom: 1rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1; }
  .gallery { columns: 2; column-gap: .6rem; }
  .gallery button { margin-bottom: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
