/* ============================================================
   BRINGATHING — Design System "Modern Trotter"
   Palette : crème · navy · corail · mimosa
   Typo    : Fraunces (display) · Plus Jakarta Sans (UI)
   ============================================================ */

:root {
  /* ── PALETTE ─────────────────────────────── */
  --bg:        #faf7f2;          /* crème, papier voyage */
  --surface:   #ffffff;          /* cartes */
  --surface-2: #f3eee5;          /* surface secondaire chaude */
  --ink:       #0a1f3d;          /* navy profond — texte/structure */
  --ink-2:     #1f2b46;          /* navy assoupli */
  --mute:      #6b7689;          /* gris bleuté — texte secondaire */
  --line:      #ece6da;          /* bordures chaudes */
  --line-2:    #e0d8c8;

  --brand:     #ff5c39;          /* corail vibrant — CTA principal */
  --brand-2:   #ff7656;
  --brand-50:  #ffe9e1;

  --accent:    #1a5fc4;          /* bleu cobalt — liens */
  --accent-2:  #2d77e5;
  --accent-50: #e0ecfc;

  --sun:       #f5cb45;          /* jaune mimosa — highlights, pourboires */
  --sun-50:    #fdf3cd;

  --success:   #06a77d;
  --success-50:#d5f0e6;

  --danger:    #e23636;
  --danger-50: #fde0e0;

  /* ── TOKENS ──────────────────────────────── */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(10, 31, 61, 0.04), 0 1px 3px rgba(10, 31, 61, 0.06);
  --sh-md: 0 4px 14px rgba(10, 31, 61, 0.06), 0 2px 4px rgba(10, 31, 61, 0.04);
  --sh-lg: 0 18px 40px rgba(10, 31, 61, 0.08), 0 4px 8px rgba(10, 31, 61, 0.04);
  --sh-xl: 0 30px 60px rgba(10, 31, 61, 0.14);

  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 76px;
  --container-w: 1200px;

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-ui:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── RESET ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(at 8% 0%,   rgba(255, 92, 57, 0.05) 0%, transparent 45%),
    radial-gradient(at 95% 100%, rgba(26, 95, 196, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent-2); }
ul, ol { list-style: none; }
hr { border: none; border-top: 1px solid var(--line); }

/* Décor flous organiques (remplacent les nuages) */
.clouds { display: none; }

/* ── HEADER ─────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.logo:hover { transform: translateY(-1px); }
.logo-mark {
  flex-shrink: 0;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.05); }
.logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}

/* Search bar centrale dans le header */
.search-bar {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: left;
  box-shadow: var(--sh-sm);
  min-height: 44px;
}
.search-bar:hover { border-color: var(--ink); box-shadow: var(--sh-md); transform: translateY(-1px); }
.search-icon {
  font-size: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--surface);
  display: flex; align-items: center; justify-content: center;
  order: 2;
  margin-left: auto;
  flex-shrink: 0;
}
.search-q {
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}
.search-sep { color: var(--line-2); font-size: 14px; }
.search-where {
  font-size: 13px;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* Modal de recherche */
.search-modal-content { padding: 8px 4px; }
.search-tabs {
  display: flex; gap: 4px;
  background: var(--surface-2);
  padding: 4px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.search-tab {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px;
  color: var(--mute);
  text-align: center;
  cursor: pointer;
  transition: all var(--t-fast);
}
.search-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-sm);
}
.search-modal h2 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--ink);
}
.search-modal h2 em { font-style: italic; color: var(--brand); }
.search-modal-grid { display: grid; gap: 14px; margin-bottom: 22px; }
.search-modal-grid .form-row { gap: 12px; }
.search-modal .btn-lg { padding: 16px 32px; font-size: 16px; }
.search-modal-hint {
  font-size: 12px; color: var(--mute);
  text-align: center;
  margin-top: 14px;
}

.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.lang-switcher {
  display: flex; gap: 2px;
  background: var(--surface-2);
  border-radius: var(--r-pill);
  padding: 3px;
  border: 1px solid var(--line);
}
.lang-btn {
  width: 28px; height: 28px;
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all var(--t-fast);
  filter: grayscale(0.5); opacity: 0.75;
}
.lang-btn:hover { filter: none; opacity: 1; }
.lang-btn.active { background: var(--surface); filter: none; opacity: 1; box-shadow: var(--sh-sm); }

.account-link {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600; font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all var(--t-fast);
}
.account-link:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.account-avatar { font-size: 20px; }

.burger {
  display: none; flex-direction: column; gap: 4px;
  padding: 10px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface);
}
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--t-base); }

.mobile-menu {
  display: none;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--surface);
  flex-direction: column;
  padding: 16px 24px;
  box-shadow: var(--sh-lg);
  border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--ink); padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── MAIN LAYOUT ───────────────────── */
.app-main {
  position: relative; z-index: 1;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 36px 24px 80px;
  min-height: calc(100vh - var(--header-h) - 200px);
}

/* ── BREADCRUMB ─────────────────────── */
.breadcrumb {
  font-size: 13px; color: var(--mute);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--mute); font-weight: 500; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: var(--line-2); }
.breadcrumb-current { color: var(--ink); font-weight: 600; }

/* ── BUTTONS ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px;
  font-family: var(--font-ui);
  transition: all var(--t-fast);
  text-align: center; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  border: none;
  letter-spacing: -0.005em;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary    { background: var(--ink); color: var(--surface); }
.btn-primary:hover    { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--sh-md); color: var(--surface); }

.btn-cta-green  { background: var(--ink); color: var(--surface); }     /* Voyage = navy */
.btn-cta-green:hover  { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--sh-md); color: var(--surface); }

