*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a1a2f;
  --bg-dark: #071427;
  --blue: #3a8dff;
  --ads: #2ebe7a;
  --text: rgba(255, 255, 255, 0.94);
  --soft: rgba(255, 255, 255, 0.76);
  --border: rgba(255, 255, 255, 0.28);
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 18%, rgba(30, 76, 122, 0.65), transparent 42%),
    linear-gradient(180deg, var(--bg-dark), var(--bg) 35%, var(--bg-dark));
  overflow-x: hidden;
}

.s2029-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER / LOGO */

.s2029-hero {
  text-align: center;
  padding: 14px 24px 0;
}

.s2029-hero-subpage {
  padding-top: 18px;
}

.s2029-logo-stage {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.s2029-logo-stage-subpage {
  margin-bottom: -10px;
}

.s2029-logo {
  position: relative;
  display: inline-block;
  max-width: 100%;
  font-size: clamp(78px, 11.15vw, 202px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: transparent;
  filter:
    drop-shadow(0 0 10px rgba(255,255,255,.10))
    drop-shadow(0 0 30px rgba(58,141,255,.12));
}

.s2029-logo-subpage {
  font-size: clamp(62px, 9vw, 150px);
}

.s2029-logo-measure {
  visibility: hidden;
  white-space: nowrap;
}

.s2029-logo-layer {
  position: absolute;
  inset: 0;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
}

.s2029-logo-stroke {
  -webkit-text-stroke: 3px rgba(255,255,255,.88);
  color: transparent;
  z-index: 2;
}

.s2029-logo-fill {
  z-index: 1;
}

.s2029-logo-fill-text {
  color: transparent;
  background-image:
    linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,.08), rgba(0,0,0,.45)),
    url("assets/adsperso001.jpg"),
    linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,.08), rgba(0,0,0,.45)),
    url("assets/entrepot.jpeg"),
    linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,.08), rgba(0,0,0,.45)),
    url("assets/loco001.png"),
    linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,.08), rgba(0,0,0,.45)),
    url("assets/phareperfect001.png");
  background-size: 7% 100%, 24% 100%, 7% 100%, 24% 100%, 7% 100%, 24% 100%, 7% 100%, 24% 100%;
  background-repeat: no-repeat;
  background-position: 0% 50%, 7% 50%, 31% 50%, 38% 50%, 62% 50%, 69% 50%, 93% 50%, 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
}

/* MENU */

.s2029-topbar {
  width: min(1160px, calc(100% - 48px));
  min-height: 52px;
  margin: 12px auto 0;
  padding: 8px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 17px;
  background: rgba(10,26,47,.18);
}

.s2029-topbar a,
.s2029-topbar span,
.s2029-topbar-link,
.s2029-topbar-sep {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
}

.s2029-topbar a,
.s2029-topbar-link {
  padding: 8px 3px;
}

.s2029-topbar a:hover,
.s2029-topbar-link:hover {
  color: #fff;
}

/* GLOBAL MAIN */

.s2029-main {
  width: 100%;
  flex: 1;
  padding: clamp(22px, 2.6vh, 36px) 24px 70px;
}

/* ACCUEIL */

.s2029-stage {
  width: min(1480px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(26px, 2.35vw, 42px);
  padding-top: 0;
}

.s2029-card {
  position: relative;
  display: block;
  width: clamp(245px, 16.4vw, 320px);
  height: clamp(360px, 24vw, 460px);
  text-decoration: none;
  color: #fff;
  perspective: 1800px;
}

.s2029-card.c1 { transform: translateY(46px) rotate(-14deg); }
.s2029-card.c2 { transform: translateY(12px) rotate(-5deg); }
.s2029-card.c3 { transform: translateY(12px) rotate(5deg); }
.s2029-card.c4 { transform: translateY(46px) rotate(14deg); }

.card-inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.card-face {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  overflow: hidden;
  backface-visibility: hidden;
  border: 2px solid rgba(255,255,255,.55);
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
}

.s2029-card.c1 .front {
  background: linear-gradient(to top, rgba(0,0,0,.46), transparent), url("assets/card-visionnage.png") center / cover no-repeat;
}

.s2029-card.c2 .front {
  background: linear-gradient(to top, rgba(0,0,0,.46), transparent), url("assets/card-ecoute.png") center / cover no-repeat;
}

.s2029-card.c3 .front {
  background: linear-gradient(to top, rgba(0,0,0,.46), transparent), url("assets/card-explo.png") center / cover no-repeat;
}

.s2029-card.c4 .front {
  background: linear-gradient(to top, rgba(0,0,0,.46), transparent), url("assets/card-atelier.png") center / cover no-repeat;
}

.card-face.back {
  transform: rotateY(180deg);
  background: url("assets/card-back.png") center / cover no-repeat;
}

.card-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
}

