/* ══════════════════════════════════════════════
    INSIGHTS — CSS PRINCIPAL
    Palette violette · Playfair + Nunito Sans
    Mobile-first · Mars 2026
══════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --color-primary:       #800080;
  --color-text:          #600060;
  --color-hover:         #2e002e;
  --color-background:    #FFFFFF;
  --color-accent:        #808000;
  --color-gold:          #FFB300;
  --color-surface:       #faf5fa;
  --color-border:        #e8d5e8;
  --color-muted:         #a060a0;
  --color-primary-light: #f0e0f0;

  --font-display: 'Playfair Display', serif;
  --font-body:    'Nunito Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm: 0 2px 8px rgba(128,0,128,0.07);
  --shadow-md: 0 4px 20px rgba(128,0,128,0.11);
  --shadow-lg: 0 8px 32px rgba(128,0,128,0.15);
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 15px;
}

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

img { max-width: 100%; display: block; }

ul { list-style: none; }

/* ══════════════════════════════════════════════
    NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.logo-africa {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: sepia(1) saturate(4) hue-rotate(250deg) brightness(0.75);
}
.logo-pi {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.3px;
}
.logo-2 {
  color: var(--color-gold);
  font-size: 1.65em;
  font-weight: 900;
  letter-spacing: -2px;
  display: inline-block;
  transform: translateY(2px);
  line-height: 0.8;
}
.logo-tagline {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  padding: 7px 14px;
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}
.nav-link:hover { color: var(--color-primary); background: var(--color-primary-light); }
.nav-link.active { background: var(--color-primary-light); color: var(--color-primary); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-user {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.btn-nav-login {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 6px 16px;
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
}
.btn-nav-login:hover { background: var(--color-primary); color: #fff; }

.btn-nav-join {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-lg);
  padding: 8px 18px;
  transition: background 0.2s;
  cursor: pointer;
}
.btn-nav-join:hover { background: var(--color-hover); }

/* ══════════════════════════════════════════════
    FLASH MESSAGES
══════════════════════════════════════════════ */
.flash-container {
  padding: 0 24px;
  margin-top: 12px;
}
.flash {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.flash-error   { background: #fde8f0; color: #a00040; border: 1px solid #f0c0d0; }
.flash-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }

/* ══════════════════════════════════════════════
    BOUTONS GLOBAUX
══════════════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-xl);
  padding: 11px 24px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--color-hover); color: #fff; }
.btn-full { width: 100%; text-align: center; }

/* ══════════════════════════════════════════════
    HERO SECTION
══════════════════════════════════════════════ */
.hero {
  background: var(--color-hover);
  padding: 72px 24px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(128,0,128,0.45) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -40px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,179,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,179,0,0.15);
  border: 1px solid rgba(255,179,0,0.35);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-title em { font-style: italic; color: #e8b8e8; }

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.btn-hero-primary {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  background: var(--color-gold);
  color: var(--color-hover);
  border: none;
  border-radius: var(--radius-xl);
  padding: 13px 28px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(255,179,0,0.35);
  text-decoration: none;
}
.btn-hero-primary:hover { background: #ffc933; color: var(--color-hover); }

.btn-hero-secondary {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
  padding: 11px 28px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); }

.hero-note {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ══════════════════════════════════════════════
    VALUES SECTION
══════════════════════════════════════════════ */
.values-section {
  padding: 64px 24px;
  background: var(--color-surface);
}
.section-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 40px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.value-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.value-icon { font-size: 32px; margin-bottom: 14px; }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
    QUOTE SECTION
══════════════════════════════════════════════ */
.quote-section {
  background: var(--color-primary);
  padding: 56px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.quote-pi {
  font-family: var(--font-display);
  font-size: 90px;
  font-weight: 900;
  color: var(--color-gold);
  opacity: 0.85;
  flex-shrink: 0;
  line-height: 1;
}
.quote-bar {
  width: 36px; height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  margin-bottom: 16px;
}
.quote-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 540px;
}
.quote-author {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
    FEED PAGE
══════════════════════════════════════════════ */
.feed-page { padding: 32px 24px; max-width: 1100px; margin: 0 auto; }

.feed-header { margin-bottom: 28px; }
.feed-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.feed-sub { font-size: 14px; color: var(--color-muted); }
.feed-sub a { color: var(--color-primary); font-weight: 600; }

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

/* New post box */
.new-post-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.avatar-sm {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.post-input {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted);
  background: var(--color-surface);
  cursor: pointer;
  outline: none;
}

/* Post cards */
.post-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.post-card:hover { box-shadow: var(--shadow-md); }

.post-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.post-author-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}
.post-author-role {
  font-size: 12px;
  color: var(--color-muted);
}
.post-time {
  font-size: 11px;
  color: var(--color-muted);
  margin-left: auto;
}
.post-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-hover);
  margin-bottom: 8px;
  line-height: 1.35;
}
.post-body {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 14px;
}
.divider { border: none; border-top: 1px solid var(--color-border); margin: 12px 0; }

.reactions-bar { display: flex; gap: 6px; flex-wrap: wrap; }
.reaction-btn {
  display: flex; align-items: center; gap: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 5px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.reaction-btn:hover, .reaction-btn.active {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.reaction-btn.olive:hover, .reaction-btn.olive {
  background: #f5f5e0;
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.reaction-hint {
  font-size: 13px;
  color: var(--color-muted);
  font-style: italic;
}
.reaction-hint:hover { color: var(--color-primary); }

/* Empty feed */
.empty-feed {
  text-align: center;
  padding: 48px 24px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
}
.empty-feed p { color: var(--color-muted); margin-bottom: 20px; line-height: 1.7; }

/* Sidebar */
.sidebar { position: sticky; top: 80px; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.sidebar-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}
.sidebar-card p { font-size: 13px; color: var(--color-muted); line-height: 1.6; }
.sidebar-links li { margin-bottom: 10px; }
.sidebar-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s;
}
.sidebar-links a:hover { color: var(--color-primary); }

/* ══════════════════════════════════════════════
    AUTH PAGES
══════════════════════════════════════════════ */
.auth-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--color-surface);
}
.auth-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}
.auth-logo { text-align: center; margin-bottom: 8px; }
.auth-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 28px;
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}
.form-group input,
.form-group select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 20px;
}
.auth-switch a { color: var(--color-primary); font-weight: 700; }