.btn-cta-coral  { background: var(--brand); color: var(--surface); }   /* Annonce = corail */
.btn-cta-coral:hover  { background: var(--brand-2); transform: translateY(-1px); box-shadow: var(--sh-md); color: var(--surface); }

.btn-secondary  { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover  { background: var(--ink); color: var(--surface); transform: translateY(-1px); }

.btn-danger     { background: var(--danger); color: var(--surface); }
.btn-danger:hover { background: #c81e1e; color: var(--surface); transform: translateY(-1px); }

.btn-ghost      { background: transparent; color: var(--ink); border: 1px solid transparent; }
.btn-ghost:hover { background: var(--surface-2); }

.btn-block      { width: 100%; }
.btn-sm         { padding: 8px 16px; font-size: 13px; }
.btn-lg         { padding: 15px 32px; font-size: 16px; }
.btn-icon       { font-size: 16px; line-height: 1; }

/* ── CARDS ─────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 28px;
  border: 1px solid var(--line);
}
.card-flat { box-shadow: none; }
.card-tight { padding: 18px; }

/* ── FORMS ────────────────────────── */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-weight: 600; font-size: 13px; color: var(--ink);
  letter-spacing: -0.01em;
}
.form-field label .req { color: var(--brand); margin-left: 2px; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 14px;
  transition: all var(--t-fast);
  font-family: inherit;
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--mute); opacity: 0.7; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px var(--accent-50);
}
.form-field .hint { font-size: 12px; color: var(--mute); }
.form-field .error { font-size: 12px; color: var(--danger); display: none; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--danger); }
.form-field.has-error .error { display: block; }

.input-with-suffix { display: flex; gap: 8px; }
.input-with-suffix input { flex: 1; }
.input-with-suffix select { flex: 0 0 90px; }

.checkbox-field {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--ink);
  cursor: pointer;
  padding: 6px 0;
}
.checkbox-field input { margin-top: 3px; accent-color: var(--brand); width: 16px; height: 16px; }

/* Stepper */
.stepper {
  display: flex; align-items: center; gap: 12px;
  margin: 8px 0 28px;
  flex-wrap: wrap;
}
.step {
  display: flex; align-items: center; gap: 10px;
  color: var(--mute); font-weight: 600;
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--line); color: var(--ink);
  font-size: 14px;
  font-family: var(--font-display);
}
.step.active { color: var(--ink); }
.step.active .step-num { background: var(--ink); color: var(--surface); box-shadow: 0 0 0 4px var(--accent-50); }
.step.done .step-num { background: var(--success); color: var(--surface); }
.step-sep { flex: 1; height: 2px; background: var(--line); border-radius: 1px; max-width: 60px; }

/* ── HERO ─────────────────────────── */
.hero {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  min-height: 380px;
}
.hero::before {
  content: '';
  position: absolute;
  right: -120px; top: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  opacity: 0.14;
  filter: blur(40px);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  left: -100px; bottom: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.12;
  filter: blur(40px);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.hero-title em {
  font-style: italic;
  color: var(--brand);
  font-weight: 900;
}
.hero-sub {
  font-size: 18px;
  margin-bottom: 32px;
  color: var(--mute);
  line-height: 1.55;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero visual — cartes flottantes */
.hero-visual {
  position: relative;
  height: 360px;
  z-index: 1;
}
.hero-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: 12px;
  min-width: 220px;
  animation: heroFloat 5.5s ease-in-out infinite;
}
.hero-card-1 { top: 14%;  left: 0;   animation-delay: 0s; transform: rotate(-2deg); }
.hero-card-2 { top: 42%;  right: 0;  animation-delay: 0.9s; transform: rotate(2deg); }
.hero-card-3 { bottom: 8%; left: 18%; animation-delay: 1.8s; transform: rotate(-1deg); }
.hero-card-emoji {
  font-size: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card-body { flex: 1; min-width: 0; }
.hero-card-route {
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.hero-card-arrow { color: var(--brand); font-weight: 800; }
.hero-card-label {
  font-size: 12px; color: var(--mute);
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: -0.005em;
}
.hero-card-tip {
  background: var(--sun-50);
  color: #946a00;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--sun);
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-10px) rotate(var(--rot, 0deg)); }
}
.hero-card-1 { --rot: -2deg; }
.hero-card-2 { --rot:  2deg; }
.hero-card-3 { --rot: -1deg; }

/* ── FAVORITES ❤️ ─────────────── */
.fav-btn {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--t-fast);
  z-index: 3;
  box-shadow: var(--sh-sm);
}
.fav-btn:hover { transform: scale(1.1); background: var(--surface); }
.fav-btn.is-fav { background: var(--brand-50); border-color: var(--brand); }

/* Card sélectionnée pour cart multi-prise */
.listing-card-selected {
  outline: 3px solid var(--brand);
  outline-offset: -3px;
  position: relative;
}
.listing-card-selected::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: var(--brand);
  color: var(--surface);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900;
  z-index: 5;
  box-shadow: var(--sh-lg);
  pointer-events: none;
}

