:root{
  --blue:#0000ee;
}

*{ box-sizing:border-box; }
html,body{
  margin:0; padding:0;
  scroll-behavior:smooth;
}
body{
  font-family: "Poppins", sans-serif;
  background:white;
  color:var(--blue);
}

/* HEADER */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  padding:18px 22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:transparent;
  z-index:10;
}
.brand{
  font-weight:700;
  letter-spacing:.6px;
  font-size:16px;
}
.nav a{
  position:relative;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(0,0,238,0.06);
  backdrop-filter: blur(6px);
  transition:.25s ease;
  color:var(--blue);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.nav a:hover{
  background:rgba(0,0,238,0.15);
  transform: translateY(-1px);
  box-shadow:0 4px 14px rgba(0,0,238,0.18);
}
.nav a::before{
  content:"";
  position:absolute;
  top:2px; left:10%;
  width:80%; height:35%;
  background:rgba(255,255,255,0.35);
  filter:blur(10px);
  border-radius:999px;
  opacity:.6;
  pointer-events:none;
}

/* PAGE DE GARDE */
.cover{
  height:100svh; height:100dvh; height:100vh;
  display:grid;
  place-items:center;
  text-align:center;
  padding:0 20px;
}
.cover-inner{
  display:grid;
  gap:18px;
  place-items:center;
}
.cover-title{
  font-size:clamp(30px,5vw,56px);
  letter-spacing:1.6px;
  font-weight:400;
  text-transform:uppercase;
}

/* SOMMAIRE CENTRÉ (APPLE BUBBLE) */
.cover-toc{
  display:grid;
  gap:10px;
  margin-top:10px;
}
.cover-toc__item{
  position:relative;
  display:inline-flex;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(0,0,238,0.06);
  color:var(--blue);
  text-decoration:none;
  font-weight:600;
  letter-spacing:.4px;
  transition:.25s ease;
}
.cover-toc__item::before{
  content:"";
  position:absolute;
  top:2px; left:10%;
  width:80%; height:35%;
  background:rgba(255,255,255,0.35);
  filter:blur(10px);
  border-radius:999px;
  opacity:.6;
  pointer-events:none;
}
.cover-toc__item:hover{
  background:rgba(0,0,238,0.15);
  transform:translateY(-1px);
  box-shadow:0 4px 14px rgba(0,0,238,0.18);
}

/* petit hint */
.cover-hint{
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:rgba(0,0,238,0.5);
}

/* SECTIONS */
.section{
  min-height:70vh;
  padding:110px 22px 60px;
  max-width:1000px;
  margin:0 auto;
}
.section-title{
  font-size:clamp(20px,3vw,28px);
  margin-bottom:12px;
  font-weight:400;
  text-transform:uppercase;
  letter-spacing:1px;
}
.section-text{
  font-size:15.5px;
  line-height:1.7;
  color:rgba(0,0,238,0.85);
  max-width:820px;
}

/* GALERIE */
.gallery{
  display:grid;
  gap:24px;
  margin-top:10px;
}
.gallery-item{
  margin:0;
}
.gallery-item img{
  width:100%;
  height:auto;
  border-radius:0;
  box-shadow:none;
}
.gallery-item figcaption{
  margin-top:6px;
  font-size:13px;
  color:rgba(0,0,238,0.6);
  letter-spacing:.3px;
}

/* CREDITS */
.credits{
  list-style:none;
  padding:0; margin:0;
  display:grid;
  gap:8px;
  font-size:15px;
}
.credits span{
  font-weight:700;
  color:rgba(0,0,238,0.8);
}

/* REVEAL (même style que ta page principale) */
.reveal-left, .reveal-right{
  opacity:0;
  transition: opacity .9s ease, transform .9s ease;
  will-change: opacity, transform;
}
.reveal-left{ transform: translateX(-60px); }
.reveal-right{ transform: translateX(60px); }
.is-visible{
  opacity:1 !important;
  transform: translate(0,0) !important;
}

/* RESPONSIVE */
@media (max-width:900px){
  .section{
    padding:96px 18px 50px;
    min-height:auto;
  }
  .cover-toc__item{
    width: min(260px, 90vw);
  }
}

.subproject{
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Galerie : grille responsive simple */
.dessins-galerie{
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 1100px;
  margin: 40px auto;
}

/* Bloc image */
.dessin{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Image par défaut */
.dessin img{
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Taille portrait (verticale) */
.dessin.portrait img{
  height: 340px;      /* tu peux changer la hauteur */
}

/* Taille paysage (horizontale) */
.dessin.paysage img{
  height: 220px;      /* tu peux changer la hauteur */
}

/* Titre sous l’image */
.dessin-titre{
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.6;
  text-align: center;
}

.drawings-page{
  padding: 120px 40px 60px; /* place le contenu SOUS le header */
}

.drawings-page-head{
  margin-bottom: 30px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.drawings-page-title{
  margin: 0 0 6px 0;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: .6px;
  text-transform: uppercase;
}

.drawings-page-sub{
  margin: 0;
  font-size: 14px;
  opacity: 0.6;
}
