/* ════════════════════════════════
   HERO — pannelli diagonali
   ════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh; min-height: 600px;
  display: flex; align-items: center;
  overflow: hidden;
  background: #0a0604;
}

/* Pannelli */
.panels { position: absolute; inset: 0; z-index: 0; }
.panel {
  position: absolute;
  top: -20%; bottom: -20%;
  overflow: hidden;
  transform: skewX(-8deg);
}
.panel-bg {
  position: absolute; inset: -5%;
  transform: skewX(8deg);
  background-size: cover; background-position: center;
  filter: grayscale(100%) brightness(.52);
  transition: opacity 1.4s ease;
}
.panel-line {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 2px; background: rgba(196,154,46,.28); z-index: 2;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(10,6,2,.88) 0%, rgba(10,6,2,.28) 38%, rgba(10,6,2,.1) 65%, rgba(10,6,2,.5) 100%),
    linear-gradient(to top, rgba(10,6,2,.65) 0%, transparent 42%);
}
.hero-cnt {
  position: relative; z-index: 2;
  max-width: var(--mw); margin: 0 auto; width: 100%;
  padding: 0 2rem;
}
.hero-eyebrow {
  font-size: .6rem; font-weight: 500; letter-spacing: .28em;
  text-transform: uppercase; color: var(--au2);
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp .7s ease forwards .2s;
}
.hero-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--au2); }
.hero-h1 {
  font-family: var(--ff);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300; color: var(--wh);
  line-height: 1.05; margin-bottom: 1.3rem; max-width: 640px;
  opacity: 0; animation: fadeUp .8s ease forwards .35s;
}
.hero-h1 em { font-style: italic; color: var(--au2); }
.hero-sub {
  font-size: .95rem; color: rgba(255,255,255,.58);
  max-width: 440px; line-height: 1.75; margin-bottom: 2.2rem;
  opacity: 0; animation: fadeUp .8s ease forwards .5s;
}
.hero-ctas {
  display: flex; gap: .8rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s ease forwards .65s;
}
.hero-video-counter {
  position: absolute; top: 1.5rem; right: 2rem; z-index: 3;
  font-family: var(--ff); font-size: .75rem;
  color: rgba(255,255,255,.22); letter-spacing: .12em;
  opacity: 0; animation: fadeIn 1s ease forwards 1.4s;
}
.hero-badge {
  position: absolute; right: 3rem; bottom: 4rem; z-index: 3;
  width: 100px; height: 100px; border-radius: 50%;
  border: 1px solid rgba(196,154,46,.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; animation: fadeIn 1s ease forwards 1s;
}
.hero-badge-inner {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid rgba(196,154,46,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff); font-size: .72rem;
  font-weight: 300; color: rgba(255,255,255,.3);
  text-align: center; line-height: 1.3;
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
  opacity: 0; animation: fadeIn 1s ease forwards 1.2s;
}
.hero-scroll span {
  font-size: .55rem; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.22);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.25), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:.3; transform:scaleY(1); }
  50%      { opacity:.8; transform:scaleY(1.15); }
}

/* ════════════════════════════════
   BOTTONI GLOBALI
   ════════════════════════════════ */
.btn {
  font-family: var(--fb); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border: none; border-radius: 9px; cursor: pointer;
  padding: .85rem 1.8rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: .45rem;
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--au); outline-offset: 3px; }

.btn-gold { background: var(--au); color: var(--s6); }
.btn-gold:hover { background: var(--au2); color: var(--s6); }

.btn-outline-wh {
  background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.28);
}
.btn-outline-wh:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; }

