/* Entrée des expositions — version locale corrigée */
:root{
  --room-01:#f2eee7;
  --room-02:#e7e7e4;
  --room-03:#e1e8eb;
}

.expositions-page .exhibitions-main{width:min(1360px,94vw);max-width:100%;margin:0 auto;padding:0 0 2vh}

.exhibitions-welcome{
  min-height:auto;
  display:grid;
  place-items:center;
  padding:44px 0 24px;
}
.welcome-inner{width:min(760px,100%);text-align:center;margin:auto}
.welcome-visit{
  max-width:660px;
  margin:0 auto;
  color:#2b2b2b;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(17px,1.5vw,22px);
  line-height:1.42;
}
.welcome-visit p{margin:0 0 5px}
.welcome-visit p:last-child{margin-top:6px}

.rooms-overview{padding:10px 0 16px}
.rooms-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
.room-card{
  min-width:0;
  padding:24px 20px 22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.room-card.room-01{background:var(--room-01)}
.room-card.room-02{background:var(--room-02)}
.room-card.room-03{background:var(--room-03)}
.room-label{display:flex;flex-direction:column;align-items:center;margin:0 0 28px;gap:2px}
.room-label span{font-size:12px;letter-spacing:.32em;font-weight:400}
.room-label strong{font-family:Georgia,'Times New Roman',serif;font-size:clamp(64px,5.7vw,84px);font-weight:400;line-height:.95;letter-spacing:-.06em}
.room-card-photo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:1.33/1;
  margin:0 0 16px;
  padding:9px;
  background:#f9f9f7;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 2px 10px rgba(0,0,0,.12);
}
.room-card-photo img{display:block;width:100%;height:100%;object-fit:contain;transition:opacity .25s ease}
.room-card-photo:hover img{opacity:.86}
.room-card h2{
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(24px,2.2vw,32px);
  font-weight:400;
  line-height:1.12;
  letter-spacing:-.02em;
  margin:0 0 8px;
}
.room-card-meta{
  margin:0 0 16px;
  font-size:11px;
  line-height:1.55;
  color:#5b5b59;
  letter-spacing:.055em;
}
.meta-separator{margin:0 9px}
.room-button{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-width:120px;
  padding:12px 20px;
  background:#1d1d1d;
  color:#fff;
  font-family:Georgia,'Times New Roman',serif;
  font-size:16px;
  line-height:1;
  transition:transform .18s ease,opacity .18s ease;
}
.room-button:hover{opacity:.92;transform:translateY(-1px)}
.exhibitions-bottom{width:min(1360px,94vw);margin:0 auto;padding:28px 0 70px;font-size:13px}
.exhibitions-bottom a{border-bottom:1px solid #777;padding-bottom:5px}

/* Dans chaque salle : mêmes textes et œuvres que la sauvegarde.
   Seule la plaque d'identification de salle et la tonalité de fond changent. */
.room-page.room-01{--paper:#f2eee7;background:var(--room-01)}
.room-page.room-02{--paper:#e7e7e4;background:var(--room-02)}
.room-page.room-03{--paper:#e1e8eb;background:var(--room-03)}
.room-page.room-01 .site-header{background:rgba(242,238,231,.95)}
.room-page.room-02 .site-header{background:rgba(231,231,228,.95)}
.room-page.room-03 .site-header{background:rgba(225,232,235,.95)}
.serie-title.room-title{display:flex; flex-direction:column;justify-content:center; align-items:flex-start;min-height:260px!important;padding:62px 0 54px!important}
.room-title-num{display:flex;align-items:baseline;gap:15px;letter-spacing:.25em;font-size:12px;margin:0 0 18px}
.room-title-num strong{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:54px;letter-spacing:-.08em;line-height:1}
.serie-title.room-title h1{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.022em;font-size:clamp(30px,3.3vw,52px);line-height:1.2;margin:0}
.room-title-meta{color:#666;margin:18px 0 0;font-size:12px;letter-spacing:.09em}

.room-page.room-02 .serie-sequence .serie-photo:has(.book-text){
  display:grid; grid-template-columns:minmax(0,1.8fr) minmax(240px,.78fr);
  gap:clamp(30px,5vw,80px); align-items:center; justify-content:center;
  min-height:80vh;
}
.room-page.room-02 .serie-sequence .serie-photo:has(.book-text) img{
  max-width:100%;max-height:72vh;width:auto;height:auto;justify-self:center;
}
.room-page.room-02 .serie-sequence .book-text{
  width:100%!important;max-width:380px;margin:0!important;align-self:center;
  background:rgba(255,255,255,.48);border-left:1px solid rgba(70,70,70,.2);
  padding:clamp(24px,3.3vw,45px) clamp(22px,2.6vw,38px);
  font-family:Georgia,'Times New Roman',serif;font-size:clamp(14px,1.17vw,17px)!important;
  line-height:1.73!important;color:#393939!important;
}
.room-page.room-02 .sequence-title{margin-bottom:-8vh}

@media(max-width:980px){
  .rooms-grid{grid-template-columns:1fr;gap:18px}
  .room-card{padding:30px 20px 26px}
  .room-card-photo{max-width:520px;align-self:center}
}
/* Les poèmes accompagnent les images à droite sur grand écran ;
   sur une tablette étroite ou un téléphone, ils passent sous la photographie
   pour préserver la largeur et la lisibilité de celle-ci. */
@media(max-width:950px){
  .room-page.room-02 .serie-sequence .serie-photo:has(.book-text){
    display:flex; flex-direction:column; align-items:center; gap:24px;
    min-height:0; width:100%;
  }
  .room-page.room-02 .serie-sequence .serie-photo:has(.book-text) img{
    display:block; width:auto; height:auto; max-width:100%; max-height:72svh;
    object-fit:contain;
  }
  .room-page.room-02 .serie-sequence .book-text{
    width:min(100%,680px)!important; max-width:680px!important;
    margin:0!important; align-self:center;
  }
}
@media(max-width:700px){
  .exhibitions-main{width:88vw}
  .exhibitions-welcome{padding:38px 0 18px}
  .welcome-visit{font-size:16px;line-height:1.58}
  .rooms-overview{padding-top:18px}
  .room-label{margin-bottom:20px}
  .room-label strong{font-size:72px}
  .room-card h2{font-size:28px}
  .room-card-photo{aspect-ratio:1.35/1}
  .room-page.room-02 .serie-sequence .serie-photo:has(.book-text){display:flex;flex-direction:column;gap:20px;min-height:0}
  .room-page.room-02 .serie-sequence .serie-photo:has(.book-text) img{max-width:100%;max-height:68vh}
  .room-page.room-02 .serie-sequence .book-text{width:min(100%,520px)!important;max-width:none;margin:0!important;padding:23px 27px}
}
@media(prefers-reduced-motion:reduce){.room-card-photo img,.room-button{transition:none}}

.wall-text-panel{
  width:min(760px,92vw);
  min-height:66vh;
  margin:0 auto;
  padding:clamp(34px,5vw,64px);
  background:rgba(255,255,255,.34);
  border-left:1px solid rgba(0,0,0,.18);
  display:flex;
  align-items:center;
}
.wall-text-panel .wall-text-inner{
  max-width:560px;
  margin:0 auto;
  font-family:Georgia,"Times New Roman",serif;
  color:#303030;
}
.wall-text-panel h3{
  margin:0 0 28px;
  font-size:clamp(23px,2.2vw,33px);
  font-weight:400;
  line-height:1.22;
  letter-spacing:-.02em;
}
.wall-text-panel p{
  margin:0 0 15px;
  font-size:clamp(16px,1.24vw,19px);
  line-height:1.78;
}
.wall-text-panel p:last-child{margin-bottom:0}
.wall-text-panel.wall-poem .wall-text-inner{max-width:440px}
.wall-text-panel.wall-poem p{white-space:normal}
@media(max-width:700px){
  .wall-text-panel{width:100%;min-height:auto;padding:28px 24px}
  .wall-text-panel h3{margin-bottom:18px;font-size:25px}
  .wall-text-panel p{font-size:16px;line-height:1.68}
}
