/* ===== v1.2.3 — caméra mobile/PWA ===== */
.camera-picker{appearance:none;width:100%;text-align:left;font:inherit}
.camera-native-input{position:fixed!important;left:-9999px!important;top:-9999px!important;width:1px!important;height:1px!important;opacity:.001!important}
.photo-selected{position:relative;display:grid;grid-template-columns:74px 1fr auto;align-items:center;gap:12px;margin-top:11px;padding:9px;border:1px solid rgba(220,194,227,.95);border-radius:14px;background:rgba(255,255,255,.68)}
.photo-selected img{width:74px;height:74px;object-fit:cover;border-radius:11px;background:#f0e1f2}
.photo-selected strong{display:block;color:#58376f;font-size:.84rem}.photo-selected small{display:block;margin-top:3px;color:#8a739b;font-size:.70rem}
.photo-selected-clear{width:32px;height:32px;border:0;border-radius:50%;background:rgba(92,58,111,.08);color:#765185;font-size:1.25rem;cursor:pointer}
.camera-opened{overflow:hidden}
.camera-modal{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:16px;background:rgba(24,12,35,.82);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.camera-dialog{width:min(720px,100%);overflow:hidden;border:1px solid rgba(255,255,255,.26);border-radius:24px;background:#24152f;box-shadow:0 28px 80px rgba(0,0,0,.44)}
.camera-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03))}
.camera-dialog-head strong{display:block;font-family:Baskerville,Georgia,serif;font-size:1.18rem}.camera-dialog-head small{display:block;margin-top:2px;color:rgba(255,255,255,.72);font-size:.72rem}
.camera-close{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:1.5rem;cursor:pointer}
.camera-stage{position:relative;aspect-ratio:4/3;max-height:66vh;display:grid;place-items:center;overflow:hidden;background:#09070c}
.camera-stage video{width:100%;height:100%;object-fit:cover;background:#09070c}
.camera-guide{position:absolute;inset:9%;border:1px solid rgba(255,255,255,.50);border-radius:22px;box-shadow:0 0 0 999px rgba(0,0,0,.08);pointer-events:none}
.camera-guide:before,.camera-guide:after{content:"";position:absolute;width:34px;height:34px;border-color:#f3c3e0;border-style:solid;pointer-events:none}.camera-guide:before{left:-1px;top:-1px;border-width:3px 0 0 3px;border-radius:14px 0 0}.camera-guide:after{right:-1px;bottom:-1px;border-width:0 3px 3px 0;border-radius:0 0 14px}
.camera-message{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100% - 32px));padding:12px 14px;border:1px solid rgba(255,255,255,.20);border-radius:13px;background:rgba(27,14,37,.86);color:#fff;text-align:center;font-size:.82rem;line-height:1.45}
.camera-controls{display:grid;grid-template-columns:1fr 76px 1fr;align-items:center;gap:14px;padding:14px 18px 18px;background:#24152f}
.camera-controls .btn{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff}
.camera-shutter{width:70px;height:70px;justify-self:center;display:grid;place-items:center;border:3px solid rgba(255,255,255,.9);border-radius:50%;background:transparent;cursor:pointer;box-shadow:0 0 0 4px rgba(255,255,255,.08)}
.camera-shutter span{width:54px;height:54px;border-radius:50%;background:linear-gradient(145deg,#fff,#f6dbe9);box-shadow:inset 0 -3px 8px rgba(122,71,139,.12)}
.camera-shutter:active span{transform:scale(.92)}
@media(max-width:700px){
  .camera-modal{padding:0;place-items:stretch}
  .camera-dialog{width:100%;height:100dvh;display:grid;grid-template-rows:auto 1fr auto;border:0;border-radius:0}
  .camera-stage{aspect-ratio:auto;max-height:none;min-height:0}
  .camera-guide{inset:8% 7%;border-radius:24px}
  .camera-controls{grid-template-columns:1fr 78px 1fr;padding:14px 12px calc(16px + env(safe-area-inset-bottom));gap:9px}
  .camera-controls .btn{padding:8px;font-size:.70rem}
  .camera-shutter{width:72px;height:72px}
  .photo-selected{grid-template-columns:68px 1fr auto}
  .photo-selected img{width:68px;height:68px}
}

/* ===== v1.2.4 — recadrage photo tactile ===== */
.photo{aspect-ratio:6/5}
.photo img{object-position:50% 50%}
.photo-selected{grid-template-columns:74px minmax(0,1fr) auto auto}
.photo-selected-copy{min-width:0}
.photo-selected-recrop{min-height:34px;padding:7px 10px;border:1px solid rgba(193,151,211,.48);border-radius:10px;background:rgba(255,255,255,.72);color:#754b8d;font-weight:800;font-size:.72rem;cursor:pointer}
.photo-selected-recrop:hover{background:#fff}

.crop-modal{position:fixed;z-index:1010;inset:0;display:grid;place-items:center;padding:16px;background:rgba(19,10,28,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.crop-dialog{width:min(820px,100%);overflow:hidden;border:1px solid rgba(255,255,255,.24);border-radius:24px;background:linear-gradient(180deg,#291838,#1d1128);box-shadow:0 30px 90px rgba(0,0,0,.48)}
.crop-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.03))}
.crop-dialog-head strong{display:block;font-family:Baskerville,Georgia,serif;font-size:1.22rem;font-weight:600}
.crop-dialog-head small{display:block;margin-top:3px;color:rgba(255,255,255,.72);font-size:.73rem;line-height:1.35}
.crop-close{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:1.5rem;cursor:pointer}
.crop-workspace{padding:16px 18px 13px;background:radial-gradient(circle at 50% 20%,rgba(151,86,189,.14),transparent 40%)}
.crop-frame{position:relative;width:min(720px,100%);aspect-ratio:6/5;margin:0 auto;overflow:hidden;border:2px solid rgba(255,255,255,.72);border-radius:18px;background:#09070c;box-shadow:0 18px 36px rgba(0,0,0,.28),0 0 0 1px rgba(231,181,222,.20)}
.crop-frame canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.crop-frame canvas:active{cursor:grabbing}
.crop-frame:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25),inset 0 0 60px rgba(18,9,25,.20)}
.crop-globe-guide{position:absolute;z-index:3;left:50%;top:49%;transform:translate(-50%,-50%);width:56%;height:73%;border:2px dashed rgba(255,238,250,.74);border-radius:48% 48% 34% 34% / 44% 44% 28% 28%;pointer-events:none;filter:drop-shadow(0 2px 5px rgba(0,0,0,.28))}
.crop-globe-guide:after{content:"";position:absolute;left:20%;right:20%;bottom:-5%;height:8%;border:2px solid rgba(255,238,250,.66);border-top:0;border-radius:0 0 50% 50%;opacity:.82}
.crop-globe-guide span{position:absolute;left:50%;bottom:7%;transform:translateX(-50%);white-space:nowrap;padding:5px 9px;border-radius:999px;background:rgba(35,17,47,.62);color:rgba(255,245,251,.92);font-size:.66rem;font-weight:760;letter-spacing:.01em}
.crop-corners{position:absolute;z-index:4;inset:10px;pointer-events:none;border:0}
.crop-corners:before,.crop-corners:after{content:"";position:absolute;width:30px;height:30px;border-color:#f2c2df;border-style:solid}
.crop-corners:before{left:0;top:0;border-width:3px 0 0 3px;border-radius:10px 0 0}
.crop-corners:after{right:0;bottom:0;border-width:0 3px 3px 0;border-radius:0 0 10px}
.crop-help{margin:10px auto 0;text-align:center;color:rgba(255,255,255,.68);font-size:.72rem}
.crop-tools{display:grid;grid-template-columns:auto minmax(220px,1fr);gap:14px;align-items:center;width:min(720px,100%);margin:12px auto 0}
.crop-tools .btn{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff}
.crop-zoom{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;color:#fff;font-size:1rem}
.crop-zoom input{width:100%;accent-color:#d48ed0}
.crop-actions{display:flex;justify-content:flex-end;gap:10px;padding:12px 18px 18px;background:#21132d}
.crop-actions .btn.secondary{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff}
.crop-actions .btn.primary{min-width:190px}

@media(max-width:700px){
  .photo{aspect-ratio:6/5}
  .photo-selected{grid-template-columns:64px minmax(0,1fr) auto;gap:9px}
  .photo-selected img{width:64px;height:64px}
  .photo-selected-recrop{grid-column:2;justify-self:start;padding:6px 9px}
  .photo-selected-clear{grid-column:3;grid-row:1/3}
  .crop-modal{padding:0;place-items:stretch}
  .crop-dialog{width:100%;height:100dvh;display:grid;grid-template-rows:auto 1fr auto;border:0;border-radius:0}
  .crop-dialog-head{padding:calc(12px + env(safe-area-inset-top)) 14px 12px}
  .crop-dialog-head strong{font-size:1.12rem}
  .crop-dialog-head small{font-size:.68rem}
  .crop-workspace{min-height:0;overflow:auto;display:flex;flex-direction:column;justify-content:center;padding:12px 12px 10px}
  .crop-frame{width:100%;max-height:58dvh;border-radius:16px}
  .crop-globe-guide{width:61%;height:75%}
  .crop-globe-guide span{font-size:.60rem;padding:4px 7px}
  .crop-help{font-size:.66rem;line-height:1.35}
  .crop-tools{grid-template-columns:1fr;gap:10px;margin-top:10px}
  .crop-tools .btn{justify-self:center;min-height:38px;padding:7px 11px;font-size:.70rem}
  .crop-zoom{width:100%}
  .crop-actions{padding:10px 12px calc(12px + env(safe-area-inset-bottom));display:grid;grid-template-columns:.8fr 1.4fr;gap:9px}
  .crop-actions .btn{min-width:0;min-height:48px;padding:9px 10px;font-size:.76rem}
}

/* ===== v1.2.5 — correction du chevauchement du bandeau d'accueil ===== */
.collection-hero{
  min-height:300px;
  padding:34px 44px 26px 44px;
  border-radius:0 0 24px 24px;
  border:1px solid rgba(255,255,255,.52);
  background:
    linear-gradient(90deg,rgba(255,245,250,.82) 0%,rgba(255,240,248,.58) 18%,rgba(255,246,251,.20) 36%,rgba(255,255,255,0) 58%),
    linear-gradient(180deg,rgba(102,53,135,.06),rgba(255,177,146,.04)),
    url('/public/assets/hero-reference-bg.jpg') center/cover no-repeat;
  box-shadow:0 22px 48px rgba(88,44,114,.16);
  overflow:hidden;
}
.collection-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 14%,rgba(255,255,255,.24),rgba(255,255,255,0) 9%),
    radial-gradient(circle at 25% 62%,rgba(255,213,232,.14),rgba(255,213,232,0) 14%),
    radial-gradient(circle at 88% 22%,rgba(255,239,187,.16),rgba(255,239,187,0) 12%);
  pointer-events:none;
}
.collection-hero:after{display:none !important;content:none !important}
.hero-copy{
  position:relative;
  z-index:2;
  max-width:430px;
  margin:28px 0 0 56px;
}
.hero-stats{position:relative;z-index:2}
@media (max-width:1180px){
  .collection-hero{padding:26px 26px 22px 26px}
  .hero-copy{margin:22px 0 0 30px}
}
@media (max-width:900px){
  .collection-hero{padding:20px 20px 16px;min-height:auto;border-radius:22px}
  .hero-copy{max-width:100%;margin:12px auto 0;text-align:center}
}
@media (max-width:700px){
  .collection-hero{padding:18px 14px 14px;border-radius:20px}
  .hero-copy{margin-top:6px}
}

/* ===== v1.2.6 — fiche détail compacte et informations complètes ===== */
.detail.detail-compact{
  grid-template-columns:minmax(300px,420px) minmax(0,1fr);
  gap:34px;
  align-items:start;
  max-width:1250px;
  margin:0 auto;
  padding-top:18px;
}
.detail-media{
  position:sticky;
  top:92px;
  align-self:start;
}
.detail-photo{
  width:100%;
  max-width:420px;
  aspect-ratio:6/5;
  max-height:none;
  overflow:hidden;
  border-radius:22px;
  background:linear-gradient(145deg,#f2d8ef,#fdeedb);
}
.detail-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}
.detail-content{
  min-width:0;
  padding:4px 0 30px;
}
.detail-content h1{
  margin:.2rem 0 .35rem;
  font-size:clamp(2rem,3.6vw,3.2rem);
}
.quick-facts{
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:none;
  gap:12px;
  margin:16px 0 14px;
}
.detail-info-card{
  margin-top:14px;
  padding:18px;
  border:1px solid rgba(230,210,234,.92);
  border-radius:18px;
  background:rgba(255,255,255,.68);
  box-shadow:0 10px 24px rgba(82,43,110,.07);
}
.detail-info-card h2{
  margin:0 0 12px;
  color:#4a1f68;
  font-family:Baskerville,"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
  font-size:1.15rem;
  font-weight:600;
}
.detail-dl{
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  grid-template-columns:minmax(145px,190px) 1fr;
  gap:9px 18px;
}
.detail-dl dt{
  color:#7f6a93;
  font-weight:600;
}
.detail-dl dd{
  color:#3f3157;
  font-weight:750;
}
.text-block{
  margin-top:14px;
}
.detail-actions{
  margin-top:16px;
}
@media(max-width:900px){
  .detail.detail-compact{
    grid-template-columns:1fr;
    max-width:760px;
    gap:18px;
  }
  .detail-media{position:static}
  .detail-photo{max-width:520px;margin:0 auto}
}
@media(max-width:700px){
  .detail.detail-compact{padding-top:8px;gap:14px}
  .detail-photo{max-width:100%;aspect-ratio:6/5;border-radius:18px}
  .detail-content{padding-bottom:14px}
  .detail-content h1{font-size:2rem}
  .quick-facts{gap:8px;margin:12px 0}
  .detail-info-card{padding:14px;border-radius:16px}
  .detail-dl{grid-template-columns:1fr;gap:2px}
  .detail-dl dt{margin-top:8px;font-size:.72rem}
  .detail-dl dd{margin-bottom:3px;font-size:.88rem}
}

/* ===== v1.2.8 — nouveau bandeau photo de la collection ===== */
.collection-hero{
  min-height:300px;
  padding:34px 44px 26px 44px;
  border-radius:0 0 24px 24px;
  border:1px solid rgba(255,255,255,.58);
  background:
    linear-gradient(90deg,rgba(255,249,252,.92) 0%,rgba(255,249,252,.78) 20%,rgba(255,249,252,.36) 42%,rgba(255,255,255,.06) 68%),
    url('/public/assets/collection-hero-snowglobes.jpg') center 52%/cover no-repeat;
  box-shadow:0 22px 48px rgba(88,44,114,.16);
  overflow:hidden;
}
.collection-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(43,20,63,.08));
  pointer-events:none;
}
.collection-hero:after{display:none !important;content:none !important}
.hero-copy{position:relative;z-index:2;max-width:430px;margin:28px 0 0 56px}
.hero-stats{position:relative;z-index:2}
.collection-hero .hero-stat{
  background:rgba(255,250,253,.76);
  border-color:rgba(255,255,255,.78);
  box-shadow:0 10px 26px rgba(70,36,93,.12);
}
@media (max-width:1180px){
  .collection-hero{padding:26px 26px 22px 26px;background-position:center 52%}
  .hero-copy{margin:22px 0 0 30px}
}
@media (max-width:900px){
  .collection-hero{
    padding:20px 20px 16px;
    min-height:auto;
    border-radius:22px;
    background:
      linear-gradient(180deg,rgba(255,249,252,.76),rgba(255,249,252,.62)),
      url('/public/assets/collection-hero-snowglobes.jpg') center 52%/cover no-repeat;
  }
  .hero-copy{max-width:100%;margin:12px auto 0;text-align:center}
}
@media (max-width:700px){
  .collection-hero{
    padding:18px 14px 14px;
    border-radius:20px;
    background:
      linear-gradient(180deg,rgba(255,249,252,.82),rgba(255,249,252,.68)),
      url('/public/assets/collection-hero-snowglobes.jpg') center 50%/cover no-repeat;
  }
  .hero-copy{margin-top:6px}
}



/* ===== v1.2.9 — contraste renforcé des textes du bandeau ===== */
.collection-hero .hero-kicker{
  color:#a14a8c;
  text-shadow:0 1px 0 rgba(255,255,255,.98),0 8px 18px rgba(91,42,118,.18);
}
.collection-hero h1{
  color:#3d1b55;
  text-shadow:0 1px 0 rgba(255,255,255,.98),0 2px 14px rgba(255,255,255,.72),0 12px 28px rgba(70,34,95,.18);
}
.collection-hero h1 em{
  color:#0f527b;
  text-shadow:0 1px 0 rgba(255,255,255,.96),0 2px 12px rgba(255,255,255,.70),0 10px 22px rgba(24,76,112,.14);
}
.collection-hero .hero-snow{
  color:#b45a92;
  filter:drop-shadow(0 2px 6px rgba(255,255,255,.75)) drop-shadow(0 6px 14px rgba(83,39,108,.16));
}
.collection-hero .collection-subtitle,
.collection-hero .hero-copy p{
  color:#324b61;
  font-weight:600;
  text-shadow:0 1px 0 rgba(255,255,255,.96),0 2px 10px rgba(255,255,255,.52);
}
.collection-hero .hero-stat{
  background:rgba(255,250,253,.84);
  border-color:rgba(255,255,255,.88);
  box-shadow:0 12px 28px rgba(70,36,93,.12);
}
.collection-hero .hero-stat strong{
  color:#173653;
}
.collection-hero .hero-stat span{
  color:#4a6175;
}
@media (max-width:900px){
  .collection-hero .hero-kicker,
  .collection-hero h1,
  .collection-hero h1 em,
  .collection-hero .collection-subtitle,
  .collection-hero .hero-copy p{
    text-shadow:0 1px 0 rgba(255,255,255,.98),0 2px 12px rgba(255,255,255,.68),0 8px 22px rgba(61,29,82,.14);
  }
  .collection-hero .hero-copy p,
  .collection-hero .collection-subtitle{
    color:#3b556b;
  }
}




/* ===== v1.4.5 — tuiles statistiques vitrées du bandeau d’accueil ===== */
.collection-hero .hero-stat{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:11px;
  min-width:174px;
  padding:12px 16px 12px 12px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:19px;
  background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(255,245,251,.42));
  box-shadow:0 12px 28px rgba(70,36,93,.12),inset 0 1px 0 rgba(255,255,255,.66);
  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
}
.collection-hero .hero-stat:before,
.collection-hero .hero-stat:after{
  display:none!important;
  content:none!important;
}
.collection-hero .hero-stat-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  align-self:center;
  border:1px solid rgba(255,255,255,.74);
  border-radius:50%;
  background:linear-gradient(145deg,rgba(255,255,255,.70),rgba(247,225,242,.46));
  box-shadow:0 6px 16px rgba(79,42,103,.10),inset 0 1px 0 rgba(255,255,255,.82);
  font-size:1.05rem;
  line-height:1;
  filter:saturate(.92);
}
.collection-hero .hero-stat:nth-child(2) .hero-stat-icon{
  background:linear-gradient(145deg,rgba(255,255,255,.74),rgba(220,241,246,.52));
}
.collection-hero .hero-stat:nth-child(3) .hero-stat-icon{
  background:linear-gradient(145deg,rgba(255,255,255,.74),rgba(237,224,250,.52));
}
.collection-hero .hero-stat:nth-child(4) .hero-stat-icon{
  background:linear-gradient(145deg,rgba(255,255,255,.74),rgba(252,229,221,.54));
}
.collection-hero .hero-stat-copy{
  min-width:0;
  text-align:left;
}
.collection-hero .hero-stat strong{
  margin:0;
  color:#173653;
  font-size:1.38rem;
  line-height:1.02;
  text-shadow:0 1px 0 rgba(255,255,255,.72);
}
.collection-hero .hero-stat span:not(.hero-stat-icon){
  margin-top:4px;
  color:#4a6175;
  font-size:.70rem;
  font-weight:760;
  line-height:1.16;
}
@media (max-width:1180px){
  .collection-hero .hero-stat{
    min-width:150px;
    grid-template-columns:38px minmax(0,1fr);
    gap:9px;
    padding:11px 13px 11px 10px;
  }
  .collection-hero .hero-stat-icon{width:34px;height:34px;font-size:.98rem}
}
@media (max-width:700px){
  .collection-hero .hero-stats{gap:10px}
  .collection-hero .hero-stat{
    min-width:0;
    grid-template-columns:34px minmax(0,1fr);
    gap:8px;
    padding:10px 9px;
    border-radius:16px;
    background:linear-gradient(145deg,rgba(255,255,255,.64),rgba(255,245,251,.46));
  }
  .collection-hero .hero-stat-icon{
    width:31px;
    height:31px;
    font-size:.88rem;
  }
  .collection-hero .hero-stat strong{font-size:1.14rem}
  .collection-hero .hero-stat span:not(.hero-stat-icon){font-size:.62rem;line-height:1.13}
}