.card-title {
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  font-size: clamp(28px, 1.8vw, 34px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.card-title.single {
  display: block;
}

.s2029-stage.is-card-focused .s2029-card {
  opacity: .56;
  filter: saturate(.82) brightness(.92);
}

.s2029-stage.is-card-focused .s2029-card.is-active {
  opacity: 1;
  filter: none;
}

/* SOUS-PAGES */

.s2029-main-visionnage,
.s2029-main-exploration,
.s2029-main-salon {
  padding-top: 36px;
}

.s2029-visionnage-intro,
.s2029-exploration-intro,
.s2029-salon-intro {
  width: min(1100px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.s2029-visionnage-kicker,
.s2029-exploration-kicker,
.s2029-salon-kicker {
  margin: 0 0 10px;
  color: var(--soft);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .28em;
}

.s2029-visionnage-title,
.s2029-exploration-title,
.s2029-salon-title {
  margin: 0;
  font-size: clamp(54px, 7vw, 94px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.05em;
}

.s2029-visionnage-text,
.s2029-exploration-text,
.s2029-salon-text {
  width: min(900px, 100%);
  margin: 18px auto 0;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

/* EXPLORATION */

.s2029-exploration-grid {
  width: min(1500px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 28px;
}

.s2029-explo-card {
  min-height: 250px;
  padding: 28px;
  display: block;
  text-decoration: none;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(9,27,49,.58);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}

.s2029-explo-card-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.s2029-explo-card-title {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: .95;
}

.s2029-explo-card-text {
  margin: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.5;
}

/* VISIONNAGE */

.s2029-visionnage-grid {
  width: min(1500px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(340px, 1fr));
  gap: 34px;
}

.s2029-visionnage-card {
  position: relative;
  min-height: 290px;
  display: flex;
  align-items: stretch;
  text-decoration: none;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(9,27,49,.58);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,.26);
}

.s2029-visionnage-card-inner {
  width: 100%;
  min-height: 290px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.s2029-visionnage-type,
.s2029-visionnage-badge {
  position: absolute;
  top: 18px;
  z-index: 2;
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(10,26,47,.24);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.s2029-visionnage-type { left: 18px; }
.s2029-visionnage-badge { right: 18px; }

.s2029-visionnage-card-title {
  color: transparent;
  -webkit-text-stroke: 3px rgba(255,255,255,.9);
  font-size: clamp(86px, 9vw, 150px);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

/* SALON */

.s2029-salon-stage {
  width: min(1480px, 100%);
  min-height: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 88px minmax(0,1fr) 88px;
  gap: 18px;
  align-items: center;
}

.s2029-salon-carousel,
.s2029-salon-track {
  position: relative;
  width: 100%;
  min-height: 600px;
}

.s2029-salon-carousel {
  overflow: hidden;
  perspective: 2200px;
}

.s2029-record {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 38vw);
  aspect-ratio: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: transform .72s ease, opacity .52s ease;
}

.s2029-record.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  z-index: 5;
}

.s2029-record.is-prev {
  opacity: .78;
  transform: translate(-50%, -50%) translateX(-360px) rotateY(66deg) scale(.78);
  z-index: 3;
}

.s2029-record.is-next {
  opacity: .78;
  transform: translate(-50%, -50%) translateX(360px) rotateY(-66deg) scale(.78);
  z-index: 3;
}

.s2029-record.is-hidden-left {
  transform: translate(-50%, -50%) translateX(-620px) scale(.6);
}

.s2029-record.is-hidden-right {
  transform: translate(-50%, -50%) translateX(620px) scale(.6);
}

.s2029-record-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.s2029-record-object {
  position: relative;
  width: 100%;
  height: 100%;
}

.s2029-record-vinyl {
  position: absolute;
  top: 50%;
  right: -4%;
  width: 78%;
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #222 0 12%, #050505 13% 100%);
}

.s2029-record-sleeve {
  position: absolute;
  inset: 0 18% 0 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(8,22,41,.78);
  z-index: 2;
}

.s2029-record-sleeve-inner {
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.s2029-record-kicker {
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}

.s2029-record-title {
  margin: 8px 0 0;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 900;
  color: #fff;
}

.s2029-salon-nav {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(10,26,47,.22);
  color: #fff;
  cursor: pointer;
}

.s2029-salon-nav span {
  font-size: 36px;
}

/* PERSONNAGES */

.personnages-layout {
  width: min(1760px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(680px, 1fr) 260px;
  gap: 26px;
  align-items: start;
  padding: 20px 24px 90px;
}

.perso-list {
  min-height: 700px;
  max-height: calc(100vh - 235px);
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8,24,44,.48);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.perso-search {
  width: 100%;
  height: 42px;
  margin-bottom: 14px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(5,16,30,.62);
  color: #fff;
  outline: none;
}

.perso-nav-inline {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.perso-nav-inline a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(5,16,30,.42);
}

.perso-alpha-list {
  overflow-y: auto;
  padding-right: 4px;
}

.perso-alpha-group {
  margin-bottom: 15px;
}

.perso-alpha-letter {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.perso-alpha-group a {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}

.perso-alpha-group a:hover,
.perso-alpha-group a.is-active {
  background: rgba(58,141,255,.2);
}

.perso-title-row,
.perso-text,
.perso-portrait-row,
.perso-iconiques {
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.perso-title-row {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.perso-name {
  margin: 0;
  font-size: clamp(54px, 5vw, 82px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.055em;
}

.perso-switch {
  display: inline-flex;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(7,20,38,.54);
}

.perso-switch button {
  min-width: 88px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  font-weight: 900;
  cursor: pointer;
}

.perso-switch button.active {
  background: rgba(58,141,255,.24);
  color: #fff;
}

.perso-text {
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(8,24,44,.5);
}

.perso-text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.perso-portrait-row,
.perso-iconiques {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.perso-portrait-row {
  margin-bottom: 18px;
}

.perso-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: rgba(5,16,30,.72);
  cursor: zoom-in;
}

.perso-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.perso-frame.small {
  aspect-ratio: 2 / 3;
  border-radius: 20px;
  border: 3px solid var(--blue);
}

.perso-frame.wide {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 3px solid var(--blue);
}

.perso-frame.is-s2029 {
  border-color: var(--blue);
}

.perso-frame.is-ads {
  border-color: var(--ads);
}

.perso-frame::after {
  content: attr(data-series);
  position: absolute;
  right: 0;
  bottom: 0;
  width: 96px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.perso-frame.is-s2029::after {
  background: var(--blue);
}

.perso-frame.is-ads::after {
  background: var(--ads);
}

.perso-video {
  margin-top: 64px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8,24,44,.48);
}

.perso-video-frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,.42);
}

.perso-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* FOOTER */

.s2029-footer {
  margin-top: auto;
  padding: 18px 24px 24px;
}

.s2029-footer-inner {
  width: fit-content;
  max-width: calc(100% - 16px);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  background: rgba(10,26,47,.16);
}

.s2029-footer-link,
.s2029-footer-sep {
  color: var(--soft);
  text-decoration: none;
  font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 1460px) {
  .s2029-logo {
    font-size: clamp(74px, 10.9vw, 158px);
  }

  .s2029-stage {
    gap: clamp(20px, 1.8vw, 30px);
  }

  .s2029-card {
    width: clamp(220px, 16vw, 260px);
    height: clamp(330px, 23vw, 390px);
  }

  .s2029-card.c1 { transform: translateY(38px) rotate(-14deg); }
  .s2029-card.c2 { transform: translateY(10px) rotate(-5deg); }
  .s2029-card.c3 { transform: translateY(10px) rotate(5deg); }
  .s2029-card.c4 { transform: translateY(38px) rotate(14deg); }

  .personnages-layout {
    grid-template-columns: 260px minmax(620px, 1fr) 230px;
    gap: 22px;
  }

  .perso-title-row,
  .perso-text,
  .perso-portrait-row,
  .perso-iconiques {
    width: min(700px, 100%);
  }
}

@media (max-width: 1120px) {
  .s2029-logo {
    font-size: clamp(56px, 10.2vw, 112px);
  }

  .s2029-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px,1fr));
    max-width: 760px;
  }

  .s2029-card {
    width: 100%;
    height: 400px;
    transform: none !important;
  }

  .s2029-visionnage-grid,
  .personnages-layout {
    grid-template-columns: 1fr;
  }

  .s2029-exploration-grid {
    grid-template-columns: repeat(2, minmax(260px,1fr));
  }

  .perso-video {
    margin-top: 0;
  }

  .perso-video-frame {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .s2029-hero {
    padding: 16px 14px 0;
  }

  .s2029-logo {
    font-size: clamp(40px, 11vw, 76px);
    letter-spacing: -0.055em;
  }

  .s2029-logo-subpage {
    font-size: clamp(48px, 9vw, 88px);
  }

  .s2029-topbar {
    width: calc(100% - 20px);
  }

  .s2029-stage,
  .s2029-exploration-grid,
  .perso-portrait-row,
  .perso-iconiques {
    grid-template-columns: 1fr;
  }

  .s2029-card {
    height: 360px;
  }

  .perso-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .perso-portrait-row,
  .perso-iconiques {
    width: min(360px, 100%);
  }
}