/* RD_CATALOGUES_FLEX_ARCHIVES_V9
   Catalogues restaurés : anciennes méditations + images souples non coupées.
*/
body.rd-flex-v9-body{
  margin:0;
  color:#061f35;
  background:radial-gradient(circle at 12% 6%,rgba(255,226,170,.42),transparent 30%),radial-gradient(circle at 88% 8%,rgba(45,141,195,.22),transparent 32%),linear-gradient(180deg,#f7fbff 0%,#e5f7ff 48%,#fff7e9 100%);
}
.rd-flex-v9-wrap{
  width:min(1180px,calc(100vw - 28px));
  margin:0 auto;
  padding:92px 0;
}
.rd-flex-v9-hero{
  border-radius:36px;
  padding:clamp(22px,4vw,50px);
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(231,248,255,.92));
  border:1px solid rgba(255,255,255,.92);
  box-shadow:0 24px 72px rgba(6,31,53,.14);
}
.rd-flex-v9-hero p.kicker{
  display:inline-flex;
  width:fit-content;
  padding:8px 13px;
  margin:0 0 14px;
  border-radius:999px;
  background:rgba(45,141,195,.13);
  color:#17668f;
  font-weight:950;
}
.rd-flex-v9-hero h1{
  margin:0 0 12px;
  color:#061f35;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.4rem,6vw,5.8rem);
  line-height:.9;
  letter-spacing:-.06em;
}
.rd-flex-v9-hero .intro{
  margin:0;
  max-width:840px;
  color:#244f6a;
  font-weight:760;
  line-height:1.66;
  font-size:clamp(1rem,1.6vw,1.15rem);
}
.rd-flex-v9-tools{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:12px;
  margin-top:22px;
}
.rd-flex-v9-tools input{
  min-height:48px;
  border-radius:999px;
  border:1px solid rgba(6,31,53,.14);
  background:rgba(255,255,255,.92);
  color:#061f35;
  padding:11px 16px;
  font:inherit;
  font-weight:760;
  outline:none;
}
.rd-flex-v9-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(285px,1fr));
  gap:20px;
  margin-top:24px;
  align-items:start;
}
.rd-flex-v9-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-self:start;
  border-radius:30px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.92);
  box-shadow:0 16px 44px rgba(6,31,53,.10);
  min-width:0;
}
.rd-flex-v9-card.is-current{
  outline:2px solid rgba(201,166,70,.55);
  box-shadow:0 22px 70px rgba(201,166,70,.18),0 16px 44px rgba(6,31,53,.12);
}
.rd-flex-v9-img{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:clamp(190px,24vw,310px);
  padding:10px;
  background:radial-gradient(circle at 50% 12%,rgba(255,255,255,.95),rgba(215,238,247,.92) 46%,rgba(255,247,233,.88));
}
.rd-flex-v9-img img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:min(520px,58vh);
  object-fit:contain;
  object-position:center;
  border-radius:22px;
  box-shadow:0 10px 34px rgba(6,31,53,.10);
}
.rd-flex-v9-badge{
  position:absolute;
  left:14px;
  bottom:14px;
  z-index:2;
  display:inline-flex;
  max-width:calc(100% - 28px);
  padding:8px 11px;
  border-radius:999px;
  background:rgba(6,31,53,.78);
  color:#fff;
  font-weight:950;
  font-size:.84rem;
  backdrop-filter:blur(8px);
}
.rd-flex-v9-body{
  padding:20px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.rd-flex-v9-body h2{
  margin:0 0 10px;
  color:#061f35;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.25rem,2vw,1.55rem);
  line-height:1.12;
  letter-spacing:-.02em;
}
.rd-flex-v9-body h2 a{
  color:inherit;
  text-decoration:none;
}
.rd-flex-v9-body p{
  margin:0 0 13px;
  color:#496c80;
  line-height:1.58;
  font-weight:720;
}
.rd-flex-v9-tags{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-top:auto;
  padding-top:8px;
}
.rd-flex-v9-tags span{
  display:inline-flex;
  border-radius:999px;
  padding:7px 9px;
  background:#fff;
  border:1px solid rgba(6,31,53,.12);
  color:#061f35;
  font-weight:900;
  font-size:.82rem;
}
.rd-flex-v9-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:16px;
}
.rd-flex-v9-actions a{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border-radius:999px;
  padding:10px 13px;
  text-decoration:none;
  font-weight:950;
  background:#fff;
  color:#061f35!important;
  border:1px solid rgba(6,31,53,.12);
}
.rd-flex-v9-actions a.primary{
  background:linear-gradient(135deg,#2d8dc3,#0f6d92);
  color:#fff!important;
  border-color:transparent;
}
.rd-flex-v9-doc-frame{
  position:relative;
  aspect-ratio:16/9;
  background:#061f35;
}
.rd-flex-v9-doc-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.rd-flex-v9-doc-empty{
  aspect-ratio:16/9;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0d2d50,#2d8dc3);
  color:white;
  font-size:2rem;
}
html[data-rd-effective-theme="dark"] body.rd-flex-v9-body,
body[data-rd-effective-theme="dark"].rd-flex-v9-body{
  background:radial-gradient(circle at 12% 8%,rgba(45,141,195,.18),transparent 30%),radial-gradient(circle at 88% 10%,rgba(201,166,70,.12),transparent 32%),linear-gradient(180deg,#07111f,#10243a);
  color:#f8fafc;
}
html[data-rd-effective-theme="dark"] .rd-flex-v9-hero,
html[data-rd-effective-theme="dark"] .rd-flex-v9-card,
body[data-rd-effective-theme="dark"] .rd-flex-v9-hero,
body[data-rd-effective-theme="dark"] .rd-flex-v9-card{
  background:rgba(10,24,42,.88);
  border-color:rgba(174,214,241,.16);
}
html[data-rd-effective-theme="dark"] .rd-flex-v9-hero h1,
html[data-rd-effective-theme="dark"] .rd-flex-v9-body h2,
body[data-rd-effective-theme="dark"] .rd-flex-v9-hero h1,
body[data-rd-effective-theme="dark"] .rd-flex-v9-body h2{
  color:#f8fafc;
}
html[data-rd-effective-theme="dark"] .rd-flex-v9-hero .intro,
html[data-rd-effective-theme="dark"] .rd-flex-v9-body p,
body[data-rd-effective-theme="dark"] .rd-flex-v9-hero .intro,
body[data-rd-effective-theme="dark"] .rd-flex-v9-body p{
  color:#dbeafe;
}
@media(max-width:720px){
  .rd-flex-v9-wrap{
    width:min(94vw,680px);
    padding-top:82px;
  }
  .rd-flex-v9-hero{
    border-radius:26px;
    padding-left:16px;
    padding-right:16px;
  }
  .rd-flex-v9-hero h1{
    font-size:clamp(2.2rem,12vw,4rem);
    overflow-wrap:anywhere;
  }
  .rd-flex-v9-grid{
    grid-template-columns:1fr;
  }
  .rd-flex-v9-card{
    border-radius:23px;
  }
  .rd-flex-v9-img{
    min-height:160px;
    padding:8px;
  }
  .rd-flex-v9-img img{
    max-height:70vh;
    border-radius:18px;
  }
  .rd-flex-v9-body{
    padding:16px;
  }
  .rd-flex-v9-actions{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
  }
  .rd-flex-v9-actions a{
    width:100%;
    text-align:center;
  }
}