/* ═══════════════════════════════════════════
   ELENTARI — Symphonic Metal · Lyon
   Palette: cathedral slate / parchment / lapis · amethyst · garnet · gold
   Direction: néoclassique, vitrail (stained glass)
   ═══════════════════════════════════════════ */

@font-face {
  font-family: 'Allejo';
  src: url('resources/fonts/allejo.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MARYJ';
  src: url('resources/fonts/MARYJ.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:         #16131c;   /* deep cathedral slate */
  --surface:    #221d2c;   /* glass panel */
  --surface-hi: #2b2536;
  --text:       #ece3d2;   /* warm parchment */
  --text-dim:   #a99e8b;   /* muted stone */
  --blue:       #3b6bc4;   /* lapis glass */
  --purple:     #7e4aa6;   /* amethyst glass */
  --ruby:       #a83249;   /* garnet glass */
  --gold:       #c9a24b;   /* leaded gold */
  --gold-soft:  #ddbd78;
  --lead:       rgba(0, 0, 0, .55);          /* dark leading line */
  --blue-glow:  rgba(59, 107, 196, .14);
  --purple-glow:rgba(126, 74, 166, .12);
  --gold-glow:  rgba(201, 162, 75, .16);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Allejo', Georgia, 'Times New Roman', serif;
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'MARYJ', serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .02em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(18, 15, 24, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 162, 75, .18);
  transition: background .4s, border-color .4s;
}

.site-header.scrolled {
  background: rgba(18, 15, 24, .95);
  border-bottom-color: rgba(201, 162, 75, .32);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .9rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'MARYJ', serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .22em;
  color: var(--text);
  transition: color .3s;
}

.logo:hover { color: var(--gold-soft); }

.logo-accent { color: var(--gold); }

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-family: 'MARYJ', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--text-dim);
  transition: color .25s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}

.main-nav a:hover {
  color: var(--gold-soft);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language switch */
.lang-switch {
  font-family: 'MARYJ', serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold-soft);
  background: none;
  border: 1px solid rgba(201, 162, 75, .35);
  border-radius: 3px;
  padding: .35rem .7rem;
  cursor: pointer;
  transition: color .25s, border-color .25s, background-color .25s;
}

.lang-switch:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 162, 75, .08);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform .3s, opacity .3s;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-logo-img {
  width: clamp(220px, 40vw, 400px);
  height: auto;
  margin: 0 auto;
}

.hero-img {
  width: 100%;
  height: 100%;
  opacity: .5;
  object-fit: cover;
  object-position: center 20%;
}

/* Vignette + soft light cast through coloured glass */
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 32% 28%, rgba(59,107,196,.16) 0%, transparent 0%),
    radial-gradient(ellipse 55% 45% at 70% 32%, rgba(126,74,166,.16) 0%, transparent 0%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(168,50,73,.12) 0%, transparent 0%),
    radial-gradient(ellipse at center, transparent 28%, rgba(22,19,28,.65) 70%, rgba(22,19,28,.97) 100%),
    linear-gradient(to bottom, rgba(18,15,24,.45) 0%, transparent 30%, transparent 58%, rgba(22,19,28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-tagline {
  font-family: 'Allejo', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--gold-soft);
  letter-spacing: .04em;
  margin-bottom: 2.2rem;
}

.hero-socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.social-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  border: 1px solid rgba(201, 162, 75, .3);
  border-radius: 50%;
  transition: color .3s, border-color .3s, background .3s, transform .3s;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 162, 75, .08);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  font-size: 1.3rem;
  opacity: .55;
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════
   SECTION DIVIDER (rosace SVG)
   ═══════════════════════════════════════════ */
