/* ===========================
   About Section
   =========================== */

.about-section {
  padding: 80px 20px 100px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-container h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 40px;
  letter-spacing: -0.02em;
}

.about-container h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin: 48px 0 24px;
  letter-spacing: -0.01em;
}

.about-container p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

/* --- Blocs texte / visuel --- */

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.about-block--reverse {
  direction: rtl;
}

.about-block--reverse > * {
  direction: ltr;
}

.about-block-content h1 {
  margin-top: 0;
}

.about-block-content h2 {
  margin-top: 0;
}

.about-img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.about-img--natural {
  aspect-ratio: unset;
  height: auto;
  object-fit: unset;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .about-section {
    padding: 60px 20px 80px;
  }

  .about-container h1 {
    font-size: 36px;
    margin-bottom: 32px;
  }

  .about-container h2 {
    font-size: 26px;
    margin: 40px 0 20px;
  }

  .about-container p {
    font-size: 16px;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
  }

  .about-block--reverse {
    direction: ltr;
  }

  .about-block--reverse .about-block-visual {
    order: -1;
  }

  .about-img {
    border-radius: 10px;
  }
}
/* Admin Styles */

/* ─── Design tokens (thème sombre back-office) ────────────── */

body.admin {
  --admin-bg: #121212;
  --admin-surface: #1c1c1c;
  --admin-surface-2: #242424;
  --admin-surface-3: #2a2a2a;
  --admin-border: #2e2e2e;
  --admin-border-soft: #262626;
  --admin-text: #f2f2f2;
  --admin-text-muted: #a0a0a0;
  --admin-text-faint: #6f6f6f;
  --admin-accent: #670bff;
  --admin-accent-hover: #7c2bff;
  --admin-accent-soft: rgba(103, 11, 255, 0.16);
  --admin-success: #22c55e;
  --admin-success-soft: rgba(34, 197, 94, 0.15);
  --admin-danger: #f0506e;
  --admin-danger-soft: rgba(240, 80, 110, 0.15);
  --admin-warning: #f0ad4e;
  --admin-warning-soft: rgba(240, 173, 78, 0.15);
  --admin-info: #4d9fff;
  --admin-info-soft: rgba(77, 159, 255, 0.15);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  background: var(--admin-bg);
  color: var(--admin-text);
  font-family: var(--font-body);
  min-height: 100vh;
}

body.admin h1,
body.admin h2,
body.admin h3,
body.admin h4,
body.admin h5,
body.admin h6 {
  font-family: var(--font-heading);
}

/* ─── Member avatar (list) ────────────────────────────────── */

.member-avatar-thumb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.member-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--admin-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ─── Clickable table rows ────────────────────────────────── */

.tr-clickable {
  cursor: pointer;
}

/* ─── Member show page ────────────────────────────────────── */

.member-detail-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.member-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.member-detail-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.member-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.member-profile-card p {
  margin: 0;
  font-size: 0.9rem;
}

.member-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
}

.member-avatar-large-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--admin-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.member-profile-username {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--admin-text);
}

.member-section-table {
  width: 100%;
  border-collapse: collapse;
}

.member-section-table th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-faint);
  padding: 6px 0;
  border-bottom: 1px solid var(--admin-border-soft);
}

.member-section-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--admin-border-soft);
  vertical-align: middle;
}

.member-section-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 900px) {
  .member-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Comment text truncation ─────────────────────────────── */

.td-comment-text {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--admin-text-muted);
  font-size: 0.9rem;
}

.td-comment-expand {
  max-width: none;
  width: 100%;
}

/* ─── Column sizing ───────────────────────────────────────── */

.col-title {
  width: 100%;
}

.col-narrow {
  white-space: nowrap;
  width: 1%;
}

.td-narrow {
  white-space: nowrap;
  width: 1%;
}

.td-title-truncate {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

/* ─── Member link ─────────────────────────────────────────── */

.member-link {
  color: var(--admin-accent);
  text-decoration: none;
  font-weight: 600;
}

.member-link:hover {
  text-decoration: underline;
}

/* ─── Ban button ──────────────────────────────────────────── */

.btn-ban {
  padding: 4px 10px;
  background: var(--admin-warning-soft);
  color: var(--admin-warning);
  border: 1px solid var(--admin-warning);
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.75;
  white-space: nowrap;
}

/* ─── Small delete button ─────────────────────────────────── */

.btn-delete--sm {
  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: 5px;
}


/* ─── Table small variant ─────────────────────────────────── */

.admin-table--sm table {
  font-size: 0.85rem;
}

.admin-table--sm th,
.admin-table--sm td {
  padding: 10px 12px;
}

/* ─── Btn view / back ─────────────────────────────────────── */

.btn-view {
  padding: 4px 12px;
  background: var(--admin-accent);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.btn-view:hover {
  background: var(--admin-accent-hover);
}

.btn-back {
  display: inline-block;
  color: var(--admin-accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.btn-back:hover {
  text-decoration: underline;
}

/* ─── Capsule detail ──────────────────────────────────────── */

.capsule-header-left {
  display: flex;
  flex-direction: column;
}

.capsule-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.capsule-detail-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.capsule-cover {
  border-radius: 12px;
  overflow: hidden;
  max-height: 300px;
}

.capsule-cover-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.capsule-section {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 20px 24px;
}

.capsule-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--admin-text-faint);
  margin-bottom: 10px;
}

.capsule-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--admin-text);
  white-space: pre-wrap;
  margin: 0;
}

.audio-player-full {
  width: 100%;
  height: 40px;
}

.capsule-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.capsule-meta-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 18px 20px;
}

.capsule-meta-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--admin-text-faint);
  margin-bottom: 10px;
}

