/* ─── Mobile menu ─── */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.mobile-menu.open {
  max-height: 500px;
}

/* ─── Scroll reveal ─── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Video container 16:9 ─── */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

/* ─── Carousel — outer wrapper ─── */
.carousel-outer-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 70px;
  position: relative;
}
@media (max-width: 1024px) {
  .carousel-outer-wrapper {
    padding: 0 60px;
  }
}
@media (max-width: 768px) {
  .carousel-outer-wrapper {
    padding: 0;
    max-width: 100%;
  }
}

.plaquette-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* --- En-tête --- */
.plaquette-header {
  text-align: center;
  margin-bottom: 48px;
}

.plaquette-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dc3545;
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.plaquette-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 24px auto 0;
  max-width: 780px;
  line-height: 1.35;
}

/* --- Carte --- */
.plaquette-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .plaquette-card {
    width: 50%;
  }
}

/* --- Carrousel --- */
.plaquette-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.plaquette-slides {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.4s ease;
  will-change: transform;
}

.plaquette-slides img {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

/* --- Flèches --- */
.plaquette-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.15s;
  z-index: 2;
}

.plaquette-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.plaquette-arrow--left {
  left: 12px;
}

.plaquette-arrow--right {
  right: 12px;
}

/* --- Indicateurs --- */
.plaquette-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0;
}

.plaquette-dots {
  display: flex;
  gap: 8px;
}

.plaquette-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.15s;
}

.plaquette-dot.active {
  background: #dc3545;
  transform: scale(1.25);
}

.plaquette-dot:hover {
  background: #9ca3af;
}

.plaquette-counter {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* --- Footer --- */
.plaquette-card-footer {
  padding: 20px 28px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
}

.plaquette-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.15s;
}

.plaquette-btn:hover {
  transform: translateY(-1px);
}

.plaquette-btn--download {
  background: #dc3545;
  color: #fff;
}

.plaquette-btn--download:hover {
  background: #c82333;
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .plaquette-section {
    padding: 48px 0;
  }

  .plaquette-title {
    font-size: 1.4rem;
  }

  .plaquette-arrow {
    width: 36px;
    height: 36px;
  }

  .plaquette-arrow--left {
    left: 8px;
  }

  .plaquette-arrow--right {
    right: 8px;
  }

  .plaquette-dot {
    width: 8px;
    height: 8px;
  }
}

