
:root {
  --navy: #101b32;
  --navy-2: #172640;
  --forest: #173d35;
  --gold: #c5a66a;
  --gold-light: #e1c992;
  --ivory: #f3ebdd;
  --paper: #fbf8f1;
  --ink: #182334;
  --muted: #6e716e;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

a {
  color: inherit;
}

.site-shell {
  overflow: hidden;
}

/* =========================================
   BANNIÈRE PRINCIPALE
   ========================================= */

.hero {
  min-height: 650px;
  height: min(88vh, 850px);
  position: relative;
  display: grid;
  place-items: center;
  color: var(--ivory);
  background: var(--navy);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/banniere-celeste.png");
  background-size: cover;
  background-position: center 48%;
}

.hero-image.no-image {
  background:
    radial-gradient(ellipse at 70% 28%, #28435a 0, transparent 25%),
    radial-gradient(ellipse at 25% 85%, #173d35 0, transparent 36%),
    linear-gradient(145deg, #0b1428, #172e42 55%, #101b32);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6,14,29,.35), rgba(6,14,29,.22) 50%, rgba(6,14,29,.32)),
    linear-gradient(0deg, rgba(7,17,30,.42), transparent 38%, rgba(7,17,30,.18));
}

.top-mark {
  position: absolute;
  top: 28px;
  left: 5vw;
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--gold-light);
}

.tiny-star {
  font-size: 12px;
  padding: 0 8px;
}

.hero-content {
  width: min(900px, 90vw);
  text-align: center;
  padding: 80px 20px 65px;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

.eyebrow,
.section-kicker {
  font-size: 10px;
  letter-spacing: .32em;
  font-weight: 600;
}

.eyebrow {
  color: var(--gold-light);
  margin: 0 0 17px;
}

.ornament,
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--gold);
  font-size: 21px;
}

.ornament span,
.section-ornament span {
  width: 78px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament span:last-child,
.section-ornament span:last-child {
  transform: rotate(180deg);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(58px, 9vw, 112px);
  line-height: .92;
  font-weight: 500;
  margin: 18px 0 15px;
  letter-spacing: -.035em;
}

.tagline {
  color: var(--gold-light);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(27px, 4vw, 43px);
  margin: 0 0 20px;
}

.intro {
  font-family: var(--serif);
  font-size: 21px;
  color: #fff8eb;
  margin: 0;
}

.scroll-cue {
  display: inline-flex;
  width: 28px;
  height: 42px;
  border: 1px solid rgba(225,201,146,.75);
  border-radius: 20px;
  margin-top: 48px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.scroll-cue span {
  width: 3px;
  height: 7px;
  background: var(--gold-light);
  border-radius: 4px;
  animation: drift 1.6s infinite;
}

@keyframes drift {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

.hero-bottom-ornament {
  position: absolute;
  bottom: 18px;
  color: var(--gold-light);
  opacity: .85;
  letter-spacing: .3em;
  font-size: 13px;
}

/* =========================================
   PRÉSENTATION DES ALBUMS
   ========================================= */

.section-light {
  background: var(--ivory);
}

.welcome {
  text-align: center;
  padding: 82px 22px 35px;
}

.section-kicker {
  color: var(--forest);
  margin-bottom: 13px;
}

.section-ornament {
  margin-bottom: 13px;
}

.section-ornament span {
  width: 58px;
}

.welcome h2,
.film-note h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(39px, 5vw, 56px);
  color: var(--forest);
  margin: 0 0 8px;
}

.section-subtitle {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 14px;
}

.welcome-copy {
  color: #59615b;
  max-width: 620px;
  line-height: 1.8;
  font-size: 14px;
  margin: 0 auto;
}

/* =========================================
   GRILLE DES ALBUMS
   ========================================= */

.albums-section {
  padding: 32px max(5vw, 22px) 100px;
}

.album-grid {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 28px;
}

.album-card {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.album-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.35 / 1;
  background: linear-gradient(145deg, #203d45, #101b32 55%, #456153);
  border-radius: 2px;
  box-shadow: 0 12px 28px rgba(16,27,50,.10);
}

.album-cover::before,
.album-cover::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(225,201,146,.55);
  border-radius: 50%;
  width: 180px;
  height: 180px;
  right: -38px;
  top: -75px;
  transform: rotate(-25deg);
}

.album-cover::after {
  width: 115px;
  height: 115px;
  right: -12px;
  top: -40px;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.album-card:hover .album-cover img {
  transform: scale(1.055);
}

.cover-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(243,235,221,.9);
  font-family: var(--serif);
  font-size: 50px;
  background:
    radial-gradient(circle at 70% 25%, rgba(197,166,106,.3), transparent 23%),
    radial-gradient(circle at 15% 90%, rgba(23,61,53,.9), transparent 38%),
    linear-gradient(140deg, #0d1930, #203b4a 65%, #142a2c);
}

.cover-placeholder small {
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-family: var(--sans);
  letter-spacing: .25em;
  font-size: 8px;
  color: var(--gold-light);
}

.album-meta {
  padding: 17px 5px 0;
}

.album-index {
  color: #a58a55;
  font-size: 9px;
  letter-spacing: .25em;
  margin-bottom: 5px;
}

.album-meta h3 {
  color: var(--forest);
  font: 500 30px/1.05 var(--serif);
  margin: 0 0 6px;
}

.album-subtitle {
  color: #6b6d66;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.album-description {
  color: #59615b;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.discover {
  color: var(--forest);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  display: inline-block;
}

/* =========================================
   ANCIENNE SECTION FILM
   ========================================= */

.film-note {
  background: radial-gradient(ellipse at 50% 0%, #244238, transparent 48%), var(--navy);
  color: var(--ivory);
  text-align: center;
  padding: 88px 22px 94px;
  position: relative;
}

.film-note-inner {
  max-width: 650px;
  margin: auto;
}

.moon-mark {
  color: var(--gold-light);
  font-size: 42px;
  margin-bottom: 15px;
}

.gold {
  color: var(--gold-light);
}

.film-note h2 {
  color: var(--ivory);
  margin-bottom: 10px;
}

.film-note p:not(.section-kicker) {
  color: #d7d7d0;
  font-size: 14px;
  line-height: 1.8;
}

.outline-link {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  text-decoration: none;
  padding: 13px 20px;
  margin-top: 13px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}

.outline-link:hover {
  background: var(--gold);
  color: var(--navy);
}

.film-player {
  width: min(860px, 100%);
  margin: 30px auto 0;
  aspect-ratio: 16 / 9;
  background: rgba(3,10,22,.55);
  border: 1px solid rgba(225,201,146,.45);
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
  overflow: hidden;
}

.film-player iframe,
.film-player video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #050b16;
}

.film-placeholder {
  min-height: 220px;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #e6ddc9;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
}

.film-placeholder span {
  display: block;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .15em;
  margin-top: 8px;
}

.film-open-link {
  margin-top: 18px;
}

/* =========================================
   PIED DE PAGE
   ========================================= */

.footer {
  background: #0b1426;
  color: #d8d2c4;
  text-align: center;
  padding: 36px 20px 28px;
}

.footer-stars {
  color: var(--gold);
  letter-spacing: .6em;
  margin-bottom: 14px;
}

.footer p {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 17px;
}

.back-top {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 9px;
  letter-spacing: .2em;
}

/* =========================================
   FENÊTRE MODALE
   ========================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,12,24,.82);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: relative;
  width: min(850px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: var(--paper);
  padding: clamp(25px, 5vw, 52px);
  box-shadow: 0 25px 80px rgba(0,0,0,.35);
}

.modal-close {
  position: absolute;
  right: 17px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 34px;
  color: var(--forest);
  cursor: pointer;
}

.modal-panel h2 {
  color: var(--forest);
  font: 500 clamp(36px, 6vw, 55px)/1 var(--serif);
  margin: 0 0 10px;
}

.modal-description {
  color: #5c625d;
  line-height: 1.7;
  font-size: 14px;
  max-width: 620px;
}

.modal-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin: 24px 0;
}

.media-item {
  background: #eee7da;
  min-width: 0;
}

.media-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.media-placeholder {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: linear-gradient(140deg, #172640, #24463e);
  font-size: 30px;
}

.media-caption {
  padding: 9px;
  font-size: 11px;
  color: var(--navy);
}

.media-caption a {
  display: block;
  color: var(--forest);
  margin-top: 6px;
  text-decoration: underline;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.action-link {
  display: inline-block;
  background: var(--forest);
  color: white;
  text-decoration: none;
  padding: 13px 18px;
  font-size: 11px;
  letter-spacing: .08em;
}

.action-link.secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--forest);
}

.empty-note {
  background: #f0eadf;
  padding: 18px;
  color: #5c625d;
  font-size: 13px;
  line-height: 1.7;
}

/* =========================================
   RESPONSIVE : TABLETTES ET MOBILES
   ========================================= */

@media (max-width: 850px) {
  .album-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 34px 18px;
  }

  .hero {
    min-height: 570px;
    height: 75vh;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 560px;
    height: 78vh;
  }

  .hero-image {
    background-position: 58% center;
  }

  .hero h1 {
    font-size: 58px;
  }

  .welcome {
    padding-top: 60px;
  }

  .albums-section {
    padding: 25px 18px 70px;
  }

  .album-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 430px;
  }

  .album-cover {
    aspect-ratio: 1.45 / 1;
  }

  .album-meta h3 {
    font-size: 32px;
  }

  .modal-items {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

/* =========================================
   V3 - COUVERTURE DU FILM
   ========================================= */

.film-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 72% 25%, rgba(225,201,146,.18), transparent 25%),
    radial-gradient(ellipse at 20% 100%, rgba(23,61,53,.9), transparent 45%),
    linear-gradient(145deg, #091326, #20364a 55%, #101b32);
}

.film-cover::before,
.film-cover::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(225,201,146,.28);
  border-radius: 50%;
  width: 240px;
  height: 240px;
  right: -70px;
  top: -110px;
}

.film-cover::after {
  width: 175px;
  height: 175px;
  right: -38px;
  top: -75px;
}

.film-cover-stars {
  position: absolute;
  top: 22px;
  color: var(--gold-light);
  font-size: 17px;
  letter-spacing: 8px;
}

.film-cover-moon {
  font-size: 105px;
  line-height: 1;
  color: var(--gold-light);
  text-shadow: 0 0 35px rgba(225,201,146,.35);
  transform: rotate(-15deg);
  margin-bottom: 12px;
}

.film-play {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  border: 1px solid rgba(225,201,146,.8);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 17px;
  transition: background .3s, color .3s, transform .3s;
}

.album-card:hover .film-play {
  background: var(--gold-light);
  color: var(--navy);
  transform: scale(1.1);
}

.film-cover-caption {
  position: absolute;
  bottom: 23px;
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: .28em;
}

/* =========================================
   V3 - LECTEUR VIDÉO DANS LA FENÊTRE MODALE
   ========================================= */

.modal-video-player {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050b16;
  border: 1px solid rgba(197,166,106,.45);
  box-shadow: 0 12px 35px rgba(0,0,0,.2);
}

.modal-video-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Évite qu'un ancien placeholder d'image recouvre une couverture */

.cover-placeholder[hidden] {
  display: none;
}
/* Bouton Play sur la couverture vidéo */

.cover-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cover-play-button {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: rgba(16,27,50,.55);
  color: white;
  font-size: 23px;
  box-shadow: 0 4px 25px rgba(0,0,0,.3);
  transition: transform .3s, background .3s;
}

.album-card:hover .cover-play-button {
  transform: scale(1.12);
  background: rgba(197,166,106,.9);
}