: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);
    text-align: center;
  }

  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: O;
  }

  .image-slot{
    max-width: 20ch;
    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: 20ch;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    background: rgba(236, 226, 200, 0.03);
    overflow: hidden;
  }


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

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

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


  .image-slot3 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; }
  }












  /* ===================== FOOTER / CRÉDITS ===================== */

.footer-credits {
  text-align: center;
  padding: 30px 0 10px 0;
  margin-top: auto; /* Pousse fermement le bouton tout en bas du bloc central */
  background: transparent !important;
}

/* Bouton Crédits (Texte pur sans fond ni contour) */
.credits-btn {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  
  font-family: 'Courgette', cursive;
  font-size: 1rem;
  color: rgb(0, 208, 255);
  cursor: pointer;
  
  transition: transform 0.2s ease, color 0.2s ease;
}

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

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

/* ===================== MODALE / LIGHTBOX ===================== */

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

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.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;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #8f8b90;
}

.lightbox-close:hover {
  color: #2b2a2e;
}