/* ============================================================
   J.art & Camping-Car — Voisins de Route
   Charte premium : noir profond / blanc cassé / doré champagne
   Typographie : Cormorant Garamond (titres) + Inter (corps)
   ============================================================ */

:root {
  /* Brand */
  --black:       #0A0A0A;
  --ink:         #1A1A1A;
  --ink-soft:    #3A3A38;
  --gold:        #B89568;
  --gold-deep:   #8B6F3F;
  --gold-soft:   #D4B98C;
  --gold-pale:   #F0E4D0;
  --ivory:       #FAF8F4;
  --ivory-warm:  #F4EFE3;
  --white:       #FFFFFF;
  --line:        #E5DCC8;
  --line-soft:   #EFEAE0;
  --danger:      #B23838;
  --success:     #5C7F5C;

  /* Aliases pour compat avec l'ancien code (NE PAS RETIRER) */
  --navy-deep:   #0A0A0A;
  --navy-mid:    #1A1A1A;
  --navy-soft:   #3A3A38;
  --navy-pale:   #F0E4D0;
  --orange:      #B89568;
  --orange-soft: #D4B98C;
  --orange-pale: #F0E4D0;
  --cream:       #FAF8F4;
  --cream-warm:  #F4EFE3;
  --text:        #1A1A1A;
  --text-soft:   #6B6357;
  --pink:        #A0876B;
  --purple:      #6B6357;

  /* Shapes */
  --radius:      14px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --shadow:      0 4px 18px rgba(10, 10, 10, 0.05);
  --shadow-lg:   0 14px 44px rgba(10, 10, 10, 0.10);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.55;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .page-title, .display-serif {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-weight: 600; }

a { color: var(--ink); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--gold-deep); }

img, svg { max-width: 100%; height: auto; display: block; }

/* ============================================================
   TOPBAR
============================================================ */
.topbar {
  background: var(--navy-deep);
  color: var(--white);
  padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
  position: sticky; top: 0; z-index: 1500;        /* au-dessus de tout overlay (welcome=2000, modales <3000) */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
  pointer-events: auto;                            /* garantit la cliquabilité */
}
.topbar, .topbar * { pointer-events: auto; }
.nav-main a { position: relative; z-index: 1; }    /* assure que rien ne capture le clic à leur place */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; font-size: 18px; }
.brand:hover { color: var(--white); }
.brand-mark {
  width: 38px; height: 38px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(184, 149, 104, 0.30);
}
.brand-text { font-family: inherit; letter-spacing: 0.2px; }
.brand-text .brand-strong { color: var(--orange-soft); font-weight: 700; }

.nav-main {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-main a {
  color: rgba(255,255,255,0.78);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.nav-main a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-main a.active { color: var(--white); }
.nav-main a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--orange); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
/* Bouton "Voir le site" dans nav admin */
.nav a.btn-view-site {
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  display: inline-flex; align-items: center;
  box-shadow: 0 2px 8px rgba(184, 149, 104, 0.22);
  transition: background 0.15s, transform 0.05s;
}
.nav a.btn-view-site:hover {
  background: #8B6F3F;
  color: var(--white) !important;
  text-decoration: none;
}
.nav a.btn-view-site:active { transform: translateY(1px); }

.theme-toggle {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  color: var(--white); width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; transition: background 0.15s;
}
.theme-toggle:hover { background: rgba(255,255,255,0.14); }

/* ============================================================
   CONTAINER + HERO
============================================================ */
.container { max-width: 1240px; margin: 0 auto; padding: 28px 24px 40px; }

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}
@media (min-width: 920px) {
  .hero-split { grid-template-columns: 1fr 1fr; gap: 56px; padding: 24px 0 32px; }
}

.hero-text h1 {
  font-size: 38px;
  margin: 0 0 18px;
  font-weight: 800;
  line-height: 1.10;
  color: var(--navy-deep);
  letter-spacing: -0.5px;
}
@media (min-width: 920px) { .hero-text h1 { font-size: 56px; } }
.hero-text h1 .accent { color: var(--orange); }
.hero-text .lead {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 480px;
  margin: 0 0 28px;
  line-height: 1.55;
}
@media (min-width: 920px) { .hero-text .lead { font-size: 18px; } }

.cta-row {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px;
}
.btn-hero-primary, .btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: transform 0.06s, box-shadow 0.15s, background 0.15s;
  border: 1.5px solid transparent;
}
.btn-hero-primary {
  background: var(--orange); color: var(--white);
  box-shadow: 0 6px 18px rgba(184, 149, 104, 0.22);
}
.btn-hero-primary:hover { background: #8B6F3F; color: var(--white); box-shadow: 0 10px 22px rgba(184, 149, 104, 0.30); }
.btn-hero-secondary {
  background: var(--white); color: var(--navy-deep); border-color: var(--line);
}
.btn-hero-secondary:hover { background: var(--cream-warm); color: var(--navy-deep); }
.btn-hero-primary:active, .btn-hero-secondary:active { transform: translateY(1px); }

.hero-badges {
  display: flex; gap: 28px; flex-wrap: wrap;
}
.hero-badges .b {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-soft);
}
.hero-badges .b-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--cream-warm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 16px;
  border: 1px solid var(--line);
}
.hero-badges .b-icon.pink { color: var(--pink); }
.hero-badges .b-icon.red  { color: var(--danger); }
.hero-badges strong { display: block; color: var(--navy-deep); font-size: 13.5px; font-weight: 700; }

/* Hero visual side */
.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1B3A57 0%, #E07A2C 100%);
  box-shadow: var(--shadow-lg);
}
.hero-visual .hero-svg { width: 100%; height: 100%; display: block; }
.hero-visual .floating-card {
  position: absolute; right: 14px; bottom: 14px;
  background: rgba(255,255,255,0.96);
  padding: 12px 16px; border-radius: 14px;
  font-size: 13px; color: var(--navy-deep);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  max-width: 260px; line-height: 1.4;
  backdrop-filter: blur(6px);
}
.hero-visual .floating-card .emojis { font-size: 18px; margin-bottom: 4px; }

/* ============================================================
   GRID DEUX-COLONNES sections principales
============================================================ */
.dual-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px;
}
@media (min-width: 920px) {
  .dual-grid { grid-template-columns: 1.4fr 1fr; }
}

.card-pro {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card-pro h2 {
  margin: 0 0 22px;
  color: var(--navy-deep);
  font-size: 22px;
  font-weight: 700;
}

/* Steps "Comment ça marche" */
.steps-row {
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
@media (min-width: 720px) {
  .steps-row { grid-template-columns: 1fr 1fr 1fr; }
}
.step {
  position: relative;
  padding-top: 8px;
}
.step .num {
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--white); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.step:nth-child(1) .num { background: var(--pink); }
.step:nth-child(2) .num { background: var(--purple); }
.step:nth-child(3) .num { background: var(--orange); }
.step .icon-big {
  display: inline-block; font-size: 28px; margin-left: 10px; vertical-align: middle;
}
.step h3 { margin: 8px 0 6px; color: var(--navy-deep); font-size: 16px; font-weight: 700; }
.step p { color: var(--text-soft); font-size: 13.5px; margin: 0; line-height: 1.5; }

/* Card confiance */
.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex; gap: 18px; align-items: flex-start;
  position: relative; overflow: hidden;
}
.trust-card .shield-icon {
  flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--orange-pale);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 24px;
}
.trust-card h2 { margin: 0 0 10px; color: var(--navy-deep); font-size: 22px; font-weight: 700; }
.trust-card p { color: var(--text-soft); font-size: 14px; margin: 0 0 14px; line-height: 1.55; }
.trust-card .link-arrow {
  color: var(--navy-soft); font-weight: 600; font-size: 14px;
}
.trust-card .link-arrow:hover { color: var(--orange); }
.trust-card .lock-bg {
  position: absolute; right: -10px; bottom: -10px;
  font-size: 110px; color: var(--navy-deep); opacity: 0.10;
  pointer-events: none;
}