/* Barre flottante cart */
.bulk-cart {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink); color: var(--surface);
  padding: 12px 18px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xl);
  display: flex; align-items: center; gap: 14px;
  z-index: 200;
  animation: cartIn 240ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cartIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.bulk-cart-count {
  background: var(--brand); color: var(--surface);
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.bulk-cart-label { font-size: 14px; }
.bulk-cart .btn { padding: 8px 16px; font-size: 13px; }
.bulk-cart .btn-ghost { color: var(--surface); }
.bulk-cart .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ── DESTINATIONS GRID ────────── */
.destinations-section {
  margin-bottom: 36px;
}
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.destination-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.destination-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-50) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.destination-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--sh-md);
  color: var(--ink);
}
.destination-card:hover::before { opacity: 1; }
.dest-flag { font-size: 38px; margin-bottom: 8px; position: relative; }
.dest-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  position: relative;
}
.dest-stats {
  display: flex; justify-content: center; gap: 14px;
  font-size: 12px; color: var(--mute);
  position: relative;
}
.dest-stats strong { color: var(--ink); font-weight: 700; }

/* ── SUGGESTION FILTERS (tri rapide voyageur) ──── */
.suggest-filters {
  display: flex; gap: 14px; align-items: end; flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}
.suggest-filter {
  display: flex; flex-direction: column; gap: 4px;
}
.suggest-filter label {
  font-size: 11px; font-weight: 700;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.suggest-filter select {
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border var(--t-fast);
}
.suggest-filter select:hover, .suggest-filter select:focus {
  outline: none;
  border-color: var(--ink);
}
.suggest-result-count {
  font-size: 13px;
  color: var(--mute);
  margin-left: auto;
  padding-bottom: 9px;
}

/* ── BADGE TOP TIP (🔥 pourboire généreux) ────── */
.badge-top-tip {
  position: absolute;
  top: 10px; left: 10px;
  background: linear-gradient(135deg, #ff5c39 0%, #ff8956 100%);
  color: var(--surface);
  padding: 5px 12px 5px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 8px rgba(255, 92, 57, 0.45);
  z-index: 2;
  animation: pulseTopTip 2.4s ease-in-out infinite;
}
@keyframes pulseTopTip {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
/* Quand on a un top tip, on masque le badge "Disponible" (redondant — le 🔥 implique active) */
.listing-card-hot .badge-status { display: none; }

/* ── CONFIRMATION PAGES ───── */
.confirm-hero {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 56px 40px;
  text-align: center;
  border: 1px solid var(--line);
  margin-bottom: 24px;
  position: relative; overflow: hidden;
}
.confirm-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  opacity: 0.14;
  filter: blur(40px);
  z-index: 0;
}
.confirm-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.12;
  filter: blur(40px);
  z-index: 0;
}
.confirm-hero-trip::before { background: radial-gradient(circle, var(--accent) 0%, transparent 70%); }
.confirm-hero-trip::after  { background: radial-gradient(circle, var(--brand) 0%, transparent 70%); }
.confirm-emoji {
  font-size: 64px;
  margin-bottom: 12px;
  position: relative; z-index: 1;
  animation: confettiBounce 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes confettiBounce {
  from { transform: scale(0.5) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.confirm-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.5vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.confirm-title em {
  font-style: italic; color: var(--brand); font-weight: 900;
}
.confirm-sub {
  font-size: 17px;
  color: var(--mute);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.55;
  position: relative; z-index: 1;
}
.confirm-sub strong { color: var(--ink); font-weight: 700; }
.confirm-actions {
  display: flex; gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}
@media (max-width: 640px) {
  .confirm-hero { padding: 40px 24px; }
  .confirm-emoji { font-size: 48px; }
  .confirm-actions { flex-direction: column; align-items: stretch; }
  .confirm-actions .btn { width: 100%; }
}

/* ── HOW IT WORKS (home) ───────── */
.how-section {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--line);
  margin-bottom: 36px;
}
.how-flow {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}
.how-node {
  flex: 1 1 0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  min-width: 0;
}
.how-circle {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 36px;
  margin-bottom: 14px;
  flex-shrink: 0;
  box-shadow: var(--sh-md);
  transition: transform var(--t-base);
}
.how-circle-1 { background: var(--accent); }     /* étapes 1, 3 */
.how-circle-2 { background: var(--ink); }        /* étapes 2, 4 */
.how-node:hover .how-circle { transform: scale(1.05) rotate(-3deg); }
.how-label {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  max-width: 180px;
}
.how-arrow {
  color: var(--brand);
  font-size: 20px;
  align-self: center;
  margin-top: 28px; /* aligné sur le centre du cercle */
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .how-section { padding: 22px; }
  .how-flow { flex-wrap: wrap; gap: 18px; }
  .how-node { flex: 1 1 calc(50% - 12px); }
  .how-circle { width: 64px; height: 64px; font-size: 28px; }
  .how-arrow { display: none; }
}

/* Aside header (titre + lien voir tout) */
.aside-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap; gap: 8px;
}
.aside-header .trips-aside-title { margin-bottom: 0; }

/* ── 3 PILIERS ────────────────────── */
.pillars {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 36px;
}
.pillar {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--ink); }
.pillar-icon {
  font-size: 32px; margin-bottom: 14px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-50);
  display: flex; align-items: center; justify-content: center;
}
.pillar:nth-child(2) .pillar-icon { background: var(--accent-50); }
.pillar:nth-child(3) .pillar-icon { background: var(--sun-50); }
.pillar h3 {
  color: var(--ink); font-size: 19px; margin-bottom: 8px;
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -0.01em;
}
.pillar p { font-size: 14px; color: var(--mute); margin-bottom: 18px; line-height: 1.5; }