/* ─── Carousel — inner / track ─── */
.carousel-inner {
  overflow: hidden;
  border-radius: 1.5rem;
}
@media (max-width: 768px) {
  .carousel-inner {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .carousel-inner::-webkit-scrollbar {
    display: none;
  }
}
.carousel-track {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y pinch-zoom;
}
@media (max-width: 768px) {
  .carousel-track {
    padding: 2rem calc((100vw - (100vw - 3rem)) / 2);
    gap: 1.5rem;
  }
}

/* ─── Carousel — slides ─── */
.carousel-slide {
  flex: 0 0 auto;
  width: 280px;
}
@media (max-width: 768px) {
  .carousel-slide {
    width: calc(100vw - 3rem);
    max-width: 340px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
}
@media (min-width: 769px) {
  .carousel-slide {
    width: 320px;
  }
}

/* ─── Carousel — cards ─── */
.carousel-card {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(220, 53, 69, 0.12);
}
.carousel-image-wrapper {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
  cursor: pointer;
}
.carousel-image-wrapper::after {
  content: '🔍';
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  background: rgba(220, 53, 69, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.carousel-card:hover .carousel-image-wrapper::after {
  opacity: 1;
}
.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.carousel-card:hover .carousel-image {
  transform: scale(1.05);
}
.carousel-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.carousel-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}
.carousel-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ─── Carousel — nav buttons ─── */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  z-index: 10;
  color: #1f2937;
}
.carousel-nav:hover {
  background: #dc3545;
  color: #fff;
  box-shadow: 0 6px 24px rgba(220, 53, 69, 0.4);
  transform: translateY(-50%) scale(1.08);
}
.carousel-nav-prev {
  left: 10px;
}
.carousel-nav-next {
  right: 10px;
}

/* ─── Carousel — dots ─── */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.carousel-dot.active {
  background: #dc3545;
  width: 24px;
  border-radius: 4px;
}

/* ─── Stats carousel ─── */
.stats-carousel-inner {
  overflow: hidden;
  border-radius: 1.5rem;
}
@media (max-width: 768px) {
  .stats-carousel-inner {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .stats-carousel-inner::-webkit-scrollbar {
    display: none;
  }
}
.stats-carousel-track {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y pinch-zoom;
}
@media (max-width: 768px) {
  .stats-carousel-track {
    padding: 2rem calc((100vw - (100vw - 3rem)) / 2);
    gap: 1rem;
  }
}
.stats-carousel-slide {
  flex: 0 0 auto;
  width: 100%;
  max-width: 280px;
}
@media (max-width: 768px) {
  .stats-carousel-slide {
    width: calc(100vw - 3rem);
    max-width: 300px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
}
.stats-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.3);
}
.stats-number {
  font-size: 3rem;
  font-weight: 700;
  color: #dc3545;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stats-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}
.stats-description {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.stats-source {
  font-size: 0.8rem;
  color: #9ca3af;
  font-style: italic;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  width: 100%;
}
.stats-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  z-index: 10;
  color: #1f2937;
}
.stats-carousel-nav:hover {
  background: #dc3545;
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.stats-carousel-nav-prev {
  left: 10px;
}
.stats-carousel-nav-next {
  right: 10px;
}
.stats-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

/* ─── Image modal ─── */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.image-modal.active {
  display: flex;
}
.image-modal-image {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 0.5rem;
}
.image-modal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* ─── Generic cards ─── */
.pillar-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.press-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.press-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.partner-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(220, 53, 69, 0.12);
}
.press-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}
.press-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ─── Algo section ─── */
.algo-section {
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.formula-box {
  background: linear-gradient(135deg, #fdf2f2, #fff5f5);
  border: 1px solid rgba(220, 53, 69, 0.15);
  border-radius: 1.5rem;
  padding: 2.4rem 1.5rem 2rem;
  overflow-x: auto;
  text-align: center;
}
.formula-box .katex-display {
  margin: 0;
}
.formula-box .katex {
  font-size: 1.25rem;
}
@media (min-width: 640px) {
  .formula-box .katex {
    font-size: 1.45rem;
  }
}
.param-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.55rem 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.param-chip:hover {
  border-color: rgba(220, 53, 69, 0.35);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.1);
}
.param-chip .chip-sym {
  font-weight: 700;
  color: #dc3545;
  min-width: 2.2rem;
  text-align: center;
}
.param-chip .chip-label {
  font-size: 0.82rem;
  color: #6b7280;
}
.algo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.algo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  color: #374151;
}
.algo-table th {
  background: #1f2937;
  color: #fff;
  padding: 0.75rem 0.6rem;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
}
.algo-table th:first-child {
  text-align: left;
  border-radius: 0.75rem 0 0 0;
}
.algo-table th:last-child {
  border-radius: 0 0.75rem 0 0;
}
.algo-table td {
  padding: 0.65rem 0.6rem;
  text-align: right;
  border-bottom: 1px solid #f3f4f6;
  white-space: nowrap;
}
.algo-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #1f2937;
}
.algo-table tbody tr {
  transition: background 0.15s;
}
.algo-table tbody tr:not(.user-tr):hover {
  background: #fef2f2;
}
.algo-table tbody tr.user-tr {
  background: linear-gradient(90deg, #fff0f0, #fff5f5);
  border-top: 2px solid #dc3545;
  border-bottom: 2px solid #dc3545 !important;
}
.algo-table tbody tr.user-tr td {
  border-bottom: none;
  font-weight: 600;
}
.algo-table tbody tr.user-tr td:first-child {
  color: #dc3545;
}
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 0.82rem;
  background: #f3f4f6;
  color: #6b7280;
}
.rank-badge.gold {
  background: #fef08a;
  color: #92400e;
}
.rank-badge.silver {
  background: #e5e7eb;
  color: #374151;
}
.rank-badge.bronze {
  background: #fed7aa;
  color: #9a3412;
}
.rank-badge.user {
  background: #dc3545;
  color: #fff;
}
.score-val {
  font-weight: 700;
  color: #dc3545;
}
.score-bar-bg {
  width: 100%;
  height: 6px;
  background: #f3f4f6;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 3px;
}
.score-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #fbbf24, #dc3545);
  transition: width 0.4s ease;
}
.slider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem 1rem;
}
.slider-item label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.25rem;
}
.slider-item label span.val {
  color: #dc3545;
}
.slider-item input[type='range'] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
}
.slider-item input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dc3545;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.4);
}
.slider-item input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dc3545;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.4);
}
.live-score-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dc3545;
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.45rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(220, 53, 69, 0.35);
}
.note-callout {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.note-callout .note-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.note-callout p {
  font-size: 0.84rem;
  color: #166534;
  line-height: 1.5;
  margin: 0;
}
.position-label {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 0.35rem;
}
.position-label strong {
  color: #dc3545;
}
@media (max-width: 600px) {
  .algo-table {
    font-size: 0.77rem;
  }
  .algo-table th,
  .algo-table td {
    padding: 0.55rem 0.35rem;
  }
  .formula-box .katex {
    font-size: 1.05rem;
  }
}

/* ============================================================
   Créateurs / Partenaires page (coups-de-coeur)
   ============================================================ */
.creators-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .creators-container {
    padding: 20px 16px;
  }
}
.creators-header {
  text-align: center;
  margin-bottom: 16px;
}
.creators-header h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .creators-header h1 {
    font-size: 2rem;
  }
}
.creators-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
}
.app-store-section {
  text-align: center;
  margin-bottom: 16px;
}
.app-store-title {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 16px;
}
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
}
.store-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #000;
  color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
}
.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.store-button-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.store-icon {
  font-size: 2rem;
}
.store-text {
  text-align: left;
}
.store-label {
  font-size: 0.625rem;
  opacity: 0.8;
  display: block;
}
.store-name {
  font-weight: 600;
  font-size: 1.125rem;
}
.creators-section {
  margin-bottom: 80px;
}
.creators-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.creators-section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}
.creators-section-description {
  font-size: 1rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
}
.section-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.stat-item {
  font-size: 0.875rem;
  color: #4b5563;
  background-color: #f9fafb;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
}
.stat-number {
  font-weight: 600;
  color: #dc3545;
}
.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 640px) {
  .creators-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
  }
}
.creator-card {
  background-color: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.creator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #dc3545;
}
.creator-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.creator-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f3f4f6;
  transition: border-color 0.3s ease;
}
.creator-card:hover .creator-image {
  border-color: #dc3545;
}
.creator-category-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.creator-category {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.creator-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  width: 100%;
}
.creator-description {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
  width: 100%;
}
.creators-footer {
  margin-top: 80px;
  padding: 32px;
  background-color: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  text-align: center;
}
.creators-footer p {
  margin: 8px 0;
  font-size: 0.9375rem;
  color: #374151;
}
.creators-footer a {
  color: #dc3545;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.creators-footer a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.creators-loading {
  text-align: center;
  padding: 80px 20px;
  color: #4b5563;
  font-size: 1.125rem;
}
@media (max-width: 640px) {
  .creators-section-title {
    font-size: 1.5rem;
  }
  .store-buttons {
    flex-direction: column;
    max-width: 300px;
  }
  .store-button {
    width: 100%;
  }
}