/* ============================================================
   BANDEAU TRUST 4 BADGES BAS
============================================================ */
.trust-strip {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
@media (min-width: 720px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-soft);
}
.trust-item .ti-icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--cream-warm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 14px;
}
.trust-item .ti-icon.red { color: var(--danger); }
.trust-item .ti-icon.green { color: var(--success); }
.trust-item strong { color: var(--navy-deep); font-weight: 700; font-size: 13.5px; }

/* ============================================================
   FORMS + CARDS (app interne)
============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 22px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card h2, .card h3 { margin-top: 0; color: var(--navy-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 22px; border-radius: 10px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background 0.15s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 4px 14px rgba(224,122,44,0.25); }
.btn-primary:hover { background: #8B6F3F; color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy-deep); border-color: var(--line); }
.btn-secondary:hover { background: var(--cream-warm); }
.btn-ghost { background: transparent; color: var(--navy-soft); }
.btn-ghost:hover { background: var(--navy-pale); }
.btn-danger { background: var(--white); color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: var(--white); }
.btn-block { display: flex; width: 100%; }
.btn-mini { padding: 8px 14px; font-size: 13.5px; border-radius: 8px; }

.form-field { margin-bottom: 14px; }
.form-field label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--navy-deep); font-size: 14px; }
.form-field .hint { color: var(--text-soft); font-size: 12px; margin-top: 4px; }
.form-field input[type=text],
.form-field input[type=email],
.form-field input[type=password],
.form-field input[type=number],
.form-field input[type=datetime-local],
.form-field textarea,
.form-field select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: var(--white); color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(224,122,44,0.16);
}

.form-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }

.flash {
  padding: 12px 16px; border-radius: 10px;
  margin-bottom: 14px; font-size: 14px;
  border: 1px solid;
}
.flash-success { background: #E6F5EC; border-color: var(--success); color: #1E5C39; }
.flash-error   { background: #FBEAEA; border-color: var(--danger);  color: #7A1F1F; }
.flash-info    { background: var(--navy-pale); border-color: var(--navy-soft); color: var(--navy-deep); }

.page-title { color: var(--navy-deep); margin: 8px 0 18px; font-size: 28px; font-weight: 800; letter-spacing: -0.3px; }
.page-subtitle { color: var(--text-soft); margin-top: -8px; margin-bottom: 22px; font-size: 15px; }

.moment-card { border-left: 4px solid var(--orange); }
.moment-card .type-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--navy-pale); color: var(--navy-deep); font-size: 13px; font-weight: 600;
  margin-bottom: 8px;
}
.moment-card .aire { color: var(--navy-soft); font-weight: 600; margin: 4px 0; }
.moment-card .meta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  color: var(--text-soft); font-size: 13px; margin-top: 8px;
}

.empty {
  text-align: center; padding: 40px 20px; color: var(--text-soft);
  background: var(--white); border: 1.5px dashed var(--line); border-radius: var(--radius);
}
.empty .icon { font-size: 40px; margin-bottom: 8px; }

.circle-info {
  background: var(--cream-warm); padding: 14px 16px; border-radius: var(--radius-sm);
  margin-bottom: 14px; font-size: 13px; color: var(--navy-deep);
  border: 1px solid var(--orange-pale);
}

.message-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.msg {
  background: var(--white); padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--line); max-width: 85%;
}
.msg-mine { align-self: flex-end; background: var(--navy-pale); border-color: var(--navy-soft); }
.msg-author { font-size: 12px; color: var(--text-soft); margin-bottom: 2px; font-weight: 600; }
.msg-time   { font-size: 11px; color: var(--text-soft); margin-top: 4px; }

.req-item {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.req-item .req-actions { margin-left: auto; display: flex; gap: 6px; }
.req-status {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--cream-warm); color: var(--navy-deep);
}
.req-status.accepted { background: #D4EDDA; color: var(--success); }
.req-status.refused  { background: #F8D7DA; color: var(--danger); }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--cream-warm); color: var(--navy-deep); font-size: 12px; font-weight: 600;
}
.badge-orange { background: var(--orange-soft); color: var(--navy-deep); }

/* ============================================================
   FOOTER SITE
============================================================ */
.site-footer {
  background: var(--navy-deep); color: var(--cream);
  padding: 32px 24px; text-align: center; margin-top: 40px;
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-mantra { font-style: italic; color: var(--orange-soft); margin: 0 0 8px; font-size: 16px; }
.footer-nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.footer-nav a { color: rgba(255,255,255,0.75); font-size: 13px; }
.footer-nav a:hover { color: var(--orange-soft); }
.footer-nav .sep { color: rgba(255,255,255,0.3); }
.footer-copy { color: rgba(255,255,255,0.45); font-size: 12px; margin-top: 14px; }

/* utils */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.muted { color: var(--text-soft); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   DASHBOARD MEMBRE — style mockup
============================================================ */
.dash-hello {
  display: flex; align-items: center; gap: 22px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.dash-hello .dash-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, #1B3A57 0%, #E07A2C 70%, #F2A65A 100%);
  border: 4px solid var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,0.5);
}
.dash-hello .dash-title { flex: 1; min-width: 280px; }
.dash-hello h1 {
  margin: 0 0 4px; font-size: 30px; font-weight: 800;
  color: var(--navy-deep); letter-spacing: -0.3px;
}
.dash-hello .sub { color: var(--text-soft); font-size: 14px; }
.dash-hello .actions { display: flex; gap: 10px; flex-wrap: wrap; }

.dash-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 22px;
}
@media (max-width: 1100px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .dash-stats { grid-template-columns: 1fr; } }