/* ══════════════════════════════════════════════
    NOUVEAU POST FORM
══════════════════════════════════════════════ */
.new-post-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.new-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.new-post-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}
.new-post-form { display: flex; flex-direction: column; gap: 10px; }
.new-post-title-input {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}
.new-post-title-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.new-post-textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  line-height: 1.6;
}
.new-post-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.new-post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.new-post-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-suggestion {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 3px 10px;
  border-radius: 20px;
  cursor: pointer;
}
.btn-publish {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-xl);
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-publish:hover { background: var(--color-hover); }

/* Join prompt */
.join-prompt {
  background: var(--color-primary-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}
.join-prompt p { font-size: 14px; color: var(--color-text); margin-bottom: 14px; }
.join-prompt-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-outline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 9px 20px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* Post avatar colors */
.avatar.gold  { background: var(--color-gold);   color: var(--color-hover); }
.avatar.olive { background: var(--color-accent);  color: #fff; }

/* Post author info */
.post-author-info { flex: 1; }

/* Empty feed */
.empty-feed {
  text-align: center;
  padding: 56px 24px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
}
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-feed h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-text);
  margin-bottom: 8px;
}
.empty-feed p { color: var(--color-muted); margin-bottom: 20px; line-height: 1.7; }

/* Sidebar extras */
.user-info-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
}
.sidebar-stats .stat-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
}
.stat-label {
  font-size: 13px;
  color: var(--color-muted);
}


/* ── FORM HINTS & LABELS ── */
.form-hint {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 3px;
}
.label-required {
  color: var(--color-primary);
  font-weight: 700;
}
.label-optional {
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 400;
}


/* ══════════════════════════════════════════════
    YOUTUBE EMBED
══════════════════════════════════════════════ */
.yt-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin: 12px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}
.yt-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
}

/* Liens dans les posts */
.post-body a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  word-break: break-all;
}
.post-body a:hover { color: var(--color-hover); }


/* ── RÉACTIONS LECTURE SEULE (visiteurs) ── */
.reaction-readonly {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 5px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
}


/* ══════════════════════════════════════════════
    PAGE PROFIL
══════════════════════════════════════════════ */
.profil-page {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 16px;
}

