/* Lookatme ? Dark mode ultra-moderne (zinc + d?grad? rose/violet) */

:root {
  color-scheme: dark;
  --bg-primary: #09090B;
  --bg-secondary: #0B0C10;
  --bg-card: #121318;
  --bg-card-hover: #17181F;
  --bg-tint: #0B0C10;
  --text-primary: #F4F4F5;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --accent: #FF2B6D;
  --accent-hover: #E11D48;
  --accent-light: #F43F5E;
  --accent-violet: #8b5cf6;
  --accent-2: #FB7185;   /* 2e teinte des dégradés de marque */
  --brand: #FF2B6D;      /* identité Lookatme : fixe, ne suit pas la catégorie */
  --brand-gradient: linear-gradient(90deg, #FF2B6D 0%, #FB7185 100%);
  --accent-end: #E11D48; /* fin du dégradé des boutons */
  --accent-soft: color-mix(in srgb, var(--accent) 10%, transparent);
  --accent-glow: color-mix(in srgb, var(--accent) 40%, transparent);
  --status-success: #34D399;
  --gradient-primary: linear-gradient(135deg, var(--accent) 0%, var(--accent-end) 100%);
  --gradient-brand: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: color-mix(in srgb, var(--accent) 30%, transparent);
  --card-inner-glow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-accent: 0 8px 32px color-mix(in srgb, var(--accent) 12%, transparent);
  --transition: 0.2s ease;
  --hero-bg-start: #09090B;
  --hero-bg-end: #120A12;
  --hero-text: #FAFAFA;
  --hero-text-muted: #A1A1AA;
  --hero-grid: rgba(255, 255, 255, 0.03);
}

/* L'attribut hidden l'emporte toujours sur le display des composants */
[hidden] { display: none !important; }

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* L?g?re teinte bleue en fond pour coh?rence identit? */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-soft), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Header ? barre fixe type Seduis */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Marque Lookatme : icône œil (favicon.svg) + « lookat » + « me » (le créateur) en rose de marque.
   Mêmes règles pour l'en-tête public (.logo), la barre latérale et la barre mobile de l'app. */
.logo,
.profile-logo,
.sb-topbar-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}
.logo { font-size: 1.5rem; }
.logo::before,
.profile-logo::before,
.sb-topbar-logo::before {
  content: '';
  flex: none;
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.34em; /* pas de gap : « lookat » et « me » doivent rester collés */
  background: url(/favicon.svg) center / contain no-repeat;
  transition: transform var(--transition);
}
.logo-me { color: var(--brand); }
.logo-tag {
  margin-left: 0.5em;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.logo:hover,
.profile-logo:hover,
.sb-topbar-logo:hover { color: var(--text-primary); text-decoration: none; }
.logo:hover::before,
.profile-logo:hover::before,
.sb-topbar-logo:hover::before { transform: scale(1.06); }

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* Boutons ? effets survol type Seduis.fr */
.btn {
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

/* CTA principal ? texte toujours blanc lumineux, m?me au survol */
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-end) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover,
a.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, color-mix(in srgb, var(--accent-end) 78%, #000) 100%);
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px var(--accent-glow), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.btn-primary:active,
a.btn-primary:active {
  color: #ffffff !important;
  transform: translateY(0) scale(0.97);
}

/* Ghost ? fond doux + l?g?re ?l?vation */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.97);
}

/* Outline ? fond bleu l?ger + l?g?re ?l?vation (style Seduis) */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-outline:active {
  transform: translateY(0) scale(0.97);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

a.btn {
  text-decoration: none;
  text-align: center;
}

a.btn:hover {
  text-decoration: none;
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hero ? bloc titre + sous-titre + CTA */

/* Sections ? espacement type Seduis */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 80px;
}

/* Grille de cr?ateurs ? cartes type profil */

/* ?tapes ? Comment ?a marche ? */

.step {
  text-align: center;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Footer */
.footer {
  margin-top: auto;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* ========== Hero style Seduis ? affichage dynamique (couleurs Lookatme) ========== */

.hero-seduis-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: var(--radius-lg) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 20px var(--accent-glow) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.btn-hero-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px var(--accent-glow) !important;
}

.btn-hero-outline {
  background: transparent !important;
  color: var(--hero-text) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  padding: 14px 28px !important;
  border-radius: var(--radius-lg) !important;
  font-weight: 600 !important;
  transition: border-color 0.25s ease, background 0.25s ease !important;
}

.btn-hero-outline:hover {
  border-color: rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Mockup t?l?phone + cartes flottantes */

@keyframes hero-phone-float {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-8px); }
}

/* Cartes flottantes */

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

@keyframes hero-card-float-3 {
  0%, 100% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-6px); }
}

@media (max-width: 900px) {
  .hero-seduis-actions { justify-content: center; }
}

