/* ============================================================
   COMPOSANTS — Styles spécifiques à chaque bloc UI
   ============================================================ */

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 14px var(--section-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(4, 9, 15, 0.82) 0%, rgba(4, 9, 15, 0) 100%);
  transition: background var(--transition-slow), padding var(--transition-slow);
}

.nav.scrolled {
  background: var(--alpha-dark-96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--alpha-white-06);
  padding: 10px var(--section-padding-x);
}

.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: flex;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-btn {
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  padding: 7px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  background: transparent;
}

.lang-btn.active,
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--color-white);
}

.lang-div {
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
  margin: 5px 0;
}

.nav-cta {
  background: var(--color-gold);
  color: var(--color-blue-dk);
  font-weight: var(--fw-bold);
  font-size: 13px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--color-gold-lt);
  transform: translateY(-1px);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
}

.hero-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--alpha-dark-45) 0%,
    var(--alpha-dark-25) 25%,
    var(--alpha-dark-65) 60%,
    var(--color-dark) 100%
  );
}

.hero-tx {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(
    to bottom,
    transparent 20%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.3) 80%,
    transparent
  );
}

.hero-logo-h1 {
  margin: 0 0 1.2rem;
  line-height: 0;
}

.hero-logo {
  height: clamp(130px, 32vw, 220px);
  width: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5));
}

.hero-lang {
  display: inline-flex;
  border: 1.5px solid var(--alpha-white-22);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.6rem;
}

.hero-lang a {
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--alpha-white-50);
  text-decoration: none;
  padding: 7px 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.hero-lang a.active,
.hero-lang a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.hero-lang-div {
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  backdrop-filter: blur(6px);
}

.pill--dark {
  background: var(--alpha-white-08);
  border: 1px solid var(--alpha-white-12);
  color: var(--alpha-white-82);
}

.pill--gold {
  background: var(--alpha-gold-15);
  border: 1px solid var(--alpha-gold-40);
  color: var(--color-gold-lt);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

/* ── HIGHLIGHTS BAR ──────────────────────────────────────── */
.hl-bar {
  position: relative;
  z-index: var(--z-base);
  background: var(--alpha-white-07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--alpha-white-08);
  padding: 1.4rem var(--section-padding-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hl-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-right: 1px solid var(--alpha-white-08);
}

.hl-item:last-child {
  border-right: none;
}

.hl-ico {
  font-size: 1.5rem;
}

.hl-text h4 {
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  color: var(--color-white);
}

.hl-text p {
  font-size: var(--text-sm);
  color: var(--alpha-white-45);
}

/* ── PHOTO MOSAIC ─────────────────────────────────────────── */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 0.5rem;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-top: 1rem;
}

.photo-mosaic img,
.photo-mosaic video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-image);
}

.photo-mosaic img:hover,
.photo-mosaic video:hover {
  transform: scale(1.05);
}

/* ── PROG CTA CARD ────────────────────────────────────────── */
.prog-cta {
  background: var(--color-blue);
  border-radius: var(--radius-2xl);
  padding: 1.8rem;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.prog-cta::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -70px;
  right: -50px;
}

.prog-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.prog-cta h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.prog-cta p {
  font-size: var(--text-base);
  color: var(--alpha-white-62);
  line-height: var(--lh-base);
}

.prog-cta .arr {
  font-size: 1.3rem;
  color: var(--color-gold-lt);
  margin-top: 0.8rem;
  display: block;
}

/* ── PROGRAMME IMAGE ─────────────────────────────────────── */
.prog-general-img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--alpha-white-08);
  overflow: hidden;
}

.prog-general-img img {
  width: 100%;
  height: auto;
  display: block;
}

.prog-general-img-text {
  padding: 0.9rem 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

/* ── EVENT CARD ──────────────────────────────────────────── */
.ev-card {
  background: var(--alpha-dark-25);
  border: 1px solid var(--alpha-dark-45);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.ev-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-red);
}

.ev-card:hover {
  border-color: var(--alpha-white-18);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.ev-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ev-date {
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  color: var(--color-gold-lt);
  background: var(--alpha-gold-12);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.ev-time {
  font-size: 0.78rem;
  color: var(--alpha-white-45);
}

.ev-icon {
  font-size: 1.6rem;
}

.ev-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: var(--lh-snug);
}

.ev-desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.48);
  line-height: var(--lh-base);
  flex: 1;
}

.ev-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--color-gold);
  color: var(--color-blue-dk);
  font-weight: var(--fw-bold);
  font-size: var(--text-base);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-top: auto;
}

.ev-cta:hover {
  background: var(--color-gold-lt);
  transform: translateY(-1px);
}

.ev-no-cta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
  margin-top: auto;
}

/* ── INVOLVEMENT CARDS ───────────────────────────────────── */
.inv-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--alpha-white-10);
  border-radius: var(--radius-2xl);
  padding: 1.8rem 1.6rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.inv-card:hover {
  background: var(--alpha-white-10);
  transform: translateY(-3px);
}

.inv-ico {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.inv-card h3 {
  font-weight: var(--fw-bold);
  font-size: var(--text-xl);
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.inv-card p {
  font-size: var(--text-base);
  color: var(--alpha-white-50);
  line-height: var(--lh-base);
  margin-bottom: 1rem;
  flex: 1;
}

.inv-card .btn-inv {
  align-self: center;
}

/* ── RELAIS SECTION ──────────────────────────────────────── */
.relais-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.relais-left img {
  width: 180px;
  height: auto;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.relais-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--color-dark-footer);
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
