/* ==========================================================================
   PARTENAIRES ET LIENS — ORACLYS
   Charte : bleu nuit, or, turquoise, touches mystiques.
   Mobile-first : une carte par ligne par défaut, deux côte à côte dès 820 px.
   ========================================================================== */

.pt-hero {
  position: relative;
  text-align: center;
  padding: 34px 18px 26px;
  margin-bottom: 26px;
  border-radius: 20px;
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(91, 58, 142, .55) 0%, rgba(12, 21, 36, 0) 62%),
    radial-gradient(90% 120% at 80% 110%, rgba(31, 158, 147, .22) 0%, rgba(12, 21, 36, 0) 60%),
    linear-gradient(170deg, #101c30 0%, #0c1524 100%);
  border: 1px solid rgba(217, 180, 87, .28);
  overflow: hidden;
}

.pt-hero::before,
.pt-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pt-hero::before {
  width: 220px;
  height: 220px;
  top: -120px;
  left: -60px;
  background: radial-gradient(circle, rgba(217, 180, 87, .16), transparent 68%);
}

.pt-hero::after {
  width: 260px;
  height: 260px;
  bottom: -160px;
  right: -80px;
  background: radial-gradient(circle, rgba(31, 158, 147, .18), transparent 68%);
}

.pt-stars {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 12px;
  color: rgba(217, 180, 87, .55);
  letter-spacing: .2em;
}

.pt-stars span:nth-child(2),
.pt-stars span:nth-child(4) { font-size: 8px; opacity: .6; }

.pt-hero-star {
  display: block;
  font-size: 22px;
  color: var(--gold-bright);
  text-shadow: 0 0 16px rgba(217, 180, 87, .8), 0 0 34px rgba(217, 180, 87, .35);
  margin-bottom: 10px;
  animation: pt-twinkle 4.5s ease-in-out infinite;
}

@keyframes pt-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .72; transform: scale(.92); }
}

.pt-hero-title {
  position: relative;
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(27px, 6.4vw, 46px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: .02em;
  color: var(--cream);
  background: linear-gradient(100deg, var(--gold-light) 0%, var(--gold-bright) 45%, #F8EFCD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 26px rgba(217, 180, 87, .18);
}

.pt-hero-sub {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  color: rgba(251, 247, 239, .78);
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
}

.pt-hero-line {
  position: relative;
  width: 96px;
  height: 1px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, rgba(217, 180, 87, .85), transparent);
  box-shadow: 0 0 12px rgba(217, 180, 87, .5);
}

/* ------------------------------------------------------------- cartes */

.pt-grid {
  display: grid;
  grid-template-columns: 1fr;         /* mobile : une carte sous l'autre */
  gap: 18px;
  margin-bottom: 26px;
}

.pt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: linear-gradient(168deg, #142236 0%, #0e1929 100%);
  border: 1px solid rgba(217, 180, 87, .26);
  box-shadow: 0 8px 26px rgba(6, 12, 22, .42);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.pt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 180, 87, .55);
  box-shadow: 0 14px 34px rgba(6, 12, 22, .55);
}

.pt-card-glow {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 87, .17), transparent 68%);
  pointer-events: none;
}

.pt-card-imgwrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 158px;
  margin-bottom: 14px;
  border-radius: 14px;
  background:
    radial-gradient(60% 60% at 50% 48%, rgba(217, 180, 87, .16) 0%, transparent 70%),
    radial-gradient(80% 80% at 50% 50%, rgba(91, 58, 142, .3) 0%, rgba(12, 21, 36, 0) 75%),
    linear-gradient(170deg, #0e1a2c 0%, #0a1220 100%);
  border: 1px solid rgba(217, 180, 87, .18);
  overflow: hidden;
}

.pt-card-img {
  height: 136px;
  width: auto;
  max-width: 82%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(217, 180, 87, .4));
  transition: transform .35s ease, filter .35s ease;
}

.pt-card:hover .pt-card-img {
  transform: translateY(-3px) scale(1.045);
  filter: drop-shadow(0 0 26px rgba(217, 180, 87, .62));
}

.pt-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pt-card-badge {
  align-self: flex-start;
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(217, 180, 87, .12);
  border: 1px solid rgba(217, 180, 87, .3);
}

.pt-card-title {
  position: relative;
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.2;
  color: var(--cream);
}

.pt-card-urltxt {
  margin: 0 0 12px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--turquoise);
  word-break: break-word;
}

.pt-card-desc {
  position: relative;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(251, 247, 239, .72);
}

.pt-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.pt-tag {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 6px;
  color: rgba(251, 247, 239, .8);
  background: rgba(31, 158, 147, .14);
  border: 1px solid rgba(31, 158, 147, .33);
}

.pt-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #16233a;
  background: linear-gradient(100deg, var(--gold-bright) 0%, var(--gold-light) 100%);
  box-shadow: 0 4px 14px rgba(217, 180, 87, .26);
  transition: filter .2s ease, box-shadow .2s ease;
}

.pt-card-btn:hover {
  filter: brightness(1.07);
  box-shadow: 0 6px 18px rgba(217, 180, 87, .38);
}

.pt-card-btn svg { stroke-width: 2; }

/* ------------------------------------------------------------- note */

.pt-note {
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(20, 34, 54, .7);
  border: 1px solid rgba(159, 178, 200, .16);
}

.pt-note-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--gold-light);
}

.pt-note p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.66;
  color: rgba(251, 247, 239, .68);
}

.pt-note p:last-child { margin-bottom: 0; }

.pt-note a {
  color: var(--turquoise);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------- desktop */

@media (min-width: 820px) {
  .pt-hero { padding: 52px 40px 44px; margin-bottom: 32px; }
  .pt-grid { grid-template-columns: 1fr 1fr; gap: 24px; }  /* deux cartes côte à côte */
  .pt-card { padding: 26px 26px 24px; }
  .pt-note { padding: 24px 30px; }
}