/* ========== Landing ? identit? Lookatme (captivant) ========== */
.section-alt {
  background: var(--bg-tint);
}

/* Grille stats march? ? style Seduis (anim slide-up) */

/* Animation slide-up au scroll (style Seduis) */
.anim-slide-up {
  opacity: 0;
  transform: translateY(24px);
}

.anim-slide-up.anim-visible {
  animation: anim-slide-up 0.6s ease-out forwards;
}

@keyframes anim-slide-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Pourquoi Lookatme ? style Seduis (badge, titre, grille 3x2, ic?nes color?es) ========== */

/* Grille features ? cartes type Seduis (3 colonnes, ic?nes en carr? color?) */

/* ========== 3 ?tapes ? style Seduis (badge, titre, cercles d?grad?, lignes de liaison) ========== */

/* Anciennes classes conserv?es si utilis?es ailleurs */

/* ========== Dashboard cr?ateur ? 2 colonnes style Seduis ========== */

/* Dashboard mock ? style Seduis */

/* ========== Design professionnel ? 2 col mockups t?l?phones | texte ========== */

/* ========== Mon?tisation / Cloaking ? 2 col + carte Cloaking actif ========== */

/* Courbe de progression (SVG + couches HTML pour les libell?s) */

/* Liste ? puces */

/* Avantages 4 colonnes */

/* ========== Avantages Seduis ? badge, 4 cartes pastel ========== */

/* ========== CTA principal fond sombre (style Seduis) ========== */
.landing-cta-dark {
  position: relative;
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
  background: transparent !important;
}

.landing-cta-dark::before {
  display: none;
}

.landing-cta-dark-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
  z-index: 0;
}

.landing-cta-dark .landing-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.landing-cta-dark .landing-cta-title { color: var(--hero-text); margin-bottom: 16px; }
.landing-cta-dark .landing-cta-title-highlight { color: var(--accent-light); }
.landing-cta-dark .landing-cta-desc { color: var(--hero-text-muted); margin-bottom: 32px; }

.btn-cta-dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 32px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 1.0625rem !important;
  box-shadow: 0 8px 32px var(--accent-glow) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.btn-cta-dark:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 40px var(--accent-glow) !important; }
.btn-cta-icon { width: 18px; height: 18px; background: #fff; flex-shrink: 0; }
.btn-cta-crown { mask: var(--pi-spark) center / contain no-repeat; -webkit-mask: var(--pi-spark) center / contain no-repeat; }
.btn-cta-arrow { mask: var(--pi-arrow) center / contain no-repeat; -webkit-mask: var(--pi-arrow) center / contain no-repeat; }

.landing-cta-badges-dark {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 32px;
  font-size: 0.9375rem;
  color: var(--hero-text-muted);
}

.landing-cta-badges-dark span { display: inline-flex; align-items: center; gap: 8px; }
.cta-badge-icon {
  width: 16px;
  height: 16px;
  border-radius: 0;
  flex-shrink: 0;
  background: currentColor;
  mask: var(--pi-shield) center / contain no-repeat;
  -webkit-mask: var(--pi-shield) center / contain no-repeat;
}
.cta-badge-shield { color: var(--status-success); mask-image: var(--pi-gift); -webkit-mask-image: var(--pi-gift); }
.cta-badge-lightning { color: #FBBF24; mask-image: var(--pi-zap); -webkit-mask-image: var(--pi-zap); }

/* ========== Pour les utilisateurs ? 2 col + Mon Feed ========== */
.btn-arrow-icon { width: 20px; height: 20px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z'/%3E%3C/svg%3E") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z'/%3E%3C/svg%3E") center/contain no-repeat; }
/* ========== CTA final conversion createur ========== */
.landing-cta-final {
  background: var(--bg-secondary);
  padding: 80px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.landing-cta-final-title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: var(--text-primary); margin: 0 0 12px; line-height: 1.25; }
.landing-cta-final-desc { font-size: 1rem; color: var(--text-secondary); margin: 0 0 28px; }

.btn-cta-final-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 32px !important;
  border-radius: var(--radius-lg) !important;
  font-weight: 600 !important;
  font-size: 1.0625rem !important;
  box-shadow: 0 8px 32px var(--accent-glow);
  transition: all 0.2s ease !important;
}
.btn-cta-final-primary:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
  transform: translateY(-2px);
  text-decoration: none;
}

/* CTA bloc Lookatme */
.landing-cta {
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.landing-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, var(--accent-soft), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.landing-cta .landing-cta-title,
.landing-cta .landing-cta-desc,
.landing-cta .btn,
.landing-cta .landing-cta-badges {
  position: relative;
  z-index: 1;
}

.landing-cta-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  position: relative;
}

.landing-cta-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin: 0 auto 28px;
  max-width: 560px;
}

