/* ═══════════════════════════════════════════════════════
   normas.css | Normas page styles
   ═══════════════════════════════════════════════════════ */

/* ─── TYPOGRAPHY ────────────────────────────────────── */
.t-hero {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(32px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
}

/* ─── SUBPAGE HERO OVERRIDE ──────────────────────────── */
.subpage-hero {
  min-height: unset;
  padding: 40px 0 40px;
}

/* ─── PAGE LAYOUT ────────────────────────────────────── */
.normas-page {
  width: 100%;
  max-width: var(--max-w);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(40px, 5vw, 80px) 0 clamp(60px, 8vw, 120px);
}

/* ─── SHARED CARD ────────────────────────────────────── */
.normas-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--divider);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.05);
  padding: clamp(28px, 3.5vw, 52px) clamp(28px, 3.5vw, 52px);
}

/* ─── SECTION LABEL ──────────────────────────────────── */
.normas-section-label {
  font-family: 'Roboto Mono', monospace;
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 24px;
}

/* ─── MAIN TEXT CARD ─────────────────────────────────── */
.normas-main-card h2 {
  font-family: 'Crimson Text', serif;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.normas-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.normas-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--divider);
}

.normas-list-item:first-child {
  border-top: none;
  padding-top: 0;
}

.normas-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
  flex-shrink: 0;
  margin-top: 7px;
  opacity: 0.5;
}

.normas-list-item p {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--dark-grey);
}

/* ─── REFERENCES CARD ────────────────────────────────── */
.normas-refs-card h3 {
  font-family: 'Crimson Text', serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.refs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}

.ref-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--divider);
}

.ref-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
  flex-shrink: 0;
  opacity: 0.5;
}

.ref-item a,
.ref-item span {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--black);
  line-height: 1.4;
  transition: color 0.2s;
}

.ref-item a:hover {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── CTA BANNER ─────────────────────────────────────── */
.normas-cta {
  width: 100%;
  max-width: var(--max-w);
  background: var(--accent-1);
  border-radius: 20px;
  padding: clamp(40px, 5vw, 72px) clamp(28px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: clamp(40px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}

/* subtle radial glow behind text */
.normas-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.normas-cta-text {
  font-family: 'Crimson Text', serif;
  font-size: clamp(26px, 3.5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--white);
  text-align: center;
  position: relative;
}

/* ─── ANIMATIONS ─────────────────────────────────────── */
.normas-card,
.normas-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.normas-card.visible,
.normas-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.normas-refs-card { transition-delay: 0.1s; }
.normas-cta       { transition-delay: 0.15s; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .refs-list {
    grid-template-columns: 1fr;
  }

  .normas-cta {
    padding: 40px 24px;
    border-radius: 16px;
  }
}
