/* ============================================================
   STYLE-MODERN.CSS — Grégoire MIANNAY — Design 2026
   À placer dans /css/style-modern.css
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --acc:   #6366F1;
  --acc2:  #8B5CF6;
  --accL:  #A5B4FC;
  --dark:  #0F172A;
  --text:  #1E293B;
  --muted: #64748B;
  --grad:  linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --grad2: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #312e81 100%);
  --serif:  'DM Serif Display', Georgia, serif;
  --serif2: 'Cormorant Garamond', Georgia, serif;
  --sans:   'DM Sans', 'Inter', system-ui, sans-serif;
  --disp:   'Bebas Neue', sans-serif;
}

/* ── GLOBAL RESET TYPOGRAPHIE ── */
body {
  font-family: var(--sans);
  color: var(--text);
  background: #fff;
}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(99,102,241,.4);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(99,102,241,.6); }

/* ── SECTION DOTS NAV ── */
#section-dots {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}
#section-dots a {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(99,102,241,.3);
  border: 2px solid rgba(99,102,241,.5);
  display: block;
  transition: all .3s;
  text-decoration: none;
}
#section-dots a.active,
#section-dots a:hover {
  background: var(--acc);
  border-color: var(--acc);
  transform: scale(1.3);
}

/* ── CURSOR GLOW ── */
#cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity .3s;
}

/* ── NAVIGATION ── */
.navbar-custom {
  background: rgba(15, 23, 42, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(99,102,241,.2);
  transition: all .4s ease;
}
.navbar-custom .nav-item .nav-link {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85) !important;
  transition: color .3s;
}
.navbar-custom .nav-item .nav-link:hover { color: var(--accL) !important; }
.navbar-custom .navbar-brand {
  font-family: var(--serif);
  font-style: italic;
  color: #fff !important;
}

/* ── HERO ── */
header.masthead {
  position: relative;
  overflow: hidden;
}
header.masthead::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad);
  opacity: .55;
  z-index: 1;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
header.masthead::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.25) 0%, rgba(139,92,246,.15) 100%);
  z-index: 1;
}
@keyframes heroGlow {
  0%   { opacity: .45; }
  100% { opacity: .65; }
}
header.masthead .intro-text { position: relative; z-index: 2; }

.hero-name-first {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  color: #fff;
  line-height: 1;
  letter-spacing: .02em;
}
.hero-name-last {
  display: block;
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 400;
  color: #fff;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.intro-lead-in {
  display: inline-block;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: .6rem 1.4rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9) !important;
  margin-bottom: 1rem;
}

#typed-text {
  display: block;
  font-family: var(--serif2);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,.88);
  min-height: 2rem;
  margin-top: .6rem;
}
/* Curseur de Typed.js (le « | » du texte animé) masqué : le seul curseur
   visible est désormais celui du bouton (.hero-cta-caret). */
.typed-cursor { display: none !important; }

/* Hero CTA — discret & moderne (ghost pill) */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 2.2rem;
  padding: .55rem 1.35rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  transition: color .3s ease, border-color .3s ease, background .3s ease, transform .3s ease;
}
.hero-cta:hover,
.hero-cta:focus {
  color: #fff;
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
  text-decoration: none;
}
.hero-cta-text { white-space: nowrap; }
.hero-cta-caret {
  display: inline-block;
  margin-left: 2px;
  font-weight: 400;
  color: var(--accL);
  animation: heroCaretBlink 1s step-end infinite;
}
@keyframes heroCaretBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Floating hero decorations */
.hero-float {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
  z-index: 1;
  animation: floatOrb 6s ease-in-out infinite;
}
.hero-float-1 {
  width: 300px; height: 300px;
  background: var(--acc);
  top: -50px; right: 10%;
  animation-delay: 0s;
}
.hero-float-2 {
  width: 200px; height: 200px;
  background: var(--acc2);
  bottom: 10%; left: 5%;
  animation-delay: 2s;
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.05); }
}