/* ── SECTION BLOCKS ───────────────── */
.section-block {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--line);
  margin-bottom: 32px;
}
.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap; gap: 12px;
}
.section-title {
  font-size: 24px; color: var(--ink); font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 12px;
}
.section-title-icon { font-size: 24px; }
.section-link {
  font-size: 14px; color: var(--ink); font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  transition: all var(--t-fast);
}
.section-link:hover { color: var(--brand); gap: 8px; }

/* ── HOME LAYOUT ─────────────────── */
.home-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
}

/* ── LISTINGS GRID ───────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.listing-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  cursor: pointer;
  position: relative;
  display: flex; flex-direction: column;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--ink);
}

.listing-card .img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--surface-2), #ede4d2);
  overflow: hidden;
}
.listing-card img { width: 100%; height: 100%; object-fit: cover; }
.listing-card .img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; opacity: 0.4;
}

.listing-card .badge-status {
  position: absolute; top: 10px; left: 10px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.badge-active   { background: rgba(6, 167, 125, 0.92); color: white; }
.badge-taken    { background: rgba(245, 203, 69, 0.95); color: var(--ink); }
.badge-completed{ background: rgba(26, 95, 196, 0.92); color: white; }
.badge-expired  { background: rgba(107, 118, 137, 0.92); color: white; }

.listing-card .flag-pair {
  position: absolute; top: 10px; right: 10px;
  display: flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.95);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--sh-sm);
}

.listing-card .body {
  padding: 16px 18px 18px;
  display: flex; flex-direction: column;
  gap: 6px;
  flex: 1;
}
.listing-card .username {
  font-size: 11px; color: var(--mute); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.listing-card .title {
  font-size: 15px; color: var(--ink); font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
  min-height: 2.5em;
}
.listing-card .meta {
  font-size: 12px; color: var(--mute); margin-top: 2px;
}
.listing-card .prices {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  gap: 6px;
}
.listing-card .price {
  font-size: 10px; color: var(--mute); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.listing-card .price strong { color: var(--ink); font-size: 15px; display: block; font-weight: 700; }
.listing-card .tip strong   { color: var(--brand); }

/* ── TRIPS SIDEBAR ─────────────────── */
.trips-aside {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 22px;
  border: 1px solid var(--line);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
}
.trips-aside-title {
  font-size: 18px; color: var(--ink); font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}

.trip-card {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
}
.trip-card:hover { background: var(--surface); border-color: var(--ink); transform: translateX(2px); }
.trip-card-route {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--ink);
  font-size: 14px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.trip-card-arrow { color: var(--brand); }
.trip-card-pseudo { font-size: 11px; color: var(--mute); margin-bottom: 4px; font-weight: 600; }
.trip-card-dates  { font-size: 11px; color: var(--mute); }