.btn-outline-dk {
  background: transparent; color: var(--s0);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-outline-dk:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ════════════════════════════════
   LAYOUT SEZIONI
   ════════════════════════════════ */
.hp-inner {
  max-width: var(--mw); margin: 0 auto;
}
.hp-section { padding: 5rem 2rem; }

.sec-label {
  font-size: .6rem; font-weight: 500; letter-spacing: .26em;
  text-transform: uppercase; color: var(--au);
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .4rem;
}
.sec-label::before { content: ''; width: 18px; height: 1px; background: var(--au); }
.sec-label-lt { color: var(--au2); }
.sec-label-lt::before { background: var(--au2); }

.sec-h2 {
  font-family: var(--ff);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300; color: var(--s6); margin-bottom: 0;
}
.sec-h2 em { font-style: italic; color: var(--s4); }

.sec-h2-lt {
  font-family: var(--ff);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300; color: var(--wh); margin-bottom: .6rem;
}
.sec-h2-lt em { font-style: italic; color: var(--au2); }

.sec-head {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem; gap: 1rem;
}
.link-more {
  font-size: .75rem; font-weight: 500; color: var(--au);
  text-decoration: none; white-space: nowrap;
  transition: color .2s;
}
.link-more:hover { color: var(--s5); }

.hp-empty { font-size: .88rem; color: var(--s3); padding: 2rem 0; }

/* ════════════════════════════════
   EVENTI
   ════════════════════════════════ */
.hp-eventi { background: var(--s0); padding: 5rem 2rem; }

.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.ev-card {
  background: var(--wh);
  border: 1px solid var(--s1);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s, border-color .28s;
}
.ev-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(46,30,10,.1); border-color: var(--s2); }

.ev-top {
  background: var(--s6); padding: 1.2rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
}
.ev-day {
  font-family: var(--ff); font-size: 3rem;
  font-weight: 300; color: var(--wh); line-height: 1;
}
.ev-month { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: .15rem; }
.ev-time-badge {
  font-size: .7rem; font-weight: 500;
  background: rgba(196,154,46,.18); color: var(--au2);
  padding: .3rem .75rem; border-radius: 6px;
}

.ev-body { padding: 1.2rem 1.4rem; flex: 1; }
.ev-cat { font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--au); margin-bottom: .35rem; }
.ev-title { font-family: var(--ff); font-size: 1.2rem; font-weight: 400; color: var(--s6); line-height: 1.3; margin-bottom: .4rem; }
.ev-title a { color: inherit; text-decoration: none; }
.ev-title a:hover { color: var(--s4); }
.ev-luogo { font-size: .75rem; color: var(--s3); }

.ev-footer { padding: .5rem 1.4rem 1.2rem; }
.ev-link { font-size: .72rem; font-weight: 500; color: var(--au); text-decoration: none; }
.ev-link:hover { color: var(--s5); }

.ev-card-more {
  background: transparent;
  border: 1.5px dashed var(--s2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem; text-align: center; gap: .6rem;
  min-height: 180px;
}
.ev-card-more:hover { background: rgba(196,154,46,.03); border-color: var(--au); }
.ev-more-text { font-family: var(--ff); font-size: 1.05rem; color: var(--s3); }

/* ════════════════════════════════
   VIENI A TROVARCI
   ════════════════════════════════ */
.hp-vieni {
  background: var(--s6);
  padding: 5rem 2rem;
}
.vieni-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

.vieni-p {
  font-size: .88rem; color: rgba(255,255,255,.52);
  line-height: 1.75; margin-bottom: 2rem;
}

.incontri-list {
  list-style: none; display: flex; flex-direction: column; gap: .55rem;
}
.inc-item {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: .9rem 1.1rem;
}
.inc-giorno {
  font-size: .6rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.32);
  width: 62px; flex-shrink: 0;
}
.inc-ora {
  font-family: var(--ff); font-size: 1.65rem;
  font-weight: 300; color: var(--wh);
  width: 70px; flex-shrink: 0; line-height: 1;
}
.inc-nome { font-size: .82rem; color: rgba(255,255,255,.65); }

.vieni-mappa {
  border-radius: 14px; overflow: hidden;
  height: 380px; border: 1px solid rgba(255,255,255,.06);
}
.vieni-mappa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ════════════════════════════════
   DIRETTE & MEDIA
   ════════════════════════════════ */
.hp-dirette {
  background: var(--s1); padding: 5rem 2rem;
}
.dirette-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.dirette-p {
  font-size: .88rem; color: var(--s4);
  line-height: 1.75; margin-bottom: 1.8rem;
}