.capsule-meta-card p {
  margin: 2px 0;
  font-size: 0.9rem;
}

.capsule-stats {
  display: flex;
  gap: 16px;
}

.capsule-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.capsule-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--admin-text);
  font-family: var(--font-heading);
}

.capsule-stat-label {
  font-size: 0.75rem;
  color: var(--admin-text-faint);
}

.meta-table {
  width: 100%;
  font-size: 0.85rem;
  border-collapse: collapse;
}

.meta-table td {
  padding: 4px 0;
  vertical-align: top;
}

.meta-table td:first-child {
  color: var(--admin-text-faint);
  width: 80px;
}

@media (max-width: 900px) {
  .capsule-detail-grid {
    grid-template-columns: 1fr;
  }
}



/* ─── Nav ─────────────────────────────────────────────────── */

.admin-nav {
  display: flex;
  flex-direction: column;
  background: var(--admin-surface);
  border-right: 1px solid var(--admin-border);
  padding: 24px 16px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 210px;
  z-index: 100;
}

.admin-nav-brand {
  padding: 0 12px 20px;
}

.admin-nav-logo {
  height: 28px;
  width: auto;
  display: block;
}

.admin-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-nav-link {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--admin-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.admin-nav-link:hover {
  color: var(--admin-text);
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav-link.active {
  color: white;
  background: var(--admin-accent);
}

.admin-nav-user {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px 0;
  border-top: 1px solid var(--admin-border);
}

.admin-nav-email {
  color: var(--admin-text-faint);
  font-size: 0.8rem;
  word-break: break-all;
}

.admin-nav-logout {
  text-align: center;
}

/* Sur mobile, la sidebar redevient une barre horizontale en haut */
@media (max-width: 820px) {
  .admin-nav {
    position: sticky;
    flex-direction: row;
    align-items: center;
    width: auto;
    bottom: auto;
    height: auto;
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .admin-nav-brand { padding: 0 12px 0 0; }
  .admin-nav-links { flex-direction: row; flex-wrap: wrap; }
  .admin-nav-user {
    margin-top: 0;
    margin-left: auto;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border-top: none;
  }
  .admin-container { margin-left: auto; }
}

.admin-nav-logout {
  color: var(--admin-text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid var(--admin-border);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.admin-nav-logout:hover {
  color: white;
  border-color: var(--admin-accent);
}

/* ─── Dashboard metrics ───────────────────────────────────── */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.metric-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 28px 24px;
  border-left: 4px solid var(--admin-border);
}

.metric-card--primary {
  border-left-color: var(--admin-accent);
  grid-column: span 2;
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--admin-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--admin-text);
  line-height: 1;
  margin-bottom: 12px;
}

.metric-sub {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.metric-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.metric-pill--official {
  background: var(--admin-info-soft);
  color: var(--admin-info);
}

.metric-pill--ugc {
  background: var(--admin-accent-soft);
  color: #b98bff;
}

.metric-pill--danger {
  background: var(--admin-danger-soft);
  color: var(--admin-danger);
}

.metric-pill--info {
  background: var(--admin-info-soft);
  color: var(--admin-info);
}

.metric-pill--success {
  background: var(--admin-success-soft);
  color: var(--admin-success);
}

.metric-pill--muted {
  background: var(--admin-surface-3);
  color: var(--admin-text-muted);
}

.metric-pill--up {
  background: none;
  padding: 0;
  color: var(--admin-success);
}

.metric-pill--down {
  background: none;
  padding: 0;
  color: var(--admin-danger);
}

.studio-metrics-grid .metric-card {
  background: var(--admin-bg);
  padding: 16px 18px;
  border-left: 1px solid var(--admin-border);
}

.studio-metrics-grid .metric-label {
  font-size: 0.72rem;
  margin-bottom: 6px;
}

.studio-metrics-grid .metric-value {
  font-size: 1.7rem;
  margin-bottom: 4px;
}

.admin-date {
  color: var(--admin-text-faint);
  font-size: 0.9rem;
}

.metrics-grid--safety {
  margin-bottom: 24px;
}

.metric-card--safety {
  border-left-color: var(--admin-danger);
}

/* ─── Capsule danger zone ─────────────────────────────────── */

.capsule-danger-zone {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--admin-danger-soft);
}

/* ─── Dashboard shortcuts ─────────────────────────────────── */

.dashboard-shortcuts h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--admin-text-muted);
  margin-bottom: 16px;
}

.shortcuts-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--admin-surface);
  border-radius: 12px;
  padding: 24px 32px;
  text-decoration: none;
  color: var(--admin-text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: 2px solid var(--admin-border);
}

.shortcut-card:hover {
  border-color: var(--admin-accent);
  transform: translateY(-2px);
}

.shortcut-icon {
  font-size: 1.8rem;
}

/* ─── Filters ─────────────────────────────────────────────── */

.admin-filters {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--admin-text-muted);
  background: var(--admin-surface-3);
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: var(--admin-border);
}

.filter-btn.active {
  background: var(--admin-accent);
  color: white;
}

.filter-btn--warning.active {
  background: var(--admin-warning);
  color: #1a1a1a;
}

.filter-btn--success.active {
  background: var(--admin-success);
  color: #0a1a0f;
}

.filter-separator {
  color: var(--admin-border);
  margin: 0 4px;
}

.filter-select {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-2);
  color: var(--admin-text);
  font-size: 0.85rem;
  font-family: var(--font-body);
}

/* ─── Tab nav ─────────────────────────────────────────────── */

.tab-nav {
  display: flex;
  gap: 4px;
  background: var(--admin-surface-2);
  padding: 4px;
  border-radius: 8px;
}

