:root{
    --paper: #ffffff;
    --red: #d7263d;
    --red-soft: rgba(215, 38, 61, 0.08);
    --text: #2b2a2e;
    --text-dim: #8f8b90;
    --line: rgba(215, 38, 61, 0.2);
  }

html {
  scroll-behavior: smooth;
}

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

  html, body{
    height: 100%;
    background: var(--paper);
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
  }


  .layout{
    display: flex;
    min-height: 100vh;
  }



  .banner{
  position: relative;
  flex: 0 0 auto;
  width: calc(100vh * 600 / 2532);  
  aspect-ratio: 1170 / 12870;        
  overflow: hidden;
  background: #ffffff;
}

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

  .banner .label{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    white-space: nowrap;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--parchment-dim);
    opacity: 0.6;
    pointer-events: none;
  }

  @media (max-width: 900px){
    .banner{ display: none; }
  }


  .content{
    margin-top:30px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: justify;
    padding: 8vh 6vw;
  }

  h1{
    font-family: 'Courgette', cursive;
    font-weight: 600;
    font-size: clamp(40px, 6vw, 68px);
    letter-spacing: 0.08em;
    color: var(--parchment);
    text-shadow: 0 0 30px rgba(236, 226, 200, 0.12);
    margin-bottom: 36px;
    color: rgba(123,55,254,1);
  }

  h2{
    margin-top: 40px;
    font-family: 'Courgette', cursive;
    font-weight: 600;
    font-size: clamp(2rem, 6vw, 3rem);
    letter-spacing: 0.08em;
    color: var(--parchment);
    text-shadow: 0 0 30px rgba(236, 226, 200, 0.12);
    margin-bottom: 36px;
    color: rgba(123,55,254,1);
    text-align: center;
  }

  p{
    font-family: "Times New Roman", Times, serif;
  }
  ul{
    font-family: "Times New Roman", Times, serif;
  }

.text_center {
    text-align: center;
}

.mot_vert {
    color: rgba(31,161,65,1);
}

.mot_rouge {
    color: rgba(157,36,43,1);
}

.mot_bleu {
    color: rgba(14,57,164,1);
}

.mot_violet {
    color: rgba(129,73,185,1);
}

  .body-text{
    max-width: 108ch;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 1.4rem;
    line-height: 1.85;
    color: var(--parchment-dim);
  }

  .body-text p{
    text-indent: 2em;
  }


  .gallery{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 48px;
  }

  .image-slot{
    max-width: 100ch;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(236, 226, 200, 0.03);
    overflow: hidden;
  }

  .gallery2{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .image-slot2{
    max-width: 30ch;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    transform: translateX(6%);
    background: rgba(236, 226, 200, 0.03);
    overflow: hidden;
  }


  .image-slot2 img{
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
    object-fit: contain;
  }


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

  .image-slot span{
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--parchment-dim);
    opacity: 0.55;
  }

  @media (max-width: 560px){
    .image-slot{ width: 44vw; height: 44vw; }
  }


  .zoomable{
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.zoomable:hover{ transform: scale(1.02); }

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.lightbox.open{ opacity: 1; visibility: visible; }

.lightbox img{
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close{
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(56, 44, 7, 0.12);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.footer-credits {
  text-align: center;
  padding: 30px 15px;
  background: transparent !important; /* Force l'absence de fond */
}

/* Bouton Crédits */
.credits-btn {
  background: transparent !important; /* Force la transparence totale */
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important; /* Supprime toute ombre portée */
  -webkit-appearance: none;   /* Enlève le style natif Safari/Chrome */
  -moz-appearance: none;      /* Enlève le style natif Firefox */
  appearance: none;
  padding: 0;
  
  font-family: 'Courgette', cursive;
  font-size: 1rem;
  color: rgba(123, 55, 254, 1);
  cursor: pointer;
  
  transition: transform 0.2s ease, color 0.2s ease;
}

.newroman {
  font-family: 'Times New Roman', Times, serif;
}

.credits-btn:hover {
  color: var(--red);
  transform: scale(1.08);
}

/* Modale Crédits */
.credits-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.credits-card h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.credits-card p {
  margin-bottom: 10px;
  font-size: 1rem;
}