/* =========================================================
   NUMBER AFTER TWELVE
   FICHES ARTISTES
   ========================================================= */


/* =========================================================
   ÉLÉMENTS MASQUÉS
   ========================================================= */

[hidden] {
  display: none !important;
}


/* =========================================================
   HEADER
   ========================================================= */

.inner-header {
  width: 100%;
  min-height: 115px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 6px clamp(20px, 4vw, 60px);

  border-bottom: 1px solid #222;

  background: #000;
}


/* =========================================================
   LOGO HEADER
   ========================================================= */

.header-logo {
  display: block;

  width: 104px;
  height: 104px;

  flex-shrink: 0;
}

.header-logo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.inner-nav {
  display: flex;
  align-items: center;

  gap: clamp(25px, 4vw, 60px);
}

.inner-nav a {
  position: relative;

  padding: 10px 0;

  color: #fff;

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 3px;

  transition: color 0.2s ease;
}

.inner-nav a:hover,
.inner-nav a:focus-visible,
.inner-nav a.active {
  color: #e00000;
}


/* TRAIT ROUGE SOUS LA RUBRIQUE ACTIVE */

.inner-nav a.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 2px;

  height: 1px;

  background: #e00000;
}


/* =========================================================
   PAGE
   ========================================================= */

.artist-page {
  flex: 1;

  width: min(1450px, 100%);

  margin: 0 auto;

  padding:
    clamp(30px, 4vw, 55px)
    clamp(20px, 5vw, 75px)
    clamp(55px, 7vw, 90px);
}


/* =========================================================
   PARTIE HAUTE
   ========================================================= */

.artist-top {
  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(320px, 0.85fr);

  gap: clamp(30px, 4vw, 60px);

  align-items: start;
}


/* =========================================================
   TITRE ARTISTE
   ========================================================= */

.artist-heading {
  margin-bottom: 18px;
}

.artist-heading h1 {
  margin: 0;

  color: #fff;

  font-family: "Bebas Neue", Arial, sans-serif;

  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;

  line-height: 0.95;

  letter-spacing: 5px;
}

.artist-style {
  margin: 8px 0 0;

  color: #e00000;

  font-family: "Bebas Neue", Arial, sans-serif;

  font-size: clamp(20px, 2vw, 28px);

  letter-spacing: 4px;
}


/* =========================================================
   CARROUSEL
   ========================================================= */

.artist-carousel {
  position: relative;

  width: 100%;

  overflow: hidden;

  background: #111;

  border: 1px solid #222;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.55);
}

.carousel-track {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 10;
}