.landing-cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Footer landing ? identit? Lookatme */
.footer-landing {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tint) 100%);
  border-top: 1px solid var(--border);
}

.footer-landing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
}

.footer-brand .logo {
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-landing .footer-copy {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .footer-landing-inner {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pages auth (inscription, connexion) ? identit? Lookatme */
.auth-page {
  max-width: 420px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  position: relative;
  z-index: 0;
}

.auth-page h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.auth-page .subtitle {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0 0 32px;
}

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

.auth-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-form input {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.auth-form input.error {
  border-color: #f43f5e;
}

/* Case « 18 ans + conditions » : taille fixe (sinon width:100% des champs la rend aussi large que le
   formulaire et repousse le texte hors de l'écran sur mobile). */
.auth-form .auth-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  cursor: pointer;
}
.auth-form .auth-check span { flex: 1; min-width: 0; }
.auth-form .auth-check strong { color: var(--text-primary); }
.auth-form .auth-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: var(--bg-card) center / 14px no-repeat;
  cursor: pointer;
}
.auth-form .auth-check input[type="checkbox"]:checked {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.auth-form .auth-check input[type="checkbox"].error { border-color: #f43f5e; }

.auth-form .error-msg {
  font-size: 0.8125rem;
  color: #fb7185;
  margin-top: 6px;
}

.auth-form .btn-block {
  margin-top: 8px;
  padding: 12px;
}

.auth-page .footer-links {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.auth-page .footer-links a {
  color: var(--accent);
}

.auth-skip {
  text-align: center;
  margin: 16px 0 0;
}

.auth-skip a {
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-skip a:hover { color: var(--text-secondary); }

/* Choix du mode (invit? / cr?ateur) */

/* Inscription ? choix type de compte */

/* Lien admin discret */
.admin-link-wrap {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.admin-link {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.admin-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.admin-email {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-right: 8px;
}

/* Message succ?s / erreur global */
.auth-msg {
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9375rem;
}

.auth-msg.error {
  background: rgba(244, 63, 94, 0.1);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.auth-msg.success {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ========== Composants partag?s (badges, avatars, contenus verrouill?s) ========== */
.nav a[aria-current="page"] { color: var(--text-primary); }
.nav-mobile-only { display: none; }

/* Bouton menu : deux traits fins (même trait 1,75 px que le système d'icônes), le second plus court ;
   ils se croisent en « × » à l'ouverture. Pastille discrète, sans bordure. */
.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.1); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.header.nav-open .nav-toggle { background: var(--accent-soft); color: var(--accent-light); }

.nav-toggle span { position: absolute; inset: 0; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  right: 11px;
  height: 1.75px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), width 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), top 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav-toggle span::before { top: 15px; width: 18px; }
.nav-toggle span::after { top: 23px; width: 12px; }
.header.nav-open .nav-toggle span::before,
.header.nav-open .nav-toggle span::after { top: 19px; width: 18px; }
.header.nav-open .nav-toggle span::before { transform: rotate(45deg); }
.header.nav-open .nav-toggle span::after { transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .nav-toggle span::before, .nav-toggle span::after { transition: none; }
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.section-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft); }
  50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 5%, transparent); }
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.link-arrow .btn-arrow-icon { width: 18px; height: 18px; color: var(--accent); transition: transform 0.2s ease; }
.link-arrow:hover { color: var(--accent-light); text-decoration: none; }
.link-arrow:hover .btn-arrow-icon { transform: translateX(4px); }

/* ========== Carrousel ? Cr?ateurs tendance ? ========== */

@keyframes spotlight-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ========== Page D?couvrir ========== */
.explore { max-width: 1200px; margin: 0 auto; padding: 0 24px 96px; width: 100%; }

.explore-hero { text-align: center; padding: 64px 0 32px; }

.explore-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text-primary);
}

.explore-desc { max-width: 560px; margin: 0 auto 32px; font-size: 1.0625rem; line-height: 1.6; color: var(--text-secondary); }

.explore-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 20px;
  padding: 0 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.explore-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.explore-search .picsme-icon { width: 20px; height: 20px; color: var(--text-muted); }

.explore-search input {
  flex: 1;
  min-width: 0;
  padding: 14px 0;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
}

.explore-results { padding-top: 16px; }

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.explore-card {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: all 0.2s ease;
}

.explore-card[hidden] { display: none; }

.explore-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.explore-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 32px color-mix(in srgb, var(--accent) 12%, transparent);
}

.explore-card:hover img { transform: scale(1.05); }

.explore-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 56px 14px 14px;
  background: linear-gradient(180deg, transparent, rgba(9, 9, 11, 0.9));
  color: #fff;
}

.explore-card-info strong { display: flex; align-items: center; gap: 6px; font-size: 1.0625rem; }
.explore-card-info > span { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }

.explore-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.explore-empty { text-align: center; padding: 48px 0; color: var(--text-muted); }

.explore-signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  padding: 48px 24px;
  text-align: center;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-accent);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    var(--bg-card);
}

