/* ============================================================
   PAGE D'ACCUEIL — Styles Spécifiques (`home.css`)
   
   SECTIONS :
  - HERO : Canvas animé, surtitre, boutons d'action et indicateur de défilement (scroll hint).
   - ABOUT TEASER : Grille récapitulative de présentation du groupe et puces des 5 membres.
   - CONCERTS PREVIEW : Liste des prochaines dates clés.
  - GALERIE PHOTO ACCUEIL : Styles de grille photo avec effet d'overlay au survol.
   - BANNIÈRE CONTACT CTA : Appel à l'action avec filigrane géant 'LES DEDIZ' en fond.
   ============================================================ */

/* ========== SECTION HERO ========== */
#hero {
  position: relative;
  height: min(78vh, 760px);
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 769px) and (min-height: 700px) {
  #hero {
    height: calc(100vh + 2rem);
    height: calc(100dvh + 2rem);
  }
  .hero-content { bottom: 3rem; }
}

@media (max-width: 768px) {
  #hero {
    min-height: 100vh;
    height: 100vh;
    min-height: 100dvh;
    height: 100dvh;
  }

  #hero .hero-content {
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
    z-index: 2;
  }

  .hero-eyebrow {
    gap: 0.7rem;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
    font-size: 0.68rem;
  }

  .eyebrow-line {
    width: 26px;
  }

  #hero .hero-sub {
    display: none;
    margin-bottom: 0.05rem;
    letter-spacing: 2px;
    font-size: 0.72rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
  }

  #hero .hero-member-buttons {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 0.05rem;
  }

  #hero .hero-member-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.45rem 0.1rem;
    font-size: clamp(0.62rem, 2.4vw, 0.75rem);
    letter-spacing: clamp(0.1px, 0.35vw, 1.5px);
    white-space: nowrap;
  }

  .hero-member-button span { position: relative; z-index: 1; }

  .hero-member-button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
  }

  @media (max-width: 380px) {
    #hero .hero-member-button {
      font-size: 0.62rem;
      letter-spacing: 0;
    }
  }

  .hero-scroll-hint {
    margin-top: 0.1rem;
    gap: 0.35rem;
  }

  .about-teaser {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .at-text {
    background: linear-gradient(180deg, rgba(17,17,17,0.78), rgba(10,10,10,0.9));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 30px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.04);
    padding: 1.2rem 1rem 1.4rem;
  }

  .at-desc {
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
  }

  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .member-chip {
    background: linear-gradient(180deg, rgba(14,14,14,0.75), rgba(8,8,8,0.9));
    border-color: rgba(255,255,255,0.08);
    padding: 0.8rem 0.5rem;
  }

  .concert-row {
    gap: 1rem;
    padding: 0.9rem 0.9rem;
    background: rgba(13,13,13,0.45);
    border: 1px solid rgba(255,255,255,0.06);
  }

  .contact-cta-band {
    padding: 0 0.75rem;
  }

  .cta-inner {
    background: linear-gradient(180deg, rgba(14,14,14,0.82), rgba(8,8,8,0.92));
    border: 1px solid rgba(0,229,255,0.08);
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
    padding: 1.5rem 1rem;
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-in-up 1s ease 0.3s forwards;
}
.hero-brand {
  display: block;
  font-family: var(--font-title);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  text-shadow: 0 0 20px var(--cyan-dim);
  margin-bottom: 0.35rem;
}
.eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.hero-member-buttons { display: none; }

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  animation: scroll-hint 1.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  45% { transform: translateY(10px); opacity: 1; }
  70% { transform: translateY(4px); opacity: 0.85; }
}
.scroll-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0,229,255,0.45);
}
.scroll-line {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(0,229,255,0.95) 35%, var(--cyan));
  box-shadow: 0 0 10px rgba(0,229,255,0.55);
}
.scroll-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan), 0 0 28px rgba(0,229,255,0.35);
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(0,229,255,0.35);
  border-radius: 50%;
  animation: pulse-ring 1.4s ease-in-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.85); opacity: 0.2; }
  50% { transform: scale(1.1); opacity: 0.75; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== ABOUT TEASER ========== */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.at-text {
  background: var(--gray-mid);
  border: 1px solid var(--gray-border);
  padding: 2rem;
}
.at-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.at-desc strong { color: var(--cyan); font-weight: 600; }
.mt-2 { margin-top: 0.5rem; }

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.member-chip {
  background: var(--gray-mid);
  border: 1px solid var(--gray-border);
  padding: 1.2rem 0.8rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.member-chip::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.member-chip:hover { border-color: var(--cyan-dim); box-shadow: 0 0 20px var(--cyan-glow); }
.member-chip:hover::before { transform: scaleX(1); }
.member-icon {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan);
  margin-bottom: 0.45rem;
}
.member-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.member-role {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--cyan);
  margin-top: 0.2rem;
}

/* ========== CONCERTS PREVIEW ========== */
.concerts-preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.concert-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 1.5rem;
}
.concert-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.cd-day {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--cyan);
  line-height: 1;
}
.cd-month {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.cd-year {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
}
.concert-info { flex: 1; }
.concert-venue {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.concert-city {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.tag {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--cyan-dim);
  color: var(--cyan);
  padding: 0.15rem 0.5rem;
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.75rem; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }

/* ========== CONTACT CTA ========== */
.contact-cta-band {
  background: linear-gradient(135deg, #000 0%, #001820 50%, #000 100%);
  border-top: 1px solid var(--cyan-dim);
  border-bottom: 1px solid var(--cyan-dim);
  padding: 5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-cta-band::before {
  content: 'LES DEDIZ';
  position: absolute;
  font-family: var(--font-title);
  font-size: 20vw;
  color: rgba(0,229,255,0.02);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  white-space: nowrap;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-shadow: 0 0 30px var(--cyan-dim);
  margin-bottom: 0.8rem;
}
.cta-sub {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .about-teaser { grid-template-columns: 1fr; gap: 2.5rem; }
  .at-text { padding: 1.6rem; }
  .members-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .at-text { padding: 1.2rem; }
  .concert-row { gap: 1rem; flex-wrap: wrap; }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .about-teaser { gap: 1.5rem; }
  .about-teaser > * { min-width: 0; }
  .members-grid { min-width: 0; }
  .concert-row { padding: 1rem; }
}

@media (max-width: 768px) {
  .hero-content {
    bottom: 2rem;
    padding: 0 1rem;
  }
}
