/* ============================================================
   DISTINCTIONS — Styles spécifiques
============================================================ */

/* ─── Hero 2-column layout ─── */
.dist-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .dist-hero-layout { grid-template-columns: 1fr 340px; }
}

.dist-hero-text { min-width: 0; }

/* ─── Hero portrait ─── */
.dist-hero-portrait { flex-shrink: 0; }

.dist-hero-portrait-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(201,168,76,0.25);
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.04);
}

.dist-hero-portrait-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.dist-hero-portrait-frame:hover .dist-hero-portrait-img { transform: scale(1.03); }

.dist-hero-portrait-medals {
  position: absolute;
  top: 1rem; right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dist-hero-medal-badge {
  width: 38px; height: 38px;
  background: rgba(10,22,40,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ─── Hero ─── */
.dist-hero {
  position: relative;
  background: var(--night);
  overflow: hidden;
  padding: 10rem 2rem 5rem;
}

.dist-hero-watermark {
  position: absolute;
  bottom: -2rem; right: -1rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 900;
  color: rgba(201, 168, 76, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.dist-hero-inner { max-width: 1200px; margin: 0 auto; }

.dist-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}
.dist-breadcrumb a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.dist-breadcrumb a:hover { color: var(--gold); }
.dist-breadcrumb span:last-child { color: var(--gold-light); }

.dist-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.dist-eyebrow-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulseDot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

.dist-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
  margin-top: 1rem;
}
.dist-hero-title span {
  font-weight: 800;
  color: #fff;
}

.dist-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.48);
  max-width: 680px;
  margin-bottom: 3rem;
}

/* ─── Badges hero ─── */
.dist-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

.dist-badge-item {
  display: flex;
  flex-direction: column;
  padding: 0 2.5rem 0 0;
}

.dist-badge-year {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.dist-badge-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
}

.dist-badge-sep {
  width: 1px; height: 2.5rem;
  background: rgba(255,255,255,0.1);
  margin-right: 2.5rem;
  flex-shrink: 0;
}

/* ─── Sections ─── */
.dist-section { padding: 5rem 2rem; }
.dist-section--light   { background: var(--alabaster); }
.dist-section--offwhite{ background: var(--offwhite); }
.dist-section--dark    { background: var(--night); }

.dist-container { max-width: 1100px; margin: 0 auto; }

.dist-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .dist-section-grid { grid-template-columns: 140px 1fr; gap: 3rem; }
}

.dist-section-aside {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .dist-section-aside { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding-top: 0.5rem; }
}

/* ─── Medal icons ─── */
.dist-medal {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}
.dist-medal svg { width: 26px; height: 26px; }

.dist-medal--gold { background: rgba(201,168,76,0.15); color: var(--gold-dark); }
.dist-medal--peace { background: rgba(26,122,74,0.1); color: #1A7A4A; }
.dist-medal--academia { background: rgba(255,255,255,0.08); color: var(--gold-light); }
.dist-medal--star  { background: rgba(201,168,76,0.12); color: #B8860B; }
.dist-medal--infra { background: rgba(59,130,246,0.1); color: #2563EB; }

.dist-section-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  line-height: 1;
}

.dist-section-num--light { color: rgba(201,168,76,0.35); }

.dist-section-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.dist-section-tag--light { color: var(--gold); }

/* ─── Section body ─── */
.dist-section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.dist-section-eyebrow--light { color: var(--gold); }

.dist-eyebrow-line { width: 28px; height: 2px; background: var(--gradient-gold); flex-shrink: 0; }

.dist-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--night);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.dist-title--light { color: rgba(255,255,255,0.92); }

.dist-section-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--graytext);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.dist-date--light { color: rgba(255,255,255,0.35); }

.dist-section-body p {
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.dist-section-body p strong { color: var(--night); font-weight: 600; }

.dist-text--light,
.dist-section--dark .dist-section-body p {
  color: rgba(255,255,255,0.65) !important;
}
.dist-text--light strong,
.dist-section--dark .dist-section-body p strong {
  color: rgba(255,255,255,0.92) !important;
}

.dist-section--dark .dist-section-title { color: rgba(255,255,255,0.92); }
.dist-section--dark .dist-section-date  { color: rgba(255,255,255,0.32); }

/* ─── Honoris Causa — layout texte + photo ─── */
.dist-causa-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .dist-causa-layout {
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: start;
  }
}