.explore-signup h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--text-primary); }
.explore-signup p { margin: 0 0 8px; max-width: 480px; color: var(--text-secondary); line-height: 1.6; }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.explore-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: rgba(9, 9, 11, 0.6);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 700px) {
  .explore-hero { padding: 40px 0 24px; }
  .explore-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .explore-card-meta > span:last-child { display: none; }
}

/* ========== FAQ ========== */
.faq-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; text-align: left; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: all 0.2s ease;
}

.faq-item[open] { border-color: var(--border-accent); box-shadow: 0 8px 24px var(--accent-soft); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--text-secondary); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .section-badge-dot { animation: none; }
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav-toggle { display: inline-block; }
  .nav-mobile-only { display: block; }

  .header.nav-open .nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 12px 16px 20px;
    background: var(--bg-secondary); /* opaque : un fond translucide laissait lire la page derrière le menu */
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  }

  .header.nav-open .nav a {
    padding: 12px;
    border-radius: var(--radius);
    font-size: 1rem;
  }

  .header.nav-open .nav a:hover { background: var(--glass-bg); }

  .header-actions .btn-ghost { display: none; }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .btn {
    padding: 8px 12px;
    font-size: 0.8125rem;
  }

  .hero-seduis-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* === R?seaux sociaux (composant partag? boutique + profil) === */
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links:empty { display: none; }

.social-link {
  --social-icon: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--social-icon) center / contain no-repeat;
  mask: var(--social-icon) center / contain no-repeat;
}

.social-link:hover { color: var(--text-primary); border-color: var(--border-accent); transform: translateY(-2px); text-decoration: none; }
.social-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