/* ── SECTION HEADINGS ── */
.section-heading,
h2.section-heading {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-size: clamp(2.2rem, 5vw, 3.2rem) !important;
  font-weight: 400 !important;
  color: var(--dark) !important;
  line-height: 1.15 !important;
  letter-spacing: -.01em !important;
}

.section-subheading {
  font-family: var(--sans);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── EN BREF ── */
#services { background: #fafbff; }
#services .section-subheading.text-muted.text-center {
  font-family: var(--serif2) !important;
  font-style: italic !important;
  font-size: clamp(1.05rem, 2vw, 1.2rem) !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--muted) !important;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

/* Competence cards */
#services .col-md-4 > .team-member,
#services .service-item,
#services .col-md-4 {
  /* handled by JS — pill/card styling below */
}
.gm-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  box-shadow: 0 4px 24px rgba(99,102,241,.08);
  border: 1.5px solid transparent;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  height: 100%;
}
.gm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(99,102,241,.2);
  border-color: var(--acc);
}
.gm-card h3,
.gm-card .service-heading {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: .92rem !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dark);
  margin: .4rem 0 1.1rem !important;
}
.gm-card ul { padding-left: 1.1rem; text-align: left; }
.gm-card li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: .35rem;
}
.gm-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(99,102,241,.3);
}

/* Carte du bloc biographique (même apparence que .gm-card, sans icône) */
.gm-card-bio {
  max-width: 900px;
  margin: 0 auto 2.6rem;
  text-align: center;
  height: auto !important; /* annule le height:100% de .gm-card (sinon déborde sur les cartes) */
}
.gm-card-bio .section-subheading {
  font-family: var(--serif2) !important;
  font-style: italic !important;
  font-weight: 300 !important;
  font-size: clamp(1.05rem, 2vw, 1.2rem) !important;
  line-height: 1.8 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--muted) !important;
  margin: 0 !important;
  max-width: none !important;
}

/* Icônes « En Bref » : remplacer le vert sauge (#6c948c) par le violet */
.text-primary { color: var(--acc) !important; }
#services .fa-stack .fa-circle.text-primary { color: var(--acc) !important; }
#services .fa-stack { transition: transform .3s ease; }
#services .col-md-4:hover .fa-stack { transform: translateY(-4px) scale(1.05); }

/* ── ENVIRONNEMENTS ── */
#environnements {
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
  padding: 80px 0;
}
#environnements h2.section-heading {
  font-family: var(--serif) !important;
  font-style: italic !important;
}
#environnements .section-subheading {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--dark) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  margin-bottom: 1.6rem !important;
}
#environnements h4,
#environnements h5 {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: .8rem !important;
  text-transform: uppercase !important;
  letter-spacing: .12em !important;
  color: var(--acc) !important;
  margin-bottom: .8rem !important;
}

/* Pill badges */
.env-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding-left: 0;
  list-style: none;
  margin: 0 0 1.2rem;
}
.env-pill {
  display: inline-flex;
  align-items: center;
  padding: .28rem .85rem;
  border-radius: 100px;
  background: rgba(99,102,241,.07);
  border: 1px solid rgba(99,102,241,.2);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  color: var(--dark);
  transition: all .25s;
  white-space: nowrap;
  cursor: default;
}
.env-pill:hover {
  background: var(--acc);
  border-color: var(--acc);
  color: #fff;
  transform: translateY(-2px);
}

/* ── RÉALISATIONS ── */
#portfolio {
  background: #f8f9ff;
  padding: 80px 0;
}
.portfolio-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--grad);
  color: #fff;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  margin-left: .6rem;
  vertical-align: middle;
  position: relative;
  top: -6px;
}

/* Portfolio item base */
.portfolio-item {
  opacity: 0;
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.portfolio-item.pf-visible { opacity: 1 !important; transform: none !important; }

/* Hover overlay */
.portfolio-link {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 12px;
}
.portfolio-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.92) 0%, rgba(139,92,246,.88) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.portfolio-link:hover .portfolio-hover { opacity: 1; }