/* Carte principale */
.profil-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

/* Bannière */
.profil-banner {
  height: 120px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-hover) 100%);
}

.profil-body { padding: 0 24px 24px; }

/* Top row : avatar + bouton */
.profil-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: -40px;
  margin-bottom: 12px;
}

/* Avatar grand format */
.profil-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(128,0,128,0.2);
}

/* Boutons profil */
.btn-edit-profil, .btn-follow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-edit-profil:hover, .btn-follow:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Infos */
.profil-nom {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}
.profil-username {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 10px;
}
.profil-devise {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--color-primary-light);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 8px 14px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--color-text);
  font-style: italic;
}
.devise-icon { font-style: normal; }

.profil-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}
.profil-role, .profil-date, .profil-posts-count {
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 600;
}
.profil-bio {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-top: 8px;
}

/* Layout posts + sidebar */
.profil-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
}
@media (max-width: 700px) {
  .profil-layout { grid-template-columns: 1fr; }
}

.profil-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 16px;
  font-weight: 600;
}

/* Sidebar devise */
.devise-quote {
  font-style: italic;
  font-size: 14px;
  color: var(--color-text);
  border-left: 3px solid var(--color-gold);
  padding-left: 12px;
  margin: 0;
  line-height: 1.7;
}

/* About list */
.profil-about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profil-about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text);
}
.about-icon { font-size: 16px; }


/* ══════════════════════════════════════════════
    REACTION PICKER HOVER (LinkedIn style)
══════════════════════════════════════════════ */
.reaction-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.reaction-trigger-wrap {
  position: relative;
  display: inline-block;
}

/* Picker flottant — caché par défaut */
.reaction-picker {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 40px;
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(128,0,128,0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.95);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
  white-space: nowrap;
}

/* Afficher au hover sur le wrapper */
.reaction-trigger-wrap:hover .reaction-picker,
.reaction-trigger-wrap .reaction-picker:hover {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

/* Pont invisible entre bouton et picker */
.reaction-trigger-wrap::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}

/* Garder visible quand la souris est sur le picker */
.reaction-picker:hover {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

/* Boutons du picker */
.pick-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
  padding: 0;
}
.pick-btn:hover {
  transform: scale(1.4) translateY(-4px);
  background: var(--color-primary-light);
}

/* Tooltip au survol */
.pick-btn::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-hover);
  color: #fff;
  font-size: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  margin-bottom: 4px;
}
.pick-btn:hover::after { opacity: 1; }


/* Lien username → profil */
.post-author-link {
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.post-author-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}