.tab-link {
  padding: 6px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--admin-text-muted);
  transition: all 0.15s ease;
}

.tab-link.active {
  background: var(--admin-surface-3);
  color: var(--admin-text);
}

/* ─── Report status badges ────────────────────────────────── */

.report-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.report-status-pending   { background: var(--admin-danger-soft); color: var(--admin-danger); }
.report-status-reviewed  { background: var(--admin-info-soft); color: var(--admin-info); }
.report-status-actioned  { background: var(--admin-success-soft); color: var(--admin-success); }
.report-status-dismissed { background: var(--admin-surface-3); color: var(--admin-text-muted); }

.filter-btn--status-pending.active   { background: var(--admin-danger); }
.filter-btn--status-reviewed.active  { background: var(--admin-info); }
.filter-btn--status-actioned.active  { background: var(--admin-success); }
.filter-btn--status-dismissed.active { background: var(--admin-text-faint); }

/* ─── Badges & types ──────────────────────────────────────── */

.type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.type-badge.official {
  background: var(--admin-info-soft);
  color: var(--admin-info);
}

.type-badge.ugc {
  background: var(--admin-accent-soft);
  color: #b98bff;
}

.status-pending   { background: var(--admin-warning-soft); color: var(--admin-warning); }
.status-published { background: var(--admin-success-soft); color: var(--admin-success); }
.status-rejected  { background: var(--admin-danger-soft); color: var(--admin-danger); }
.status-approved  { background: var(--admin-success-soft); color: var(--admin-success); }

/* ─── Table helpers ───────────────────────────────────────── */

.td-teasing {
  max-width: 240px;
  color: var(--admin-text-muted);
  font-size: 0.9rem;
}

.td-date {
  white-space: nowrap;
  color: var(--admin-text-faint);
  font-size: 0.85rem;
}

.td-id {
  font-family: monospace;
  font-size: 0.75rem;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-username {
  white-space: nowrap;
}

.text-muted {
  color: var(--admin-text-faint);
}

.count-badge {
  display: inline-block;
  background: var(--admin-accent);
  color: white;
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 1rem;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
}

/* ─── Audio player ────────────────────────────────────────── */

.audio-player {
  height: 32px;
  width: 200px;
}



.admin-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #1c0a3d 0%, #121212 70%);
  padding: 20px;
}

.admin-login-box {
  background: var(--admin-surface, #1c1c1c);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 400px;
}

.admin-login-box h1 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--admin-text, #f2f2f2);
  font-family: var(--font-heading, inherit);
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-left: 210px;
  padding: 40px 30px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--admin-border);
}

.admin-header h1 {
  font-size: 2rem;
  color: var(--admin-text);
}

.admin-actions {
  display: flex;
  gap: 10px;
}

/* Forms */

.admin-form-container,
.admin-login-form {
  max-width: 800px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--admin-text);
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--admin-border);
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  background: var(--admin-surface-2);
  color: var(--admin-text);
}

.studio-icon-select {
  position: relative;
}

.studio-icon-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 2px solid var(--admin-border);
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  background: var(--admin-surface-2);
  color: var(--admin-text);
  cursor: pointer;
  text-align: left;
}

.studio-icon-select-trigger:hover,
.studio-icon-select-trigger:focus {
  outline: none;
  border-color: var(--admin-accent);
}

.studio-icon-select-trigger .mdi {
  color: #fff;
  font-size: 1.15rem;
}

.studio-icon-select-trigger span {
  flex: 1;
}

.studio-icon-select-caret {
  color: var(--admin-text-faint) !important;
  font-size: 1.1rem !important;
}

.studio-icon-select-menu {
  position: fixed;
  z-index: 500;
  background: var(--admin-surface-2);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 6px;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.studio-icon-select-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: none;
  border-radius: 6px;
  background: none;
  color: var(--admin-text);
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}

.studio-icon-select-option .mdi {
  color: #fff;
  font-size: 1.15rem;
}

.studio-icon-select-option:hover {
  background: var(--admin-surface-3);
}

.studio-icon-select-option.selected {
  background: var(--admin-accent-soft);
}

.form-control:focus {
  outline: none;
  border-color: var(--admin-accent);
}