.dist-causa-text { display: flex; flex-direction: column; }

.dist-causa-figure {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.dist-causa-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (min-width: 768px) {
  .dist-causa-img { height: 360px; }
}

.dist-causa-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  padding: 0.55rem 0.9rem;
  background: rgba(255,255,255,0.04);
  line-height: 1.5;
  text-align: center;
}

/* ─── Honoris Causa — carousel ─── */
.dist-causa-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.dist-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
}

.dist-carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.dist-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.dist-carousel-btn:hover { background: rgba(0,0,0,0.7); }
.dist-carousel-btn--prev { left: 8px; }
.dist-carousel-btn--next { right: 8px; }

.dist-carousel-dots {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.dist-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s;
}
.dist-carousel-dot.active { background: #fff; }

.dist-causa-figure--light {
  border-color: rgba(0,0,0,0.1);
}

.dist-causa-caption--light {
  color: rgba(0,0,0,0.45);
  background: rgba(0,0,0,0.03);
}
/* ─── Galerie presse ─── */
.dist-press-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .dist-press-gallery { grid-template-columns: 1fr 1fr; }
}

.dist-press-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dist-press-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.dist-press-img {
  width: 100%;
  height: auto;
  display: block;
}

.dist-section-title--spaced { margin-top: 0.5rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Checklist ─── */
.dist-checklist {
  list-style: none;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dist-checklist li {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--charcoal);
  padding-left: 1.75rem;
  position: relative;
}

.dist-checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.42rem;
  width: 16px; height: 16px;
  background: rgba(201,168,76,0.15);
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23A8893A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.dist-checklist--light li { color: rgba(255,255,255,0.65); }

.dist-checklist--light li::before {
  background-color: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23E8C96B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ─── Inline quote ─── */
.dist-quote-inline {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.75;
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  background: rgba(201,168,76,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1.5rem;
}

.dist-quote-inline cite {
  display: block;
  margin-top: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graytext);
}

/* ─── Media table ─── */
.dist-table-head { margin-bottom: 2rem; }

.dist-lead {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--graytext);
  line-height: 1.75;
  margin-top: 0.75rem;
  max-width: 620px;
}

.dist-table-wrap { overflow-x: auto; }

.dist-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
}

.dist-table th {
  background: var(--night);
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  text-align: left;
}

.dist-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--gray-border);
  color: var(--charcoal);
  vertical-align: middle;
}

.dist-table tr:last-child td { border-bottom: none; }
.dist-table tr:nth-child(even) td { background: rgba(244,241,236,0.5); }
.dist-table td strong { color: var(--night); font-weight: 600; }

/* ─── Table read link ─── */
.dist-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  transition: var(--transition);
}
.dist-read-link svg { width: 12px; height: 12px; flex-shrink: 0; }
.dist-read-link:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-1px);
}

.dist-table th:last-child,
.dist-table td:last-child {
  width: 80px;
  text-align: center;
}

/* ─── Nicknames ─── */
.dist-nicknames-head { margin-bottom: 2.5rem; }

.dist-nicknames {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .dist-nicknames { grid-template-columns: repeat(2, 1fr); }
}

.dist-nickname {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dist-nickname-quote {
  font-family: 'Playfair Display', serif;
  font-size: 0.97rem;
  font-style: italic;
  color: var(--night);
  line-height: 1.55;
}

.dist-nickname-source {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graytext);
}

/* ─── Closing quote ─── */
.dist-closing {
  background: var(--night);
  padding: 5rem 2rem;
}

.dist-closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.dist-closing-icon {
  width: 3rem; height: 3rem;
  color: rgba(201,168,76,0.2);
  margin: 0 auto 1.5rem;
  display: block;
}

.dist-closing-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.dist-closing-author {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   RESPONSIVE MOBILE — distinctions
============================================================ */
@media (max-width: 640px) {
  .dist-hero { padding: 6rem 1rem 3rem; }
  .dist-hero-portrait-img { height: 280px; }

  .dist-section { padding: 3rem 1rem; }

  .dist-nickname-grid { grid-template-columns: 1fr; }

  .dist-closing { padding: 3rem 1rem; }
}