/* Shimmer */
.portfolio-hover::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .5s ease;
}
.portfolio-link:hover .portfolio-hover::before { left: 130%; }

/* Icon in overlay */
.portfolio-hover-icon {
  width: 52px; height: 52px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: .5rem;
  transition: transform .3s ease;
}
.portfolio-link:hover .portfolio-hover-icon { transform: rotate(90deg); }

/* Client name in overlay */
.portfolio-hover-client {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}

/* Caption hover */
.portfolio-caption {
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.portfolio-caption::after {
  content: '';
  position: absolute;
  bottom: 0; left: -100%;
  height: 2px; width: 100%;
  background: var(--acc);
  transition: left .4s ease;
}
.portfolio-item:hover .portfolio-caption::after { left: 0; }
.portfolio-item:hover .portfolio-caption {
  border-color: var(--acc) !important;
}
.portfolio-item:hover .portfolio-caption h4 {
  color: var(--acc);
  transform: translateY(-2px);
  transition: all .3s;
}
.portfolio-caption h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: all .3s;
}
.portfolio-caption p {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 300;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── PARCOURS ── */
#about {
  background: #fff;
  padding: 80px 0;
}
#about h2.section-heading {
  font-family: var(--serif) !important;
  font-style: italic !important;
}
#about h3.section-subheading {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 1.3rem !important;
  color: var(--muted) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Timeline line */
.timeline::before {
  background: linear-gradient(to bottom, var(--acc), var(--acc2)) !important;
  width: 3px !important;
}

/* Timeline item image */
.timeline-image {
  background: var(--grad) !important;
  border: 4px solid #fff !important;
  box-shadow: 0 4px 20px rgba(99,102,241,.3) !important;
}
.timeline-image h4 {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 700;
}

/* Timeline panel */
.timeline-panel {
  background: #fff !important;
  border-radius: 20px !important;
  border: 1.5px solid rgba(99,102,241,.12) !important;
  box-shadow: 0 4px 24px rgba(99,102,241,.08) !important;
  transition: all .3s !important;
  padding-top: 1.4rem !important; /* marge au-dessus des dates */
  opacity: 0;
  transform: translateX(-60px);
}
.timeline-inverted .timeline-panel {
  transform: translateX(60px);
}

/* Animated state */
.timeline-panel.tl-visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
  transition: opacity .7s ease, transform .7s cubic-bezier(.4,0,.2,1) !important;
}
.timeline-panel.tl-visible::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 3px;
  background: var(--grad);
  border-radius: 3px 0 0 3px;
}
.timeline-inverted .timeline-panel.tl-visible::before {
  left: auto; right: 0;
  border-radius: 0 3px 3px 0;
}

.timeline-image.tl-visible {
  animation: tlPopIn .5s cubic-bezier(.175,.885,.32,1.275) forwards;
}
@keyframes tlPopIn {
  0%   { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

/* Timeline heading date */
.timeline-heading h4:not(.subheading) {
  font-family: var(--disp) !important;
  font-size: 1.1rem !important;
  letter-spacing: .12em !important;
  color: var(--acc) !important;
  margin-bottom: .2rem !important;
}
/* Timeline company name */
.timeline-heading h4.subheading {
  font-family: var(--serif) !important;
  font-size: 1.3rem !important;
  font-style: normal !important;
  color: var(--dark) !important;
  font-weight: 400 !important;
}

/* Timeline body */
.timeline-body p,
.timeline-body ul {
  font-family: var(--sans);
  font-weight: 300;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--text);
}

/* ── CONTACT ── */
#contact {
  background: var(--grad2) !important;
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.15), transparent);
  top: -100px; right: -100px;
  animation: floatOrb 8s ease-in-out infinite;
}
#contact::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.15), transparent);
  bottom: -80px; left: -60px;
  animation: floatOrb 10s ease-in-out infinite reverse;
}
#contact h2.section-heading { color: #fff !important; }
#contact .section-subheading { color: rgba(255,255,255,.7) !important; }