[data-network="instagram"] { --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7zm5 3.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9zm0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm5.5-4a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E"); }
[data-network="snapchat"] { --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c3 0 5.5 2.3 5.5 5.5v2.2l1.6-.5c.6-.2 1.1.6.6 1l-2 1.3c.7 2 2.2 3.5 4 4 .5.1.5.8 0 1-1 .4-2 .5-2.5.7-.2.6-.2 1.3-.8 1.3-.9 0-1.8-.4-3 .3-1 .6-1.8 1.2-3.4 1.2s-2.4-.6-3.4-1.2c-1.2-.7-2.1-.3-3-.3-.6 0-.6-.7-.8-1.3-.5-.2-1.5-.3-2.5-.7-.5-.2-.5-.9 0-1 1.8-.5 3.3-2 4-4l-2-1.3c-.5-.4 0-1.2.6-1l1.6.5V7.5C6.5 4.3 9 2 12 2z'/%3E%3C/svg%3E"); }
[data-network="telegram"] { --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.9 4.3l-3.2 15.1c-.2 1-.9 1.3-1.8.8l-4.9-3.6-2.4 2.3c-.3.3-.5.5-1 .5l.3-5 9.1-8.2c.4-.4-.1-.6-.6-.2L6.2 13.1l-4.8-1.5c-1-.3-1-1 .2-1.5L20.5 2.8c.9-.3 1.6.2 1.4 1.5z'/%3E%3C/svg%3E"); }
[data-network="x"] { --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.8 3h3.1l-6.8 7.7L22 21h-6.2l-4.9-6.4L5.3 21H2.2l7.2-8.3L1.8 3h6.4l4.4 5.8L17.8 3zm-1.1 16.2h1.7L7.4 4.7H5.5l11.2 14.5z'/%3E%3C/svg%3E"); }
[data-network="facebook"] { --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8.5V6.6c0-.9.6-1.1 1-1.1h2.6V1.6H14c-4 0-4.9 3-4.9 4.9v2H6.8v4h2.3v9.9H14v-9.9h3.3l.4-4H14z'/%3E%3C/svg%3E"); }

/* === Boutique des cr?ateurs === */
.shop { max-width: 1200px; margin: 0 auto; padding: 0 24px 96px; width: 100%; }
.shop-hero { text-align: center; padding: 64px 0 24px; }
.shop-hero .explore-desc { margin-bottom: 20px; }

.shop-seller { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.shop-seller[hidden] { display: none; }

.shop-notice {
  margin: 24px auto 0;
  max-width: 640px;
  padding: 14px 18px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  font-size: 0.9375rem;
  text-align: center;
}
.shop-notice[hidden] { display: none; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; padding-top: 16px; }

.shop-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: inherit;
  font: inherit;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}
.shop-card:hover { transform: translateY(-2px); border-color: var(--border-accent); box-shadow: 0 8px 32px var(--accent-glow); }
.shop-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.shop-card-media { display: block; position: relative; aspect-ratio: 1; background: var(--bg-secondary); overflow: hidden; }
.shop-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.shop-card:hover .shop-card-media img { transform: scale(1.04); }

.shop-card-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.shop-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.shop-card-title { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--text-primary); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card-seller { font-size: 0.8125rem; color: var(--text-muted); }
.shop-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.shop-card-price { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); }

.shop-type {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-light);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.shop-type[data-type="numerique"] { background: rgba(139, 92, 246, 0.15); color: var(--accent-violet); }

.shop-card-skeleton { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); background: linear-gradient(100deg, var(--bg-card) 30%, var(--bg-secondary) 50%, var(--bg-card) 70%) 0 0 / 200% 100%; animation: shop-shimmer 1.4s linear infinite; }
@keyframes shop-shimmer { to { background-position: -200% 0; } }

.shop-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 24px; margin-top: 16px; border: 1px dashed var(--border); border-radius: var(--radius-lg); text-align: center; }
.shop-empty[hidden] { display: none; }
.shop-empty strong { font-size: 1.125rem; color: var(--text-primary); }
.shop-empty p { margin: 0 0 12px; color: var(--text-secondary); }

.shop-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.shop-trust-item { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); }
.shop-trust-item strong { display: block; margin-bottom: 4px; color: var(--text-primary); font-size: 0.9375rem; }
.shop-trust-item span:not(.shop-trust-icon) { color: var(--text-secondary); font-size: 0.8125rem; line-height: 1.5; }
.shop-trust-icon { --icon: none; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); position: relative; }
.shop-trust-icon::after { content: ""; position: absolute; inset: 10px; background: var(--accent); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.shop-trust-icon-lock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h-1V6A5 5 0 0 0 7 6v2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zm-6 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm3.1-9H8.9V6a3.1 3.1 0 0 1 6.2 0v2z'/%3E%3C/svg%3E"); }
.shop-trust-icon-box { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 7.5 12 2 3 7.5v9L12 22l9-5.5v-9zM12 4.3l6.2 3.8-2.4 1.4-6.2-3.8L12 4.3zM5 9.6l6 3.6v6.4l-6-3.6V9.6zm8 10v-6.4l6-3.6v6.4l-6 3.6z'/%3E%3C/svg%3E"); }
.shop-trust-icon-shield { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5.6 3.8 10.7 9 12 5.2-1.3 9-6.4 9-12V5l-9-4zm-2 16-4-4 1.4-1.4 2.6 2.6 6.6-6.6L18 9l-8 8z'/%3E%3C/svg%3E"); }

.shop-modal {
  position: fixed;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg), 0 0 64px var(--accent-glow);
  overflow: auto;
}
.shop-modal::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.shop-modal[open] { animation: modal-in 0.3s cubic-bezier(0.22, 0.61, 0.36, 1); }

.shop-modal-inner { display: grid; grid-template-columns: 1.1fr 1fr; }
.shop-gallery { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--bg-secondary); }
.shop-gallery-main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-primary); }
.shop-gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.shop-gallery-thumbs { display: flex; gap: 8px; }
.shop-gallery-thumbs:empty { display: none; }
.shop-gallery-thumb { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: none; overflow: hidden; cursor: pointer; opacity: 0.6; transition: all 0.2s ease; }
.shop-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-gallery-thumb:hover { opacity: 1; }
.shop-gallery-thumb[aria-current="true"] { border-color: var(--accent); opacity: 1; }