/* ══════════════════════════════════════════════
    COMMENTAIRES
══════════════════════════════════════════════ */
.comments-section {
  width: 100%;
  margin-top: 12px;
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.comment-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.comment-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comment-avatar-me {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comment-body {
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  flex: 1;
}
.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}
.comment-author {
  font-size: 13px;
  font-weight: 700;
}
.comment-date {
  font-size: 11px;
  color: var(--color-muted);
}
.comment-text {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
}
.no-comments {
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
  padding: 8px 0;
}
.comment-form { width: 100%; }
.comment-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-input {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}
.comment-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.comment-submit {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.comment-submit:hover { background: var(--color-hover); }


/* ── FOLLOW BOUTONS ── */
.btn-follow, .btn-unfollow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 2px solid var(--color-primary);
}
.btn-follow {
  background: var(--color-primary);
  color: #fff;
}
.btn-follow:hover {
  background: var(--color-hover);
  border-color: var(--color-hover);
}
.btn-unfollow {
  background: transparent;
  color: var(--color-primary);
}
.btn-unfollow:hover {
  background: var(--color-primary);
  color: #fff;
}
.profil-followers, .profil-following {
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 600;
}


/* ══════════════════════════════════════════════
    NOTIFICATIONS
══════════════════════════════════════════════ */
.notif-bell {
  position: relative;
  text-decoration: none;
  font-size: 18px;
  padding: 4px 8px;
}
.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e00;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notifs-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 16px;
}
.notifs-header { margin-bottom: 24px; }
.notifs-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-text);
}
.notifs-sub {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 4px;
}
.notifs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.notif-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: background 0.2s;
}
.notif-unread {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}
.notif-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-avatar a {
  color: #fff;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-body { flex: 1; }
.notif-message {
  font-size: 14px;
  color: var(--color-text);
  margin: 0 0 4px 0;
  line-height: 1.4;
}
.notif-date {
  font-size: 11px;
  color: var(--color-muted);
}
.notif-icon { font-size: 20px; }


/* ══════════════════════════════════════════════
    UPLOAD IMAGE POSTS
══════════════════════════════════════════════ */
.image-upload-row {
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.image-upload-label {
  font-size: 13px;
  color: var(--color-muted);
  cursor: pointer;
  font-weight: 600;
}
.image-file-input {
  font-size: 13px;
  color: var(--color-text);
  cursor: pointer;
}
.image-preview {
  max-width: 100%;
  max-height: 200px;
  border-radius: var(--radius);
  border: 2px solid var(--color-border);
  margin-top: 6px;
  object-fit: cover;
}
.post-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 10px 0;
  border: 1px solid var(--color-border);
}


/* ══════════════════════════════════════════════
    AVIS IA GEMINI
══════════════════════════════════════════════ */
.btn-ia {
  background: linear-gradient(135deg, #4285f4, #0f9d58);
  color: #fff !important;
  border-color: transparent !important;
  font-weight: 700;
}
.btn-ia:hover { opacity: 0.85; }
.ia-panel {
  width: 100%;
  margin-top: 12px;
  background: linear-gradient(135deg, #f0f7ff, #f0fff4);
  border: 1px solid #4285f4;
  border-radius: var(--radius);
  padding: 16px;
}
.ia-loading {
  text-align: center;
  color: var(--color-muted);
  font-size: 14px;
  padding: 8px 0;
}
.ia-response {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ia-avatar { font-size: 28px; min-width: 36px; }
.ia-label {
  font-size: 11px;
  font-weight: 700;
  color: #4285f4;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ia-text p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}
.ia-error { color: #c00; font-size: 13px; }


/* ══════════════════════════════════════════════
    PAGE PI SPI
══════════════════════════════════════════════ */
.pispi-page { width: 100%; }

/* Hero */
.pispi-hero {
  background: linear-gradient(135deg, var(--color-hover) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 60px 24px;
  text-align: center;
}
.pispi-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 40px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.pispi-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--color-gold);
  margin: 0 0 8px 0;
  letter-spacing: 4px;
}
.pispi-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0 0 16px 0;
  font-weight: 600;
}
.pispi-desc {
  font-size: 15px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 28px auto;
  line-height: 1.7;
}
.pispi-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.pispi-hero-actions .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.pispi-hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* Sections */
.pispi-section { padding: 48px 24px; }
.pispi-section-alt { background: var(--color-surface); }
.pispi-section-inner { max-width: 900px; margin: 0 auto; }
.pispi-section-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-text);
  margin: 0 0 8px 0;
  text-align: center;
}
.pispi-section-sub {
  text-align: center;
  color: var(--color-muted);
  font-size: 14px;
  margin: 0 0 32px 0;
}

/* Cards présentation */
.pispi-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.pispi-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.pispi-card:hover { box-shadow: 0 4px 20px rgba(128,0,128,0.1); }
.pispi-card-icon { font-size: 2rem; margin-bottom: 12px; }
.pispi-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 0 8px 0;
}
.pispi-card p { font-size: 13px; color: var(--color-muted); line-height: 1.6; margin: 0; }

/* Vidéo */
.pispi-video-wrap { margin: 40px 0 32px 0; text-align: center; }
.pispi-video-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 16px;
}
.pispi-video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid var(--color-border);
  max-width: 700px;
  margin: 0 auto;
}
.pispi-video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* UEMOA */
.pispi-uemoa {
  background: var(--color-primary-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.pispi-uemoa h3 {
  font-family: var(--font-display);
  color: var(--color-text);
  margin: 0 0 16px 0;
}
.uemoa-flags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.uemoa-country {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 40px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

/* Étapes tutoriel */
.steps-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.step-item { display: flex; gap: 20px; align-items: flex-start; }
.step-number {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-text);
  margin: 0 0 6px 0;
}
.step-content p { font-size: 14px; color: var(--color-muted); line-height: 1.6; margin: 0 0 8px 0; }
.step-tip {
  background: var(--color-primary-light);
  border-left: 3px solid var(--color-primary);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--color-text);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Marchand */
.marchand-avantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.marchand-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.marchand-icon { font-size: 2rem; margin-bottom: 12px; }
.marchand-card h3 { font-family: var(--font-display); font-size: 1rem; color: var(--color-text); margin: 0 0 8px 0; }
.marchand-card p { font-size: 13px; color: var(--color-muted); line-height: 1.6; margin: 0; }
.marchand-steps {
  background: var(--color-primary-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 24px;
}
.marchand-steps h3 { font-family: var(--font-display); color: var(--color-text); margin: 0 0 16px 0; }
.marchand-ol { padding-left: 20px; margin: 0; }
.marchand-ol li { font-size: 14px; color: var(--color-text); line-height: 1.8; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--color-primary); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
}
.faq-arrow { color: var(--color-primary); transition: transform 0.2s; font-size: 12px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 20px 16px 20px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}
.faq-item.open .faq-answer { display: block; }

/* CTA */
.pispi-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-hover));
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  margin-top: 40px;
  color: #fff;
}
.pispi-cta h3 { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 8px 0; }
.pispi-cta p { opacity: 0.85; font-size: 14px; margin: 0 0 20px 0; }