/* Form fields */
#contact .form-control {
  background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  color: #fff !important;
  font-family: var(--sans);
  border-radius: 10px;
  padding: .8rem 1rem;
  backdrop-filter: blur(10px);
  transition: all .3s;
}
#contact .form-control::placeholder { color: rgba(255,255,255,.5); }
#contact .form-control:focus {
  background: rgba(255,255,255,.18) !important;
  border-color: var(--accL) !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.25) !important;
  outline: none;
}

/* Contact button */
#contact .btn-xl {
  font-family: var(--disp) !important;
  font-size: 1.1rem !important;
  letter-spacing: .2em !important;
  background: var(--grad) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: .9rem 2.5rem !important;
  color: #fff !important;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
#contact .btn-xl::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s;
}
#contact .btn-xl:hover::before { left: 100%; }
#contact .btn-xl:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99,102,241,.5); }

/* ── EXTRA / PLUS ── */
#plus {
  background: #f8f9ff;
  padding: 80px 0;
}
#plus h2.section-heading {
  font-family: var(--serif) !important;
  font-style: italic !important;
}
#plus h3 {
  font-family: var(--disp) !important;
  font-size: 1.4rem !important;
  letter-spacing: .2em !important;
  color: var(--dark) !important;
}
#plus h4 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: .9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* Boutons « Déplier » — alignés sur la palette violette */
#plus .btn-info {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc) !important;
  background: rgba(99,102,241,.07) !important;
  border: 1px solid rgba(99,102,241,.35) !important;
  border-radius: 100px;
  padding: .5rem 1.4rem;
  box-shadow: none !important;
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
#plus .btn-info:hover,
#plus .btn-info:active,
#plus .btn-info.active,
#plus .btn-info:not(:disabled):not(.disabled):active {
  color: #fff !important;
  background: var(--acc) !important;
  border-color: var(--acc) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(99,102,241,.35) !important;
}
#plus .btn-info:focus {
  box-shadow: 0 0 0 .2rem rgba(99,102,241,.3) !important;
}