.section-divider {
  display: block;
  width: 100%;
  max-width: 700px;
  height: 44px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-title {
  font-family: 'MARYJ', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: .1em;
  margin-bottom: 3rem;
  position: relative;
  color: var(--text);
}

.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 1px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── Cards grid base ── */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

/* Shared leaded-glass panel look */
.concert-card,
.video-card,
.news-card,
.contact-card {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255,255,255,.02), transparent 55%),
    var(--surface);
  border: 1px solid var(--lead);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .12);
}

/* ═══════════════════════════════════════════
   CONCERT CARDS
   ═══════════════════════════════════════════ */
.concert-card {
  flex: 1 1 calc(33.333% - 1rem);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  border-radius: 4px;
  padding: 1.6rem;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.concert-card:hover {
  border-color: rgba(201, 162, 75, .4);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .2), 0 6px 28px rgba(0,0,0,.35);
  transform: translateY(-2px);
}

.concert-card--tba {
  opacity: .55;
}

.concert-date {
  flex-shrink: 0;
  text-align: center;
  min-width: 64px;
  padding-right: 1.2rem;
  border-right: 1px solid rgba(201, 162, 75, .22);
}

.concert-day {
  display: block;
  font-family: 'MARYJ', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.concert-month {
  display: block;
  font-family: 'MARYJ', serif;
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  margin-top: .4rem;
}

.concert-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--text);
}

.concert-venue {
  font-size: 1.02rem;
  color: var(--text-dim);
  margin-bottom: .15rem;
}

.concert-time {
  font-size: .98rem;
  font-style: italic;
  color: var(--gold-soft);
}

.concert-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: 'MARYJ', serif;
  font-size: .6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .3em .8em;
  border-radius: 2px;
  background: rgba(168, 50, 73, .16);
  color: #d97a89;
  border: 1px solid rgba(168, 50, 73, .4);
}

/* ═══════════════════════════════════════════
   ABOUT (QUI SOMMES-NOUS)
   ═══════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-photo {
  position: relative;
  overflow: visible;
}

.about-photo img:not(.photo-ornament) {
  border-radius: 2px;
  border: 1px solid rgba(201, 162, 75, .25);
  border: none;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(201, 162, 75, .15);
  width: 100%;
}

.photo-ornament {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
}

.photo-ornament--tl { top: -10px; left: -10px; }
.photo-ornament--br { bottom: -10px; right: -10px; }

.about-intro {
  font-size: 1.32rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

.about-text p {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.about-members {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.6rem;
}

.about-members > span {
  font-family: 'MARYJ', serif;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .45em .9em;
  border-radius: 2px;
  border: 1px solid rgba(201, 162, 75, .28);
  color: var(--gold-soft);
  background: rgba(201, 162, 75, .05);
}

.member-tag {
  display: inline-flex;
  align-items: center;
  gap: .5em;
}

.member-social {
  display: inline-flex;
  color: var(--gold-soft);
  transition: color .25s;
}

.member-social svg {
  width: 14px;
  height: 14px;
}

.member-social:hover {
  color: var(--gold);
}

/* ═══════════════════════════════════════════
   VIDEO CARDS
   ═══════════════════════════════════════════ */
.cards-grid--videos { gap: 1.5rem; }

.video-card {
  flex: 1 1 calc(33.333% - 1rem);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  cursor: pointer;
}

.video-card:hover {
  border-color: rgba(201, 162, 75, .4);
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .2), 0 8px 30px rgba(0,0,0,.4);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.video-card:hover .video-thumb img { transform: scale(1.04); }

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(22, 19, 28, .4);
  opacity: 0;
  transition: opacity .3s;
}

.video-card:hover .video-play { opacity: 1; }

.video-play svg {
  width: 46px;
  height: 46px;
  color: var(--gold-soft);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}

.video-info { padding: 1.1rem 1.3rem; }

.video-info h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: .2rem;
}