.form-control[type="text"],
.form-control[type="email"],
.form-control[type="password"],
.form-control textarea,
.form-control select {
  font-family: inherit;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cover-image-preview {
  margin-bottom: 10px;
}

.cover-image-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.form-checkbox {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
  font-weight: 500;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* Buttons */

.btn-primary {
  padding: 12px 30px;
  background: var(--admin-accent, #670bff);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--admin-accent-hover, #7c2bff);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  padding: 12px 30px;
  background: var(--admin-surface-3, #2a2a2a);
  color: var(--admin-text, #f2f2f2);
  border: 1px solid var(--admin-border, #2e2e2e);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--admin-border, #2e2e2e);
}

.btn-danger {
  padding: 12px 30px;
  background: var(--admin-danger, #f0506e);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background: #d43a58;
}

.btn-edit {
  padding: 6px 15px;
  background: var(--admin-success, #22c55e);
  color: #0a1a0f;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-edit:hover {
  background: #1ea850;
}

.btn-delete {
  padding: 6px 15px;
  background: var(--admin-danger, #f0506e);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-delete:hover {
  background: #d43a58;
}

/* Alerts */

.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.alert-success {
  background: var(--admin-success-soft, rgba(34, 197, 94, 0.15));
  color: var(--admin-success, #22c55e);
  border: 1px solid var(--admin-success, #22c55e);
}

.alert-error {
  background: var(--admin-danger-soft, rgba(240, 80, 110, 0.15));
  color: var(--admin-danger, #f0506e);
  border: 1px solid var(--admin-danger, #f0506e);
}

.alert h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.alert ul {
  margin: 0;
  padding-left: 20px;
}

/* Table */

.admin-table {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 20px;
  overflow-x: auto;
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead {
  background: var(--admin-surface-2);
}

.admin-table th,
.admin-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--admin-border-soft);
}

.admin-table th {
  font-weight: 600;
  color: var(--admin-text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table td {
  color: var(--admin-text);
}

.admin-table tbody tr:hover {
  background: var(--admin-surface-2);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.actions form {
  margin: 0;
}

.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-badge.published {
  background: var(--admin-success-soft);
  color: var(--admin-success);
}

.status-badge.draft {
  background: var(--admin-warning-soft);
  color: var(--admin-warning);
}

.no-data {
  text-align: center;
  padding: 60px 20px;
  color: var(--admin-text-faint);
}

@media (max-width: 768px) {
  .admin-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .admin-actions {
    flex-direction: column;
    width: 100%;
  }

  .admin-actions a,
  .admin-actions button {
    width: 100%;
    text-align: center;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions a,
  .form-actions button {
    width: 100%;
    text-align: center;
  }

  .admin-table {
    overflow-x: scroll;
  }
}

/* ===== Kapsul Studio ===== */
.studio-container { max-width: 900px; }

.studio-step {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 16px;
  overflow: hidden;
}

.studio-step > summary,
.studio-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-family: var(--font-heading);
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.studio-step > summary::-webkit-details-marker { display: none; }

.studio-step-body {
  padding: 0 24px 24px;
  border-top: 1px solid var(--admin-border-soft);
  padding-top: 20px;
}

.studio-step h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin: 0 0 12px;
}

.studio-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--admin-surface-3);
  color: var(--admin-text);
  font-size: 14px;
  flex-shrink: 0;
}

.studio-step-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--admin-text-faint);
  flex-shrink: 0;
  margin-left: auto;
}

.studio-step-status.valid { background: var(--admin-success); }

.studio-hint { color: var(--admin-text-muted); font-size: 13px; margin: 4px 0 12px; }
.studio-hint-inline { color: var(--admin-text-muted); font-size: 13px; font-weight: 400; }

.studio-row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.studio-row .form-group { flex: 1; min-width: 180px; margin-bottom: 12px; }
.studio-row button { margin-bottom: 12px; }
.studio-grow { flex: 1; }
.studio-btn-shrink0 { flex-shrink: 0; }

.studio-row .form-group.studio-coord { flex: 0 1 140px; min-width: 110px; }

.studio-status { margin-left: 12px; font-size: 13px; color: var(--admin-success); }
.studio-status-error { color: var(--admin-danger); }

.studio-tags-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.studio-tag-btn {
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-2);
  color: var(--admin-text-muted);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-family: monospace;
  cursor: pointer;
}
.studio-tag-btn:hover { border-color: var(--admin-accent); color: var(--admin-text); }

.studio-duration {
  font-size: 13px;
  color: var(--admin-text-muted);
  margin-top: 10px;
}
.studio-duration strong { color: var(--admin-text); }

/* --- Étapes 1/3 : loader circulaire avec % de progression --- */
.studio-task { display: inline-flex; align-items: center; }

.studio-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.studio-spinner svg { width: 32px; height: 32px; transform: rotate(-90deg); }

.studio-spinner-track {
  fill: none;
  stroke: var(--admin-border);
  stroke-width: 3;
}

.studio-spinner-progress {
  fill: none;
  stroke: var(--admin-accent);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.15s linear;
}

.studio-spinner-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--admin-accent);
  min-width: 32px;
}

/* --- Étape Voix : lecteur audio (repris du player public) --- */
.studio-player {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  padding: 14px 20px;
  background: var(--admin-surface-2);
  border: 1px solid var(--admin-border);
  border-radius: 16px;
}

.studio-player-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--admin-accent) 0%, #a855f7 100%);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(103, 11, 255, 0.35);
}
.studio-player-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(103, 11, 255, 0.45); }

.studio-player-icon { width: 18px; height: 18px; }
.studio-player-icon--play { margin-left: 2px; }

.studio-player-waveform {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  overflow: hidden;
  min-width: 0;
}

.studio-player-bar {
  flex: 1;
  height: var(--bar-height, 40%);
  background: var(--admin-surface-3);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.studio-player-bar.played { background: linear-gradient(to top, var(--admin-accent), #a855f7); }
.studio-player-bar.active {
  background: linear-gradient(to top, var(--admin-accent), #a855f7);
  animation: studio-bar-pulse 0.6s ease infinite alternate;
}
@keyframes studio-bar-pulse { from { opacity: 0.7; } to { opacity: 1; } }

.studio-player-time { font-size: 13px; font-weight: 600; color: var(--admin-text-faint); min-width: 32px; text-align: right; }

.studio-fallback { margin-top: 8px; }
.studio-fallback summary { cursor: pointer; color: var(--admin-text-muted); font-size: 13px; }

.studio-title-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.studio-title-chip {
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-2);
  color: var(--admin-text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
}
.studio-title-chip:hover { border-color: var(--admin-accent); }
.studio-title-chip.selected { background: var(--admin-accent); color: #fff; border-color: var(--admin-accent); }

.studio-cover-preview {
  max-width: 280px;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 8px;
}

.studio-map { height: 340px; border-radius: 8px; margin-bottom: 8px; }

.capsules-map { height: 70vh; min-height: 420px; border-radius: 8px; border: 1px solid var(--admin-border); }

.studio-episodes { margin: 4px 0 16px; }
.studio-episodes-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
}
.studio-episodes-list li {
  font-size: 13px;
  color: var(--admin-text-muted);
  background: var(--admin-surface-2);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 8px 12px;
}
.studio-episodes-list li.studio-episodes-empty,
.studio-episodes-list li.studio-episodes-loading { color: var(--admin-text-faint); font-style: italic; }

/* ===== Kapsul Studio — pipeline / liste ===== */

.studio-pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.studio-charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .studio-charts-grid { grid-template-columns: 1fr; }
}

.studio-chart-card {
  background: var(--admin-bg);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 20px 24px;
}

.studio-chart-card h3 {
  font-size: 0.95rem;
  margin: 0 0 16px;
  color: var(--admin-text);
}

.studio-top-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.studio-top-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--admin-text-muted);
}
.studio-top-rank {
  width: 20px;
  color: var(--admin-text-faint);
  font-weight: 700;
  font-family: var(--font-heading);
}
.studio-top-title { flex: 1; color: var(--admin-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-top-plays { color: var(--admin-accent); font-weight: 600; font-size: 0.8rem; white-space: nowrap; }

.studio-category-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.82rem; }
.studio-category-bar-label { width: 100px; color: var(--admin-text-muted); flex-shrink: 0; }
.studio-category-bar-track { flex: 1; background: var(--admin-surface-3); border-radius: 6px; height: 8px; overflow: hidden; }
.studio-category-bar-fill { height: 100%; background: var(--admin-accent); border-radius: 6px; }
.studio-category-bar-count { width: 28px; text-align: right; color: var(--admin-text-faint); flex-shrink: 0; }

.studio-progress-cell { display: flex; align-items: center; gap: 8px; }
.studio-progress-track { width: 60px; height: 6px; border-radius: 3px; background: var(--admin-surface-3); overflow: hidden; }
.studio-progress-fill { height: 100%; background: var(--admin-accent); }
.studio-progress-label { font-size: 0.78rem; color: var(--admin-text-faint); white-space: nowrap; }

.alert-success {
  background: var(--admin-success-soft);
  border: 1px solid var(--admin-success);
  color: var(--admin-success);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}
/* ===========================
   Hero Section
   =========================== */

.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0 80px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* --- Hero Text --- */

.hero-text {
  flex: 1;
  max-width: 560px;
}

.hero-title {
  font-size: 68px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--color-text);
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}

.hero-title-accent {
  display: block;
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 32px;
}

/* --- CTA Buttons --- */

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: #121012;
  background: var(--color-text);
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.btn-store-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-store-label {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
}

.btn-store-name {
  font-size: 16px;
  font-weight: 700;
}

/* --- Hero Visual (Phone + Pills) --- */

.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 380px;
  height: 580px;
  transition: transform 0.1s ease-out;
  margin-right: 40px;
}

/* --- Floating Pills --- */

.pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  border-radius: 50px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.15s ease-out;
  cursor: default;
}

.pill:hover {
  transform: scale(1.08);
}

.pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pill-color, var(--color-primary));
  color: white;
  flex-shrink: 0;
  font-size: 15px;
}

.pill-1 {
  top: 20px;
  left: -50px;
  animation-delay: 0s;
}

.pill-2 {
  top: 110px;
  right: -20px;
  animation-delay: -1s;
}

.pill-3 {
  top: 220px;
  left: -60px;
  animation-delay: -2s;
}

.pill-4 {
  bottom: 190px;
  right: -40px;
  animation-delay: -3s;
}

.pill-5 {
  bottom: 90px;
  left: -30px;
  animation-delay: -4s;
}

.pill-6 {
  bottom: 10px;
  right: -10px;
  animation-delay: -2.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* --- Phone Mockup --- */

.phone-mockup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 560px;
  background: var(--color-surface);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 25px 80px rgba(242, 96, 74, 0.18),
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--color-surface);
  border-radius: 0 0 18px 18px;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--color-bg);
  position: relative;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Background Decorations --- */

.hero-bg-gradient {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 180, 68, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 1400px) {
  .hero-content {
    gap: 2rem;
  }

  .hero-visual {
    width: 340px;
    height: 560px;
    margin-right: 20px;
  }

  .hero-title {
    font-size: 58px;
  }

  .pill-1 { left: -20px; }
  .pill-3 { left: -20px; }
  .pill-5 { left: -10px; }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-content {
    gap: 1.5rem;
  }

  .hero-visual {
    width: 300px;
    height: 500px;
    margin-right: 10px;
  }

  .phone-mockup {
    width: 230px;
    height: 460px;
  }

  .pill-1 { left: 0; }
  .pill-3 { left: 0; }
  .pill-5 { left: 0; }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 40px 0 60px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-visual {
    width: 300px;
    height: 480px;
    margin-right: 0;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
    border-radius: 36px;
  }

  .pill {
    font-size: 12px;
    padding: 5px 14px 5px 5px;
  }

  .pill-icon {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .pill-1 { left: 10px; }
  .pill-3 { left: 0; }
  .pill-5 { left: 10px; }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-visual {
    width: 260px;
    height: 440px;
  }

  .phone-mockup {
    width: 200px;
    height: 400px;
    border-radius: 32px;
  }

  .pill-4,
  .pill-5,
  .pill-6 {
    display: none;
  }
}
/* Blog Styles */

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.blog-header {
  text-align: center;
  margin-bottom: 50px;
}

.blog-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.blog-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

.blog-categories {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 10px 20px;
  border: 2px solid var(--color-border);
  border-radius: 25px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.category-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.category-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #121012;
}

.blog-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.blog-article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

.article-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.6;
}

.article-image-placeholder--large {
  height: 280px;
  margin-bottom: 30px;
}

.article-image-placeholder--large svg {
  width: 64px;
  height: 64px;
}

.article-image {
  height: 180px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-image--large {
  height: 280px;
  margin-bottom: 30px;
}

.blog-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.article-category {
  background: var(--color-primary);
  color: #121012;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

.article-date {
  color: var(--color-text-muted);
}

.article-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.article-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-title a:hover {
  color: var(--color-primary);
}

.article-excerpt {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--color-border);
}

.article-author {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.read-more-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more-link:hover {
  color: var(--color-secondary);
}

.no-articles {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-muted);
}

/* Article Full Page */

.blog-article-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.back-link {
  display: inline-block;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: var(--color-secondary);
}

.blog-article-full {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.article-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--color-border);
}

.blog-article-full .article-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--color-text);
}