.carousel-slide {
  position: absolute;

  inset: 0;

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.carousel-slide.active {
  opacity: 1;

  visibility: visible;
}

.carousel-slide img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* =========================================================
   CRÉDIT PHOTO
   ========================================================= */

.photo-credit {
  position: absolute;

  z-index: 4;

  right: 12px;
  bottom: 12px;

  max-width: calc(100% - 120px);

  margin: 0;

  padding: 5px 8px;

  background: rgba(0, 0, 0, 0.72);

  color: #fff;

  font-size: 10px;
  font-weight: 600;

  line-height: 1.3;

  letter-spacing: 0.7px;

  text-align: right;

  pointer-events: none;
}


/* =========================================================
   FLÈCHES CARROUSEL
   ========================================================= */

.carousel-button {
  position: absolute;

  top: 50%;

  z-index: 5;

  width: 46px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 0;

  background: rgba(0, 0, 0, 0.62);

  color: #fff;

  font-size: 30px;

  cursor: pointer;

  transform: translateY(-50%);

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: #e00000;

  color: #fff;

  outline: none;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}


/* =========================================================
   POINTS CARROUSEL
   ========================================================= */

.carousel-dots {
  position: absolute;

  z-index: 5;

  left: 50%;
  bottom: 15px;

  display: flex;

  gap: 8px;

  transform: translateX(-50%);
}

.carousel-dot {
  width: 9px;
  height: 9px;

  padding: 0;

  border: 1px solid #fff;

  border-radius: 50%;

  background: rgba(0, 0, 0, 0.45);

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.carousel-dot.active {
  background: #e00000;

  border-color: #e00000;

  transform: scale(1.25);
}


/* =========================================================
   MEDIA
   ========================================================= */

.artist-media {
  width: 100%;

  margin-top: 92px;
}

.media-tabs {
  display: grid;

  grid-template-columns: 1fr 1fr;

  margin-bottom: 12px;

  border: 1px solid #333;
}

.media-tab {
  min-height: 48px;

  border: 0;

  background: #111;

  color: #aaa;

  font-family: "Bebas Neue", Arial, sans-serif;

  font-size: 20px;

  letter-spacing: 3px;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.media-tab + .media-tab {
  border-left: 1px solid #333;
}

.media-tab:hover,
.media-tab:focus-visible {
  color: #fff;

  outline: none;
}

.media-tab.active {
  background: #e00000;

  color: #fff;
}


/* =========================================================
   PANNEAUX AUDIO / VIDEO
   ========================================================= */

.media-panel {
  display: none;

  overflow: hidden;

  background: #111;

  border: 1px solid #222;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.45);
}

.media-panel.active {
  display: block;
}

.media-label {
  padding: 11px 15px;

  border-bottom: 1px solid #222;

  color: #fff;

  font-family: "Bebas Neue", Arial, sans-serif;

  font-size: 18px;

  letter-spacing: 3px;
}

.media-panel iframe {
  display: block;

  width: 100%;

  border: 0;
}


/* =========================================================
   CONSENTEMENT SPOTIFY / YOUTUBE
   ========================================================= */

.media-consent {
  width: 100%;

  min-height: 300px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: clamp(28px, 5vw, 52px);

  background:
    linear-gradient(
      135deg,
      #090909 0%,
      #151515 50%,
      #090909 100%
    );

  border-bottom: 1px solid #222;
}

.media-consent-inner {
  width: min(480px, 100%);

  text-align: center;
}

.media-consent-service {
  margin-bottom: 14px;

  color: #e00000;

  font-family: "Bebas Neue", Arial, sans-serif;

  font-size: 17px;

  line-height: 1;

  letter-spacing: 5px;
}

.media-consent-title {
  margin-bottom: 13px;

  color: #fff;

  font-family: "Bebas Neue", Arial, sans-serif;

  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;

  line-height: 1.05;

  letter-spacing: 2px;
}

.media-consent-text {
  max-width: 390px;

  margin: 0 auto 25px;

  color: #b8b8b8;

  font-size: 14px;

  line-height: 1.6;
}

.media-consent-button {
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 25px;

  border: 1px solid #e00000;

  background: #e00000;

  color: #fff;

  font-family: "Bebas Neue", Arial, sans-serif;

  font-size: 18px;

  line-height: 1;

  letter-spacing: 2px;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.media-consent-button:hover,
.media-consent-button:focus-visible {
  border-color: #fff;

  background: #fff;

  color: #000;

  outline: none;

  transform: translateY(-2px);
}

.media-consent-notice {
  max-width: 420px;

  margin: 16px auto 0;

  color: #777;

  font-size: 10px;

  line-height: 1.5;

  letter-spacing: 0.4px;
}


/* =========================================================
   SPOTIFY
   ========================================================= */

#media-audio iframe {
  min-height: 430px;
}


/* =========================================================
   YOUTUBE
   ========================================================= */

.youtube-wrapper {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  background: #000;
}

.youtube-wrapper iframe {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;
}


/* =========================================================
   PLAYLIST YOUTUBE — STYLE WWP
   ========================================================= */

#youtube-playlist-container {
  max-height: 285px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
  background: #0b0b0b;
  border-top: 1px solid #222;
}

.playlist-item {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 10px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #171717;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.playlist-item:last-child {
  margin-bottom: 0;
}

.playlist-item:hover,
.playlist-item:focus-visible {
  border-color: #555;
  background: #202020;
  outline: none;
}

.playlist-item.active {
  border-color: #e00000;
  background:
    linear-gradient(
      135deg,
      #2a2a2a 0%,
      #1f1f1f 100%
    );
  box-shadow:
    0 0 0 1px rgba(224, 0, 0, 0.35),
    0 2px 8px rgba(224, 0, 0, 0.2);
}

.playlist-thumbnail {
  display: block;
  width: 120px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  background: #000;
}

.playlist-text {
  min-width: 0;
}

.playlist-title {
  color: #f2f2f2;
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#youtube-playlist-container::-webkit-scrollbar {
  width: 8px;
}

#youtube-playlist-container::-webkit-scrollbar-track {
  background: #0b0b0b;
}

#youtube-playlist-container::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}

#youtube-playlist-container::-webkit-scrollbar-thumb:hover {
  background: #e00000;
}


/* =========================================================
   BIO + BOOKING
   ========================================================= */

.artist-info {
  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(320px, 0.85fr);

  gap: clamp(30px, 4vw, 60px);

  margin-top: clamp(45px, 6vw, 80px);
}


/* =========================================================
   TITRES DE SECTIONS
   ========================================================= */

