/* =========================================================
   1. POLICES & BASE DU SITE
   ========================================================= */

@font-face {
  font-family: 'Array';
  src: url('/wp-content/themes/lejeudelamusique/assets/fonts/Array/Array-Semibold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('/wp-content/themes/lejeudelamusique/assets/fonts/GeneralSans/GeneralSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('/wp-content/themes/lejeudelamusique/assets/fonts/GeneralSans/GeneralSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-black: #0a0a0a;
  --bg-white: #FFFFE3;
  --text-white: #FFFFE3;
  --text-black: #0a0a0a;
}

html,
body,
.wp-site-blocks,
.site,
.site-content,
.entry-content {
  background-color: var(--bg-black) !important;
  color: var(--text-white);
}

.jdlm-site {
  font-family: 'General Sans', sans-serif !important;
  font-weight: 300 !important;
  background-color: var(--bg-black) !important;
  color: var(--text-white) !important;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1), color 0.8s ease;
}

.jdlm-site.theme-light {
  background-color: var(--bg-white) !important;
  color: var(--text-black) !important;
}

.jdlm-site * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Couleur de sélection inversée */
.jdlm-site ::selection,
.jdlm-site ::-moz-selection {
  background-color: #FFFFE3;
  color: #0a0a0a;
}

.jdlm-site.theme-light ::selection,
.jdlm-site.theme-light ::-moz-selection,
.modal-box ::selection,
.modal-box ::-moz-selection {
  background-color: #0a0a0a;
  color: #FFFFE3;
}

/* =========================================================
   2. HIÉRARCHIE TYPOGRAPHIQUE & BOUTONS
   ========================================================= */
.jdlm-site p,
.jdlm-site li,
.jdlm-site span,
.jdlm-site input,
.jdlm-site select,
.jdlm-site textarea,
.modal-box,
.modal-box p {
  font-family: 'General Sans', sans-serif !important;
  font-weight: 300 !important;
  font-size: 1.08rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.jdlm-site a {
  color: inherit !important;
  font-weight: 700 !important;
}

.jdlm-site .led-tag,
.jdlm-site .box-jauge,
.jdlm-site .epreuve-tag,
.jdlm-site .jdlm-btn,
.jdlm-site .footer-col h4,
.jdlm-site strong,
.wpcf7-form label {
  font-family: 'General Sans', sans-serif !important;
  font-weight: 700 !important;
}

.jdlm-site .display-title,
.jdlm-site .nav-brand,
.jdlm-site h1,
.jdlm-site h2,
.jdlm-site h3,
.jdlm-site h4 {
  font-family: 'Array', sans-serif !important;
  font-weight: 700 !important;
}

.led-tag {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 12px;
  opacity: 0.75;
}

.display-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.jdlm-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg-white);
  color: var(--text-black);
  border: 2px solid var(--bg-white);
}

.jdlm-btn:hover {
  background: transparent;
  color: var(--text-white);
}

.jdlm-site.theme-light .jdlm-btn {
  background: var(--bg-black);
  color: var(--text-white);
  border-color: var(--bg-black);
}

.jdlm-site.theme-light .jdlm-btn:hover {
  background: transparent;
  color: var(--text-black);
}

.jdlm-btn-outline {
  background: transparent !important;
  color: inherit !important;
  border: 2px solid currentColor !important;
}

/* =========================================================
   3. PRELOADER RIDEAU & CURSEUR FLÛTE
   ========================================================= */
.jdlm-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #FFFFE3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader-black-curtain {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: #0a0a0a;
  z-index: 1;
  transition: height 0.12s linear;
}

.preloader-percent {
  position: relative;
  z-index: 2;
  font-family: 'Array', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(4rem, 12vw, 9rem);
  color: #FFFFE3;
  mix-blend-mode: difference;
  line-height: 1;
  user-select: none;
}

.jdlm-preloader.is-done {
  transform: translateY(-100%);
  pointer-events: none;
}