.shop-modal-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px 28px 28px; }
.shop-modal-seller { margin: 0; font-size: 0.8125rem; color: var(--text-muted); }
.shop-modal-seller strong { color: var(--text-secondary); }
.shop-modal-title { margin: 0; font-size: 1.5rem; line-height: 1.25; }
.shop-modal-price { margin: 0; font-size: 1.75rem; font-weight: 700; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-modal-desc { margin: 4px 0; color: var(--text-secondary); line-height: 1.6; white-space: pre-line; }
.shop-modal-desc:empty { display: none; }
.shop-pay { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 8px; }
.shop-pay-icon { display: inline-block; flex-shrink: 0; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.3 21.5H4.6c-.4 0-.6-.3-.6-.7L6.8 3c.1-.5.5-.9 1-.9h6.6c3.6 0 5.8 1.9 5.2 5.3-.7 4-3.3 5.7-6.8 5.7h-2c-.5 0-.9.4-1 .9l-1.5 7.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.3 21.5H4.6c-.4 0-.6-.3-.6-.7L6.8 3c.1-.5.5-.9 1-.9h6.6c3.6 0 5.8 1.9 5.2 5.3-.7 4-3.3 5.7-6.8 5.7h-2c-.5 0-.9.4-1 .9l-1.5 7.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.shop-modal-note { margin: 0; width: 100%; text-align: center; font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 768px) {
  .shop { padding: 0 16px 64px; }
  .shop-hero { padding: 40px 0 16px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shop-card-body { padding: 10px 12px 12px; }
  .shop-card-foot { flex-direction: column; align-items: flex-start; }
  .shop-trust { grid-template-columns: 1fr; margin-top: 40px; }
  .shop-modal { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .shop-modal-inner { grid-template-columns: 1fr; }
  .shop-modal-body { padding: 20px 20px 28px; }
  .shop-modal-title { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-card, .shop-card-media img, .social-link { transition: none; }
  .shop-card-skeleton { animation: none; }
}

/* === Page cr?ateur public (/createur/:slug) === */
.cp { max-width: 720px; margin: 0 auto; padding: 0 20px 96px; width: 100%; }
.cp-missing { padding: 64px 0; text-align: center; color: var(--text-secondary); }
.cp-hero {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  overflow: hidden;
}
.cp-cover {
  height: 160px;
  background-size: cover;
  background-position: 50% 20%;
  filter: blur(2px) brightness(0.55) saturate(1.1);
  transform: scale(1.05);
}
.cp-identity { display: flex; gap: 16px; align-items: flex-end; padding: 0 20px; margin-top: -48px; position: relative; }
.cp-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  border: 4px solid var(--bg-card);
  object-fit: cover;
  box-shadow: 0 8px 32px var(--accent-glow);
  background: var(--bg-secondary);
}
.cp-identity-text { flex: 1; min-width: 0; padding-bottom: 4px; }
.cp-name { margin: 0; font-size: 1.5rem; color: var(--text-primary); }
.cp-handle { margin: 2px 0 0; color: var(--text-muted); font-size: 0.9375rem; }
.cp-bio { margin: 16px 20px 0; color: var(--text-secondary); line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; } /* retours à la ligne de la bio conservés */
.cp-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 0;
  border-top: 1px solid var(--border);
}
.cp-stats div { padding: 14px; text-align: center; }
.cp-stats div + div { border-left: 1px solid var(--border); }
.cp-stats dt { font-size: 0.75rem; color: var(--text-muted); }
.cp-stats dd { margin: 2px 0 0; font-size: 1.125rem; font-weight: 700; color: var(--text-primary); }
.cp-cta {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 20px 20px;
}
.cp-cta-primary { width: 100%; justify-content: center; box-shadow: 0 8px 32px var(--accent-glow); }
.cp-cta-secondary { width: 100%; justify-content: center; }

.cp-section-title { margin: 40px 0 6px; font-size: 1.25rem; color: var(--text-primary); }
.cp-section-desc { margin: 0 0 16px; color: var(--text-muted); font-size: 0.9375rem; }
.cp-tile {
  position: relative; aspect-ratio: 4/5; padding: 0; border: none;
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; background: var(--bg-secondary);
}
.cp-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: blur(6px) brightness(0.55) saturate(1.1); transform: scale(1.12);
  transition: transform 0.2s ease;
}
.cp-tile:hover img { transform: scale(1.16); }
.cp-tile-lock {
  position: absolute; inset: 0; margin: auto; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(9,9,11,0.65); backdrop-filter: blur(8px);
}
.cp-tile-lock::after {
  content: ""; position: absolute; inset: 10px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h-1V6A5 5 0 0 0 7 6v2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zm-6 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm3.1-9H8.9V6a3.1 3.1 0 0 1 6.2 0v2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h-1V6A5 5 0 0 0 7 6v2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zm-6 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm3.1-9H8.9V6a3.1 3.1 0 0 1 6.2 0v2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cp-tile-label {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(9,9,11,0.7); color: #fff; font-size: 0.6875rem; font-weight: 600; text-align: center;
}
.cp-packs-empty { color: var(--text-muted); font-size: 0.9375rem; }
.cp-packs-empty[hidden] { display: none; }

.shop-type[data-type="DIGITAL_PACK"],
.shop-type[data-type="numerique"] { background: rgba(139, 92, 246, 0.15); color: var(--accent-violet); }
.shop-type[data-type="CUSTOM_VIDEO_REQ"] { background: var(--accent-soft); color: var(--accent-light); }
.shop-type[data-type="VOICE_NOTE_PACK"] { background: rgba(34, 197, 94, 0.12); color: #4ade80; }

@media (max-width: 768px) {
  .cp { padding: 0 16px 64px; }
  .cp-identity { flex-wrap: wrap; }
  .cp-cta { padding-bottom: 16px; }
}

/* === Transition vers le site partenaire (/go) : courte, sobre, façon app === */
.go-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    var(--bg-primary);
}
.go {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  animation: go-in 0.25s ease;
}
@keyframes go-in { from { opacity: 0; } to { opacity: 1; } }

.go-ring { position: relative; width: 88px; height: 88px; margin-bottom: 22px; }
.go-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  animation: go-ring 1.5s ease-out infinite;
}
@keyframes go-ring { from { transform: scale(0.92); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.go-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  padding: 18px;
  background: var(--bg-card);
  border: 2px solid var(--border-accent);
}
.go-thumb.is-photo { object-fit: cover; padding: 0; }

.go-title { margin: 0 0 6px; font-size: 1.125rem; font-weight: 600; color: var(--text-primary); }
.go-sub { margin: 0 0 22px; font-size: 0.875rem; color: var(--text-muted); }
.go-bar { width: 200px; height: 3px; border-radius: 999px; background: var(--border); overflow: hidden; }
.go-bar span { display: block; height: 100%; background: var(--gradient-primary); transform: scaleX(0.04); transform-origin: left; transition: transform linear; }
.go-cancel { margin-top: 18px; font-size: 0.75rem; color: var(--text-muted); text-decoration: none; }
.go-cancel:hover { color: var(--text-secondary); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .go, .go-ring::before { animation: none; }
}

/* === SEO programmatique /rencontre/[ville] === */
.seo { max-width: 1100px; margin: 0 auto; padding: 0 20px 96px; width: 100%; }
.seo-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-card); overflow: hidden;
  transition: all 0.2s ease;
}
.seo-card:hover { transform: translateY(-2px); border-color: var(--border-accent); box-shadow: 0 8px 32px var(--accent-glow); }
@media (max-width: 768px) {
  .seo { padding: 0 16px 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .seo-card { transition: none; }
}

/* === Portail cr?ateur /creator/dashboard === */

/* Multi-profils / roster / metriques / agence */
.btn-sm { padding: 8px 12px; font-size: 0.8125rem; }

/* ===== Landing Linear / Vercel polish (scoped) ===== */
/* En-tête épuré sur ordinateur ; sur mobile, menu identique aux autres pages (seul accès à Découvrir / Connexion). */
@media (min-width: 769px) {
  .page-landing .header .nav,
  .page-landing .header .nav-toggle { display: none !important; }
}
.page-landing .header {
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-landing .header-inner { gap: 16px; }
.page-landing .header-actions { margin-left: auto; align-items: center; }
.page-landing .btn-hero-primary {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-end) 100%) !important;
  padding: 16px 32px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 28%, transparent) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.page-landing .btn-hero-primary:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 0 25px color-mix(in srgb, var(--accent) 40%, transparent) !important;
  text-decoration: none;
}
.page-landing .btn-hero-outline {
  background: #09090B !important;
  border: 1px solid #27272A !important;
  color: #D4D4D8 !important;
  padding: 16px 24px !important;
  border-radius: 12px !important;
}
.page-landing .btn-hero-outline:hover {
  background: #18181B !important;
  border-color: #3F3F46 !important;
  text-decoration: none;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 8px 0 0;
  list-style: none;
  padding: 0;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.hero-trust-check { color: var(--status-success); font-weight: 700; }

.page-landing .landing-cta-final {
  background: var(--bg-primary);
  padding: 72px 24px 96px;
  border-top: 0;
}
.page-landing .landing-cta-final-box {
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 40px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid #27272A;
  background: linear-gradient(180deg, #121318 0%, #09090B 100%);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}
.page-landing .landing-cta-final-box::before {
  content: "";
  position: absolute;
  inset: auto 20% -40% 20%;
  height: 180px;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
  pointer-events: none;
}
.page-landing .landing-cta-final-title {
  position: relative;
  letter-spacing: -0.03em;
  color: #F4F4F5;
}
.page-landing .landing-cta-final-desc { position: relative; color: #A1A1AA; }
.page-landing .btn-cta-final-primary {
  position: relative;
  background: linear-gradient(90deg, var(--accent), var(--accent-end)) !important;
  border-radius: 12px !important;
}
.page-landing .btn-cta-final-primary:hover {
  box-shadow: 0 0 25px color-mix(in srgb, var(--accent) 40%, transparent);
}

@media (max-width: 768px) {
  .hero-trust { justify-content: flex-start; }
  .page-landing .landing-cta-final-box { padding: 40px 20px; border-radius: 20px; }
  .page-landing .hero-seduis-actions .btn { width: 100%; justify-content: center; }
}

/* ========== Couleur de catégorie (Hétéro · Gay · Trans) ==========
   html[data-cat] est posé par theme.js avant le premier rendu (aucun flash).
   Les teintes sont des propriétés enregistrées : un changement d'onglet fait
   glisser toute l'interface d'une couleur à l'autre ; les dérivés (color-mix,
   dégradés) suivent image par image. */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #FF2B6D; }
@property --accent-hover { syntax: '<color>'; inherits: true; initial-value: #E11D48; }
@property --accent-light { syntax: '<color>'; inherits: true; initial-value: #F43F5E; }
@property --accent-2 { syntax: '<color>'; inherits: true; initial-value: #FB7185; }
@property --accent-end { syntax: '<color>'; inherits: true; initial-value: #E11D48; }

/* Une teinte par catégorie (dégradés ton sur ton) : hétéro = rose (défaut), gay = bleu, trans = violet */
html[data-cat="gay"] {
  --accent: #3B82F6;
  --accent-hover: #2563EB;
  --accent-light: #60A5FA;
  --accent-2: #93C5FD;
  --accent-end: #2563EB;
}
html[data-cat="trans"] {
  --accent: #8B5CF6;
  --accent-hover: #7C3AED;
  --accent-light: #A78BFA;
  --accent-2: #C4B5FD;
  --accent-end: #7C3AED;
}
html.cat-anim {
  transition: --accent 0.5s ease, --accent-hover 0.5s ease, --accent-light 0.5s ease, --accent-2 0.5s ease, --accent-end 0.5s ease;
}
@media (prefers-reduced-motion: reduce) { html.cat-anim { transition: none; } }

/* ========== Transitions de navigation (View Transitions API) ==========
   Une seule grammaire de mouvement pour tout le site :
   - entre pages : l'ancienne page s'efface, la nouvelle monte de 12 px en fondu ;
     l'en-tête et la barre latérale ne bougent pas (capturés à part) ;
   - onglets dans une page (PicsmeMotion.swap, theme.js) : même effet, sur le panneau seul ;
   - annonce → page /go : la photo cliquée rejoint la vignette ronde.
   Navigateur sans support : navigation normale. Mouvement réduit : désactivé. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

.header { view-transition-name: pm-header; }
.profile-sidebar { view-transition-name: pm-sidebar; }
.sb-topbar { view-transition-name: pm-topbar; }
.go-thumb { view-transition-name: pm-go-thumb; }

/* Chrome persistante : reste en place (seul l'élément actif change, en fondu croisé) */
::view-transition-group(pm-header),
::view-transition-group(pm-sidebar),
::view-transition-group(pm-topbar) { animation: none; }

/* Contenu */
::view-transition-old(root),
::view-transition-old(pm-panel) { animation: pm-vt-out 150ms cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root),
::view-transition-new(pm-panel) { animation: pm-vt-in 320ms cubic-bezier(0.16, 1, 0.3, 1) 50ms both; }
::view-transition-group(pm-panel) { animation-duration: 320ms; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes pm-vt-out { to { opacity: 0; } }
@keyframes pm-vt-in { from { opacity: 0; transform: translateY(12px); } }

/* Onglet dans la page : le reste de la page (barre d'onglets, titres) fait un fondu croisé
   complémentaire (même durée, même courbe) → les zones identiques restent parfaitement stables. */
html.vt-swap::view-transition-old(root) { animation: pm-vt-out 200ms ease both; }
html.vt-swap::view-transition-new(root) { animation: pm-vt-fade 200ms ease both; }
@keyframes pm-vt-fade { from { opacity: 0; } }

/* Annonce → transition partenaire : rectangle flouté → vignette ronde */
::view-transition-group(pm-go-thumb) { animation-duration: 420ms; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
::view-transition-old(pm-go-thumb),
::view-transition-new(pm-go-thumb) { height: 100%; object-fit: cover; animation-duration: 420ms; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* ========== Emplacements partenaires (promo.js) — lien sponsorisé, toujours signalé « Annonce » ========== */
.promo-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%), var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.promo-card:hover { text-decoration: none; border-color: var(--border-accent); transform: translateY(-1px); }
.promo-faces { display: flex; flex: none; }
.promo-faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-card); background: var(--bg-secondary); }
.promo-faces img + img { margin-left: -14px; }
.promo-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.promo-tag { align-self: flex-start; padding: 2px 7px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.promo-title { font-size: 0.9375rem; line-height: 1.3; }
.promo-text { font-size: 0.8125rem; line-height: 1.45; color: var(--text-secondary); }
.promo-cta { flex: none; padding: 10px 16px; border-radius: 999px; background: var(--gradient-primary); color: #fff; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.cp-promo { margin: 20px 0 4px; }
.feed-promo { margin: 4px 0 20px; }
.achats-promo { margin-top: 24px; }
.merci-promo { width: min(560px, 100%); margin: 20px auto 0; }
@media (max-width: 560px) {
  .promo-card { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .promo-body { flex-basis: calc(100% - 120px); }
  .promo-cta { flex-basis: 100%; text-align: center; padding: 11px 16px; }
}