.video-info p {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════
   NEWS CARDS
   ═══════════════════════════════════════════ */
.cards-grid--news { gap: 1.5rem; }

.news-card {
  flex: 1 1 calc(33.333% - 1rem);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.news-card:hover {
  border-color: rgba(201, 162, 75, .4);
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .2), 0 8px 30px rgba(0,0,0,.4);
}

.news-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.news-card:hover .news-img img { transform: scale(1.04); }

.news-body { padding: 1.2rem 1.3rem; }

.news-tag {
  font-family: 'MARYJ', serif;
  font-size: .6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--purple);
  background: rgba(126, 74, 166, .14);
  border: 1px solid rgba(126, 74, 166, .3);
  padding: .25em .7em;
  border-radius: 2px;
}

.news-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: .8rem 0 .35rem;
}

.news-body p {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: .8rem;
}

.news-date {
  font-size: .92rem;
  font-style: italic;
  color: var(--text-dim);
  opacity: .75;
}

/* ═══════════════════════════════════════════
   CONTACT CARDS
   ═══════════════════════════════════════════ */
.cards-grid--contact { gap: 1.2rem; }

.contact-card {
  flex: 1 1 220px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .6rem;
  padding: 2.1rem 1.5rem;
  border-radius: 4px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.contact-card:hover {
  border-color: rgba(201, 162, 75, .45);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .25), 0 6px 24px rgba(0,0,0,.35);
  transform: translateY(-3px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.contact-icon svg {
  width: 28px;
  height: 28px;
}

.contact-label {
  font-family: 'MARYJ', serif;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text);
}

.contact-handle {
  font-size: 1rem;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(201, 162, 75, .15);
}

.footer-ornament {
  display: block;
  width: 140px;
  height: 32px;
  margin: 0 auto 1rem;
}

.site-footer p {
  font-family: 'MARYJ', serif;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: .65;
}

/* ═══════════════════════════════════════════
   SOCIALS PAGE (link-in-bio)
   ═══════════════════════════════════════════ */
.socials-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.socials-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 28% 22%, var(--blue-glow) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 76% 30%, var(--purple-glow) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 50% 92%, var(--gold-glow) 0%, transparent 60%);
  pointer-events: none;
}

.socials {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: center;
}

.socials-inner {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.socials-logo-link {
  display: inline-block;
}

.socials-logo {
  width: clamp(140px, 45vw, 200px);
  margin: 0 auto 1rem;
  transition: opacity .3s;
}

.socials-logo-link:hover .socials-logo {
  opacity: .85;
}

.socials-tagline {
  font-family: 'Allejo', serif;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold-soft);
  letter-spacing: .04em;
  margin-bottom: 2.5rem;
}

.socials-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.socials-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-radius: 4px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.02), transparent 55%),
    var(--surface);
  border: 1px solid var(--lead);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .12);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.socials-link:hover {
  border-color: rgba(201, 162, 75, .4);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .25), 0 6px 24px rgba(0,0,0,.35);
  transform: translateY(-2px);
}

.socials-link-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--gold);
}

.socials-link-icon svg {
  width: 24px;
  height: 24px;
}

.socials-link-label {
  font-family: 'MARYJ', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 860px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(18, 15, 24, .97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 162, 75, .2);
    padding: .5rem 0;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: .9rem clamp(1.25rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(201, 162, 75, .08);
  }

  .main-nav a::after { display: none; }

  .nav-toggle { display: flex; }

  .cards-grid { flex-direction: column; align-items: center; }
  .concert-card, .video-card, .news-card, .contact-card {
    max-width: 100%;
  }
}

@media (min-width: 1921px) {
  .hero {
    height: 75vh;
  }
}

@media (max-width: 480px) {
  .hero-logo { letter-spacing: .12em; }
  .concert-card { flex-direction: column; text-align: center; }
  .concert-date {
    min-width: auto;
    padding-right: 0;
    padding-bottom: 1rem;
    border-right: none;
    border-bottom: 1px solid rgba(201, 162, 75, .22);
  }
}

/* ═══════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-hint { animation: none; }
}