.artist-bio h2,
.artist-booking h2,
.artist-socials h2 {
  position: relative;

  margin: 0 0 24px;

  padding-bottom: 11px;

  color: #fff;

  font-family: "Bebas Neue", Arial, sans-serif;

  font-size: clamp(27px, 2.6vw, 36px);
  font-weight: 400;

  line-height: 1.1;

  letter-spacing: 4px;
}

.artist-bio h2::after,
.artist-booking h2::after,
.artist-socials h2::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 55px;
  height: 3px;

  background: #e00000;
}


/* =========================================================
   BIOGRAPHIE
   ========================================================= */

.artist-bio p {
  margin: 0 0 18px;

  color: #d3d3d3;

  font-size: 16px;

  line-height: 1.75;
}


/* =========================================================
   RÉSEAUX ARTISTE
   ========================================================= */

.artist-socials {
  margin-top: 40px;
}

.artist-social-links {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

.artist-social-links a {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 42px;

  padding: 8px 18px;

  border: 1px solid #555;

  color: #fff;

  text-decoration: none;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 2px;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.artist-social-links a:hover,
.artist-social-links a:focus-visible {
  border-color: #e00000;

  background: #e00000;

  outline: none;
}


/* =========================================================
   BOOKING
   ========================================================= */

.artist-booking {
  padding: clamp(22px, 3vw, 35px);

  border: 1px solid #292929;

  background: #0c0c0c;

  align-self: start;
}

.booking-intro {
  margin: -8px 0 25px;

  color: #aaa;

  font-size: 14px;

  line-height: 1.5;
}


/* =========================================================
   CARTE BOOKING
   ========================================================= */

.booking-card {
  display: grid;

  grid-template-columns:
    105px
    1px
    minmax(0, 1fr);

  gap: 20px;

  align-items: center;

  padding: 18px;

  background: #000;

  border: 1px solid #292929;
}

.booking-logo {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
}

.booking-divider {
  width: 1px;
  height: 80px;

  background: #e00000;
}

.booking-content p {
  margin: 0;
}

.booking-name {
  color: #fff;

  font-family: "Bebas Neue", Arial, sans-serif;

  font-size: 24px;

  letter-spacing: 2px;
}

.booking-role {
  margin-top: 4px !important;

  color: #aaa;

  font-size: 13px;
}

.booking-company {
  margin-top: 12px !important;

  color: #e00000;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 2px;
}


/* =========================================================
   BOUTONS
   ========================================================= */

.booking-actions {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10px;

  margin-top: 18px;
}

.artist-button {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;

  border: 1px solid #555;

  background: transparent;

  color: #fff;

  text-decoration: none;

  text-align: center;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 2px;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.artist-button:hover,
.artist-button:focus-visible {
  border-color: #e00000;

  background: #e00000;

  outline: none;
}


/* =========================================================
   RETOUR ROSTER
   ========================================================= */

.artist-back {
  display: flex;

  justify-content: flex-start;

  margin-top: clamp(45px, 6vw, 75px);
}


/* =========================================================
   GESTION DES CHOIX — CONTENUS EXTERNES
   ========================================================= */

.consent-footer-separator {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.65);
}

.consent-manage-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.consent-manage-link:hover,
.consent-manage-link:focus-visible {
  color: #fff;
  outline: none;
}

body.consent-manager-open {
  overflow: hidden;
}

.consent-manager-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}

.consent-manager {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 34px;
  border: 1px solid #333;
  background: #0b0b0b;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75);
}

.consent-manager-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.consent-manager-close:hover,
.consent-manager-close:focus-visible {
  color: #e00000;
  outline: none;
}

.consent-manager-eyebrow {
  margin-bottom: 10px;
  color: #e00000;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 4px;
}

.consent-manager h2 {
  margin: 0 45px 12px 0;
  color: #fff;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 3px;
}

.consent-manager-intro {
  margin: 0 0 26px;
  color: #aaa;
  font-size: 13px;
  line-height: 1.65;
}

.consent-manager-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #292929;
}

.consent-manager-row:last-of-type {
  border-bottom: 1px solid #292929;
}

