/* ========== BASE ========== */
* { box-sizing: border-box; }
html, body { height: 100%; }

:root{
  --ink: #140f18;
  --ink-soft: rgba(20, 15, 24, 0.72);
  --card: rgba(255, 255, 255, 0.55);
  --stroke: rgba(20, 15, 24, 0.18);
  --shadow: 0 18px 50px rgba(20, 15, 24, 0.22);
  --shadow-soft: 0 10px 30px rgba(20, 15, 24, 0.16);
  --radius: 22px;
}

body{
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: radial-gradient(1200px 700px at 50% 20%, #f6d9ea 0%, #e8b9d2 35%, #d49abb 70%, #c68bb0 100%);
  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1100px, calc(100% - 32px));
  margin-inline: auto;
}

/* ========== ORNAMENTS ========== */
.orn{
  position: fixed;
  width: 340px;
  height: 340px;
  pointer-events: none;
  opacity: 0.35;
  filter: drop-shadow(0 12px 18px rgba(20,15,24,0.18));
  background:
    radial-gradient(circle at 30% 30%, rgba(20,15,24,0.55) 0 6px, transparent 7px),
    radial-gradient(circle at 62% 40%, rgba(20,15,24,0.55) 0 4px, transparent 5px),
    conic-gradient(from 90deg, rgba(20,15,24,0.0), rgba(20,15,24,0.55), rgba(20,15,24,0.0));
  border-radius: 999px;
  mask:
    radial-gradient(circle at 30% 30%, #0000 0 20px, #000 21px 100%),
    radial-gradient(circle at 55% 55%, #0000 0 85px, #000 86px 100%),
    radial-gradient(circle at 50% 50%, #000 0 100%);
}
.orn--tl{ top: -140px; left: -140px; transform: rotate(-25deg); }
.orn--br{ bottom: -150px; right: -150px; transform: rotate(155deg); opacity: 0.30; }

@media (max-width: 700px){
  .orn{ width: 240px; height: 240px; opacity: 0.24; }
  .orn--tl{ top: -110px; left: -110px; }
  .orn--br{ bottom: -120px; right: -120px; }
}

/* ========== TOP (logo + nav) ========== */
.top{
  display: grid;
  place-items: center;
  padding: 28px 0 10px;
  gap: 12px;
}

.logoLink{
  display: inline-grid;
  place-items: center;
}

.logo{
  width: min(720px, 92vw);
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(20,15,24,0.22));
}

.nav{
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(20,15,24,0.14);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: var(--shadow-soft);
}

.btn{
  border: 1px solid rgba(20,15,24,0.20);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(20,15,24,0.88);
  color: #fff;
  text-decoration: none !important;
}

/* ========== TITLES ========== */
.pageTitle{
  margin: 18px 0 6px;
  text-align: center;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -0.2px;
}

.pageSub{
  margin: 0 0 22px;
  text-align: center;
  color: var(--ink-soft);
}

/* ========== SECTIONS + GRID ========== */
.section{
  margin: 18px 0 26px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(20,15,24,0.10);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.sectionTitle{
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: 0.2px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.sectionTitle::after{
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(20,15,24,0.16);
  opacity: 0.7;
}

.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 900px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .grid{ grid-template-columns: 1fr; }
}

/* Thumbnails */
.thumb{
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.45);
  border-radius: 18px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .12s ease, box-shadow .12s ease;
  position: relative;
  aspect-ratio: 16 / 10; /* joli rendu miniatures */
}

.thumb:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.thumb img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  filter: saturate(1.05);
}

/* Petite brillance douce */
.thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(600px 240px at 20% 20%, rgba(255,255,255,0.35), rgba(255,255,255,0));
  pointer-events:none;
}

/* Section hint */
.hint{
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

/* ========== LIGHTBOX ========== */
.no-scroll{ overflow: hidden; }

.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

.lightbox.is-open{ display: block; }

.lightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(20,15,24,0.68);
  backdrop-filter: blur(6px);
}

.lightbox__panel{
  position: absolute;
  inset: 22px;
  display: grid;
  place-items: center;
}

.lightbox__img{
  max-width: min(1100px, 95vw);
  max-height: min(85vh, 900px);
  width: auto;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  background: rgba(255,255,255,0.06);
}

.lightbox__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}
.lightbox__close:hover{
  background: rgba(255,255,255,0.18);
}

/* ========== FOOTER ========== */
.footer{
  margin-top: 26px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(20,15,24,0.12);
  background: linear-gradient(to top, rgba(246,217,234,0.65), rgba(246,217,234,0.0));
}

.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(20,15,24,0.78);
  font-size: 13px;
}