.dash-stat {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow);
}
.dash-stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px;
}
.dash-stat-icon.orange { background: #F4EFE3; color: var(--orange); }
.dash-stat-icon.green  { background: #E8EAD9; color: #2E8B57; }
.dash-stat-icon.yellow { background: #FDF4E0; color: #B08930; }
.dash-stat-icon.pink   { background: #FBE0EA; color: #E54B7B; }
.dash-stat .label { font-size: 13px; color: var(--text-soft); margin-bottom: 2px; }
.dash-stat .value { font-size: 24px; font-weight: 800; color: var(--navy-deep); line-height: 1.1; }
.dash-stat .meta  { font-size: 12px; color: #2E8B57; font-weight: 600; margin-top: 2px; }
.dash-stat .meta.muted { color: var(--text-soft); font-weight: 500; }

.dash-row {
  display: grid; gap: 18px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 18px;
}
@media (max-width: 1100px) { .dash-row { grid-template-columns: 1fr; } }

.dash-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 22px;
  box-shadow: var(--shadow);
}
.dash-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.dash-card-head h3 {
  margin: 0; font-size: 16px; font-weight: 700; color: var(--navy-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.dash-card-head .link-all {
  font-size: 12.5px; color: var(--text-soft); border: 1px solid var(--line);
  padding: 4px 12px; border-radius: 8px; text-decoration: none;
}
.dash-card-head .link-all:hover { border-color: var(--orange); color: var(--orange); }

.dash-action-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 12px; text-decoration: none; color: var(--text);
  margin-bottom: 10px;
  transition: border-color 0.12s, background 0.12s;
}
.dash-action-card:last-child { margin-bottom: 0; }
.dash-action-card:hover { border-color: var(--orange); background: #FFF7EE; color: var(--text); text-decoration: none; }
.dash-action-card.primary { background: #FFF4E6; border-color: #F4EFE3; }
.dash-action-card .ic {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px; font-weight: 700;
}
.dash-action-card .ic.outline {
  background: var(--white); color: var(--navy-deep); border: 1.5px solid var(--line);
}
.dash-action-card .b strong { color: var(--navy-deep); font-weight: 700; font-size: 14px; display: block; }
.dash-action-card .b .sub { font-size: 12.5px; color: var(--text-soft); margin-top: 2px; }
.dash-action-card .arrow { margin-left: auto; color: var(--text-soft); }

.dash-empty {
  text-align: center; padding: 30px 16px;
  background: #FBFAF7; border: 1.5px dashed var(--line); border-radius: 12px;
  color: var(--text-soft);
}
.dash-empty .emoji { font-size: 42px; display: block; margin-bottom: 6px; }
.dash-empty .btn-mini { margin-top: 12px; display: inline-flex; }

.dash-moment {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.dash-moment:last-child { border-bottom: 0; }
.dash-moment .thumb {
  width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #9B6B3A, #D7AF7C);
}
.dash-moment .thumb.cafe   { background: linear-gradient(135deg,#9B6B3A,#D7AF7C); }
.dash-moment .thumb.apero  { background: linear-gradient(135deg,#E07A2C,#FFD188); }
.dash-moment .thumb.balade { background: linear-gradient(135deg,#3A7CA5,#A6D5E8); }
.dash-moment .thumb.discussion { background: linear-gradient(135deg,#8854C5,#C7A8F0); }
.dash-moment .thumb.entraide   { background: linear-gradient(135deg,#2E8B57,#B5E0C5); }
.dash-moment .b { flex: 1; min-width: 0; font-size: 13px; }
.dash-moment .b strong { color: var(--navy-deep); font-weight: 600; display: block; }
.dash-moment .b .meta { color: var(--text-soft); font-size: 12px; margin-top: 2px; }
.dash-moment .when { font-size: 11.5px; color: var(--text-soft); text-align: right; }
.dash-moment .when .pill {
  display: block; font-size: 10.5px; padding: 2px 8px; border-radius: 999px;
  background: var(--cream-warm); color: var(--navy-deep); font-weight: 600;
  margin-bottom: 3px;
}
.dash-moment .when .pill.green { background: #E8EAD9; color: #2E8B57; }
.dash-moment .when .pill.blue  { background: var(--navy-pale); color: var(--navy-soft); }

/* PASSEPORT GRAND */
.dash-passport {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 0; overflow: hidden;
  box-shadow: var(--shadow);
}
.dash-passport-cover {
  height: 110px;
  background: linear-gradient(120deg, #1B3A57 0%, #6E4170 40%, #E07A2C 80%, #F2A65A 100%);
  position: relative;
}
.dash-passport-body {
  padding: 0 22px 20px; position: relative; margin-top: -40px;
}
.dash-passport-av {
  width: 92px; height: 92px; border-radius: 50%;
  background: linear-gradient(135deg, #1B3A57, #E07A2C);
  border: 4px solid #fff;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 36px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  margin-bottom: 10px;
}
.dash-passport h3 {
  margin: 0; font-size: 18px; color: var(--navy-deep); display: flex; align-items: center; gap: 6px;
}
.dash-passport h3 .verified { color: #2E8B57; font-size: 14px; }
.dash-passport .role { color: var(--text-soft); font-size: 13px; margin-top: 2px; }
.dash-passport .loc  { color: var(--text-soft); font-size: 13px; margin-top: 6px; }
.dash-passport-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.dash-passport-stats div { text-align: center; }
.dash-passport-stats strong { display: block; font-size: 22px; font-weight: 800; color: var(--navy-deep); }
.dash-passport-stats span { font-size: 11.5px; color: var(--text-soft); }
.dash-passport-trust h4 { margin: 0 0 8px; font-size: 13px; color: var(--navy-deep); font-weight: 700; }
.dash-passport-trust .check {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-soft); margin-right: 14px; margin-bottom: 6px;
}
.dash-passport-trust .check .ok { color: #2E8B57; font-weight: 700; }
.dash-passport-mantra {
  background: var(--cream-warm); padding: 12px 14px; border-radius: 10px;
  margin-top: 14px; display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--orange-pale);
}
.dash-passport-mantra .icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.dash-passport-mantra strong { display: block; color: var(--navy-deep); font-size: 13px; }
.dash-passport-mantra span { font-size: 12px; color: var(--text-soft); }

/* Sortie à venir */
.dash-trip {
  display: flex; gap: 12px; align-items: stretch;
  padding: 12px;
  border: 1px solid var(--line); border-radius: 12px;
  margin-top: 4px;
}
.dash-trip .cover {
  width: 96px; height: 76px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #3A7CA5 0%, #1B3A57 50%, #E07A2C 100%);
}
.dash-trip .body { flex: 1; min-width: 0; font-size: 13px; }
.dash-trip .date-badge {
  display: inline-block; background: var(--orange); color: #fff;
  padding: 2px 8px; border-radius: 6px; font-weight: 700; font-size: 11px;
  margin-bottom: 6px; line-height: 1.2;
}
.dash-trip .name { font-weight: 700; color: var(--navy-deep); }
.dash-trip .when { color: var(--text-soft); font-size: 12px; margin-top: 2px; }
.dash-trip .stat { color: var(--orange); font-weight: 600; font-size: 12.5px; margin-top: 6px; }

/* ============================================================
   DASHBOARD V2 — 3 colonnes (Assistant IA / Hero+Actions / Cercles)
============================================================ */
.dash-3col {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  margin-bottom: 22px;
}
@media (min-width: 1080px) {
  .dash-3col { grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) minmax(280px, 360px); align-items: start; }
  .ia-panel, .discussions-panel { position: sticky; top: 16px; }
}

/* --- Colonne gauche : Assistant IA --- */
.ia-panel { padding: 18px; }
.ia-head { display: flex; align-items: center; gap: 12px; }
.ia-head h2 { margin: 0; font-size: 17px; color: var(--navy-deep); font-weight: 700; }
.ia-head .muted { font-size: 12.5px; margin-top: 2px; }
.ia-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 3px 10px rgba(224,122,44,0.25);
  flex-shrink: 0;
}
.ia-tag { font-size: 13px; margin: 12px 0 14px; line-height: 1.45; }
.ia-bubble {
  background: var(--cream-warm);
  border: 1px solid var(--orange-pale);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13.5px; line-height: 1.5; color: var(--navy-deep);
}
.ia-bubble a { color: var(--orange); font-weight: 600; }
.ia-sugg-title {
  margin: 18px 0 8px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-soft);
}
.ia-suggestions { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ia-suggestions a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy-deep);
  text-decoration: none;
  font-size: 13.5px; font-weight: 600;
  background: var(--white);
  transition: all 0.15s;
}
.ia-suggestions a:hover { border-color: var(--orange-soft); background: #FFFEFB; }
.ia-suggestions .ic { font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }
.ia-suggestions .lbl { flex: 1; }
.ia-suggestions .arrow { color: var(--text-soft); font-size: 16px; }

.ia-input-row {
  display: flex; gap: 8px; margin-top: 14px;
  border: 1px solid var(--line); border-radius: 12px; padding: 4px;
  background: var(--white);
}
.ia-input-row input {
  flex: 1; border: 0; padding: 8px 10px; font-size: 13.5px;
  background: transparent; color: var(--navy-deep);
}
.ia-input-row input:focus { outline: 0; }
.ia-send {
  border: 0; cursor: pointer;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.ia-send:hover { background: #8B6F3F; }
.ia-disclaimer { font-size: 11.5px; margin: 10px 0 0; text-align: center; }

/* --- Colonne centre : Hero + Quick actions + Stats + Activité --- */
.dash-center { display: flex; flex-direction: column; gap: 18px; }

.dash-hero {
  display: flex; align-items: center; gap: 18px;
  padding: 4px 0 0;
}
.dash-hero-icon {
  width: 86px; height: 86px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-soft) 60%, var(--navy-mid) 110%);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 42px; color: #fff;
  box-shadow: 0 6px 18px rgba(224,122,44,0.30);
  flex-shrink: 0;
}
.dash-hero-text h1 { margin: 0; font-size: 26px; color: var(--navy-deep); font-weight: 800; letter-spacing: -0.3px; }
.dash-hero-text h1 .wave { display: inline-block; animation: wave 1.6s ease-in-out 1; }
@keyframes wave { 0%,100%{transform:rotate(0)} 25%{transform:rotate(18deg)} 75%{transform:rotate(-12deg)} }
.dash-hero-text p { margin: 4px 0 0; color: var(--text-soft); font-size: 14.5px; }

/* Quick actions : grille 2x2 cartes colorées */
.quick-actions {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 540px) { .quick-actions { grid-template-columns: 1fr; } }

.qa-card {
  position: relative;
  display: block;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-deep);
  text-decoration: none;
  transition: all 0.18s;
  overflow: hidden;
}
.qa-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.qa-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; font-weight: 800;
  margin-bottom: 10px;
}
.qa-orange .qa-icon { background: var(--orange); }
.qa-orange         { background: linear-gradient(135deg, #FAF8F4 0%, #FFFEFB 100%); }
.qa-pink   .qa-icon { background: var(--pink); }
.qa-pink           { background: linear-gradient(135deg, #F4EFE3 0%, #FAF8F4 100%); }
.qa-green  .qa-icon { background: var(--success); }
.qa-green          { background: linear-gradient(135deg, #EBEFE0 0%, #F7F8F0 100%); }
.qa-blue   .qa-icon { background: var(--navy-soft); }
.qa-blue           { background: linear-gradient(135deg, var(--navy-pale) 0%, #F4EFE3 100%); }
.qa-title { font-size: 16px; font-weight: 800; line-height: 1.25; margin-bottom: 6px; color: var(--navy-deep); }
.qa-desc { font-size: 12.5px; color: var(--text-soft); line-height: 1.45; }
.qa-arrow {
  position: absolute; right: 16px; bottom: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 18px; font-weight: 700;
  box-shadow: 0 2px 6px rgba(15,42,74,0.08);
}

/* Stat strip (4 stats compactes inline) */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; padding: 14px 16px;
}
@media (max-width: 720px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.ss-item { display: flex; align-items: center; gap: 10px; }
.ss-item strong { font-size: 18px; font-weight: 800; color: var(--navy-deep); }
.ss-item .muted { font-size: 12px; }
.ss-ic {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}

/* Activité récente */
.activity-card { padding: 16px; }
.activity-card .dash-card-head { padding: 0; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.activity-card .dash-card-head h3 { margin: 0; font-size: 15px; color: var(--navy-deep); font-weight: 700; }
.activity-card .link-all {
  font-size: 12.5px; color: var(--orange); text-decoration: none; font-weight: 600;
  padding: 4px 10px; border-radius: 8px; border: 1px solid transparent;
}
.activity-card .link-all:hover { border-color: var(--orange); }

.activity-row {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 6px;
  border-radius: 10px;
  color: var(--navy-deep);
  text-decoration: none;
  transition: background 0.15s;
}
.activity-row:hover { background: var(--cream-warm); }
.activity-row + .activity-row { border-top: 1px solid var(--line); }
.ar-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; background: var(--cream-warm); color: var(--navy-deep);
}
.ar-icon.ar-cafe      { background: #F4EFE3; }
.ar-icon.ar-apero     { background: #EFEAE0; }
.ar-icon.ar-balade    { background: #E8EAD9; }
.ar-icon.ar-entraide  { background: #F0E4D0; }
.ar-icon.ar-discussion{ background: var(--navy-pale); }
.ar-title { font-weight: 700; font-size: 13.5px; }
.ar-loc { font-size: 12px; margin-top: 2px; }
.ar-meta { text-align: right; font-size: 11.5px; }
.ar-when { display: block; margin-top: 4px; }

.pill {
  display: inline-block;
  padding: 2px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
}
.pill-green { background: #E8EAD9; color: #2E8B57; }
.pill-blue  { background: var(--navy-pale); color: var(--navy-soft); }
.pill-grey  { background: #ECEEF2; color: var(--text-soft); }

/* --- Colonne droite : Discussions privées --- */
.discussions-panel { padding: 16px; display: flex; flex-direction: column; }
.disc-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.disc-head h2 { margin: 0; font-size: 16px; color: var(--navy-deep); font-weight: 700; }
.disc-head .muted { font-size: 12px; margin-top: 2px; }
.disc-shield {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange-pale); color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.disc-notice {
  background: var(--cream-warm);
  border: 1px solid var(--orange-pale);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px; color: var(--text-soft); line-height: 1.5;
  margin-bottom: 12px;
}
.disc-notice strong { color: var(--orange); display: block; margin-top: 4px; font-weight: 600; }

.disc-card {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none; color: var(--navy-deep);
  transition: background 0.15s;
}
.disc-card:hover { background: var(--cream-warm); }
.disc-card + .disc-card { border-top: 1px solid var(--line); }
.disc-thumb {
  width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
  background: linear-gradient(135deg, var(--navy-mid), var(--orange));
}
.disc-cafe      { background: linear-gradient(135deg, #c47a3c, #E07A2C); }
.disc-apero     { background: linear-gradient(135deg, #B14A6B, var(--pink)); }
.disc-balade    { background: linear-gradient(135deg, #4A8C5E, var(--success)); }
.disc-entraide  { background: linear-gradient(135deg, #A07515, #D1A03A); }
.disc-discussion{ background: linear-gradient(135deg, var(--navy-mid), var(--navy-soft)); }
.disc-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.disc-title-row strong { font-size: 13.5px; font-weight: 700; color: var(--navy-deep); }
.disc-title-row .muted { font-size: 11.5px; flex-shrink: 0; }
.disc-msg {
  font-size: 12.5px; color: var(--text-soft); margin-top: 4px;
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.disc-msg .disc-author { color: var(--navy-soft); font-weight: 600; }
.disc-foot { margin-top: 6px; }
.disc-avatars { display: inline-flex; }
.disc-avatars .av {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--white);
  background: linear-gradient(135deg, var(--navy-mid), var(--orange));
  margin-left: -6px;
}
.disc-avatars .av:first-child { margin-left: 0; }
.disc-avatars .av-1 { background: linear-gradient(135deg, var(--pink), var(--orange-soft)); }
.disc-avatars .av-2 { background: linear-gradient(135deg, var(--success), var(--navy-mid)); }

.disc-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--orange); font-weight: 700; font-size: 13px;
  text-decoration: none;
  transition: all 0.15s;
}
.disc-cta:hover { background: var(--orange); color: #fff; }

/* Trust strip (sous les 3 colonnes) */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
  padding: 16px 22px;
  margin: 4px 0 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-checks { display: flex; flex-wrap: wrap; gap: 18px; }
.trust-checks .check {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-soft); font-weight: 600;
}
.trust-checks .check .ok {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--success); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.trust-mantra {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--navy-deep);
}
.trust-mantra .heart { font-size: 17px; }
.trust-mantra .muted { display: inline; margin-left: 4px; }

@media (max-width: 980px) {
  .trust-strip { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PASSEPORT DE ROUTE — page membre (formulaire + aperçu live)
============================================================ */
.passeport-head {
  display: flex; align-items: flex-start; gap: 14px;
  margin: 8px 0 22px;
}
.passeport-head-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(224,122,44,0.25);
}

.passeport-grid {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .passeport-grid { grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); align-items: start; }
  .passeport-aside { position: sticky; top: 16px; }
}

.passeport-form { padding: 8px 0; }
.passeport-section {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.passeport-section:last-of-type { border-bottom: 0; }
.passeport-section h3 {
  margin: 0 0 14px; font-size: 16px; color: var(--orange);
  display: flex; align-items: center; gap: 8px; font-weight: 700;
}
.passeport-section h3 .ic { font-size: 18px; }

.btn-save {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  margin: 18px 22px 4px;
  width: calc(100% - 44px);
  font-size: 15px; font-weight: 700;
  padding: 14px;
}
.btn-save .save-ic { font-size: 17px; }

.passeport-foot-note {
  margin: 14px 22px 12px;
  font-size: 12.5px; color: var(--text-soft); text-align: center;
}

/* Chips de sélection rapide */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 13.5px; color: var(--navy-deep);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--orange-soft); background: #FFFEFB; }
.chip.is-on {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(224,122,44,0.25);
}
.chip.is-on .chip-ic { filter: grayscale(0.2) brightness(1.1); }
.chip-ic { font-size: 15px; }

/* Aperçu (colonne droite) */
.preview-progress { padding: 14px 18px; }
.progress-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--navy-deep); margin-bottom: 6px;
}
.progress-bar {
  height: 8px; background: var(--cream-warm);
  border-radius: 999px; overflow: hidden;
}
.progress-bar-fill {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  transition: width 0.4s ease;
}

.preview-card { padding: 0; overflow: hidden; }
.preview-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px 6px;
  font-size: 14px; color: var(--navy-deep);
}
.preview-head .eye { font-size: 16px; }

.preview-cover {
  height: 130px;
  background:
    linear-gradient(180deg, rgba(15,42,74,0.05), rgba(15,42,74,0.45)),
    linear-gradient(120deg, #1B3A57 0%, #6E4170 35%, #E07A2C 80%, #F2A65A 100%);
  position: relative;
}
.preview-cover::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,200,120,0.35) 0%, transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(255,230,180,0.25) 0%, transparent 40%);
}

.preview-body {
  padding: 0 20px 20px; position: relative; margin-top: -42px;
  text-align: center;
}
.preview-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg, #1B3A57, #E07A2C);
  border: 4px solid #fff;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 32px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  margin-bottom: 10px;
}
.preview-pseudo {
  margin: 0; font-size: 19px; color: var(--navy-deep);
  display: inline-flex; align-items: center; gap: 6px;
}
.preview-pseudo .verified {
  width: 18px; height: 18px; border-radius: 50%;
  background: #1D9BF0; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.preview-loc {
  color: var(--text-soft); font-size: 13px; margin-top: 6px;
}

.preview-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin-top: 12px;
}
.preview-pills .pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cream-warm); color: var(--navy-deep);
  font-size: 12.5px; font-weight: 600;
}
.preview-pills .pill-style { background: var(--orange-pale); color: #8a4416; }

.preview-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 12px;
}
.badge-trust {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #E6F5EC; color: #1E5C39;
  font-size: 12px; font-weight: 600;
  border: 1px solid #C5E5D2;
}
.badge-trust .ok { font-size: 12px; }

.preview-mood {
  margin-top: 12px;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--navy-pale, #F4EFE3);
  color: var(--navy-deep);
  font-size: 12.5px; font-weight: 600;
}

.preview-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  margin: 16px 0 4px; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.preview-stats div { text-align: center; }
.preview-stats strong { display: block; font-size: 20px; font-weight: 800; color: var(--navy-deep); }
.preview-stats span { font-size: 11.5px; color: var(--text-soft); }

.preview-trust {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--cream-warm);
  border: 1px solid var(--orange-pale);
  border-radius: 10px;
  display: flex; gap: 10px; align-items: flex-start;
  text-align: left;
}
.preview-trust .trust-ic {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.preview-trust strong { display: block; color: var(--navy-deep); font-size: 13.5px; margin-bottom: 2px; }
.preview-trust p { margin: 0 0 6px; font-size: 12.5px; color: var(--text-soft); line-height: 1.45; }
.preview-trust .link-arrow {
  color: var(--orange); font-size: 12.5px; font-weight: 600; text-decoration: none;
}
.preview-trust .link-arrow:hover { text-decoration: underline; }

.passeport-aside-note {
  margin: 10px 4px 0; text-align: center;
  font-size: 12px; color: var(--text-soft);
}

@media (max-width: 600px) {
  .passeport-section { padding: 16px; }
  .btn-save { margin: 16px; width: calc(100% - 32px); }
  .passeport-foot-note { margin: 12px 16px; }
}

/* ============================================================
   RESPONSIVE topbar mobile
============================================================ */
@media (max-width: 800px) {
  .topbar { padding: 12px 16px; flex-wrap: wrap; gap: 12px; }
  .nav-main {
    order: 3; width: 100%; flex-wrap: wrap; justify-content: flex-start;
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 8px; margin-top: 4px;
  }
  .nav-main a { padding: 6px 10px; font-size: 13px; }
  .nav-main a.active::after { display: none; }
  .container { padding: 18px 16px 40px; }
  .hero-text h1 { font-size: 32px; }
  .hero-badges { gap: 18px; }
  .nav-actions .btn-hero-secondary { display: none; }
}

/* ============================================================
   PREMIUM REFONTE — Noir / Blanc / Doré
   Tokens et classes premium overlay (s'appliquent par-dessus)
============================================================ */

/* Topbar : noir profond avec fine ligne dorée */
.topbar {
  background: var(--black);
  border-bottom: 1px solid rgba(184, 149, 104, 0.25);
  box-shadow: 0 1px 0 rgba(184, 149, 104, 0.15);
  padding: 16px 32px;
}
.brand { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em; }
.brand-mark {
  background: var(--gold);
  box-shadow: 0 2px 10px rgba(184, 149, 104, 0.30);
}
.brand-text .brand-strong { color: var(--gold-soft); font-weight: 600; }
.nav-main a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 8px 14px;
}
.nav-main a:hover { color: var(--gold-soft); background: transparent; }
.nav-main a.active { color: var(--white); font-weight: 500; }
.nav-main a.active::after {
  height: 1px; background: var(--gold); bottom: 0;
}

/* Cards : plus discrets, plus haut de gamme */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.card h2, .card h3 { font-family: var(--font-display); font-weight: 600; }

/* Boutons premium */
.btn-premium {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-premium-dark {
  background: var(--black); color: var(--white);
  border-color: var(--black);
}
.btn-premium-dark:hover {
  background: transparent; color: var(--black);
  border-color: var(--black);
}
.btn-premium-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--gold);
}
.btn-premium-ghost:hover {
  background: var(--gold); color: var(--white);
}
.btn-premium-link {
  background: transparent; color: var(--gold-deep);
  border: 0; padding: 8px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
}
.btn-premium-link:hover { color: var(--black); border-bottom-color: var(--black); }

/* Hero cover (zone centrale du dashboard) */
.hero-cover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--white) 60%, var(--white) 100%),
    radial-gradient(circle at 80% 0%, var(--gold-pale) 0%, transparent 50%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-cover::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 1px;
  background: var(--gold);
}
.hero-overline {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.hero-display {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0 0 12px;
  line-height: 1.1;
}
@media (max-width: 720px) { .hero-display { font-size: 32px; } }
.hero-lede {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 460px; margin: 0 auto 28px;
  line-height: 1.6;
  font-weight: 300;
}
.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-sumline {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft);
  font-weight: 300;
  letter-spacing: 0.02em;
}
.hero-sumline strong { color: var(--black); font-weight: 600; }
.hero-sumline .dot-sep { color: var(--gold); }

/* Empty state premium */
.empty-premium {
  text-align: center;
  padding: 34px 20px;
}
.empty-premium .empty-mark {
  font-size: 28px; color: var(--gold);
  margin-bottom: 12px; line-height: 1;
}
.empty-premium p {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
}
.empty-premium .muted {
  display: block; margin-top: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
}

/* Page titles : passer en serif */
.page-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.page-subtitle { color: var(--ink-soft); font-weight: 300; }

/* IA Panel : thème sombre or/noir (inspiration : panel premium) */
.card.ia-panel, .ia-panel {
  padding: 26px 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(184,149,104,0.10) 0%, transparent 50%),
    linear-gradient(180deg, #0F0F0F 0%, #0A0A0A 100%);
  border: 1px solid rgba(184,149,104,0.22);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(184,149,104,0.06), 0 10px 30px rgba(0,0,0,0.35);
  color: #E8DCC1;
}
.ia-panel .muted { color: rgba(232,220,193,0.55) !important; }
.ia-head h2 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  color: #F0E4D0;
  letter-spacing: 0.005em;
}
.ia-avatar {
  background: radial-gradient(circle at 30% 30%, #F0E4D0, #B89568 60%, #6B4F25);
  color: #1A1208;
  border: 1px solid rgba(212,185,140,0.6);
  box-shadow:
    0 0 0 4px rgba(184,149,104,0.08),
    0 0 24px rgba(184,149,104,0.30);
  width: 56px; height: 56px;
  font-size: 26px;
}
.ia-tag { color: rgba(232,220,193,0.65); font-size: 13.5px; }
.ia-bubble {
  background: linear-gradient(180deg, rgba(184,149,104,0.10), rgba(184,149,104,0.04));
  border: 1px solid rgba(212,185,140,0.45);
  box-shadow: 0 0 22px rgba(184,149,104,0.18), inset 0 1px 0 rgba(255,235,200,0.10);
  color: #F4ECD8;
  font-size: 14.5px; line-height: 1.6;
  padding: 18px 20px;
  border-radius: 10px;
}
.ia-bubble a { color: var(--gold-soft); border-bottom: 1px solid rgba(212,185,140,0.5); }
.ia-sugg-title {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.ia-sugg-title::before { content: '✦'; color: var(--gold); font-size: 13px; }
.ia-sugg-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(212,185,140,0.4), transparent); }

.ia-suggestions a {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(212,185,140,0.30);
  border-radius: 10px;
  color: #F0E4D0;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 16px;
  text-transform: none;
}
.ia-suggestions a:hover {
  border-color: var(--gold);
  background: rgba(184,149,104,0.08);
  box-shadow: 0 0 14px rgba(184,149,104,0.18);
}
.ia-suggestions .ic {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(184,149,104,0.10);
  border: 1px solid rgba(212,185,140,0.35);
  color: var(--gold-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.ia-suggestions .arrow { color: var(--gold); font-size: 18px; }

.ia-input-row {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(212,185,140,0.30);
  border-radius: 12px;
  padding: 6px 6px 6px 4px;
}
.ia-input-row:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(184,149,104,0.20);
}
.ia-input-row input {
  background: transparent;
  color: #F4ECD8;
  padding: 10px 14px;
  font-size: 14px;
}
.ia-input-row input::placeholder { color: rgba(232,220,193,0.40); }
.ia-send {
  background: radial-gradient(circle at 35% 35%, var(--gold-soft), var(--gold-deep));
  color: #1A1208;
  border: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(184,149,104,0.45);
}
.ia-send:hover { box-shadow: 0 0 26px rgba(184,149,104,0.65); }
.ia-disclaimer {
  color: rgba(232,220,193,0.45) !important;
  font-size: 11.5px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.ia-disclaimer::before { content: '🛡'; opacity: 0.5; }

/* Discussions panel : ligne dorée + texte sobre */
.discussions-panel { padding: 22px; }
.disc-head h2 { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.disc-shield {
  background: var(--black); color: var(--gold);
  width: 36px; height: 36px;
  border: 1px solid var(--gold-soft);
}
.disc-notice {
  background: var(--ivory-warm);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.6;
}
.disc-notice strong { color: var(--gold-deep); font-weight: 500; }

.disc-card {
  border-radius: 2px;
  padding: 12px 8px;
}
.disc-card:hover { background: var(--ivory-warm); }
.disc-card + .disc-card { border-top: 1px solid var(--line); }
.disc-thumb {
  border-radius: 2px;
  background: var(--black) !important;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
}
.disc-title-row strong { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.disc-title-row .muted {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.disc-msg { font-size: 12.5px; color: var(--ink-soft); font-weight: 400; }
.disc-msg .disc-author { color: var(--black); font-weight: 500; }
.disc-avatars .av {
  background: var(--black) !important;
  border: 2px solid var(--ivory);
}
.disc-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  border-radius: 2px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.disc-cta:hover {
  background: var(--black);
  color: var(--gold);
  border-color: var(--black);
}

/* Activity card */
.activity-card { padding: 24px; }
.activity-card .dash-card-head h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
}
.activity-card .link-all {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 4px 10px;
}
.activity-card .link-all:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.activity-row { border-radius: 0; padding: 14px 6px; }
.activity-row + .activity-row { border-top: 1px solid var(--line-soft); }
.ar-icon {
  background: var(--ivory-warm) !important;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  color: var(--gold-deep);
  font-weight: 500;
}
.ar-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; }

.pill {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
}
.pill-green { background: transparent; color: var(--gold-deep); border: 1px solid var(--gold); }
.pill-blue  { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }
.pill-grey  { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }

/* Trust strip — épuré */
.trust-strip {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px 28px;
}
.trust-checks .check { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.trust-checks .check .ok {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
  font-weight: 700;
}
.trust-mantra { font-family: var(--font-display); font-size: 15px; font-style: italic; }
.trust-mantra .heart { color: var(--gold); }

/* Form fields — version premium */
.form-field label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.form-field input[type=text],
.form-field input[type=email],
.form-field input[type=password],
.form-field input[type=number],
.form-field input[type=datetime-local],
.form-field textarea,
.form-field select {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
  outline: 0;
  background: var(--white);
}
.form-field .hint {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  font-style: italic;
}

/* Buttons primaires existants - skin premium */
.btn-primary {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 13px 22px;
  border: 1px solid var(--black);
  box-shadow: none;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: transparent;
  color: var(--black);
  box-shadow: none;
}
.btn-block { width: 100%; }
.btn-mini { padding: 8px 14px; font-size: 11.5px; }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 18px;
}
.btn-secondary:hover { background: var(--gold); color: var(--white); }

/* btn-hero-primary / secondary du nav header — version mini bouton premium */
.btn-hero-primary.btn-mini, .btn-hero-secondary.btn-mini {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  border-radius: 2px;
  padding: 8px 14px;
  font-weight: 500;
}
.btn-hero-primary.btn-mini { background: var(--gold); color: var(--black); border: 1px solid var(--gold); }
.btn-hero-primary.btn-mini:hover { background: transparent; color: var(--gold); }
.btn-hero-secondary.btn-mini { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-hero-secondary.btn-mini:hover { border-color: var(--gold); color: var(--gold); }

/* Moment cards (moments.php) — sobriété */
.moment-card {
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  padding: 24px;
  margin-bottom: 18px;
}
.moment-card .type-tag {
  background: transparent;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  font-weight: 500;
}
.moment-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.moment-card .aire { font-family: var(--font-body); color: var(--ink-soft); font-weight: 400; }

/* Passport form — sections séparées par lignes dorées */
.passeport-section { border-bottom: 1px solid var(--line); }
.passeport-section h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  color: var(--black);
  letter-spacing: 0;
}
.passeport-section h3 .ic { font-size: 16px; color: var(--gold); }
.passeport-head-icon {
  background: var(--black); color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: 4px;
  box-shadow: none;
}
.btn-save {
  background: var(--black); color: var(--white);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--black);
}
.btn-save:hover { background: transparent; color: var(--black); }

/* Chip - simplifiés */
.chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.chip:hover { border-color: var(--gold); background: var(--ivory-warm); }
.chip.is-on {
  background: var(--black); color: var(--white);
  border-color: var(--black);
  box-shadow: none;
}

/* Preview card du passeport - skin sobre */
.preview-card { border: 1px solid var(--line); }
.preview-cover {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.10), rgba(10,10,10,0.55)),
    linear-gradient(135deg, #1A1A1A 0%, #3A3A38 40%, var(--gold-deep) 100%);
  height: 110px;
}
.preview-cover::before { display: none; }
.preview-avatar {
  background: var(--black);
  color: var(--gold);
  border: 4px solid var(--white);
}
.preview-pseudo { font-family: var(--font-display); font-weight: 600; }
.preview-pseudo .verified { background: var(--gold); color: var(--black); }
.preview-pills .pill { font-size: 11px; padding: 4px 12px; background: var(--ivory-warm); color: var(--ink); border: 1px solid var(--line); font-weight: 400; letter-spacing: 0.05em; text-transform: none; }
.preview-pills .pill-vehicle { background: var(--ivory-warm); }
.preview-pills .pill-style { background: var(--gold-pale); color: var(--gold-deep); border-color: var(--gold-soft); }
.badge-trust {
  background: transparent;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.preview-mood {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-style: italic;
}
.preview-stats strong { font-family: var(--font-display); font-size: 22px; }
.preview-stats span { font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 400; }
.preview-trust {
  background: var(--ivory-warm);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
}
.preview-trust .trust-ic { background: var(--black); color: var(--gold); }
.preview-trust strong { font-family: var(--font-display); font-weight: 600; }

/* Progress bar fil d'or */
.progress-bar { background: var(--ivory-warm); }
.progress-bar-fill { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.progress-head strong { font-family: var(--font-display); font-weight: 600; }

/* Flash messages premium */
.flash {
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  border-left-width: 2px;
  letter-spacing: 0.02em;
  padding: 12px 16px;
}
.flash-success { background: var(--ivory-warm); border-color: var(--gold); color: var(--gold-deep); }
.flash-error   { background: #FBF1F1; border-color: var(--danger); color: var(--danger); }
.flash-info    { background: var(--ivory-warm); border-color: var(--gold-soft); color: var(--ink); }

/* Container plus aéré */
.container { max-width: 1300px; padding: 36px 32px 60px; }
@media (max-width: 720px) { .container { padding: 24px 18px 40px; } }

/* Moment hero (page détail) */
.moment-hero {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
  margin-bottom: 22px;
  position: relative;
  box-shadow: var(--shadow);
}
.moment-hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 1px;
  background: var(--gold);
}
.moment-hero-overline { margin-bottom: 22px; }
.moment-hero-overline .type-tag {
  display: inline-block;
  background: transparent; color: var(--gold-deep);
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 6px 16px;
  font-weight: 500;
}
.moment-hero-title {
  font-family: var(--font-display);
  font-size: 38px; font-weight: 500;
  color: var(--black);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
@media (max-width: 720px) { .moment-hero-title { font-size: 28px; } }
.moment-hero-loc {
  font-family: var(--font-body);
  font-size: 13px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.moment-hero-loc .moment-sep { color: var(--gold); margin: 0 10px; }
.moment-hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 540px) { .moment-hero-meta { grid-template-columns: 1fr; gap: 14px; } }
.mh-item { text-align: center; }
.mh-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.mh-value {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  color: var(--black);
}
.mh-value em { font-style: italic; font-weight: 500; color: var(--ink-soft); }
.moment-hero-msg {
  margin: 24px auto 0;
  max-width: 540px;
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.65;
  color: var(--ink);
  font-weight: 300;
  white-space: pre-wrap;
}

/* Organizer card (sous le hero) */
.organizer-card {
  padding: 22px 26px;
  border-left: 2px solid var(--gold);
  background: var(--ivory-warm);
}
.organizer-overline {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 8px;
}
.organizer-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  color: var(--black);
  display: block;
}
.organizer-vehicle {
  font-family: var(--font-body);
  font-size: 12px; color: var(--ink-soft);
  letter-spacing: 0.05em;
  display: block; margin-top: 2px;
  font-style: italic;
}
.organizer-desc {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.65;
  font-weight: 300;
}

/* Signaler block - très discret */
details.card[style*="margin-top"] {
  padding: 14px 18px;
  background: transparent;
  border: 1px dashed var(--line);
  box-shadow: none;
}
details.card[style*="margin-top"] summary {
  font-size: 11px !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft) !important;
}

/* Cercle privé : message d'info */
.circle-info {
  background: var(--ivory-warm);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gold-deep);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.circle-info strong { font-family: var(--font-display); font-weight: 600; color: var(--black); }

/* Message bubbles dans circle.php */
.message-list { padding: 8px 0; max-height: 480px; overflow-y: auto; }
.msg {
  padding: 12px 14px;
  background: var(--ivory-warm);
  border: 1px solid var(--line);
  border-radius: 2px;
  margin-bottom: 10px;
  max-width: 78%;
}
.msg-mine {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  margin-left: auto;
}
.msg-mine .msg-author, .msg-mine .msg-time { color: var(--gold-soft) !important; }
.msg-author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.msg-time {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* Badges (members in circle.php) */
.badge {
  background: var(--ivory-warm);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.badge-orange { background: var(--black); color: var(--gold); border-color: var(--gold); }

/* Empty state ancien (.empty) */
.empty {
  text-align: center; padding: 50px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.empty .icon { font-size: 36px; color: var(--gold); margin-bottom: 14px; }
.empty p {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.6;
}

/* row-between (moments.php header) */
.row-between {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}

/* req-status (my-requests / moments member) */
.req-status {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.req-status.accepted { color: var(--gold-deep); border-color: var(--gold); }
.req-status.pending  { color: var(--ink-soft); border-color: var(--line); }
.req-status.refused, .req-status.cancelled { color: var(--ink-soft); border-color: var(--line); opacity: 0.7; }

/* Footer site */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
  text-align: center;
  background: var(--white);
}
.footer-mantra {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-deep);
  margin: 0 0 14px;
}
.footer-nav {
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
/* Footer sur fond noir : couleur claire pour rester lisible (--ink-soft trop sombre) */
.footer-nav a { color: rgba(250, 247, 240, 0.78); margin: 0 4px; }
.footer-nav a:hover { color: #F3D58A; }
.footer-nav .sep { color: rgba(243, 213, 138, 0.45); margin: 0 8px; }
.footer-copy { font-size: 11px; letter-spacing: 0.1em; color: rgba(250, 247, 240, 0.55); margin: 10px 0 0; }

/* Type-tag (utilisé sur moments.php cards) */
.type-tag {
  display: inline-block;
  background: transparent;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 10px;
  font-weight: 500;
}

/* Wrap-up : meta-row de moments.php  */
.meta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-top: 14px;
}
.meta-row strong { color: var(--black); font-weight: 600; }

/* ============================================================
   PHOTOS DE VOYAGE + SORTIES (galerie + cards)
============================================================ */

/* Layout 2-col page mes-photos */
.photo-layout {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .photo-layout { grid-template-columns: minmax(280px, 360px) 1fr; align-items: start; }
}
.photo-upload { padding: 22px; position: sticky; top: 16px; }
.photo-upload h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }

/* Radio cards (visibilité privé/public) */
.radio-row { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.radio-card {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  background: var(--white);
  font-size: 13px;
  transition: all 0.15s;
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card:hover { border-color: var(--gold-soft); }
.radio-card:has(input:checked) {
  background: var(--black); color: var(--gold-soft);
  border-color: var(--black);
}
.radio-card:has(input:checked) .muted { color: rgba(232,220,193,0.55) !important; }
.radio-card strong { font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.radio-card .muted { font-size: 11px; letter-spacing: 0.03em; }

/* Toolbar grille */
.photo-toolbar {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
.photo-toolbar h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }

/* Grille photos */
.photo-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.photo-tile {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.photo-tile img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.photo-tile a { display: block; height: 100%; }
.photo-meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.85) 100%);
  color: var(--gold-soft);
}
.photo-title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: #F4ECD8;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  line-height: 1.3;
}
.photo-flags { display: flex; gap: 6px; flex-wrap: wrap; }
.photo-vis, .photo-status {
  font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 500;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(184,149,104,0.4);
  color: var(--gold-soft);
}
.photo-vis.vis-public { color: var(--gold); border-color: var(--gold); }
.photo-status.status-ok { color: #9FCF9F; border-color: rgba(159,207,159,0.5); }
.photo-status.status-gold { color: var(--gold); border-color: var(--gold); }
.photo-status.status-danger { color: #E89090; border-color: rgba(232,144,144,0.5); }
.photo-status.status-grey { color: #B0AC9F; border-color: rgba(176,172,159,0.4); }

.photo-delete {
  position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(184,149,104,0.5);
  background: rgba(10,10,10,0.6);
  color: var(--gold-soft);
  font-size: 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s;
  opacity: 0;
}
.photo-tile:hover .photo-delete { opacity: 1; }
.photo-delete:hover { background: #B23838; border-color: #B23838; color: #fff; }

/* Outings grid */
.outing-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.outing-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.25s;
  box-shadow: var(--shadow);
}
.outing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10,10,10,0.12);
  border-color: var(--gold-soft);
}
.outing-cover {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--ink) 0%, var(--gold-deep) 100%);
  overflow: hidden;
}
.outing-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.outing-cover-empty {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; color: rgba(212,185,140,0.4);
}
.outing-cat {
  position: absolute; top: 10px; left: 10px;
  background: rgba(10,10,10,0.78);
  color: var(--gold-soft);
  font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid rgba(184,149,104,0.4);
  font-weight: 500;
}
.outing-status {
  position: absolute; top: 10px; right: 10px;
  background: rgba(10,10,10,0.78);
  color: #E89090;
  font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid rgba(232,144,144,0.4);
}
.outing-status.status-pending { color: var(--gold); border-color: var(--gold); }
.outing-status.status-published { color: #9FCF9F; border-color: rgba(159,207,159,0.5); }
.outing-status.status-refused { color: #E89090; border-color: rgba(232,144,144,0.5); }
.outing-status.status-draft { color: #B0AC9F; }

.outing-body { padding: 18px 20px; }
.outing-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  color: var(--black);
  margin: 0 0 6px;
  line-height: 1.3;
}
.outing-loc {
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.outing-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.outing-author { color: var(--gold-deep); font-weight: 500; }

/* Outing detail : grille photos plus large */
.outing-photo-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 18px; }
.outing-photo-grid .photo-tile { aspect-ratio: 3/2; }
.outing-photo-grid .photo-tile img { transition: transform 0.5s; }
.outing-photo-grid .photo-tile:hover img { transform: scale(1.03); }

/* Notice modération sur le formulaire */
.moderation-notice {
  background: var(--ivory-warm);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-top: 14px;
}
.moderation-notice strong { color: var(--gold-deep); }

/* Status pill (sur sortie.php hero) */
.status-pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 500;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  background: transparent;
}
.status-pill.status-refused { border-color: #B23838; color: #B23838; }

/* Outing form spacing */
.outing-form { padding: 28px; }
.outing-form input[type=file] {
  border: 1px dashed var(--line);
  padding: 14px;
  width: 100%;
  background: var(--ivory-warm);
  font-family: var(--font-body);
  font-size: 13px;
  border-radius: 2px;
  cursor: pointer;
}
.outing-form input[type=file]:hover { border-color: var(--gold); }

/* ============================================================
   RESPONSIVE — Tablet (< 1080px) + Mobile (< 600px)
============================================================ */

/* Tablet : 3 colonnes → 1 colonne, ordre : centre → IA → discussions */
@media (max-width: 1079px) {
  .dash-3col { grid-template-columns: 1fr; gap: 16px; }
  .dash-center { order: 1; }
  .ia-panel     { order: 2; }
  .discussions-panel { order: 3; }
  .ia-panel, .discussions-panel { position: static; }
  .container { padding: 24px 20px 40px; }
  .hero-display { font-size: 36px; }
  .hero-cover { padding: 36px 28px 30px; }
}

/* Tablet topbar : nav passe sur 2 lignes */
@media (max-width: 900px) {
  .topbar { padding: 12px 16px; flex-wrap: wrap; gap: 10px; row-gap: 10px; }
  .nav-main {
    order: 3; width: 100%;
    flex-wrap: wrap; justify-content: flex-start; gap: 2px;
    border-top: 1px solid rgba(184,149,104,0.18);
    padding-top: 10px; margin-top: 2px;
  }
  .nav-main a {
    padding: 6px 10px; font-size: 11px; letter-spacing: 0.08em;
  }
  .nav-main a.active::after { display: none; }
  .nav-main a.active { background: rgba(184,149,104,0.10); border-radius: 2px; }
}

/* Mobile : layout encore plus condensé */
@media (max-width: 600px) {
  .container { padding: 18px 14px 32px; }

  /* Hero cover */
  .hero-cover { padding: 28px 20px 24px; border-radius: 10px; }
  .hero-display { font-size: 28px; }
  .hero-overline { font-size: 10px; letter-spacing: 0.22em; margin-bottom: 14px; }
  .hero-lede { font-size: 14px; margin-bottom: 20px; }
  .hero-actions { gap: 10px; flex-direction: column; }
  .hero-actions .btn-premium { width: 100%; }
  .hero-sumline { flex-direction: column; gap: 6px; padding-top: 16px; text-align: center; font-size: 12.5px; }
  .hero-sumline .dot-sep { display: none; }

  /* IA Panel */
  .ia-panel { padding: 18px 16px; }
  .ia-head h2 { font-size: 22px; }
  .ia-avatar { width: 48px; height: 48px; font-size: 22px; }
  .ia-bubble { font-size: 13.5px; padding: 14px 16px; }
  .ia-suggestions a { padding: 12px; font-size: 13px; }

  /* Discussions */
  .discussions-panel { padding: 18px 16px; }
  .disc-head h2 { font-size: 17px; }
  .disc-card { grid-template-columns: 36px 1fr; gap: 10px; padding: 10px 6px; }
  .disc-thumb { width: 36px; height: 36px; }

  /* Cards génériques */
  .card { padding: 18px 16px; border-radius: 10px; }

  /* Activité */
  .activity-card { padding: 18px 16px; }
  .activity-row { grid-template-columns: 32px 1fr auto; gap: 10px; padding: 10px 4px; }
  .ar-icon { width: 32px; height: 32px; font-size: 12px; }
  .ar-title { font-size: 14px; }
  .ar-loc { font-size: 11.5px; }
  .ar-meta { font-size: 10.5px; }

  /* Trust strip */
  .trust-strip { padding: 14px 16px; border-radius: 10px; }
  .trust-checks { gap: 10px; flex-direction: column; align-items: flex-start; width: 100%; }
  .trust-mantra { font-size: 13px; text-align: center; margin-top: 6px; }

  /* Topbar : on cache les boutons longs, on garde l'essentiel */
  .topbar { padding: 10px 14px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand-text small { display: none; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-hero-secondary { display: none; }
  .nav-actions .btn-hero-primary.btn-mini { padding: 7px 12px; font-size: 10px; }
  .theme-toggle { width: 32px; height: 32px; }

  /* Page titles plus petits */
  .page-title { font-size: 24px; }
  .page-subtitle { font-size: 13px; }
  .passeport-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .passeport-head-icon { width: 44px; height: 44px; font-size: 22px; }

  /* Moment hero */
  .moment-hero { padding: 28px 20px; }
  .moment-hero-title { font-size: 24px; }
  .moment-hero-loc { font-size: 11.5px; letter-spacing: 0.1em; }
  .moment-hero-meta { grid-template-columns: 1fr; gap: 12px; padding: 16px 0; }
  .mh-value { font-size: 15px; }

  /* Forms */
  .form-grid.two { grid-template-columns: 1fr; }
  .form-field input, .form-field textarea, .form-field select { font-size: 16px; /* iOS no-zoom */ }

  /* Photo inline form sur passeport.php */
  .photo-inline-row { grid-template-columns: 1fr; gap: 8px; }
  .photo-file-btn { justify-content: center; }

  /* Photo grid */
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .photo-title { font-size: 12px; }

  /* Outing grid */
  .outing-grid { grid-template-columns: 1fr; gap: 14px; }
  .outing-body { padding: 14px 16px; }
  .outing-title { font-size: 16px; }

  /* Boutons premium */
  .btn-premium { padding: 12px 20px; font-size: 11.5px; }

  /* Image de fond : reduire le voile pour mobile (visible mais lisible) */
  body.page-dashboard {
    background-attachment: scroll; /* fixed pose souci sur iOS Safari */
    background-position: center center;
  }
}

/* Très petit (< 380px) — micro-ajustements */
@media (max-width: 380px) {
  .nav-main a { padding: 5px 8px; font-size: 10.5px; }
  .brand-text { font-size: 14px; }
  .hero-display { font-size: 24px; }
  .moment-hero-title { font-size: 21px; }
}

/* Section photos inline dans passeport.php */
.photos-section { padding: 26px; margin-top: 22px; }
.photo-inline-form {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ivory-warm);
  margin-top: 14px;
}
.photo-inline-row {
  display: grid; gap: 10px;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
}
@media (max-width: 720px) {
  .photo-inline-row { grid-template-columns: 1fr; }
}
.photo-file-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--black); color: var(--gold);
  border: 1px solid var(--black);
  border-radius: 2px;
  padding: 11px 18px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.photo-file-btn:hover { background: var(--gold); color: var(--black); }
.photo-file-btn input[type=file] {
  position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px;
}
.photo-inline-row input[type=text],
.photo-inline-row select {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 12px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink);
}
.photo-inline-row input[type=text]:focus,
.photo-inline-row select:focus { border-color: var(--gold); outline: 0; }

/* Fond image horloge dorée sur le dashboard (page principale) */
body.page-dashboard {
  background-color: var(--ivory);
  background-image:
    linear-gradient(180deg, rgba(250,248,244,0.40) 0%, rgba(250,248,244,0.40) 100%),
    url('../img/bg-clock.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
/* Cartes plus opaques pour rester lisibles par-dessus l'image
   (NE PAS toucher au panneau IA qui reste noir/or) */
body.page-dashboard .card:not(.ia-panel),
body.page-dashboard .hero-cover,
body.page-dashboard .trust-strip {
  background: var(--white);
  box-shadow: 0 8px 32px rgba(10,10,10,0.18);
}