/* Trip grid */
.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.trip-grid-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 22px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all var(--t-base);
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.trip-grid-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--ink); }
.trip-grid-route {
  font-size: 19px; font-weight: 600; color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.trip-grid-arrow { color: var(--brand); font-size: 22px; }
.trip-grid-meta {
  font-size: 13px; color: var(--mute);
  display: flex; gap: 14px; align-items: center;
  flex-wrap: wrap;
}

/* ── FILTERS BAR ───────────────── */
.filters-bar {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.filters-bar .form-field { gap: 4px; }
.filters-bar label { font-size: 12px; }
.filters-bar input, .filters-bar select { padding: 10px 14px; font-size: 14px; }

/* ── PAGE TITLES ──────────────── */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  line-height: 1.1;
}
.page-title em { font-style: italic; color: var(--brand); }
.page-title-secondary {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

/* ── FICHE DÉTAIL ──────────────── */
.fiche-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.fiche-photo {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.fiche-photo img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.fiche-photo-placeholder { font-size: 140px; opacity: 0.3; }

.fiche-info {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.fiche-info .label { color: var(--mute); font-size: 13px; font-weight: 500; }
.fiche-info .price-big {
  font-size: 32px; font-weight: 700; color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.fiche-info .tip-big {
  font-size: 24px; font-weight: 700; color: var(--brand);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.fiche-info .row { display: flex; justify-content: space-between; align-items: baseline; }

.fiche-locations {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 20px;
}
.fiche-location-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--line);
}
.fiche-location-header {
  background: var(--ink);
  color: var(--surface);
  font-weight: 600; padding: 10px 16px;
  border-radius: var(--r-md);
  margin: -24px -24px 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
}
.fiche-location-body {
  text-align: center; line-height: 1.7; color: var(--ink);
  padding: 8px 0;
}

.fiche-contact-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: var(--surface);
  border-radius: var(--r-lg);
  padding: 22px 28px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: var(--sh-md);
  margin-bottom: 20px;
}

/* ── USER PROFILE ─────────────── */
.profile-header {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 36px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  display: flex; gap: 28px; align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.profile-header::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--sun) 0%, transparent 70%);
  opacity: 0.18;
  filter: blur(30px);
}
.profile-avatar-big {
  width: 100px; height: 100px;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 58px;
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.profile-meta { flex: 1; position: relative; z-index: 1; }
.profile-name {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.profile-location { font-size: 14px; color: var(--mute); margin-bottom: 12px; }
.profile-stats { display: flex; gap: 24px; font-size: 14px; flex-wrap: wrap; }
.profile-stat strong {
  display: block; font-size: 22px; color: var(--ink); font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.profile-stat span   { color: var(--mute); font-size: 12px; }

/* Tabs */
.tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 14px 20px;
  font-weight: 600; font-size: 14px; color: var(--mute);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--t-fast);
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--brand); }
.tab-badge {
  background: var(--brand); color: var(--surface);
  font-size: 11px; padding: 2px 8px; border-radius: var(--r-pill);
  margin-left: 6px; font-weight: 700;
}

/* ── MESSAGES ─────────────────── */
.messages-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 70vh;
  min-height: 540px;
}
.conv-list {
  border-right: 1px solid var(--line);
  overflow-y: auto;
  background: var(--surface);
}
.conv-list-header {
  padding: 18px 20px;
  font-weight: 600; font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
  background: var(--surface);
  letter-spacing: -0.01em;
}
.conv-item {
  padding: 16px 18px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 12px;
  transition: background var(--t-fast);
}
.conv-item:hover { background: var(--surface-2); }
.conv-item.active { background: var(--brand-50); border-left: 3px solid var(--brand); padding-left: 15px; }
.conv-avatar { font-size: 36px; flex-shrink: 0; }
.conv-info { flex: 1; min-width: 0; }
.conv-name {
  font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 14px;
}
.conv-name span { font-size: 11px; color: var(--mute); font-weight: 400; }
.conv-listing {
  font-size: 12px; color: var(--mute);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-top: 2px;
}
.conv-preview {
  font-size: 13px; color: var(--ink); margin-top: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.conv-thread {
  display: flex; flex-direction: column;
  background: var(--bg);
}
.thread-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.thread-empty {
  flex: 1; display: flex; align-items: center; justify-content: center;
  color: var(--mute); font-style: italic;
  padding: 40px;
}
.thread-messages {
  flex: 1; overflow-y: auto; padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.msg {
  max-width: 72%;
  padding: 12px 16px;
  border-radius: var(--r-lg);
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}
.msg-mine { background: var(--ink); color: var(--surface); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-theirs { background: var(--surface); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; border: 1px solid var(--line); }
.msg-time { font-size: 10px; opacity: 0.65; margin-top: 4px; display: block; }
.msg-system {
  align-self: center; background: var(--sun-50); color: var(--ink);
  font-size: 12px; padding: 6px 14px; border-radius: var(--r-pill);
  font-weight: 600;
}

.thread-compose {
  display: flex; gap: 10px; padding: 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.thread-compose input {
  flex: 1; padding: 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px;
}
.thread-compose input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-50); }

/* ── STARS / RATING ─────────────── */
.stars { display: inline-flex; gap: 2px; color: var(--sun); }
.stars-empty { color: var(--line-2); }
.rating-pick { display: flex; gap: 4px; }
.rating-pick button { font-size: 32px; color: var(--line-2); transition: color var(--t-fast); }
.rating-pick button.on { color: var(--sun); }
.rating-pick button:hover { color: var(--sun); transform: scale(1.1); }

/* ── TOAST ─────────────────────── */
.toast-container {
  position: fixed; bottom: 20px; right: 20px; z-index: 1000;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--ink); color: var(--surface);
  padding: 14px 22px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  min-width: 260px; max-width: 420px;
  pointer-events: auto;
  animation: toast-in 0.3s ease-out, toast-out 0.3s ease-out 4.7s forwards;
  border-left: 4px solid var(--accent);
}
.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--sun); }
@keyframes toast-in {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes toast-out {
  to { transform: translateX(120%); opacity: 0; }
}

/* ── MODAL ─────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 31, 61, 0.55);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: backdrop-in var(--t-base);
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 32px;
  max-width: 520px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--sh-xl);
  animation: modal-in var(--t-base);
  border: 1px solid var(--line);
}
.modal-large { max-width: 760px; }
.modal-title {
  font-size: 24px; font-weight: 600; color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.modal-body { color: var(--ink); margin-bottom: 24px; line-height: 1.6; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in {
  from { transform: scale(0.94) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

/* ── AVATAR PICKER ─────────────── */
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 14px 0;
}
.avatar-option {
  aspect-ratio: 1;
  background: var(--surface-2);
  border-radius: 50%;
  font-size: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: all var(--t-fast);
}
.avatar-option:hover { background: var(--brand-50); }
.avatar-option.selected { background: var(--brand-50); border-color: var(--brand); transform: scale(1.05); }

/* ── EMPTY STATE ───────────────── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink);
}
.empty-state-icon { font-size: 64px; margin-bottom: 18px; opacity: 0.5; }
.empty-state-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.empty-state-text  { font-size: 14px; max-width: 440px; margin: 0 auto 22px; color: var(--mute); line-height: 1.5; }

/* ── LOADERS ───────────────────── */
.loader {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}
.loader-big { width: 40px; height: 40px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-center {
  display: flex; align-items: center; justify-content: center;
  padding: 80px 20px;
  color: var(--ink);
}

.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--line) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: skel 1.4s infinite;
  border-radius: var(--r-md);
}
@keyframes skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 280px; border-radius: var(--r-lg); }