.blog-article-full .article-author {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin: 2rem 0;
}

.article-content img.img-side {
  float: left;
  width: 280px;
  aspect-ratio: 1 / 1;
  margin: 4px 24px 16px 0;
}

.article-content h2,
.article-content h3 {
  clear: both;
}

@media (max-width: 640px) {
  .article-content img.img-side {
    float: none;
    width: 100%;
  }
}

/* --- Mini audio player (embedded in article content) --- */

.mini-player {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 2rem 0;
  clear: both;
}

.mini-player-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #121012;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}

.mini-player-btn:hover {
  transform: scale(1.06);
}

.mini-player-btn .mdi-pause {
  display: none;
}

.mini-player-btn.is-playing .mdi-play {
  display: none;
}

.mini-player-btn.is-playing .mdi-pause {
  display: inline-block;
}

.mini-player-body {
  flex: 1;
  min-width: 0;
}

.mini-player-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-track {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: var(--color-surface-alt);
  cursor: pointer;
}

.mini-player-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.mini-player-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
}

.article-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.article-content a:hover {
  color: var(--color-secondary);
}

.article-navigation {
  margin-top: 40px;
  text-align: center;
}

.nav-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--color-primary);
  color: #121012;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: var(--color-secondary);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .blog-header h1 {
    font-size: 2rem;
  }

  .blog-articles {
    grid-template-columns: 1fr;
  }

  .blog-article-full {
    padding: 30px 20px;
  }

  .blog-article-full .article-title {
    font-size: 1.8rem;
  }
}
/* ===========================
   Community Section
   =========================== */

