/* Scuderia Borghesiana — direction « travertino e rosso pompeiano »
   Bodoni Moda (typographie italienne, Parme) + Hanken Grotesk + IBM Plex Mono. */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #eee7db;
  --surface: #f8f4ec;
  --surface-2: #e3d9c8;
  --ink: #1b1714;
  --muted: #6b625a;
  --line: #d5c9b5;
  --accent: #9b2c1f;
  --accent-hover: #7f2217;
  --accent-soft: #f2ddd4;
  --ochre: #c8963e;
  --olive: #56623a;
  --night: #1d1915;
  --night-2: #2a241f;
  --on-night: #efe7da;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 6px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--surface); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
section { scroll-margin-top: 72px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.label { display: flex; gap: 14px; align-items: baseline; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }
.label b { color: var(--accent); font-weight: 500; }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); transform: translateY(-3px); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -.015em; line-height: 1; }
h2 { font-size: clamp(40px, 6.4vw, 92px); }
h2 em, h1 em { font-style: italic; }

/* Photos : un même étalonnage chaud et un grain léger unifient des photos d'origines différentes. */
.photo { position: relative; overflow: hidden; background: var(--surface-2); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.06) sepia(.1); }
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); color: inherit; text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-accent { background: var(--accent); color: var(--surface); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
a:hover .arrow { transform: translateX(4px); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid transparent; transition: border-color .3s; }
/* Le flou est porté par un pseudo-élément : sur .nav, backdrop-filter deviendrait le repère
   du menu mobile en position fixe et l'enfermerait dans les 68 px de la barre. */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav.open::before { background: var(--bg); }
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-name { font: 500 21px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.brand-name em { color: var(--accent); }
.brand-est { font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { font-size: 15px; text-decoration: none; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; }

@media (max-width: 920px) {
  .brand-est { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px;
    border-radius: 999px; border: 1px solid var(--ink); background: transparent;
    font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); cursor: pointer;
  }
  .nav-links {
    position: fixed; inset: 68px 0 0; z-index: 59;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 12px var(--gutter) 32px; background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    overflow-y: auto;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { font: 400 clamp(34px, 9vw, 48px)/1.1 var(--display); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 28px; min-height: 56px; font-size: 16px; }
}

/* Hero compact : la section Eventi doit apparaître dès l'arrivée sur la page. */
.hero { padding: clamp(20px, 3.5vw, 44px) 0 clamp(28px, 4vw, 52px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.hero-text { display: flex; flex-direction: column; justify-content: center; }
.hero-kicker { color: var(--muted); margin: 0 0 18px; }
.hero-intro { font-size: clamp(17px, 1.5vw, 20px); max-width: 30em; margin: 20px 0 0; color: var(--muted); }
.hero-intro strong { color: var(--ink); font-weight: 600; }
.affiliation {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  margin-top: 22px; padding: 8px 16px 8px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); text-decoration: none;
}
.affiliation-logos { display: flex; align-items: center; gap: 8px; flex: none; padding-left: 4px; }
.affiliation-logos img { height: 44px; width: auto; object-fit: contain; }
.affiliation-logos img.round { width: 44px; border-radius: 50%; }
.affiliation strong { display: block; font: 600 14px/1.2 var(--sans); letter-spacing: .01em; }
.affiliation-text span { display: block; font: 500 10px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-media { position: relative; border-radius: var(--radius); min-height: 100%; height: clamp(300px, 46vh, 500px); }
.hero-media img { transform-origin: 50% 40%; }
.next-event {
  position: absolute; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 2;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 24px);
  padding: 10px 18px 10px 10px; border-radius: 999px;
  background: var(--surface); color: var(--ink); text-decoration: none;
  box-shadow: 0 18px 40px -18px rgba(27, 23, 20, .5);
  transition: transform .3s var(--ease);
}
.next-event[hidden] { display: none; }
.next-event:hover { transform: translateY(-2px); }
.next-event-date { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--surface); font: 500 20px/1 var(--display); }
.next-event-date small { display: block; font: 500 9px/1 var(--mono); letter-spacing: .08em; margin-top: -10px; }
.next-event-text { min-width: 0; }
.next-event-text .mono { color: var(--accent); font-size: 10px; }
.next-event-text strong { display: block; font: 500 17px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-title { position: relative; z-index: 2; font-size: clamp(50px, 6.2vw, 104px); line-height: .86; letter-spacing: -.035em; margin: 0; }
.hero-title span { display: block; }
.hero-title em { color: var(--accent); }
@media (max-width: 820px) {
  .hero { padding: 8px 0 22px; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-media { order: -1; height: 168px; }
  .hero-kicker, .hero-actions { display: none; }
  .hero-title { font-size: clamp(42px, 12vw, 64px); }
  .hero-title em { padding-left: 0; }
  .hero-intro { font-size: 16px; margin-top: 12px; }
  .affiliation { margin-top: 14px; }
  .next-event { padding: 6px 14px 6px 6px; gap: 10px; }
  .next-event-date { width: 42px; height: 42px; font-size: 17px; }
  .next-event-text strong { font-size: 15px; }
}
@supports (animation-timeline: scroll()) {
  .hero-media img { animation: hero-zoom linear both; animation-timeline: scroll(); animation-range: 0 90vh; }
  @keyframes hero-zoom { to { transform: scale(1.12); } }
}

/* Bandeau défilant */
.marquee { background: var(--accent); color: var(--surface); overflow: hidden; margin-top: clamp(28px, 4vw, 48px); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font: italic 400 clamp(22px, 2.8vw, 36px)/1 var(--display); padding: 18px 0; white-space: nowrap; display: flex; align-items: center; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .5em; margin: 0 clamp(18px, 2.4vw, 32px); color: var(--ochre); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Micro-présentation */
.intro { padding: clamp(72px, 11vw, 150px) 0 clamp(56px, 8vw, 110px); }
.statement { font: 400 clamp(30px, 4.3vw, 64px)/1.12 var(--display); letter-spacing: -.02em; margin: 0; max-width: 21em; }
.statement em { color: var(--accent); }
.inline-img {
  display: inline-block; width: 2.1em; height: .9em; border-radius: 999px;
  vertical-align: -.08em; margin: 0 .08em; overflow: hidden;
}
.inline-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) sepia(.1); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 7vw, 88px) 0 0; border-top: 1px solid var(--ink); }
.fact { padding: 20px 20px 0 0; border-right: 1px solid var(--line); margin: 0; }
.fact + .fact { padding-left: 20px; }
.fact:last-child { border-right: 0; }
.fact dt { font: 400 clamp(44px, 5.4vw, 80px)/1 var(--display); letter-spacing: -.03em; }
.fact dd { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 20px; }
}

/* Eventi */
.eventi { background: var(--night); color: var(--on-night); padding: clamp(48px, 7vw, 100px) 0 clamp(64px, 9vw, 120px); margin: 0 clamp(8px, 1.6vw, 20px); border-radius: clamp(18px, 2.4vw, 28px); }
.eventi .label { color: rgba(239, 231, 218, .55); }
.eventi .label b { color: var(--ochre); }
.eventi .label::after { background: rgba(239, 231, 218, .16); }
.eventi-head { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(36px, 5vw, 64px); }
.eventi-head h2 em { color: var(--ochre); }
.eventi-head p { max-width: 26em; margin: 0; color: rgba(239, 231, 218, .7); }
.tickets { display: grid; gap: 18px; }

/* Billet : talon daté, perforation, encoches découpées par un masque */
.ticket {
  --stub: 132px;
  display: grid; grid-template-columns: var(--stub) 1fr; grid-template-areas: "stub body" "stub media";
  background: var(--surface); color: var(--ink); border-radius: 14px;
  -webkit-mask: radial-gradient(circle at var(--stub) 0, #0000 13px, #000 13.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at var(--stub) 100%, #0000 13px, #000 13.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at var(--stub) 0, #0000 13px, #000 13.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at var(--stub) 100%, #0000 13px, #000 13.5px) bottom / 100% 51% no-repeat;
}
.ticket.has-media { grid-template-columns: var(--stub) minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "stub body media"; }
.ticket-stub {
  grid-area: stub; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 24px 10px; border-right: 2px dashed var(--line);
}
.ticket-stub .day { font: 400 64px/.9 var(--display); letter-spacing: -.04em; }
.ticket-stub .month { color: var(--accent); margin-top: 8px; }
.ticket-stub .weekday { color: var(--muted); font-size: 10px; margin-top: 4px; }
.ticket-body { grid-area: body; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.ticket-body h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.02; }
.ticket-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.ticket-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: var(--bg); font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.ticket-meta svg { width: 13px; height: 13px; color: var(--accent); }
.ticket-desc { margin: 0; color: var(--muted); white-space: pre-line; font-size: 16px; }
.ticket-media { grid-area: media; padding: 14px 14px 14px 0; min-height: 260px; display: grid; }
.ticket-photos { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 10px; scrollbar-width: none; }
.ticket-photos::-webkit-scrollbar { display: none; }
.ticket-photos button { padding: 0; border: 0; cursor: zoom-in; scroll-snap-align: start; height: 100%; min-height: 240px; }
.ticket-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(27, 23, 20, .7); color: #fff; font: 500 11px/1 var(--mono); pointer-events: none; }
.ticket-media .photo { border-radius: 10px; }
@media (max-width: 860px) {
  .ticket, .ticket.has-media { --stub: 92px; grid-template-columns: var(--stub) 1fr; grid-template-areas: "stub body" "media media"; }
  .ticket-stub .day { font-size: 44px; }
  .ticket-media { padding: 0 12px 12px; min-height: 0; }
  .ticket-photos button { aspect-ratio: 4 / 3; min-height: 0; }
}
.eventi-empty { padding: 56px 28px; border: 1px dashed rgba(239, 231, 218, .25); border-radius: 14px; text-align: center; color: rgba(239, 231, 218, .75); }
.eventi-empty h3 { font-size: 34px; color: var(--on-night); margin-bottom: 10px; }
.past { margin-top: 40px; border-top: 1px solid rgba(239, 231, 218, .16); }
.past summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; color: rgba(239, 231, 218, .7); }
.past summary::-webkit-details-marker { display: none; }
.past summary::after { content: "+"; font: 300 28px/1 var(--sans); transition: transform .3s; }
.past[open] summary::after { transform: rotate(45deg); }
.past .ticket { opacity: .78; }

/* Attività : index éditorial */
.attivita { padding: clamp(80px, 11vw, 150px) 0; }
.attivita-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.attivita-head p { margin: 0; color: var(--muted); max-width: 30em; }
.index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.index li {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 8px 28px; align-items: baseline;
  padding: clamp(20px, 2.6vw, 30px) 0; border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease), color .3s;
}
.index .num { color: var(--accent); }
.index h3 { font-size: clamp(30px, 3.6vw, 52px); transition: transform .4s var(--ease); }
.index h3 em { color: var(--accent); }
.index p { margin: 0; color: var(--muted); font-size: 16px; }
.index .tag { justify-self: end; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; font-size: 11px; }
@media (hover: hover) {
  .index li:hover h3 { transform: translateX(14px); font-style: italic; }
}
@media (max-width: 860px) {
  .attivita-head { grid-template-columns: 1fr; }
  .index li { grid-template-columns: 40px 1fr; }
  .index p, .index .tag { grid-column: 2; justify-self: start; }
}

/* La struttura */
.struttura { padding: 0 0 clamp(80px, 11vw, 150px); }
.struttura-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.struttura-media { position: sticky; top: 92px; }
.struttura-media .photo { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.struttura-media figcaption { margin-top: 12px; color: var(--muted); }
.struttura h2 { margin-bottom: 24px; }
.struttura-lead { color: var(--muted); margin: 0 0 36px; }
.spec { margin: 0; border-top: 1px solid var(--ink); }
.spec div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 17px; }
.spec dd { margin: 0; color: var(--muted); text-align: right; }
.struttura-access { margin-top: 36px; padding: 24px; border-radius: var(--radius); background: var(--surface); display: grid; gap: 14px; }
.struttura-access p { margin: 0; display: flex; gap: 14px; align-items: flex-start; }
.struttura-access svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
@media (max-width: 860px) {
  .struttura-grid { grid-template-columns: 1fr; }
  .struttura-media { position: static; }
  .struttura-media .photo { aspect-ratio: 4 / 3; }
}

/* Citation */
.quote { background: var(--accent); color: var(--surface); padding: clamp(72px, 10vw, 140px) 0; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 16em; font: italic 400 clamp(34px, 5.4vw, 80px)/1.08 var(--display); letter-spacing: -.02em; }
.quote cite { display: block; margin-top: 28px; font-style: normal; opacity: .8; }

/* FAQ */
.faq { padding: clamp(80px, 11vw, 150px) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 92px; }
.faq-grid h2 { margin-bottom: 20px; }
.faq-grid > div > p { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font: 400 clamp(21px, 2vw, 26px)/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 300 22px/1 var(--sans); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--surface); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 40em; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid > div:first-child { position: static; }
}