.jdlm-site:not(.site-ready) .hero-spinning-logo,
.jdlm-site:not(.site-ready) .neon-hero-title {
  animation: none !important;
  opacity: 0 !important;
}

.mic-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 115px;
  height: 115px;
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.25s ease, height 0.25s ease;
}

.mic-follower img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

.mic-follower.is-hover {
  width: 145px;
  height: 145px;
}

@media (hover: none) {
  .mic-follower { display: none; }
}

/* =========================================================
   4. HEADER & MENU LATÉRAL (40REM)
   ========================================================= */
.jdlm-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 18px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.jdlm-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-mask,
.drawer-logo-mask,
.footer-logo-mask {
  display: block;
  background-color: #FFFFE3;
  -webkit-mask-image: url('https://lejeudelamusique.fr');
  mask-image: url('https://lejeudelamusique.fr');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
}

.nav-logo-mask {
  width: 195px;
  height: 82px;
  transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.jdlm-site.theme-light .nav-logo-mask {
  background-color: #0a0a0a;
}

.drawer-logo-mask {
  width: 175px;
  height: 74px;
}

.footer-logo-mask {
  width: 220px;
  height: 92px;
  margin-bottom: 18px;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  z-index: 950;
  transition: opacity 0.4s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 40rem;
  height: 100vh;
  background: #0a0a0a;
  color: #FFFFE3;
  border-left: 2px solid #222;
  padding: 55px 60px;
  z-index: 960;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.side-drawer.open {
  transform: translateX(0);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0;
}

.drawer-links a,
.drawer-links a span {
  font-family: 'Array', sans-serif !important;
  font-weight: 700 !important;
  font-size: 2.5rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.drawer-links a,
.footer-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.link-arrow-svg {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.drawer-links a:hover,
.footer-nav-links a:hover {
  transform: translateX(10px);
  opacity: 0.85;
}

.drawer-links a:hover .link-arrow-svg,
.footer-nav-links a:hover .link-arrow-svg {
  transform: translateX(4px);
}

/* =========================================================
   5. HERO ACCUEIL (TOUPIE 3D + NÉON)
   ========================================================= */
.sec-wrap {
  padding: 120px 6%;
  background: transparent;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.hero-krakage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 130px 6% 80px;
  position: relative;
  overflow: hidden;
  color: #FFFFE3;
}

.hero-bg-curtain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  z-index: 0;
}

.hero-center-content {
  position: relative;
  z-index: 1;
  max-width: 1080px;
}

.hero-spinning-logo {
  display: block !important;
  width: 340px !important;
  max-width: 82vw !important;
  height: 145px !important;
  margin: 0 auto 28px !important;
  filter: none !important;
  background-color: #FFFFE3 !important;
  -webkit-mask-image: url('/wp-content/uploads/2026/11/logo-jdlm.svg') !important;
  mask-image: url('/wp-content/uploads/2026/11/logo-jdlm.svg') !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  transform-style: preserve-3d !important;
  animation: toupieVerticalSpin 1.5s cubic-bezier(0.06, 0.9, 0.18, 1) forwards !important;
}


@keyframes toupieVerticalSpin {
  0% { opacity: 0; transform: perspective(900px) scale(0.35) rotateY(-1440deg) rotateZ(-8deg); }
  20% { opacity: 1; }
  80% { transform: perspective(900px) scale(1) rotateY(-25deg) rotateZ(2deg); }
  100% { opacity: 1; transform: perspective(900px) scale(1) rotateY(0deg) rotateZ(0deg); }
}

.neon-hero-title {
  color: #FFFFE3 !important;
  animation: neonTurnOn 1.8s ease-out 0.6s forwards;
  opacity: 0.15;
}

@keyframes neonTurnOn {
  0% { opacity: 0.15; text-shadow: none; }
  18% { opacity: 1; text-shadow: 0 0 10px #FFFFE3, 0 0 25px #FF3385, 0 0 50px #FF3385; }
  26% { opacity: 0.25; text-shadow: none; }
  38% { opacity: 1; text-shadow: 0 0 10px #FFFFE3, 0 0 25px #FF3385, 0 0 50px #FF3385; }
  45% { opacity: 0.4; text-shadow: none; }
  60%, 100% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 255, 227, 0.9),
                 0 0 22px rgba(255, 51, 133, 0.85),
                 0 0 45px rgba(255, 51, 133, 0.65);
  }
}

/* =========================================================
   6. SLIDER MARQUEE & BLOCS SERVICES
   ========================================================= */
.bw-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marquee-fullwidth {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 50px 0;
}

.marquee-track {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  width: max-content;
  animation: scrollMarquee 28s linear infinite;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.m-card {
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid currentColor;
  flex-shrink: 0;
}

.m-size-lg,
.m-size-tall { width: 31em; height: 39em; }
.m-size-sq { width: 31em; height: 31em; }
.m-size-wide { width: 31em; height: 22em; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 90px;
}

.service-row.reverse .service-img { order: 2; }

.service-img {
  height: 420px;
  border-radius: 2em;
  overflow: hidden;
  border: 2px solid currentColor;
}

.epreuves-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.epreuve-tag {
  border: 2px solid currentColor;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
}

.centered-cta-row {
  text-align: center;
  margin-top: 55px;
}

/* =========================================================
   7. SCÉNOGRAPHIES & GALERIE 2 PHOTOS
   ========================================================= */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.box-card {
  border-radius: 2em;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.box-card-img { height: 230px; }

.box-card-body {
  border-radius: 0 0 2em 2em;
  background-color: #0a0a0a;
  color: var(--text-white);
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.box-jauge {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 10px;
}

.sceno-gallery-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.sceno-landscape-card {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid currentColor;
}

/* =========================================================
   8. BEFORE & SOIRÉE CONTINUE (100VH PLEIN ÉCRAN)
   ========================================================= */
.full-vh-event {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 6%;
  overflow: hidden;
  background-color: #0a0a0a;
}

.bg-event-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-event-layer img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.85);
}

.bg-event-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

.bg-event-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 35px;
}

.event-card-glass {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  border: 2px solid #FFFFE3;
  color: #FFFFE3;
  border-radius: 2em;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}

.event-empty-spacer {
  min-height: 340px;
  pointer-events: none;
}

.event-meta-list {
  margin-top: 20px;
  font-size: 0.9rem;
  border-top: 1px dashed rgba(255, 255, 227, 0.4);
  padding-top: 15px;
}

/* =========================================================
   9. LOGOS CLIENTS ADAPTATIFS ("VOS GARS SÛRS")
   ========================================================= */
.logos-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 45px;
}

.client-logo-box {
  height: 110px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease, border-color 0.35s ease;
}

.client-logo-box img {
  width: 100%;
  height: 100%;
  max-width: 145px;
  max-height: 75px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  opacity: 0.82;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-logo-box img[src*="anima" i],
.client-logo-box img[alt*="anima" i] {
  transform: scale(1.35);
}

.client-logo-box:hover {
  transform: translateY(-5px);
}

.client-logo-box:hover img {
  opacity: 1;
  transform: scale(1.06);
}

.client-logo-box:hover img[src*="anima" i],
.client-logo-box:hover img[alt*="anima" i] {
  transform: scale(1.42);
}

.jdlm-site:not(.theme-light) .client-logo-box img {
  filter: brightness(0) invert(1) sepia(12%) saturate(400%) hue-rotate(15deg) brightness(105%);
  opacity: 0.85;
}

/* =========================================================
   10. FAQ ACCORDÉON (ARRAY + FLÈCHES)
   ========================================================= */
.faq-list {
  max-width: 880px;
  margin: 45px auto 0;
}

.faq-item {
  border-bottom: 2px solid currentColor;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  padding: 34px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.jdlm-site .faq-trigger,
.jdlm-site .faq-trigger span {
  font-family: 'Array', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.55rem !important;
  line-height: 1.25 !important;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-inner { overflow: hidden; }

.faq-inner p {
  padding-bottom: 24px;
  opacity: 0.85;
}

/* =========================================================
   11. BANDEAU DÉFILANT & FOOTER 4 COLONNES
   ========================================================= */
.cta-marquee-band {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 75px 0;
  border-top: 2px solid rgba(255, 255, 227, 0.25);
  border-bottom: 2px solid rgba(255, 255, 227, 0.25);
  background-color: #0a0a0a;
  color: #FFFFE3;
  overflow: hidden;
}

.cta-marquee-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 50px;
  width: max-content;
  animation: scrollMarquee 18s linear infinite;
}

.cta-marquee-band:has(.cta-marquee-pill:hover) .cta-marquee-track,
.cta-marquee-band:hover .cta-marquee-track {
  animation-play-state: paused;
}

.cta-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  white-space: nowrap;
}

.cta-marquee-item span {
  font-family: 'Array', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  text-transform: uppercase;
  line-height: 1;
}

.cta-marquee-pill {
  font-family: 'General Sans', sans-serif !important;
  font-size: 1.05rem;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 34px;
  border-radius: 50px;
  background-color: #0a0a0a;
  color: #FFFFE3;
  border: 2px solid #FFFFE3;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.25s ease;
}

.cta-marquee-pill:hover {
  background-color: #FFFFE3;
  color: #0a0a0a;
  transform: scale(1.05);
}

.krakage-footer {
  padding: 30px 6% 45px;
  background: #0a0a0a;
  color: #FFFFE3;
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: 60px 0;
  align-items: start;
}

.footer-links,
.footer-contact-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact-links a {
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-contact-links a:hover {
  opacity: 0.7;
}

.social-circles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.social-circle-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #FFFFE3;
  color: #FFFFE3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.25s ease;
}

.social-circle-link:hover {
  background-color: #FFFFE3;
  color: #0a0a0a;
  transform: translateY(-4px);
}

.social-circle-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 227, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* =========================================================
   12. MODALE & FORMULAIRE CONTACT FORM 7
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-box {
  background: #FFFFE3;
  color: #0a0a0a;
  width: 100%;
  max-width: 540px;
  border-radius: 2em;
  padding: 40px;
  position: relative;
  border: 4px solid #0a0a0a;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #0a0a0a;
  cursor: pointer;
}

.f-group { margin-bottom: 16px; }

.wpcf7-form label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: #0a0a0a;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #0a0a0a;
  border-radius: 10px;
  font-family: inherit;
  background: #ffffff;
  color: #0a0a0a;
}

.wpcf7-form input[type="submit"] {
  width: 100%;
  background: #0a0a0a !important;
  color: #FFFFE3 !important;
  border: 2px solid #0a0a0a !important;
  cursor: pointer;
}

.wpcf7-response-output {
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  color: #0a0a0a !important;
}

/* =========================================================
   13. RESPONSIVE TABLETTE & MOBILE
   ========================================================= */
@media (max-width: 960px) {
  .service-row,
  .bg-event-grid,
  .footer-grid-4 {
    grid-template-columns: 1fr;
  }
  .service-row.reverse .service-img { order: 0; }
  .event-empty-spacer { min-height: 220px; }
  .full-vh-event { min-height: auto; padding: 80px 6%; }
}

@media (max-width: 768px) {
  .jdlm-site p,
  .jdlm-site li { font-size: 1rem; }
  .nav-logo-mask { width: 140px; height: 58px; }
  .side-drawer { max-width: 100%; padding: 30px 24px; }
  .drawer-links a,
  .drawer-links a span { font-size: 1.9rem !important; }
  .marquee-track { gap: 16px; animation-duration: 40s; }
  .sceno-gallery-2 { grid-template-columns: 1fr; gap: 20px; }
}

/* =========================================================
   CORRECTIF LOGOS (HEADER, MENU LATÉRAL & FOOTER) + FLÈCHES
   ========================================================= */
.nav-logo-mask,
.drawer-logo-mask,
.footer-logo-mask {
  display: block !important;
  background-color: #FFFFE3 !important;
  -webkit-mask-image: url('/wp-content/uploads/2026/11/logo-jdlm.svg') !important;
  mask-image: url('/wp-content/uploads/2026/11/logo-jdlm.svg') !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: left center !important;
  mask-position: left center !important;
}

.jdlm-site.theme-light .nav-logo-mask {
  background-color: #0a0a0a !important;
}

/* Flèches & animation sur les liens de navigation du Footer */
.footer-nav-links a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.footer-nav-links a .link-arrow-svg {
  display: inline-flex !important;
  align-items: center !important;
  transition: transform 0.25s ease !important;
}

.footer-nav-links a:hover {
  transform: translateX(10px) !important;
  opacity: 0.85 !important;
}

.footer-nav-links a:hover .link-arrow-svg {
  transform: translateX(4px) !important;
}


/* =========================================================
   CORRECTIF COMPLET RESPONSIVE MOBILE & IPHONE (< 768PX)
   ========================================================= */
@media (max-width: 768px) {
  /* 1. SUPPRIMER LE DÉBORDEMENT HORIZONTAL SUR CHROME IPHONE */
  html,
  body,
  .jdlm-site {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .marquee-fullwidth,
  .full-vh-event,
  .cta-marquee-band {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 2. HEADER MOBILE COMPACT SUR UNE LIGNE */
  .jdlm-nav {
    padding: 12px 4% !important;
  }

  .nav-logo-mask {
    width: 125px !important;
    height: 52px !important;
  }

  .nav-actions {
    gap: 8px !important;
  }

  .nav-actions .jdlm-btn {
    padding: 8px 14px !important;
    font-size: 0.72rem !important;
  }

  /* 3. MENU LATÉRAL PLEIN ÉCRAN SCROLLABLE */
  .side-drawer {
    max-width: 100% !important;
    padding: 24px 20px !important;
    overflow-y: auto !important;
  }

  .drawer-links {
    gap: 14px !important;
    margin: 22px 0 !important;
  }

  .drawer-links a,
  .drawer-links a span {
    font-size: 1.75rem !important;
  }

  /* 4. HERO & TITRES ADAPTÉS À L'ÉCRAN IPHONE */
  .hero-krakage {
    min-height: 92vh !important;
    padding: 100px 5% 60px !important;
  }

  .hero-spinning-logo {
    width: 240px !important;
    margin-bottom: 20px !important;
  }

  .sec-wrap {
    padding: 70px 5% !important;
  }

  .display-title {
    font-size: clamp(2rem, 8.5vw, 2.8rem) !important;
    word-break: break-word;
  }

  /* 5. SLIDER MARQUEE PROPORTIONNÉ MOBILE (REMPLACE LES 31EM GÉANTS) */
  .marquee-fullwidth {
    padding: 25px 0 !important;
  }

  .marquee-track {
    gap: 14px !important;
    animation-duration: 24s !important;
  }

  .m-card {
    border-radius: 1.2rem !important;
  }

  .m-size-lg,
  .m-size-tall {
    width: 210px !important;
    height: 270px !important;
  }

  .m-size-sq {
    width: 210px !important;
    height: 210px !important;
  }

  .m-size-wide {
    width: 250px !important;
    height: 175px !important;
  }

  /* 6. BLOCS SERVICES, SCÉNOGRAPHIES & BEFORE/AFTER */
  .service-row {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-top: 50px !important;
  }

  .service-img {
    height: 260px !important;
    border-radius: 1.4rem !important;
  }

  .cards-3 {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .full-vh-event {
    min-height: auto !important;
    padding: 60px 5% !important;
  }

  .bg-event-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .event-card-glass {
    padding: 24px 20px !important;
    min-height: auto !important;
  }

  .event-empty-spacer {
    min-height: 120px !important;
  }

  /* 7. LOGOS CLIENTS, FAQ & BANDEAU FOOTER */
  .logos-wall {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .client-logo-box {
    height: 85px !important;
    padding: 12px !important;
  }

  .jdlm-site .faq-trigger,
  .jdlm-site .faq-trigger span {
    font-size: 1.2rem !important;
    padding: 20px 0 !important;
  }

  .cta-marquee-band {
    padding: 40px 0 !important;
  }

  .cta-marquee-item span {
    font-size: 2rem !important;
  }

  .footer-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    padding: 40px 0 !important;
  }

  /* 8. POP-IN DE CONTACT ADAPTÉE AU CLAVIER IPHONE */
  .modal-overlay {
    padding: 12px !important;
  }

  .modal-box {
    padding: 26px 18px !important;
    border-radius: 1.4rem !important;
    max-height: 90vh !important;
  }
}

 /* Modification du H1 */
 .hero-center-content h1 {
    font-family: 'General Sans', sans-serif !important;
    font-weight: 300 !important;
    font-size: 1.08rem;
    line-height: 1.65;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
 }
 .hero-center-content h2,
  .hero-center-content p {
    margin-bottom: 0px !important;
 }

 /* SUPPRIMER LES RETOURS À LA LIGNE (<br>) AUTOMATIQUES DANS CONTACT FORM 7 */
.wpcf7-form br {
  display: none !important;
}

.wpcf7-form p {
  margin-bottom: 14px !important;
}

.wpcf7-form label {
  display: block !important;
  margin-bottom: 6px !important;
}

/* ALIGNEMENT DES FLÈCHES SVG DANS "PRESTATIONS" (BEFORE & AFTER) */
.event-meta-list ul {
  list-style: none !important;
  padding-left: 14px !important;
  margin-top: 14px !important;
}

.event-meta-list ul li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.event-meta-list ul li .link-arrow-svg {
  margin-top: 4px !important;
  flex-shrink: 0 !important;
}

/* FORCER LA TYPO PIXELISÉE (ARRAY) SUR MOBILE */
@media screen and (max-width: 768px) {
  .jdlm-site .display-title,
  .jdlm-site h1,
  .jdlm-site h2,
  .jdlm-site h3,
  .jdlm-site h4,
  .jdlm-site .faq-trigger,
  .jdlm-site .faq-trigger span,
  .jdlm-site .drawer-links a,
  .jdlm-site .drawer-links a span,
  .jdlm-site .cta-marquee-item span,
  .preloader-percent {
    font-family: 'Array', sans-serif !important;
    font-weight: 700 !important;
  }
}

.event-meta-list ul {
  list-style: none !important;
  padding-left: 14px !important;
  margin-top: 14px !important;
}

.event-meta-list ul li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
  list-style: none !important;
}

.event-meta-list ul li::marker {
  content: none !important;
}

.event-meta-list ul li .link-arrow-svg {
  margin-top: 4px !important;
  flex-shrink: 0 !important;
}

/* =========================================================
   SLIDER MARQUEE SUR MOBILE : PROPORTIONS & MÊME VITESSE QUE DESKTOP
   ========================================================= */
@media screen and (max-width: 768px) {
  .marquee-fullwidth {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow: hidden !important;
    padding: 30px 0 !important;
  }

  .marquee-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 16px !important;
    width: max-content !important;
    /* Même vitesse dynamique que sur desktop */
    animation: scrollMarquee 28s linear infinite !important;
  }

  .m-card {
    border-radius: 1.4rem !important;
    flex-shrink: 0 !important;
  }

  /* Proportions verticales et carrées adaptées à l'écran iPhone */
  .m-size-lg,
  .m-size-tall {
    width: 230px !important;
    height: 295px !important;
  }

  .m-size-sq {
    width: 230px !important;
    height: 230px !important;
  }

  .m-size-wide {
    width: 270px !important;
    height: 195px !important;
  }
}

.event-meta-list ul,
.specs-arrow-list {
  list-style: none !important;
  padding-left: 16px !important;
  margin-top: 14px !important;
}

.event-meta-list li,
.specs-arrow-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
  list-style: none !important;
}

.event-meta-list .link-arrow-svg,
.specs-arrow-list .link-arrow-svg {
  margin-top: 4px !important;
  flex-shrink: 0 !important;
  color: #FFFFE3 !important;
}