/* ── BADGES & PILLS ────────────── */
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--surface-2); color: var(--ink);
}
.pill-cyan   { background: var(--accent-50); color: var(--accent); }
.pill-green  { background: var(--success-50); color: var(--success); }
.pill-coral  { background: var(--brand-50); color: var(--brand); }
.pill-amber  { background: var(--sun-50); color: #a67d00; }

/* ── ALERTS ───────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--r-md);
  margin-bottom: 18px;
  border-left: 4px solid var(--sun);
  background: var(--sun-50);
  color: var(--ink);
  font-size: 14px;
}
.alert-info    { border-left-color: var(--accent); background: var(--accent-50); }
.alert-success { border-left-color: var(--success); background: var(--success-50); }
.alert-danger  { border-left-color: var(--danger); background: var(--danger-50); }

/* ── FOOTER ───────────────────── */
.site-footer {
  position: relative; z-index: 1;
  background: var(--surface);
  color: var(--ink);
  padding: 56px 24px 32px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.footer-globe { display: none; }
.footer-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.footer-links {
  display: flex; justify-content: center; gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-links a { color: var(--mute); font-size: 14px; font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  text-align: center;
  margin-bottom: 14px;
}
.footer-tagline::before { content: '✶ '; color: var(--brand); }
.footer-tagline::after  { content: ' ✶'; color: var(--brand); }
.footer-copy { font-size: 12px; color: var(--mute); }

/* ── AUTH PAGES ───────────────── */
.auth-wrap {
  max-width: 480px;
  margin: 40px auto;
}
.auth-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
}
.auth-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.1;
}
.auth-title em { font-style: italic; color: var(--brand); }
.auth-sub {
  text-align: center; color: var(--mute);
  margin-bottom: 28px; font-size: 15px;
  line-height: 1.5;
}
.auth-switch {
  text-align: center; font-size: 14px;
  margin-top: 18px; color: var(--mute);
}
.auth-switch a { color: var(--ink); font-weight: 600; }

/* ── TRUST BADGES ─────────── */
.trust-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px 3px 6px;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  white-space: nowrap;
  vertical-align: middle;
}
.trust-icon { font-size: 12px; line-height: 1; }
.trust-badge.trust-0 { background: var(--surface-2); color: var(--mute); border-color: var(--line); }
.trust-badge.trust-1 { background: var(--accent-50); color: var(--accent); border-color: var(--accent); }
.trust-badge.trust-2 { background: var(--accent-50); color: var(--accent); border-color: var(--accent); }
.trust-badge.trust-2 .trust-icon::after { content: '🛡️'; }
.trust-badge.trust-3 { background: var(--success-50); color: var(--success); border-color: var(--success); }
.trust-badge.trust-3 .trust-icon::after { content: '🛡️🛡️'; }
.trust-badge.trust-4 { background: var(--sun-50); color: #946a00; border-color: var(--sun); }
.trust-badge.trust-4 .trust-icon { font-size: 14px; }
.trust-badge-compact { padding: 3px 7px; font-size: 10px; }

/* Trust ladder dans /mon-compte/verifications */
.trust-ladder { display: grid; gap: 10px; margin: 18px 0; }
.trust-step {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface-2);
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  transition: all var(--t-fast);
}
.trust-step.done { background: var(--success-50); border-color: var(--success); }
.trust-step.pending { background: var(--sun-50); border-color: var(--sun); }
.trust-step-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface); color: var(--mute);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.trust-step.done .trust-step-icon { background: var(--success); color: var(--surface); border-color: var(--success); }
.trust-step.pending .trust-step-icon { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.trust-step-body { flex: 1; min-width: 0; }
.trust-step-title {
  font-weight: 700; color: var(--ink);
  font-size: 14px; margin-bottom: 2px;
}
.trust-step-text { font-size: 13px; color: var(--mute); line-height: 1.4; }
.trust-step-cta { flex-shrink: 0; }

/* ── PASSWORD TOGGLE ────────── */
.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 44px; width: 100%; }
.pwd-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--mute);
  transition: all var(--t-fast);
}
.pwd-toggle:hover { background: var(--surface-2); color: var(--ink); }

/* ── ACCOUNT DROPDOWN ──────── */
.account-menu { position: relative; }
.account-link {
  position: relative;
}
.account-link .badge-dot {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--brand);
  color: var(--surface);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: var(--r-pill);
  padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--surface);
}
.account-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  min-width: 240px;
  padding: 8px;
  z-index: 200;
  animation: dropIn 180ms ease-out;
}
.account-dropdown[hidden] { display: none; }
.account-dropdown-header {
  padding: 12px 14px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.account-dropdown-header .who {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.account-dropdown-header .meta {
  font-size: 12px; color: var(--mute);
  margin-top: 2px;
}
.account-dropdown a, .account-dropdown button {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  color: var(--ink); font-weight: 500; font-size: 14px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background var(--t-fast);
  text-decoration: none;
}
.account-dropdown a:hover, .account-dropdown button:hover {
  background: var(--surface-2); color: var(--ink);
}
.account-dropdown .dd-icon {
  font-size: 16px;
  width: 22px; text-align: center;
}
.account-dropdown .dd-badge {
  background: var(--brand); color: var(--surface);
  font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: var(--r-pill);
  margin-left: auto;
}
.account-dropdown .dd-sep {
  height: 1px; background: var(--line);
  margin: 6px 8px;
}
.account-dropdown .dd-logout { color: var(--danger); }
.account-dropdown .dd-logout:hover { background: var(--danger-50); color: var(--danger); }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── ONBOARDING ────────────── */
.onboarding-modal {
  text-align: center;
}
.onboarding-step { display: none; }
.onboarding-step.active { display: block; }
.onboarding-emoji {
  font-size: 64px; margin-bottom: 12px;
}
.onboarding-h {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.1;
}
.onboarding-h em { font-style: italic; color: var(--brand); }
.onboarding-p {
  color: var(--mute); margin-bottom: 22px;
  font-size: 15px; line-height: 1.55;
}
.onboarding-dots {
  display: flex; justify-content: center; gap: 6px;
  margin: 18px 0 6px;
}
.onboarding-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line);
  transition: all var(--t-fast);
}
.onboarding-dot.active { background: var(--brand); width: 24px; border-radius: 4px; }