.community {
  padding: 0 0 100px;
}

.community-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #F5B444;
  border-radius: 28px;
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

/* --- Avatars --- */

.community-avatars {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 8px;
}

.community-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-left: calc(var(--i) * -14px);
  position: relative;
  z-index: calc(5 - var(--i));
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.community-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Text --- */

.community-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #121012;
  margin: 0;
  line-height: 1.3;
}

.community-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: #121012;
  margin: 4px 0 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* --- CTA --- */

.community-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 16px 40px;
  background: #121012;
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.community-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .community {
    padding: 0 0 80px;
  }

  .community-container {
    gap: 16px;
    padding: 48px 32px;
    border-radius: 20px;
  }

  .community-headline {
    font-size: 18px;
  }

  .community-sub {
    font-size: 40px;
  }

  .community-cta {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .community-container {
    padding: 36px 24px;
  }

  .community-headline {
    font-size: 16px;
  }

  .community-sub {
    font-size: 32px;
  }
}
.download-page {
  position: relative;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0;
}

.download-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.download-header {
  margin-bottom: 48px;
}

.download-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.download-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

.download-stores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.download-btn {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.download-redirect-notice {
  margin-top: 32px;
}

.download-redirect-text {
  font-size: 15px;
  color: var(--color-text-muted);
}

.download-bg-gradient {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245, 180, 68, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .download-title {
    font-size: 34px;
  }

  .download-subtitle {
    font-size: 16px;
  }

  .download-stores {
    flex-direction: column;
    align-items: center;
  }

  .download-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
/* ===========================
   FAQ Section
   =========================== */

.faq-section {
  padding: 80px 20px 100px;
  background: var(--color-bg);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 48px;
  letter-spacing: -0.02em;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--color-surface);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(245, 180, 68, 0.25);
  box-shadow: 0 4px 20px rgba(245, 180, 68, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
  gap: 20px;
}

.faq-question-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-primary);
  border-radius: 2px;
}

.faq-icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 28px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px 80px;
  }

  .faq-title {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-question-text {
    font-size: 16px;
  }

  .faq-answer-content {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }
}
/* ===========================
   Features Section
   =========================== */

.features {
  padding: 80px 0 100px;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto 60px;
  letter-spacing: -0.02em;
}

/* Marker / felt-pen underline */
.marker-underline {
  position: relative;
  white-space: nowrap;
  color: var(--color-primary);
}

.marker-underline::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2px;
  height: 14px;
  background: rgba(245, 180, 68, 0.18);
  border-radius: 4px 8px 6px 10px;
  z-index: -1;
  transform: rotate(-0.8deg) skewX(-4deg);
}

/* Cards grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--color-border-strong);
}

.feature-illu-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 24px;
}

.feature-illu {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  display: block;
}

.feature-illu-wrap--cream {
  background: #F6F0DA;
  border-color: transparent;
}

.feature-illu-wrap--fill {
  padding: 0;
}

.feature-illu-wrap--fill .feature-illu {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.feature-card-number {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--num, var(--color-primary));
  margin-bottom: 10px;
}

.feature-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 12px;
}

.feature-card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 1024px) {
  .features-title {
    font-size: 30px;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .features {
    padding: 60px 0 80px;
  }

  .features-title {
    font-size: 26px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
    margin: 0 auto;
  }

  .feature-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .features-title {
    font-size: 22px;
  }

  .marker-underline::after {
    height: 10px;
  }
}
/* ===========================
   Footer
   =========================== */