/* Contatti */
.contatti { background: var(--surface); padding: clamp(80px, 11vw, 150px) 0 0; }
.contatti-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact-title { margin-bottom: 20px; }
.contact-lead { color: var(--muted); max-width: 28em; margin: 0 0 28px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.contact-rows { margin: 0; border-top: 1px solid var(--ink); }
.contact-rows div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-rows dt { color: var(--muted); padding-top: 3px; }
.contact-rows dd { margin: 0; }
.contact-rows a { text-decoration-color: var(--line); text-underline-offset: 4px; }
.contact-rows a:hover { color: var(--accent); }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 2px 0; }
.hours td:last-child { text-align: right; color: var(--muted); }
.map { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); align-self: start; }
.map iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(1) sepia(.35) contrast(.95) brightness(1.02); }
.map-pin { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 20px; background: var(--ink); color: var(--surface); }
.map-pin strong { display: block; font: 400 22px/1.1 var(--display); }
.map-pin span { font-size: 14px; opacity: .75; }
.map-pin .btn { min-height: 40px; background: var(--surface); color: var(--ink); }
@media (max-width: 860px) {
  .contatti-grid { grid-template-columns: 1fr; }
  .contact-rows div { grid-template-columns: 1fr; gap: 4px; }
  .map iframe { height: 320px; }
}

