/* Product catalogue · offer dossiers
   Derived from the PrivyPulse atomic offer, conversion-card and proof-orbit
   references: calm editorial hierarchy, explicit facts and one clear action. */
.products-catalogue{padding-top:42px}
.products-catalogue .category-switch{margin-bottom:34px}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}

.product-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto auto;
  min-width:0;
  min-height:520px;
  border:1px solid var(--line-strong);
  border-radius:18px;
  background:
    linear-gradient(155deg,color-mix(in srgb,var(--surface) 96%,var(--violet) 4%),var(--surface-2));
  box-shadow:0 22px 64px rgba(6,8,32,.28);
  transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}
.product-card:before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0 0 auto;
  height:2px;
  background:linear-gradient(90deg,var(--violet),color-mix(in srgb,var(--violet) 72%,var(--cyan)),var(--cyan));
  opacity:.82;
}
.product-card:hover,.product-card:focus-within{
  transform:translateY(-4px);
  border-color:color-mix(in srgb,var(--lavender) 56%,var(--line));
  box-shadow:0 30px 86px rgba(6,8,32,.42),0 0 0 1px color-mix(in srgb,var(--violet) 16%,transparent);
}
.product-card:last-child:nth-child(3n+1){grid-column:1/-1;min-height:0}
.product-card:last-child:nth-child(3n+1) .product-card-body h2{max-width:24ch}
.product-card:last-child:nth-child(3n+1) .product-card-body p{max-width:78ch}

.product-card-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  min-height:112px;
  padding:25px 25px 21px;
  border-bottom:1px solid var(--line);
}
.product-card-header>div{display:grid;gap:9px;min-width:0}
.product-card-index{
  color:var(--silver);
  font-size:.65rem;
  font-weight:760;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.product-type{
  color:var(--cyan);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.product-card-orbit{
  position:relative;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border:1px solid color-mix(in srgb,var(--violet) 42%,transparent);
  border-radius:50%;
  box-shadow:
    0 0 0 7px color-mix(in srgb,var(--violet) 5%,transparent),
    0 0 0 14px color-mix(in srgb,var(--cyan) 3%,transparent),
    inset 0 0 22px color-mix(in srgb,var(--violet) 12%,transparent);
}
.product-card-orbit:before{
  content:"";
  position:absolute;
  inset:7px;
  border:1px dashed color-mix(in srgb,var(--cyan) 25%,transparent);
  border-radius:50%;
}
.product-card-orbit img{position:relative;width:28px;height:28px;object-fit:contain}

.product-card-body{position:relative;padding:28px 25px 30px}
.product-card-body h2{
  max-width:15ch;
  margin:0 0 18px;
  font-size:clamp(1.72rem,2.25vw,2.18rem);
  line-height:1.08;
  letter-spacing:-.018em;
  text-wrap:balance;
}
.product-card-body p{
  margin:0;
  color:var(--silver);
  font-size:.91rem;
  line-height:1.68;
  text-wrap:pretty;
}

.product-card-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:0;
  padding:0 25px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.product-card-facts>div{min-width:0;padding:17px 14px 18px 0}
.product-card-facts>div+div{padding-left:18px;border-left:1px solid var(--line)}
.product-card-facts dt{
  margin:0 0 6px;
  color:var(--silver);
  font-size:.62rem;
  font-weight:770;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.product-card-facts dd{
  margin:0;
  color:var(--paper);
  font-size:.79rem;
  font-weight:730;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.product-card-facts .product-price{color:var(--paper);font-size:1rem;font-variant-numeric:tabular-nums}
.product-card-facts .product-price--free{color:var(--cyan)}

.product-card-footer{padding:18px 25px 22px}
.product-card-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:48px;
  color:var(--paper);
  font-size:.84rem;
  font-weight:780;
  text-decoration:none;
}
.product-card-cta span{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:36px;
  height:36px;
  border:1px solid color-mix(in srgb,var(--violet) 46%,transparent);
  border-radius:50%;
  color:var(--cyan);
  background:color-mix(in srgb,var(--violet) 9%,transparent);
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.product-card-cta:hover span{
  transform:translate(2px,-2px);
  border-color:color-mix(in srgb,var(--cyan) 52%,transparent);
  background:color-mix(in srgb,var(--cyan) 9%,transparent);
}
.product-card-cta:focus-visible{outline:2px solid var(--cyan);outline-offset:5px;border-radius:4px}

@media(max-width:1060px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-card:last-child:nth-child(3n+1){grid-column:auto;min-height:520px}
  .product-card:last-child:nth-child(odd){grid-column:1/-1;min-height:0}
  .product-card:last-child:nth-child(odd) .product-card-body h2{max-width:24ch}
}
@media(max-width:700px){
  .products-catalogue{padding-top:30px}
  .product-grid{grid-template-columns:1fr}
  .product-card,.product-card:last-child:nth-child(odd){grid-column:auto;min-height:0}
  .product-card-header{min-height:104px;padding:22px 20px 19px}
  .product-card-body{padding:24px 20px 26px}
  .product-card-body h2{max-width:18ch;font-size:1.8rem}
  .product-card-facts{padding-inline:20px}
  .product-card-footer{padding:16px 20px 20px}
}
@media(prefers-reduced-motion:reduce){
  .product-card,.product-card-cta span{transition:none}
  .product-card:hover,.product-card:focus-within{transform:none}
}
@media print{
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-card{min-height:0;break-inside:avoid;box-shadow:none;background:#fff}
  .product-card-orbit{box-shadow:none}
}