/* ============================================================
   Tribune page
   ============================================================ */
.tribune-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 30px 60px;
}
@media (max-width: 768px) {
  .tribune-container {
    padding: 0 20px 40px;
  }
}
.tribune-body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.8;
  color: #1a1a1a;
  background-color: #fafaf8;
  -webkit-font-smoothing: antialiased;
}
.tribune-header {
  border-bottom: 3px double #000;
  padding-bottom: 30px;
  margin-bottom: 40px;
}
.tribune-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-family: 'Georgia', 'Times New Roman', serif;
}
@media (max-width: 768px) {
  .tribune-header h1 {
    font-size: 1.875rem;
  }
}
.tribune-subtitle {
  font-size: 0.875rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
}
.tribune-content {
  margin-bottom: 60px;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.tribune-content p {
  margin: 20px 0;
  font-size: 1.0625rem;
  line-height: 1.8;
  text-align: justify;
}
.tribune-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin-top: 50px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.tribune-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
  margin-top: 35px;
  margin-bottom: 15px;
  font-family: 'Georgia', 'Times New Roman', serif;
}
@media (max-width: 768px) {
  .tribune-content h2 {
    font-size: 1.25rem;
  }
  .tribune-content h3 {
    font-size: 1.125rem;
  }
}
.tribune-intro {
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: 40px;
  font-style: italic;
}
.tribune-quote {
  position: relative;
  padding: 30px 40px 30px 80px;
  margin: 40px 0;
  font-size: 1.25rem;
  line-height: 1.7;
  font-style: italic;
  color: #2a2a2a;
  border-left: 3px solid #000;
}
.tribune-quote::before {
  content: '"';
  position: absolute;
  left: 10px;
  top: 0;
  font-size: 6rem;
  line-height: 1;
  color: #ddd;
  font-family: Georgia, serif;
}
@media (max-width: 768px) {
  .tribune-quote {
    padding: 20px 20px 20px 50px;
    font-size: 1.0625rem;
  }
  .tribune-quote::before {
    font-size: 4rem;
    left: 5px;
  }
}
.tribune-highlight {
  border: 2px solid #000;
  padding: 25px;
  margin: 35px 0;
  background-color: #fafafa;
}
.tribune-highlight p {
  text-align: left;
  margin: 0;
}
.tribune-content ol {
  margin: 30px 0;
  padding-left: 30px;
  counter-reset: item;
  list-style: none;
}
.tribune-content ol li {
  margin: 25px 0;
  padding-left: 15px;
  position: relative;
  counter-increment: item;
  font-size: 1.0625rem;
  line-height: 1.8;
  text-align: justify;
}
.tribune-content ol li::before {
  content: counter(item) '.';
  position: absolute;
  left: -30px;
  font-weight: 700;
  color: #000;
}
.tribune-cta {
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  padding: 35px 0;
  margin: 50px 0;
  text-align: center;
}
.tribune-cta h3 {
  margin-top: 0;
  margin-bottom: 15px;
  border: none;
  font-size: 1.25rem;
}
.tribune-cta p {
  margin-bottom: 25px;
  text-align: center;
  font-size: 1rem;
}
.tribune-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.tribune-btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.9375rem;
  border: 2px solid #000;
}
.tribune-btn-primary {
  background-color: #000;
  color: white;
}
.tribune-btn-primary:hover {
  background-color: #333;
}
.tribune-btn-outline {
  background-color: white;
  color: #000;
}
.tribune-btn-outline:hover {
  background-color: #000;
  color: white;
}
.signataires-section {
  margin-top: 70px;
  border-top: 3px double #000;
  padding-top: 50px;
}
.signataires-section .section-header {
  margin-bottom: 40px;
}
.signataires-section .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
  text-align: center;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.signataires-section .section-description {
  font-size: 1rem;
  color: #666;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.signataires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
@media (max-width: 640px) {
  .signataires-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
  }
}
.signataire-card {
  text-align: center;
  padding: 10px;
}
.signataire-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
  margin: 0 auto 15px;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.signataire-card:hover .signataire-image {
  filter: grayscale(0%);
}
.signataire-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.signataire-title {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-style: italic;
}
.tribune-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.tribune-footer p {
  margin: 10px 0;
  font-size: 0.9375rem;
  color: #666;
  text-align: center;
}
.tribune-footer a {
  color: #000;
  text-decoration: underline;
}
.tribune-footer a:hover {
  color: #666;
}
.tribune-loading {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 0.9375rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.tribune-content strong {
  font-weight: 700;
  color: #000;
}
.tribune-content a {
  color: #000;
  text-decoration: underline;
}
.tribune-content a:hover {
  color: #666;
}

/* ============================================================
   Déontologie / Legal pages
   ============================================================ */
:root {
  --bulle-primary: #dc3545;
  --bulle-secondary: #c82333;
  --bulle-dark: #1f2937;
  --bulle-light: #f9fafb;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --green-600: #059669;
}
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
}
@media (max-width: 768px) {
  .legal-container {
    padding: 0 16px 40px;
  }
}
.legal-header {
  text-align: center;
  margin-bottom: 48px;
}
.legal-header .logo-container {
  margin-bottom: 24px;
}
.legal-header .logo {
  height: 60px;
}
.legal-header h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 2rem;
  }
}
.legal-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
}
.version-info {
  margin-top: 16px;
  padding: 8px 16px;
  background: var(--gray-50);
  border-radius: 8px;
  display: inline-block;
  font-size: 0.875rem;
  color: var(--gray-600);
}
.legal-section {
  margin-bottom: 48px;
}
.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
}
.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-top: 24px;
  margin-bottom: 12px;
}
.legal-section p {
  margin: 12px 0;
  line-height: 1.7;
  color: var(--gray-700);
}
.legal-section ul {
  margin: 12px 0;
  padding-left: 24px;
}
.legal-section ul li {
  margin: 8px 0;
  line-height: 1.6;
  color: var(--gray-700);
}
.highlight {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight p {
  margin: 0;
}
.important {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.important ul {
  margin-top: 8px;
}
.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.nav-menu {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 48px;
  border: 1px solid var(--gray-200);
}
.nav-menu h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gray-900);
  border: none;
  padding: 0;
}
.nav-menu ul {
  list-style: none;
  padding: 0;
}
.nav-menu li {
  margin: 8px 0;
}
.nav-menu a {
  color: var(--bulle-primary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.nav-menu a:hover {
  text-decoration: underline;
}
.principle-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--bulle-primary);
  padding: 20px 24px;
  margin: 16px 0;
  border-radius: 12px;
}
.principle-card h4 {
  color: var(--gray-900);
  margin: 0 0 12px 0;
  font-size: 1.125rem;
}
.principle-card p {
  margin: 0;
  color: var(--gray-700);
}
.principle-number {
  display: inline-block;
  background: var(--bulle-primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: 600;
  margin-right: 12px;
  font-size: 0.875rem;
}
.rights-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--green-600);
  padding: 20px 24px;
  margin: 16px 0;
  border-radius: 12px;
}
.rights-card h4 {
  color: var(--gray-900);
  margin: 0 0 8px 0;
  font-size: 1rem;
}
.rights-card p {
  margin: 0;
  color: var(--gray-700);
}
.creator-rule {
  background: white;
  border: 1px solid var(--gray-200);
  border-left: 4px solid #9333ea;
  padding: 16px 20px;
  margin: 12px 0;
  border-radius: 8px;
}
.creator-rule h4 {
  color: var(--gray-900);
  margin: 0 0 8px 0;
  font-size: 1rem;
}
.creator-rule p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gray-700);
}
.table-wrapper {
  overflow-x: auto;
}
.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.table-wrapper th {
  background: var(--gray-900);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.table-wrapper th:first-child {
  border-radius: 8px 0 0 0;
}
.table-wrapper th:last-child {
  border-radius: 0 8px 0 0;
}
.table-wrapper td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.legal-footer {
  margin-top: 60px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--gray-600);
}
.legal-footer a {
  color: var(--bulle-primary);
  text-decoration: none;
  font-weight: 500;
}
.legal-footer a:hover {
  text-decoration: underline;
}
.legal-footer p {
  margin: 8px 0;
}