.media-links { display: flex; flex-direction: column; gap: .7rem; }
.media-link {
  display: flex; align-items: center; gap: 1rem;
  background: var(--wh); border: 1px solid var(--s2);
  border-radius: 11px; padding: .9rem 1.1rem;
  text-decoration: none;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.media-link:hover { transform: translateX(4px); box-shadow: 0 4px 16px rgba(46,30,10,.07); border-color: var(--s3); text-decoration: none; }
.ml-ico {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--s6); color: var(--au2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ml-text strong { display: block; font-size: .85rem; color: var(--s6); font-weight: 500; margin-bottom: .1rem; }
.ml-text span { font-size: .75rem; color: var(--s4); }
.ml-arrow { margin-left: auto; font-size: .85rem; color: var(--au); flex-shrink: 0; }

.dirette-video-wrap { position: relative; }
.dirette-video-frame {
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 16/9; background: var(--s6);
  position: relative;
}
.dirette-video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.dirette-live-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(0,0,0,.65); backdrop-filter: blur(4px);
  color: rgba(255,255,255,.8); font-size: .65rem;
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 6px;
  display: flex; align-items: center; gap: .4rem;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ef4444;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ════════════════════════════════
   EDIFICA LA TUA VITA
   ════════════════════════════════ */
.hp-edifica { background: var(--s0); padding: 5rem 2rem; }

.edifica-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.ed-card { border-radius: 14px; overflow: hidden; }

.ed-card-main {
  background: var(--s6);
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative;
}
.ed-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(30%) brightness(.5);
}
.ed-card-img-placeholder {
  background: linear-gradient(160deg, #3a2510 0%, #1a0d04 100%);
}
.ed-card-body {
  position: relative; z-index: 1;
  padding: 1.8rem;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
}
.ed-badge {
  display: inline-block;
  font-size: .58rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--au2);
  background: rgba(196,154,46,.15); border-radius: 4px;
  padding: .22rem .6rem; margin-bottom: .55rem;
}
.ed-title-main {
  font-family: var(--ff); font-size: 1.55rem; font-weight: 400;
  color: var(--wh); line-height: 1.25; margin-bottom: .4rem;
}
.ed-title-main a { color: inherit; text-decoration: none; }
.ed-title-main a:hover { color: var(--au2); }
.ed-meta { font-size: .7rem; color: rgba(255,255,255,.38); }

.ed-cards-sm { display: flex; flex-direction: column; gap: 1.2rem; }

.ed-card-sm {
  background: var(--wh); border: 1px solid var(--s1);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: row;
  transition: transform .25s, box-shadow .25s;
}
.ed-card-sm:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(46,30,10,.08); }

.ed-sm-img {
  width: 120px; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.ed-sm-img-placeholder { background: linear-gradient(135deg, var(--s2), var(--s3)); }

.ed-sm-body { padding: 1.1rem; flex: 1; }
.ed-tag { font-size: .58rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--au); margin-bottom: .3rem; }
.ed-title-sm { font-family: var(--ff); font-size: 1rem; font-weight: 400; color: var(--s6); line-height: 1.3; margin-bottom: .3rem; }
.ed-title-sm a { color: inherit; text-decoration: none; }
.ed-title-sm a:hover { color: var(--s4); }
.ed-excerpt { font-size: .75rem; color: var(--s4); line-height: 1.55; }

/* ════════════════════════════════
   DONA
   ════════════════════════════════ */
.hp-dona {
  background: var(--au);
  padding: 4.5rem 2rem;
}
.dona-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
}
.dona-p {
  font-size: .88rem; color: rgba(46,30,10,.7);
  line-height: 1.7; max-width: 460px; margin-top: .5rem;
}
.dona-btns { display: flex; flex-direction: column; gap: .6rem; flex-shrink: 0; }

/* ════════════════════════════════
   ANIMAZIONI
   ════════════════════════════════ */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 860px) {
  .ev-grid { grid-template-columns: 1fr 1fr; }
  .vieni-inner,
  .dirette-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .vieni-mappa { height: 280px; }
  .edifica-grid { grid-template-columns: 1fr; }
  .ed-card-main { min-height: 280px; }
  .hero-badge { display: none; }
  .dona-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 580px) {
  .ev-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-sub { font-size: .88rem; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hp-section, .hp-eventi, .hp-vieni,
  .hp-dirette, .hp-edifica, .hp-dona { padding: 3.5rem 1.2rem; }
  .ed-card-sm { flex-direction: column; }
  .ed-sm-img { width: 100%; height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