/* Footer */
.footer { background: var(--surface); padding: clamp(64px, 9vw, 120px) 0 28px; overflow: hidden; }
.footer-word { font: 400 min(14.5vw, 220px)/.8 var(--display); letter-spacing: -.045em; margin: 0 0 28px; white-space: nowrap; color: var(--ink); }
.footer-word em { color: var(--accent); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--accent); }

/* WhatsApp flottant */
.wa-float {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--surface);
  box-shadow: 0 0 0 3px var(--surface), 0 14px 34px -10px rgba(27, 23, 20, .45);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 56px 12px; background: rgba(20, 17, 14, .94); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius); }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); }

/* Apparitions */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-media img { animation: none !important; }
}

/* Page de texte (privacy) */
.prose { max-width: 720px; padding: clamp(40px, 8vw, 96px) 0; }
.prose h1 { font-size: clamp(48px, 7vw, 88px); margin: 0 0 32px; }
.prose h2 { font-size: 30px; margin: 40px 0 12px; }
.prose p { color: var(--muted); }

/* Avis Facebook */
.reviews { display: inline-flex; align-items: center; gap: 10px; margin: -8px 0 28px; font-size: 14px; color: var(--muted); text-decoration: none; }
.reviews:hover { color: var(--ink); }
.stars { color: var(--ochre); letter-spacing: 2px; }

/* WhatsApp : vert officiel, reconnaissable au premier coup d'œil */
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.wa-float { background: #25d366; color: #fff; }

/* Lien Facebook du pied de page */
.footer-social { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.footer-social svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #1877f2; color: #fff; }

/* Événements : les 3 premiers, puis un bouton pour le reste */
.eventi-more { display: none; margin-top: 18px; }
.eventi-more.open { display: grid; }
.eventi-more-btn { margin-top: 28px; color: var(--on-night); border-color: rgba(239, 231, 218, .4); }
.eventi-more-btn:hover { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.ticket.is-past { opacity: .78; }
.ticket-stub .past-tag { margin-top: 10px; padding: 4px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 9px; }