/* ── WISHLIST ─────────────── */
.print-only { display: none; }
.wishlist-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; flex-wrap: wrap; gap: 12px;
}
.wishlist-group { margin-bottom: 26px; }
.wishlist-country {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.wishlist-count {
  background: var(--brand-50); color: var(--brand);
  font-size: 13px; font-weight: 700;
  padding: 2px 10px; border-radius: var(--r-pill);
}
.wishlist-items { display: grid; gap: 10px; }
.wishlist-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.wishlist-item-done {
  background: var(--surface-2);
  border-left-color: var(--success);
}
.wishlist-check { font-size: 22px; line-height: 1; }
.wishlist-body { min-width: 0; }
.wishlist-title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px;
}
.wishlist-title a { color: var(--ink); }
.wishlist-title a:hover { color: var(--brand); }
.wishlist-cat { font-size: 16px; }
.wishlist-meta {
  font-size: 13px; color: var(--mute);
  margin-bottom: 4px;
}
.wishlist-desc {
  font-size: 13px; color: var(--ink);
  background: var(--surface-2);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  margin: 6px 0;
  font-style: italic;
}
.wishlist-prices {
  display: flex; gap: 14px;
  flex-shrink: 0;
}
.wishlist-prices .wishlist-price, .wishlist-prices .wishlist-tip {
  text-align: right;
}
.wishlist-prices span {
  display: block;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--mute);
}
.wishlist-prices strong {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--ink);
}
.wishlist-tip strong { color: var(--brand); }

@media (max-width: 640px) {
  .wishlist-item { grid-template-columns: auto 1fr; }
  .wishlist-prices { grid-column: 1 / -1; justify-content: space-between; }
}

/* Mode impression */
@media print {
  body { background: white !important; }
  .site-header, .site-footer, .tabs, .profile-header, .breadcrumb,
  .no-print, .wishlist-header, .btn,
  .toast-container, .modal-backdrop, .clouds, .account-dropdown { display: none !important; }
  .print-only { display: block !important; }
  .app-main { padding: 0; max-width: none; }
  .wishlist-print-header { margin-bottom: 20px; }
  .wishlist-print-header h1 {
    font-family: 'Georgia', serif;
    font-style: italic; font-weight: bold;
    font-size: 28px; margin-bottom: 4px;
    color: black;
  }
  .wishlist-print-header p { font-size: 12px; color: #666; }
  .wishlist-item {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    border-left: 4px solid #ff5c39 !important;
    page-break-inside: avoid;
  }
  .wishlist-item-done { border-left-color: #06a77d !important; opacity: 0.6; }
}

/* ── REPORT ZONE ──────────── */
.report-zone {
  margin-top: 28px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.report-zone-text { font-size: 13px; color: var(--mute); }
.btn-report-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--danger);
  background: transparent;
  color: var(--danger);
  font-weight: 600; font-size: 13px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--t-fast);
}
.btn-report-link:hover {
  background: var(--danger);
  color: var(--surface);
  transform: translateY(-1px);
}

/* ── HOWTO PAGE ───────────── */
.howto-personas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.persona-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.persona-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-50) 0%, transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}
.persona-traveler::before { background: linear-gradient(135deg, var(--accent-50) 0%, transparent 50%); }
.persona-icon {
  font-size: 48px; margin-bottom: 12px;
  position: relative;
}
.persona-card h2 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
  position: relative;
}
.persona-card > p {
  font-size: 15px; color: var(--ink);
  margin-bottom: 16px;
  position: relative;
}
.persona-steps {
  list-style: decimal; padding-left: 22px;
  margin-bottom: 22px;
  position: relative;
}
.persona-steps li {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 4px;
}
.persona-steps li::marker { color: var(--brand); font-weight: 700; }

.howto-section-title {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 48px 0 22px;
  text-align: center;
}

.howto-steps {
  display: grid; gap: 14px;
  max-width: 760px; margin: 0 auto 48px;
}
.howto-step {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 22px;
  border: 1px solid var(--line);
  display: flex; gap: 18px; align-items: flex-start;
  transition: transform var(--t-base);
}
.howto-step:hover { transform: translateX(4px); }
.howto-step-n {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink); color: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  flex-shrink: 0;
}
.howto-step-body { flex: 1; }
.howto-step-h {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.howto-step-p { font-size: 14px; color: var(--mute); line-height: 1.5; }

/* FAQ accordion */
.faq {
  max-width: 760px; margin: 0 auto 48px;
}
.faq-item {
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item:hover { border-color: var(--ink); }
.faq-item[open] { border-color: var(--brand); }
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600; color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--brand);
  font-weight: 600;
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px 18px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.6;
}

.howto-final-cta {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  margin-top: 32px;
  position: relative; overflow: hidden;
}
.howto-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, var(--brand-50) 0%, transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}
.howto-final-cta h2 {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
}