.consent-manager-service {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.consent-manager-service strong {
  color: #fff;
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2px;
}

.consent-manager-status {
  color: #888;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.consent-manager-status.is-accepted {
  color: #e00000;
}

.consent-manager-action {
  min-width: 130px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #e00000;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.consent-manager-action:hover:not(:disabled),
.consent-manager-action:focus-visible:not(:disabled) {
  background: #e00000;
  outline: none;
}

.consent-manager-action:disabled {
  border-color: #333;
  color: #666;
  cursor: default;
}

.consent-manager-duration {
  margin: 18px 0 0;
  color: #666;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.4px;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (min-width: 701px) and (max-width: 1024px) {

  .inner-header {
    min-height: auto;

    flex-direction: column;
    justify-content: center;

    gap: 6px;

    padding: 10px 20px 15px;
  }

  .header-logo {
    width: 90px;
    height: 90px;
  }

  .inner-nav {
    width: 100%;

    justify-content: center;

    gap: clamp(35px, 7vw, 65px);
  }

  .inner-nav a {
    font-size: 13px;

    letter-spacing: 2.5px;
  }


  .artist-page {
    padding:
      35px
      30px
      60px;
  }


  .artist-top,
  .artist-info {
    grid-template-columns: 1fr;
  }


  .artist-media {
    margin-top: 0;
  }


  #media-audio iframe {
    min-height: 360px;
  }


  .media-consent {
    min-height: 300px;

    padding: 40px 30px;
  }


  .artist-booking {
    width: 100%;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .consent-manager-overlay {
    padding: 12px;
  }

  .consent-manager {
    max-height: calc(100vh - 24px);
    padding: 28px 20px 24px;
  }

  .consent-manager-row {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .consent-manager-action {
    width: 100%;
  }

  .inner-header {
    min-height: auto;

    flex-direction: column;
    justify-content: center;

    gap: 6px;

    padding:
      8px
      15px
      14px;
  }

  .header-logo {
    width: 86px;
    height: 86px;
  }

  .inner-nav {
    width: 100%;

    justify-content: center;

    gap: clamp(18px, 7vw, 32px);
  }

  .inner-nav a {
    font-size: 12px;

    letter-spacing: 2px;
  }


  .artist-page {
    padding:
      28px
      16px
      50px;
  }


  .artist-top,
  .artist-info {
    grid-template-columns: 1fr;

    gap: 35px;
  }


  .artist-heading h1 {
    font-size: clamp(42px, 13vw, 58px);

    letter-spacing: 3px;
  }


  .artist-style {
    font-size: 20px;

    letter-spacing: 3px;
  }


  .carousel-track {
    aspect-ratio: 4 / 3;
  }


  .carousel-button {
    width: 38px;
    height: 52px;

    font-size: 25px;
  }


  .artist-media {
    margin-top: 0;
  }


  #media-audio iframe {
    min-height: 360px;
  }


  .media-consent {
    min-height: 270px;

    padding:
      34px
      18px;
  }

  .media-consent-service {
    margin-bottom: 12px;

    font-size: 15px;

    letter-spacing: 4px;
  }

  .media-consent-title {
    font-size: 29px;

    letter-spacing: 1.5px;
  }

  .media-consent-text {
    margin-bottom: 21px;

    font-size: 13px;
  }

  .media-consent-button {
    width: 100%;

    min-height: 50px;

    padding:
      12px
      15px;

    font-size: 17px;
  }

  .media-consent-notice {
    margin-top: 13px;

    font-size: 9px;
  }


  .artist-info {
    margin-top: 45px;
  }


  .artist-bio h2,
  .artist-booking h2,
  .artist-socials h2 {
    font-size: 29px;

    letter-spacing: 3px;
  }


  .artist-bio p {
    font-size: 15px;

    line-height: 1.7;
  }


  .booking-card {
    grid-template-columns:
      80px
      1px
      minmax(0, 1fr);

    gap: 14px;

    padding: 14px;
  }


  .booking-divider {
    height: 65px;
  }


  .booking-name {
    font-size: 21px;
  }


  .booking-actions {
    grid-template-columns: 1fr;
  }


  #youtube-playlist-container {
    max-height: 300px;
    padding: 9px;
  }

  .playlist-item {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 10px;
    min-height: 72px;
  }

  .playlist-thumbnail {
    width: 105px;
  }

  .playlist-title {
    font-size: 13px;
  }

}


/* =========================================================
   PETITS MOBILES
   ========================================================= */

@media (max-width: 380px) {

  .inner-nav {
    gap: 15px;
  }

  .inner-nav a {
    font-size: 11px;

    letter-spacing: 1.5px;
  }


  .artist-page {
    padding-left: 12px;
    padding-right: 12px;
  }


  .media-consent {
    min-height: 250px;

    padding:
      28px
      14px;
  }

  .media-consent-title {
    font-size: 26px;
  }

  .media-consent-button {
    font-size: 16px;

    letter-spacing: 1.5px;
  }


  .booking-card {
    grid-template-columns: 1fr;

    text-align: center;
  }


  .booking-logo {
    width: 90px;

    margin: 0 auto;
  }


  .booking-divider {
    width: 70px;
    height: 1px;

    margin: 0 auto;
  }

}