.site-footer {
  background: var(--color-bg);
  color: white;
  padding: 60px 0 0;
  margin: 0 -6rem;
  padding-left: 6rem;
  padding-right: 6rem;
  border-top: 1px solid var(--color-border);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.footer-brand {
  flex: 1;
  max-width: 320px;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo {
  height: 100px;
  width: auto;
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 16px 0 0;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  transform: translateY(-2px);
}

/* Columns */
.footer-col {
  min-width: 140px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 20px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

/* Bottom bar */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .site-footer {
    margin: 0 -3rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-brand {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .site-footer {
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-container {
    gap: 2rem;
  }
}
.legal-section {
  padding: 4rem 0 6rem;
}

.legal-container {
  max-width: 720px;
  margin: 0 auto;
}

.legal-container h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.legal-container h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal-container p,
.legal-container ul {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.legal-container ul {
  padding-left: 1.25rem;
}

.legal-container ul li {
  margin-bottom: 0.25rem;
}

.legal-container a {
  color: var(--color-primary);
  text-decoration: underline;
}
/* Navbar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  color: white;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand img {
  height: 80px;
  width: auto;
}

.navbar-brand:hover {
  color: #ddd;
}

.navbar-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-link {
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.2s;
}

.navbar-link:hover {
  color: var(--color-primary);
}

.navbar-btn {
  text-decoration: none;
  color: #121012;
  background: var(--color-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.navbar-btn:hover {
  background: #f2a521;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 180, 68, 0.3);
}

/* --- Burger button (mobile only) --- */

.navbar-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .navbar {
    position: relative;
    flex-wrap: wrap;
    padding: 1.25rem 0;
  }

  .navbar-burger {
    display: flex;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid var(--color-border);
    margin-top: 1rem;
  }

  .navbar-menu.is-open {
    display: flex;
  }

  .navbar-menu li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .navbar-menu li:last-child {
    border-bottom: none;
    padding-top: 1rem;
  }

  .navbar-btn {
    display: inline-block;
  }
}
/* ===========================
   Personas Section
   =========================== */

.personas {
  padding: 40px 0 100px;
}

.personas-container {
  max-width: 1200px;
  margin: 0 auto;
}

.personas-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 50px;
  letter-spacing: -0.02em;
}

/* --- Grid --- */

.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* --- Persona Cards --- */

.persona-card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--color-border-strong);
}

.persona-card-illu-wrap {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  background: #F6F0DA;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 0 24px;
}

.persona-card-illu {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.persona-card-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
}

.persona-card--commerce .persona-card-label {
  color: var(--color-primary);
}

.persona-card--collectivite .persona-card-label {
  color: var(--color-secondary);
}

.persona-card--ambassadeur .persona-card-label {
  color: #4FB6C4;
}

.persona-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.persona-card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 28px;
}

/* --- CTA per persona --- */

.persona-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text);
  transition: gap 0.2s ease;
}

.persona-card-cta:hover {
  gap: 10px;
}

.persona-card-cta-arrow {
  color: var(--color-primary);
  font-size: 17px;
  line-height: 1;
}

/* ===========================
   Persona Pages (commercants, collectivites, ambassadeurs)
   =========================== */

.persona-section {
  padding: 80px 20px 100px;
}

.persona-container {
  max-width: 1200px;
  margin: 0 auto;
}

.persona-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
}

.persona-label--commerce  { color: var(--color-primary); }
.persona-label--collectivite { color: var(--color-secondary); }
.persona-label--ambassadeur  { color: #4FB6C4; }

.persona-container h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 40px;
  letter-spacing: -0.02em;
}

.persona-container h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin: 56px 0 24px;
  letter-spacing: -0.01em;
}

.persona-container p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

/* --- Intro block (text + image) --- */

.persona-intro-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.persona-intro-text h1 {
  margin-top: 12px;
}

.persona-intro-img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

/* --- Offer grid --- */

.persona-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 56px;
}

.persona-offer-card {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.persona-offer-icon {
  width: 52px;
  height: 52px;
  background: var(--color-surface-alt);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.persona-offer-icon svg {
  display: block;
  flex-shrink: 0;
}

.persona-offer-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.persona-offer-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- CTA block --- */

.persona-cta-block {
  margin-top: 72px;
  padding: 56px 48px;
  background: var(--color-surface);
  border-radius: 24px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.persona-cta-block h2 {
  margin-top: 0;
  font-size: 28px;
}

.persona-cta-block p {
  max-width: 560px;
}

.persona-cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #121012;
  transition: all 0.3s ease;
}

.persona-cta:hover {
  transform: translateY(-2px);
}

.persona-cta--commerce {
  background: var(--color-primary);
  box-shadow: 0 4px 16px rgba(245, 180, 68, 0.25);
}

.persona-cta--commerce:hover {
  box-shadow: 0 8px 24px rgba(245, 180, 68, 0.35);
}

.persona-cta--collectivite {
  background: var(--color-secondary);
  color: white;
  box-shadow: 0 4px 16px rgba(242, 96, 74, 0.25);
}

.persona-cta--collectivite:hover {
  box-shadow: 0 8px 24px rgba(242, 96, 74, 0.35);
}

.persona-cta--ambassadeur {
  background: #4FB6C4;
  box-shadow: 0 4px 16px rgba(79, 182, 196, 0.25);
}

.persona-cta--ambassadeur:hover {
  box-shadow: 0 8px 24px rgba(79, 182, 196, 0.35);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 1024px) {
  .personas-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .personas {
    padding: 40px 0 80px;
  }

  .personas-title {
    font-size: 28px;
  }

  .persona-card {
    padding: 32px 24px;
  }

  .persona-card-title {
    font-size: 20px;
  }

  .persona-card-text {
    font-size: 15px;
  }

  .persona-section {
    padding: 60px 20px 80px;
  }

  .persona-container h1 {
    font-size: 36px;
    margin-bottom: 32px;
  }

  .persona-container h2 {
    font-size: 26px;
    margin: 40px 0 20px;
  }

  .persona-container p {
    font-size: 16px;
  }

  .persona-intro-block {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .persona-offer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .persona-cta-block {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .personas-title {
    font-size: 24px;
  }

  .persona-card {
    padding: 28px 20px;
  }

  .persona-card-title {
    font-size: 20px;
  }

  .persona-card-cta {
    font-size: 14px;
  }
}
/* ===========================
   Player Section
   =========================== */

.player-section {
  padding: 80px 0 100px;
}

.player-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* --- Intro text --- */

.player-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.player-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 400px;
}

/* --- Player card --- */

.player-card {
  background: var(--color-surface);
  border-radius: 24px;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.player-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px 0;
}

.player-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface-alt);
  padding: 6px 12px;
  border-radius: 50px;
}

.player-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(245, 180, 68, 0.12);
  padding: 6px 12px;
  border-radius: 50px;
}