/* ── PRODUCTIONS MUSICALES ── */
.music-prod {
  max-width: 840px;
  margin: 2rem auto 0;
  text-align: left;
}
.music-prod .music-intro {
  font-family: var(--serif2);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.2rem;
  text-align: center;
}
.music-project {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid rgba(99,102,241,.12);
  box-shadow: 0 4px 24px rgba(99,102,241,.08);
  padding: 2rem 2.2rem;
  margin: 1.6rem 0;
}
.music-project h3 {
  margin-bottom: .25rem !important;
}
.music-project h4 {
  margin-bottom: 1.2rem;
  color: var(--acc) !important;
  font-weight: 500 !important;
  text-transform: none;
  letter-spacing: .02em;
}
.music-project p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: .9rem;
}
.music-styles-label {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem !important;
  color: var(--acc) !important;
  margin: 1.3rem 0 .6rem !important;
}
.music-styles {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.music-styles li {
  display: inline-flex;
  align-items: center;
  padding: .28rem .85rem;
  border-radius: 100px;
  background: rgba(99,102,241,.07);
  border: 1px solid rgba(99,102,241,.2);
  font-family: var(--sans);
  font-weight: 500;
  font-size: .78rem;
  color: var(--text);
  transition: all .25s ease;
}
.music-styles li:hover {
  background: var(--acc);
  color: #fff;
  transform: translateY(-2px);
}

/* Liens plateformes d'écoute par artiste */
.music-listen-label {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--acc);
  margin: 1.6rem 0 .6rem;
}
.music-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.music-platforms a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: 100px;
  background: rgba(99,102,241,.07);
  border: 1px solid rgba(99,102,241,.2);
  font-family: var(--sans);
  font-weight: 500;
  font-size: .78rem;
  color: var(--text);
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.music-platforms a:hover {
  background: var(--acc);
  border-color: var(--acc);
  color: #fff;
  transform: translateY(-2px);
}
.pf-ico {
  width: 1.05em;
  height: 1.05em;
  fill: currentColor;
  flex: none;
}
.music-cta {
  text-align: center;
  margin: 2.4rem 0 1rem;
}
.music-cta .btn-xl {
  font-family: var(--disp);
  letter-spacing: .2em;
  background: var(--grad);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: .9rem 2.4rem;
  font-size: 1.1rem;
  transition: all .3s ease;
}
.music-cta .btn-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99,102,241,.5);
}
/* Carrousel 3D « cylindre » des vidéos YouTube (survol = rotation, clic = lecture) */
.yt-carousel {
  position: relative;
  perspective: 1100px;
  height: 200px;
  max-width: 640px;
  margin: 1.8rem auto .6rem;
}
.yt-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(-320px) rotateY(var(--rot, 0deg));
  transition: transform .7s cubic-bezier(.25,.8,.3,1);
}
.yt-thumb, .yt-embed {
  position: absolute;
  top: 50%; left: 50%;
  width: 280px; height: 158px;
  margin: -79px 0 0 -140px;
  border-radius: 12px;
  overflow: hidden;
  transform: rotateY(var(--a, 0deg)) translateZ(320px);
  backface-visibility: hidden;
}
.yt-thumb {
  padding: 0;
  border: none;
  cursor: pointer;
  background: #000;
  filter: brightness(.55);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  transition: filter .5s ease, box-shadow .5s ease;
}
.yt-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.yt-thumb.is-front {
  filter: none;
  box-shadow: 0 16px 40px rgba(99,102,241,.4);
}
.yt-thumb.is-front:hover img { transform: scale(1.05); }
.yt-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(99,102,241,.92);
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  opacity: .55;
  transition: transform .3s ease, background .3s ease, opacity .3s ease;
}
.yt-play::before {
  content: '';
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.yt-thumb.is-front .yt-play { opacity: 1; }
.yt-thumb.is-front:hover .yt-play { transform: scale(1.12); background: var(--acc2); }
/* Iframe injectée au clic (occupe la position 3D de la face) */
.yt-embed { background: #000; box-shadow: 0 16px 40px rgba(99,102,241,.4); }
.yt-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Repli mobile : on neutralise la 3D, pile verticale lisible */
@media (max-width: 600px) {
  .yt-carousel { perspective: none; height: auto; max-width: 360px; }
  .yt-stage { position: static; transform: none; }
  .yt-thumb, .yt-embed {
    position: relative;
    top: auto; left: auto;
    width: 100%; max-width: 320px; height: auto;
    aspect-ratio: 16 / 9;
    margin: .6rem auto;
    transform: none;
    filter: none;
  }
  .yt-thumb .yt-play { opacity: 1; }
}
.music-outro h3 {
  font-size: 1.2rem !important;
  letter-spacing: .12em !important;
}

/* ── FOOTER ── */
footer {
  background: var(--dark) !important;
  color: rgba(255,255,255,.6) !important;
}
footer p, footer span, footer a {
  font-family: var(--sans);
  font-weight: 300;
  font-size: .8rem;
  color: rgba(255,255,255,.5) !important;
}
footer a:hover { color: var(--accL) !important; }

/* ── MODALS ── */
.modal-header {
  background: var(--grad2) !important;
}
.modal-title,
.modal-header h4 {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: #fff !important;
  font-size: 1.4rem !important;
}
.modal-body h3 {
  font-family: var(--disp) !important;
  font-size: 1.1rem !important;
  letter-spacing: .12em !important;
  color: var(--dark) !important;
  border-left: 3px solid var(--acc);
  padding-left: .8rem;
}
.modal-body p, .modal-body li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text);
}
.modal-footer .btn {
  font-family: var(--disp);
  letter-spacing: .1em;
}

/* Honeypot anti-spam : champ piège caché hors écran (pas display:none, que certains bots ignorent) */
.hp-field {
  position: absolute !important;
  left: -5000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}