/* ══════════════════════════════════════════════
    ANNUAIRE MARCHANDS
══════════════════════════════════════════════ */
.marchands-page { width: 100%; }
.marchands-hero {
  background: linear-gradient(135deg, var(--color-accent), #4a4a00);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
}
.marchands-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-gold);
  margin: 0 0 8px 0;
}
.marchands-sub { opacity: 0.85; font-size: 15px; margin: 0; }
.marchands-filtres {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 24px;
}
.filtres-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}
.filtre-group { flex: 1; min-width: 180px; }
.filtre-input, .filtre-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text);
  background: #fff;
  outline: none;
}
.filtre-input:focus, .filtre-select:focus {
  border-color: var(--color-primary);
}
.filtre-btn { white-space: nowrap; padding: 10px 20px; }
.marchands-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
}
.marchands-count {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 20px;
}
.marchands-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.marchand-card-annuaire {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.marchand-card-annuaire:hover {
  box-shadow: 0 4px 20px rgba(128,0,128,0.1);
}
.marchand-photo {
  width: 140px;
  min-width: 140px;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.marchand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.marchand-photo-placeholder { font-size: 3rem; }
.marchand-info { flex: 1; padding: 20px 20px 20px 0; }
.marchand-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.marchand-nom {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-text);
  margin: 0;
}
.marchand-secteur-badge {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 40px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
}
.marchand-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.marchand-lieu, .marchand-pispi {
  font-size: 13px;
  color: var(--color-muted);
}
.marchand-bio {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0 0 14px 0;
}
.marchand-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.marchand-profil-btn { font-size: 13px; padding: 6px 16px; }
.marchand-pispi-badge {
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 40px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
}
.marchand-cta-banner {
  background: var(--color-primary-light);
  border-top: 1px solid var(--color-border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}
.marchand-cta-banner p { margin: 0; font-size: 14px; color: var(--color-text); }
.marchand-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0;
}
.marchand-section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-text);
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}


/* ══════════════════════════════════════════════
    FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--color-hover);
  padding: 28px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-text {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ══════════════════════════════════════════════
    RESPONSIVE — MOBILE FIRST
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .navbar { padding: 0 16px; }

  .hero { padding: 48px 20px 40px; }
  .hero-title { font-size: 30px; }

  .feed-layout {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }

  .quote-section { padding: 40px 24px; }
  .quote-pi { font-size: 60px; }
  .quote-text { font-size: 18px; }

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

/* ══════════════════════════════════════════════
    BARRE DE RECHERCHE NAVBAR
    À coller à la fin de main.css
══════════════════════════════════════════════ */

.navbar-search {
  flex: 1;
  max-width: 220px;
  margin: 0 8px;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 5px 12px;
  transition: border-color 0.2s, background 0.2s;
}

.search-wrap:focus-within {
  border-color: var(--color-primary);
  background: #fff;
}

.search-icon {
  font-size: 13px;
  flex-shrink: 0;
  opacity: 0.7;
}

.search-input {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text);
  outline: none;
  width: 100%;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .navbar-search { display: none; }
}