@media (max-width: 820px) {
  .howto-personas { grid-template-columns: 1fr; }
  .persona-card { padding: 24px; }
  .howto-section-title { font-size: 24px; margin: 36px 0 18px; }
  .howto-step { padding: 18px; gap: 14px; }
  .howto-step-n { width: 38px; height: 38px; font-size: 18px; }
  .howto-final-cta { padding: 36px 20px; }
  .howto-final-cta h2 { font-size: 26px; }
}

/* ── BLOG ─────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all var(--t-base);
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--ink); }
.article-cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--brand-50), var(--accent-50));
  overflow: hidden;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; opacity: 0.5;
}
.article-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 4px;
}
.article-excerpt {
  font-size: 14px; color: var(--mute);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  font-size: 12px; color: var(--mute);
  display: flex; gap: 8px; align-items: center;
  margin-top: auto;
  padding-top: 12px;
}

/* Article détail */
.article-detail {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 40px;
  border: 1px solid var(--line);
}
.article-detail-cover {
  width: calc(100% + 80px);
  margin: -40px -40px 28px;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.article-detail-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin: 14px 0 12px;
}
.article-detail-meta {
  font-size: 13px; color: var(--mute);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.article-detail-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.article-detail-body h1, .article-detail-body h2, .article-detail-body h3 {
  font-family: var(--font-display); letter-spacing: -0.02em;
  margin: 32px 0 12px;
}
.article-detail-body h1 { font-size: 32px; font-weight: 600; }
.article-detail-body h2 { font-size: 26px; font-weight: 600; }
.article-detail-body h3 { font-size: 20px; font-weight: 600; }
.article-detail-body p { margin-bottom: 16px; }
.article-detail-body a { color: var(--accent); text-decoration: underline; }
.article-detail-body strong { color: var(--ink); font-weight: 700; }
.article-detail-body em { color: var(--brand); font-style: italic; }
.article-detail-body ul, .article-detail-body ol { margin: 0 0 16px 22px; }
.article-detail-body li { margin-bottom: 6px; }
.article-detail-body blockquote {
  border-left: 3px solid var(--brand);
  padding: 8px 18px;
  margin: 20px 0;
  background: var(--brand-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--ink); font-style: italic;
}
.article-detail-body img {
  max-width: 100%;
  border-radius: var(--r-md);
  margin: 18px 0;
}
.article-detail-body code {
  background: var(--surface-2);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.9em;
  font-family: ui-monospace, Menlo, monospace;
}

/* ── ADMIN TABLE ─────────── */
.admin-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.admin-table th {
  text-align: left; padding: 12px 14px;
  font-weight: 600; color: var(--mute);
  border-bottom: 2px solid var(--line);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em;
}
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--surface-2); }

@media (max-width: 640px) {
  .article-detail { padding: 24px; }
  .article-detail-cover { width: calc(100% + 48px); margin: -24px -24px 20px; }
  .admin-table { font-size: 13px; }
  .admin-table th, .admin-table td { padding: 10px; }
}

/* ── 2-COL LAYOUTS ────────────── */
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 28px; }
.two-col-stack { display: flex; flex-direction: column; gap: 18px; }

/* ── RESPONSIVE ──────────────── */
@media (max-width: 1080px) {
  .home-layout { grid-template-columns: 1fr; }
  .trips-aside { position: static; max-height: none; }
}
@media (max-width: 760px) {
  .search-bar .search-where, .search-bar .search-sep { display: none; }
  .search-bar { padding-left: 14px; }
}
@media (max-width: 560px) {
  .search-bar .search-q { font-size: 13px; }
  .search-bar { max-width: 220px; }
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 48px 36px; }
  .hero-visual { display: none; }
  .hero-sub { max-width: none; }
}
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .fiche-grid { grid-template-columns: 1fr; }
  .fiche-locations { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .messages-layout { grid-template-columns: 1fr; height: auto; }
  .conv-list { max-height: 280px; }
  .filters-bar { grid-template-columns: 1fr 1fr; }
  .filters-bar > *:last-child { grid-column: 1 / -1; }
  .hero { padding: 44px 28px; }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 12px; gap: 6px; }
  .logo { font-size: 24px; }
  .account-label { display: none; }
  .lang-switcher { display: none; }
  .burger { display: flex; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .filters-bar { grid-template-columns: 1fr; }
  .hero { padding: 36px 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .listings-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .listing-card .body { padding: 12px; }
  .listing-card .title { font-size: 13px; }
  .page-title { font-size: 28px; }
  .modal { padding: 24px; }
  .profile-header { padding: 24px; gap: 18px; }
  .profile-avatar-big { width: 76px; height: 76px; font-size: 42px; }
  .app-main { padding: 22px 16px 60px; }
  .auth-card { padding: 28px 22px; }
  .auth-title { font-size: 26px; }
  .toast-container { left: 12px; right: 12px; bottom: 12px; align-items: stretch; }
  .toast { min-width: 0; max-width: 100%; }
  .account-dropdown { right: -8px; min-width: 220px; }
}

@media (max-width: 380px) {
  .listings-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0 8px; gap: 4px; }
  .logo-text::after { display: none; }
  .logo { font-size: 22px; }
  .account-link { padding: 6px 10px; font-size: 13px; }
  .account-avatar { font-size: 18px; }
  .hero { padding: 28px 18px; }
  .hero-title { font-size: 26px; }
  .app-main { padding: 16px 12px 40px; }
  .pillars { gap: 12px; }
  .pillar { padding: 20px; }
  .auth-card { padding: 22px 16px; }
}