.player-card-body {
  padding: 28px 28px 20px;
}

.player-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.player-capsule-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.player-duration {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
  margin-top: 3px;
}

/* --- Controls --- */

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.player-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #121012;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(245, 180, 68, 0.3);
}

.player-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(245, 180, 68, 0.4);
}

.player-icon {
  width: 22px;
  height: 22px;
}

.player-icon--play {
  margin-left: 2px;
}

/* --- Waveform --- */

.player-waveform {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 48px;
  overflow: hidden;
}

.player-bar {
  flex: 1;
  height: var(--bar-height, 40%);
  background: var(--color-surface-alt);
  border-radius: 2px;
  transition: background 0.3s ease, height 0.1s ease;
}

.player-bar.played {
  background: linear-gradient(to top, var(--color-primary), var(--color-secondary));
}

.player-bar.active {
  background: linear-gradient(to top, var(--color-primary), var(--color-secondary));
  animation: bar-pulse 0.6s ease infinite alternate;
}

@keyframes bar-pulse {
  from { opacity: 0.7; }
  to   { opacity: 1; }
}

.player-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  min-width: 32px;
  text-align: right;
}

/* --- Footer --- */

.player-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px 24px;
  border-top: 1px solid var(--color-border);
}

.player-author-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.player-author {
  font-size: 12px;
  color: var(--color-text-muted);
  font-style: italic;
}

.player-nav {
  display: flex;
  gap: 4px;
}

.player-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.player-nav-btn:hover {
  background: rgba(245, 180, 68, 0.1);
  border-color: rgba(245, 180, 68, 0.3);
  color: var(--color-primary);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 900px) {
  .player-container {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 560px;
  }

  .player-section {
    padding: 60px 0 80px;
  }

  .player-title {
    font-size: 28px;
  }

  .player-subtitle {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .player-card-header {
    padding: 16px 20px 0;
  }

  .player-card-body {
    padding: 20px 20px 16px;
  }

  .player-card-footer {
    padding: 12px 20px 20px;
  }

  .player-title {
    font-size: 24px;
  }
}
/* ===========================
   Product Section
   =========================== */

.product-section {
  padding: 80px 20px 100px;
}

.product-container {
  max-width: 1200px;
  margin: 0 auto;
}

.product-container h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 40px;
  letter-spacing: -0.02em;
}

.product-container h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin: 48px 0 24px;
  letter-spacing: -0.01em;
}

.product-container p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

/* ===========================
   Product Steps
   =========================== */

.product-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0 0 56px;
}

.product-steps--four {
  grid-template-columns: repeat(4, 1fr);
}

.product-step {
  background: var(--color-surface);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.product-step-img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  display: block;
  background: var(--color-surface-alt);
}

.product-step-content {
  padding: 24px 24px 28px;
}

.product-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #121012;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.product-step-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .product-section {
    padding: 60px 20px 80px;
  }

  .product-container h1 {
    font-size: 36px;
    margin-bottom: 32px;
  }

  .product-container h2 {
    font-size: 26px;
    margin: 40px 0 20px;
  }

  .product-container p {
    font-size: 16px;
  }

  .product-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .product-steps--four {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .product-step-img {
    aspect-ratio: 4 / 3;
  }
}
/* ===========================
   Stats Section
   =========================== */

.stats {
  padding: 0 0 80px;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--color-surface);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  padding: 40px 48px;
}

.stats-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.stats-number {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-plus {
  font-size: 32px;
}

.stats-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stats-stars {
  color: var(--color-primary);
  font-size: 13px;
  letter-spacing: 1px;
}

.stats-divider {
  width: 1px;
  height: 48px;
  background: var(--color-border);
  flex-shrink: 0;
  margin: 0 48px;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .stats {
    padding: 0 0 60px;
  }

  .stats-container {
    flex-direction: column;
    gap: 32px;
    padding: 36px 24px;
  }

  .stats-divider {
    width: 48px;
    height: 1px;
    margin: 0;
  }

  .stats-number {
    font-size: 40px;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Design tokens */
:root {
  --color-bg: #121012;
  --color-surface: #1b181b;
  --color-surface-alt: #242025;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  --color-primary: #F5B444;
  --color-secondary: #F2604A;
  --color-text: #F6F4F1;
  --color-text-muted: #ACA8AC;
}

/* Global styles */
body {
  margin: 0;
  padding: 0 6rem;
  box-sizing: border-box;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--color-bg);
  color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (max-width: 768px) {
  body {
    padding: 0 3rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0 1rem;
  }
}

