/* TEASERS — chemin magique */
.teasers {
  max-width: 1320px; margin: 0 auto;
  padding: 72px 32px;
}
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 960px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .teaser-grid { grid-template-columns: 1fr; } }

@property --teaser-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes teaser-border-spin { to { --teaser-angle: 360deg; } }

.teaser-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.teaser-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: conic-gradient(from var(--teaser-angle), var(--color-gold) 0%, transparent 25%, var(--color-magenta) 50%, transparent 75%, var(--color-gold) 100%);
  z-index: 0;
  opacity: 0;
  animation: teaser-border-spin 3s linear infinite;
  transition: opacity 300ms ease;
}
.teaser-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: var(--color-surface);
  z-index: 0;
}
.teaser-card:hover::before { opacity: 0.6; }
.teaser-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }

.teaser-card > * { position: relative; z-index: 1; }

.teaser-card-content { flex: 1; min-width: 0; }
.teaser-card-logo { flex-shrink: 0; width: 160px; height: 160px; position: relative; }
.teaser-card-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(232, 64, 216, 0.5)) drop-shadow(0 0 48px rgba(245, 198, 89, 0.3));
  animation: teaser-logo-pulse 4s ease-in-out infinite;
  mix-blend-mode: screen;
}
[data-theme="light"] .teaser-card-logo img { mix-blend-mode: multiply; }
@keyframes teaser-logo-pulse {
  0%, 100% { transform: scale(1) rotate(-2deg); filter: drop-shadow(0 0 24px rgba(232, 64, 216, 0.5)) drop-shadow(0 0 48px rgba(245, 198, 89, 0.3)); }
  50%      { transform: scale(1.08) rotate(2deg); filter: drop-shadow(0 0 36px rgba(232, 64, 216, 0.75)) drop-shadow(0 0 60px rgba(245, 198, 89, 0.5)); }
}
.teaser-card-logo::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(232, 64, 216, 0.25) 0%, rgba(245, 198, 89, 0.15) 35%, transparent 70%);
  animation: teaser-halo 5s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes teaser-halo {
  0%   { opacity: 0.6; transform: scale(0.9); }
  100% { opacity: 1;   transform: scale(1.15); }
}

.teaser-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 8px;
}
.teaser-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}
.teaser-card h3 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--color-gold), var(--color-magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.teaser-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.teaser-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

@media (max-width: 640px) {
  .teaser-card { flex-direction: column; text-align: center; }
  .teaser-card-logo { width: 110px; height: 110px; }
}
