:root {
  --cream: #FAF6EC;
  --sand: #F1E8D0;
  --stone: #C7B99B;
  --deep-green: #0E3D32;
  --soft-green: #2F6B55;
  --gold: #C99A3D;          /* Pour fonds/boutons (sur fond clair = OK pour décor) */
  --gold-dark: #A06F0D;     /* Pour TEXTES sur fond clair (contraste WCAG AA) */
  --gold-light: #E8C878;
  --gold-soft: #F1D9A2;
  --text: #1F2933;
  --muted: #5A6470;         /* Renforcé (avant #6B7280 — ratio insuffisant sur certains fonds) */
  --line: #E8DDC4;
  --white: #FFFFFF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
  background: var(--cream);
}
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}
/* Annule scrollbar-gutter qui pouvait pousser le contenu */
@supports (scrollbar-gutter: auto) {
  html { scrollbar-gutter: auto; }
}
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
  color: var(--deep-green);
  font-weight: 500;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* HEADER */
.site-header {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: min(1280px, calc(100% - 32px));
  height: 72px;
  padding: 0 24px;
  display: flex; align-items: center;
  justify-content: space-between;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  box-shadow: 0 18px 40px rgba(14, 61, 50, 0.08);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--deep-green);
  display: grid; place-items: center;
  color: var(--gold); font-size: 22px;
  font-family: 'Cormorant Garamond', serif;
}
.logo-text strong {
  display: block;
  color: var(--deep-green);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 18px;
  line-height: 1; letter-spacing: 0.01em;
}
.logo-text span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}
nav.main {
  display: flex; gap: 22px;
  font-size: 13px;
  color: var(--deep-green);
  font-weight: 500;
}
nav.main a { transition: color .2s; padding: 4px 0; position: relative; }
nav.main a:hover { color: var(--gold); }
nav.main a.active { color: var(--gold); }
nav.main a.active::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--gold);
  border-radius: 2px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: all .25s ease;
  gap: 8px; cursor: pointer; border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--deep-green); box-shadow: 0 8px 20px rgba(201, 154, 61, 0.25); }
.btn-gold:hover { background: var(--gold-light); color: var(--deep-green); transform: translateY(-1px); box-shadow: 0 12px 24px rgba(201, 154, 61, 0.32); }
.btn-green { background: var(--deep-green); color: var(--white); }
.btn-green:hover { background: var(--soft-green); transform: translateY(-1px); }
.btn-light { background: rgba(255,255,255,.92); color: var(--deep-green); border-color: rgba(14,61,50,.12); }
.btn-light:hover { background: white; }
.btn-outline { border-color: var(--gold); color: var(--deep-green); }
.btn-outline:hover { background: var(--gold); color: white; }
.btn-arrow::after { content: '→'; font-size: 16px; transition: transform .25s; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex; align-items: center;
  overflow: hidden;
  background-color: var(--deep-green);
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  background-image: url('assets/images/hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Si l'index utilise <img class="hero-img"> à la place du div */
.hero-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center 35% !important;
  z-index: 0;
  display: block;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(250,246,236,0.95) 0%, rgba(250,246,236,0.65) 35%, rgba(250,246,236,0.15) 70%, rgba(250,246,236,0) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 140px 16px 80px;
}
.eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;
  margin-bottom: 18px;
}
.eyebrow.eyebrow-ivory { color: var(--gold-light); }
.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  max-width: 720px;
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero p {
  max-width: 480px;
  font-size: 17px;
  color: #2d3940;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* TRUST BAR */
.trust-bar {
  width: min(1280px, calc(100% - 32px));
  margin: -56px auto 90px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(14, 61, 50, 0.10);
  overflow: hidden;
}
.trust-bar-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .trust-bar-5 { grid-template-columns: repeat(3, 1fr); } }
.trust-bar article {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.trust-bar article:last-child { border-right: none; }
.trust-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  color: var(--gold); margin-bottom: 12px;
  font-size: 22px;
}
.trust-bar h3 { font-size: 18px; margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--deep-green); letter-spacing: -0.01em; }
.trust-bar p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* TRIPS */
.trips-section {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.trips-side { padding-top: 12px; }
.trips-side .small {
  font-size: 11px; color: var(--gold-dark);
  letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 14px;
}
.trips-side h2 {
  font-size: clamp(40px, 4vw, 56px);
  margin-bottom: 18px;
}
.trips-side .divider {
  width: 48px; height: 2px;
  background: var(--gold);
  margin-bottom: 28px;
}
.trips-side .voir-tous {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--deep-green);
  border-radius: 999px;
  color: var(--deep-green);
  font-weight: 600; font-size: 13px;
  transition: all .25s;
}
.trips-side .voir-tous:hover { background: var(--deep-green); color: white; }

.trip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.trip-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(14, 61, 50, 0.08);
  display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.trip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(14, 61, 50, 0.14);
}
.trip-image {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}
.trip-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.15) 100%);
}
.trip-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gold);
  color: white;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 2;
}
.trip-tag.green { background: var(--deep-green); }
.trip-tag.full { background: rgba(255,255,255,0.95); color: var(--deep-green); }
.trip-body { padding: 22px 20px; flex: 1; display: flex; flex-direction: column; }
.trip-body h3 {
  font-size: 24px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.trip-meta {
  display: flex; gap: 14px;
  font-size: 12px; color: var(--muted);
  margin-bottom: 16px;
}
.trip-meta span { display: inline-flex; align-items: center; gap: 4px; }
.trip-price {
  font-size: 13px; color: var(--muted);
  margin-bottom: 4px;
  margin-top: auto;
}
.trip-price strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; color: var(--deep-green);
  font-weight: 600; margin-left: 4px;
  letter-spacing: -0.01em;
}
.trip-cta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  align-items: center;
}
.trip-cta a {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.trip-cta a:hover { color: var(--deep-green); }

/* PARCOURS */
.section-parcours {
  background: var(--cream);
  padding: 100px 16px;
}
.parcours-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}
.parcours-left .heading {
  margin-bottom: 48px;
}
.parcours-left h2 {
  font-size: clamp(36px, 4vw, 50px);
  margin-bottom: 14px;
}
.parcours-left .lede {
  color: var(--muted);
  font-size: 15px;
}
.steps-line {
  display: flex; gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 140px;
  text-align: center;
  position: relative;
}
.step-icon {
  width: 76px; height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 32px;
  background: white;
  border: 1.5px solid var(--line);
  transition: all .3s;
}
.step-1 .step-icon { background: #E8F0E5; }
.step-2 .step-icon { background: #F1E8D0; }
.step-3 .step-icon { background: #FAF6EC; }
.step-4 .step-icon { background: #F1E8D0; }
.step-5 .step-icon { background: var(--deep-green); color: var(--gold-light); border-color: var(--deep-green); }
.step-num {
  font-size: 11px; color: var(--gold-dark);
  font-weight: 700; letter-spacing: 0.1em;
  display: block; margin-bottom: 6px;
}
.step h3, .step h4 {
  font-size: 16px;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--deep-green);
}
.step p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.pilgrim-card {
  background: var(--deep-green);
  border-radius: 22px;
  padding: 32px 28px;
  color: white;
  position: relative;
  overflow: hidden;
}
.pilgrim-card::before {
  content: ''; position: absolute;
  inset: 0;
  background-image: url('assets/images/vitrine/medine-dome-2.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
}
.pilgrim-card > * { position: relative; z-index: 1; }
.pilgrim-card h3 {
  color: white;
  font-size: 28px;
  margin-bottom: 10px;
}
.pilgrim-card p {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin-bottom: 22px;
  line-height: 1.6;
}
.pilgrim-card .btn-pilgrim {
  background: rgba(255,255,255,0.95);
  color: var(--deep-green);
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
}
.pilgrim-features {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.pilgrim-features div {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 8px;
}
.pilgrim-features div::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold);
  flex-shrink: 0;
}

/* STATS + TESTIMONIAL */
.section-witness {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: 320px 1fr 280px;
  gap: 24px;
  align-items: stretch;
}
.stats-card {
  background: var(--deep-green);
  color: white;
  padding: 36px 28px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}
.stats-card::before {
  content: ''; position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,154,61,0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
}
.stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  color: var(--gold-light);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat .lab {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.testimonial {
  background: white;
  border-radius: 22px;
  padding: 32px 36px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(14,61,50,0.06);
}
.testimonial .quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 12px;
}
.testimonial blockquote {
  font-style: italic;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.testimonial cite {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.testimonial .voyage {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  font-weight: 400;
}
.witness-image {
  border-radius: 22px;
  background-image: url('assets/images/vitrine/kaaba-2.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 260px;
  overflow: hidden;
}
.witness-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(14,61,50,0.4) 100%);
}

/* CTA FINAL */
.cta-final {
  position: relative;
  padding: 80px 0;
  margin-bottom: 0;
  overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('assets/images/vitrine/ombrelles.webp');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.65);
}
.cta-final::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,61,50,0.55) 0%, rgba(14,61,50,0.2) 100%);
}
.cta-content {
  position: relative; z-index: 2;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-text .eyebrow { color: var(--gold-light); }
.cta-text h2 {
  color: white;
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 24px;
}
.cta-text .btn-cta {
  background: var(--gold);
  color: white;
  padding: 16px 30px;
}
.cta-cards {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cta-mini {
  display: flex; flex-direction: column;
  gap: 6px;
}
.cta-mini-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--gold); font-size: 20px;
  margin-bottom: 4px;
}
.cta-mini h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--deep-green);
}
.cta-mini p { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* FOOTER */
footer {
  background: var(--deep-green);
  color: white;
  padding: 60px 16px 28px;
}
.foot-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-brand .logo .logo-text strong { color: white; }
.foot-brand .logo .logo-text span { color: var(--gold-light); }
.foot-brand p {
  color: rgba(255,255,255,0.65);
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  max-width: 320px;
}
footer h5 {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  transition: color .2s;
}
footer ul a:hover { color: var(--gold-light); }
.foot-contact div {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-bottom: 8px;
}
.foot-contact a { color: rgba(255,255,255,0.7); }
.foot-contact a:hover { color: var(--gold-light); }
.foot-bottom {
  width: min(1280px, 100%);
  margin: 24px auto 0;
  display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  flex-wrap: wrap; gap: 8px;
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  nav.main { gap: 16px; font-size: 12px; }
  .logo-text span { display: none; }
}
@media (max-width: 1100px) {
  .trips-section { grid-template-columns: 1fr; gap: 32px; }
  .section-witness { grid-template-columns: 1fr; }
  .witness-image { min-height: 200px; }
  .parcours-grid { grid-template-columns: 1fr; }
  .pilgrim-card { max-width: 480px; }
}
@media (max-width: 900px) {
  nav.main { display: none; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-bar article:nth-child(2) { border-right: none; }
  .trust-bar article:nth-child(1), .trust-bar article:nth-child(2) { border-bottom: 1px solid var(--line); }
  .trip-grid { grid-template-columns: 1fr 1fr; }
  .cta-content { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps-line { gap: 12px; }
  .step-icon { width: 60px; height: 60px; font-size: 24px; }
}
@media (max-width: 640px) {
  .site-header { top: 12px; height: 60px; padding: 0 14px; }
  .logo-text strong { font-size: 14px; }
  .logo-text span { display: none; }
  .btn { padding: 10px 18px; font-size: 13px; }
  .hero-content { padding: 110px 16px 60px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 15px; }
  .trust-bar { grid-template-columns: 1fr; margin-top: -32px; }
  .trust-bar article { border-right: none; border-bottom: 1px solid var(--line); }
  .trust-bar article:last-child { border-bottom: none; }
  .trip-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pilgrim-features { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; }
}
/* ==================== ANNC BAR (avant le header) ==================== */
.annc-bar {
  background: var(--deep-green);
  color: white;
  text-align: center;
  padding: 9px 16px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  position: relative;
  z-index: 60;
}
.annc-bar span { color: var(--gold-light); margin: 0 10px; }

/* Quand annc-bar présent, repositionner le header juste en-dessous */
.annc-bar + .site-header { top: 50px; }

/* Quand admin-bar présent, on pousse le header pour ne pas qu'il soit caché */
body:has(.annc-bar):has(.admin-bar) .site-header { top: 100px; }
body:has(.admin-bar):not(:has(.annc-bar)) .site-header { top: 60px; }

/* Sur les sous-pages avec page-header, ajoute du padding-top quand admin connecté */
body:has(.admin-bar) .hero-content { padding-top: 180px; }
body:has(.admin-bar) .page-header { padding-top: 180px; }

/* ==================== ADMIN BAR ==================== */
.admin-bar {
  background: #082821;
  color: white;
  padding: 10px 0;
  font-size: 12px;
  position: relative;
  z-index: 70;
}
.admin-bar-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: flex; gap: 24px; align-items: center;
  flex-wrap: wrap;
}
.admin-label {
  background: var(--gold);
  color: var(--deep-green);
  padding: 4px 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
}
.admin-bar a {
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}
.admin-bar a:hover, .admin-bar a.active { color: var(--gold-light); }
.admin-bar .admin-logout {
  margin-left: auto;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 11px;
}

/* ==================== PAGE HEADER (sous-pages) ==================== */
.page-header {
  position: relative;
  min-height: 50vh;
  padding: 140px 16px 60px;
  display: flex; align-items: center;
  overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(250,246,236,0.92) 0%, rgba(250,246,236,0.5) 60%, rgba(250,246,236,0) 100%);
}
.page-header-content {
  position: relative; z-index: 2;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  max-width: 800px;
  margin-bottom: 14px;
}
.page-header .lede {
  color: var(--text);
  font-size: 16px;
  max-width: 580px;
}

/* ==================== FILTER TABS ==================== */
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-tabs a {
  padding: 10px 22px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-green);
  font-weight: 600;
  transition: all .25s;
  background: white;
}
.filter-tabs a:hover { border-color: var(--gold); }
.filter-tabs a.active { background: var(--deep-green); color: white; border-color: var(--deep-green); }

/* ==================== TRIPS LIST PAGE (full-width grid) ==================== */
.trips-page {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 100px;
}
.trip-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty-state h3 { color: var(--deep-green); font-size: 28px; margin-bottom: 12px; }

/* ==================== VOYAGE DETAIL HERO ==================== */
.voyage-hero {
  position: relative;
  min-height: 65vh;
  padding: 140px 16px 60px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.voyage-hero .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.voyage-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,61,50,0.2) 0%, rgba(14,61,50,0.85) 100%);
}
.voyage-hero-content {
  position: relative; z-index: 2;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  color: white;
}
.voyage-hero-content .eyebrow { color: var(--gold-light); }
.voyage-hero h1 {
  color: white;
  font-size: clamp(40px, 5.5vw, 70px);
  max-width: 900px;
  margin-bottom: 14px;
}
.voyage-hero .lede {
  color: rgba(255,255,255,0.92);
  font-size: 17px;
  max-width: 620px;
  font-style: italic;
}
.voyage-hero-meta {
  display: flex; gap: 36px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.voyage-hero-meta div { color: rgba(255,255,255,0.85); font-size: 13px; }
.voyage-hero-meta strong {
  display: block;
  color: var(--gold-light);
  font-size: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ==================== SECTIONS GENERIQUES ==================== */
.section {
  padding: 90px 16px;
}
.section.bg-cream { background: var(--cream); }
.section.bg-white { background: white; }
.section.bg-sand { background: var(--sand); }
.section .container {
  width: min(1280px, 100%);
  margin: 0 auto;
}
.section .container.narrow { max-width: 980px; }
.section .container.tight { max-width: 720px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow { display: inline-block; }
.section-head h2 {
  font-size: clamp(34px, 4vw, 50px);
  margin-bottom: 12px;
}
.section-head .lede { color: var(--muted); max-width: 580px; margin: 0 auto; font-size: 15px; }

/* ==================== PACKS (formules) ==================== */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.pack-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 32px 26px;
  display: flex; flex-direction: column;
  position: relative;
  transition: all .35s;
}
.pack-card:hover { box-shadow: 0 22px 48px rgba(14,61,50,0.10); transform: translateY(-3px); }
.pack-card.featured { border-color: var(--gold); border-width: 2px; }
.pack-badge {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold); color: white;
  padding: 5px 16px; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; border-radius: 999px;
  white-space: nowrap;
}
.pack-card h3 { font-size: 26px; margin-bottom: 6px; }
.pack-tagline { color: var(--muted); font-style: italic; font-size: 13px; margin-bottom: 18px; }
.pack-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; color: var(--deep-green);
  margin-bottom: 4px; line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pack-price .currency { font-size: 22px; vertical-align: super; }
.pack-price .per { font-size: 13px; color: var(--muted); font-family: 'Inter', sans-serif; margin-left: 6px; font-weight: 400; }
.pack-acompte { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.pack-desc { color: var(--muted); font-size: 13px; margin-bottom: 22px; line-height: 1.6; }
.pack-inclus { list-style: none; padding: 0; margin-bottom: 26px; flex: 1; }
.pack-inclus li {
  padding: 9px 0 9px 26px;
  border-bottom: 1px solid var(--line);
  position: relative; font-size: 13px;
  color: var(--text);
}
.pack-inclus li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.pack-inclus li:last-child { border-bottom: none; }
.pack-cta { margin-top: auto; }
.btn-block { width: 100%; }
.price-on-demand { color: var(--muted); font-style: italic; font-size: 14px; margin-bottom: 22px; }

/* ==================== VOLS ==================== */
.vols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.vol-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.vol-type {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.vol-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.vol-info { text-align: center; }
.vol-info .airport {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; color: var(--deep-green);
  font-weight: 600;
}
.vol-info .city { font-size: 11px; color: var(--muted); margin-top: 2px; }
.vol-info .time { font-size: 13px; margin-top: 6px; font-weight: 500; color: var(--text); }
.vol-arrow { color: var(--gold); font-size: 22px; }
.vol-card .code {
  font-size: 11px; color: var(--muted);
  padding-top: 12px; border-top: 1px solid var(--line);
  letter-spacing: 0.05em;
}

/* ==================== HOTELS ==================== */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.hotel-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}
.hotel-card h3 { font-size: 22px; margin-bottom: 4px; }
.hotel-ville {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.stars { color: var(--gold); font-size: 13px; margin-bottom: 12px; }
.hotel-meta { font-size: 13px; color: var(--muted); }

/* ==================== PROGRAMME TIMELINE ==================== */
.programme-timeline {
  margin-top: 32px;
  position: relative;
  padding-left: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.programme-timeline::before {
  content: '';
  position: absolute;
  left: 16px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--gold);
}
.timeline-item { margin-bottom: 36px; position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
}
.timeline-day {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline-content h4 { font-size: 22px; margin-bottom: 4px; }
.timeline-content .lieu {
  color: var(--muted); font-size: 13px;
  margin-bottom: 8px; font-style: italic;
}
.timeline-content p { color: var(--text); font-size: 14px; line-height: 1.75; }

/* ==================== SUPPLEMENTS ==================== */
.supplements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.supplement-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.supplement-card h4 { font-size: 17px; margin-bottom: 4px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--deep-green); }
.supp-cat {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.supp-prix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; color: var(--deep-green);
  margin-top: 14px; font-weight: 600;
}
.supp-badge {
  display: inline-block;
  font-size: 10px;
  padding: 3px 8px;
  background: var(--gold); color: white;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700; border-radius: 999px;
  margin-left: 6px;
}

/* ==================== NON INCLUS ==================== */
.non-inclus-list {
  list-style: none;
  margin: 32px auto 0;
  max-width: 720px;
}
.non-inclus-list li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 14px;
}
.non-inclus-list li::before {
  content: '✗';
  position: absolute; left: 0;
  color: #c45a3d;
  font-weight: 700;
}
.prix-ind { color: var(--muted); font-size: 12px; margin-left: 8px; font-style: italic; }

/* ==================== CHAMBRES ==================== */
.chambres-list {
  margin: 32px auto 0;
  max-width: 800px;
}
.chambre-row {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap; gap: 12px;
}
.chambre-row h4 { font-size: 18px; margin-bottom: 2px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--deep-green); }
.chambre-row .sub { color: var(--muted); font-size: 13px; }
.chambre-prix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--gold);
  font-weight: 600;
}

/* ==================== FORMATION PREVIEW ==================== */
.formation-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.form-mod-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.form-cat {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.form-mod-card h4 { font-size: 17px; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--deep-green); }
.duree { color: var(--muted); font-size: 12px; }

/* ==================== FORMS ==================== */
.section-form { background: var(--cream); padding: 70px 16px; }
.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  margin-bottom: 22px;
}
.form-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; margin-bottom: 14px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--deep-green);
  font-weight: 700;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  background: white;
  border: 1.5px solid var(--line);
  color: var(--text);
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 10px;
  transition: all .2s;
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--cream);
}
.field textarea { min-height: 100px; resize: vertical; }

/* ==================== INSCRIPTION CHOICES ==================== */
.packs-choice { display: grid; gap: 12px; margin-top: 18px; }
.pack-radio { display: block; cursor: pointer; }
.pack-radio input { display: none; }
.pack-radio-content {
  background: white;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  transition: all .2s;
}
.pack-radio input:checked + .pack-radio-content {
  border-color: var(--gold);
  background: var(--cream);
}
.pack-radio-head {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 6px;
  flex-wrap: wrap; gap: 8px;
}
.pack-radio-head h4 { font-size: 18px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--deep-green); }
.pack-radio-prix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--gold);
  font-weight: 600;
}
.supps-choice { display: grid; gap: 10px; margin-top: 18px; }
.supp-checkbox { display: block; cursor: pointer; }
.supp-checkbox input { display: none; }
.supp-checkbox-content {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex; justify-content: space-between;
  align-items: center;
  transition: all .2s;
  flex-wrap: wrap; gap: 12px;
}
.supp-checkbox input:checked + .supp-checkbox-content {
  border-color: var(--gold); background: var(--cream);
}
.supp-checkbox-prix {
  color: var(--gold); font-weight: 600;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
}

/* PRIX RECAP */
.prix-recap {
  background: var(--deep-green);
  color: white;
  padding: 28px;
  border-radius: 18px;
  margin: 22px 0;
}
.recap-line {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  flex-wrap: wrap; gap: 8px;
}
.recap-line:last-of-type { border-bottom: none; }
.recap-total {
  display: flex; justify-content: space-between;
  align-items: center;
  padding-top: 16px; margin-top: 12px;
  border-top: 2px solid var(--gold);
  font-size: 16px;
  flex-wrap: wrap; gap: 8px;
}
.recap-total strong {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  font-size: 32px;
  font-weight: 600;
}
.cgu-check {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 16px 0;
  font-size: 13px; color: var(--muted);
}
.cgu-check input { margin-top: 4px; accent-color: var(--gold); }

/* SUCCESS CARD */
.success-card {
  text-align: center;
  background: white;
  padding: 56px 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  margin: 60px auto;
  max-width: 720px;
}
.success-icon {
  font-size: 48px;
  color: white;
  background: var(--soft-green);
  width: 80px; height: 80px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.success-card h2 { font-size: 32px; margin-bottom: 14px; }
.success-card .sub { color: var(--muted); margin-bottom: 22px; font-size: 15px; }
.success-card .ref-dossier {
  display: inline-block;
  background: var(--cream);
  padding: 10px 22px;
  border-radius: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--deep-green);
  margin: 12px 0 22px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==================== DASHBOARD PELERIN ==================== */
.dashboard-header {
  background: var(--deep-green);
  color: white;
  padding: 140px 16px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dashboard-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('assets/images/vitrine/medine-dome.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}
.dashboard-header > * { position: relative; z-index: 1; }
.dashboard-header .welcome {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
.dashboard-header h1 {
  color: white;
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 14px;
}
.dashboard-header .lede {
  color: rgba(255,255,255,0.85);
  max-width: 600px; margin: 0 auto;
  font-size: 14px;
}
.countdown {
  display: flex; gap: 16px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.cd-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(201,154,61,0.4);
  padding: 14px 22px;
  border-radius: 14px;
  min-width: 90px;
}
.cd-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; line-height: 1;
  color: white; font-weight: 600;
}
.cd-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 6px;
  font-weight: 600;
}
.cd-date {
  color: rgba(255,255,255,0.7);
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.voyage-summary {
  background: var(--cream);
  padding: 28px;
  border-left: 3px solid var(--gold);
  border-radius: 16px;
  max-width: 1100px;
  margin: 40px auto 48px;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.summary-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.summary-val {
  color: var(--deep-green);
  font-size: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  width: min(1280px, calc(100% - 32px));
  margin: -42px auto 56px;
  padding: 0 16px;
  position: relative; z-index: 2;
}
.dash-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  transition: all .3s;
  text-decoration: none;
  color: inherit;
}
.dash-card:hover {
  box-shadow: 0 22px 48px rgba(14,61,50,0.10);
  transform: translateY(-3px);
}
.dash-card-head {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 16px;
}
.dash-icon {
  font-size: 22px; color: var(--gold);
  width: 42px; height: 42px;
  background: var(--cream);
  border-radius: 50%;
  display: grid; place-items: center;
}
.dash-card h3 { font-size: 22px; margin-bottom: 8px; }
.dash-card p { color: var(--muted); font-size: 13px; margin-bottom: 16px; line-height: 1.6; }
.dash-link {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}
.progress-line {
  height: 6px;
  background: var(--line);
  margin: 14px 0 8px;
  overflow: hidden;
  border-radius: 999px;
}
.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
  transition: width .6s;
}

/* ==================== ALERTS ==================== */
.alert {
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 3px solid;
  font-size: 14px;
}
.alert.success { background: #e8f3ec; border-color: #15803D; color: #1a4a30; }
.alert.error { background: #fdebe7; border-color: #DC2626; color: #8b3a2a; }
.alert.warn { background: #fef5e0; border-color: #D97706; color: #8b6f1c; }
.alert.info { background: #e8eef5; border-color: #2563EB; color: #2d4a6a; }

/* ==================== ADMIN PAGES ==================== */
.admin-page { background: var(--cream); min-height: 100vh; }
.admin-content {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 80px;
}
.admin-content h1 { font-size: 36px; margin-bottom: 6px; }
.admin-content .subtitle { color: var(--muted); margin-bottom: 28px; font-size: 14px; }

.admin-toolbar {
  display: flex; gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.admin-toolbar form { display: flex; gap: 8px; flex: 1; min-width: 240px; flex-wrap: wrap; }
.admin-toolbar input, .admin-toolbar select {
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  background: white;
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
}
.admin-toolbar .toolbar-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.stat-card .stat-label-admin {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
}
.stat-card .stat-num-admin {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  color: var(--deep-green);
  font-weight: 600;
  line-height: 1;
}
.stat-card .stat-sub { font-size: 12px; color: var(--muted); margin-top: 6px; }

.admin-list { display: grid; gap: 10px; }
.admin-list-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex; align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.admin-list-thumb {
  width: 60px; height: 60px;
  border-radius: 12px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 24px;
  font-weight: 600;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.admin-list-body { flex: 1; min-width: 200px; }
.admin-list-body h3 { font-size: 18px; margin-bottom: 4px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--deep-green); }
.admin-list-body .meta {
  font-size: 12px; color: var(--muted);
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 6px;
}
.admin-list-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

.btn-sm { padding: 8px 16px; font-size: 12px; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  margin-left: 4px;
}
.badge.ouvert { background: #e8f3ec; color: #15803D; }
.badge.brouillon { background: var(--line); color: var(--muted); }
.badge.complet { background: #fef5e0; color: #8b6f1c; }
.badge.ferme { background: #fdebe7; color: #DC2626; }
.badge.archive { background: var(--line); color: var(--muted); }
.badge.featured { background: var(--gold); color: white; }

.admin-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-pill {
  font-size: 9px; padding: 2px 7px;
  background: var(--cream); color: var(--deep-green);
  border-radius: 999px; letter-spacing: 0.05em;
}

.admin-tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  overflow-x: auto;
}
.admin-tabs a {
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all .25s;
}
.admin-tabs a:hover { color: var(--deep-green); }
.admin-tabs a.active { color: var(--deep-green); border-bottom-color: var(--gold); }
.admin-tabs a.disabled { opacity: 0.4; pointer-events: none; }

.admin-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  margin-bottom: 22px;
}
.admin-section h3 { font-size: 22px; margin-bottom: 6px; }
.admin-section .section-desc { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.admin-section-head {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 20px;
  flex-wrap: wrap; gap: 12px;
}

.switch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.switch {
  display: flex; align-items: center;
  gap: 14px; padding: 14px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.switch input { display: none; }
.switch-track {
  width: 38px; height: 22px;
  background: var(--line);
  border-radius: 999px;
  position: relative;
  transition: background .25s;
  flex-shrink: 0;
}
.switch-track::before {
  content: ''; position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform .25s;
}
.switch input:checked + .switch-track { background: var(--gold); }
.switch input:checked + .switch-track::before { transform: translateX(16px); }
.switch-label { font-size: 13px; color: var(--text); font-weight: 500; }

.admin-mini-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.admin-mini-table th {
  text-align: left; padding: 12px 10px;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.admin-mini-table td {
  padding: 12px 10px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.admin-mini-table tr:last-child td { border-bottom: none; }

.danger-zone {
  background: #fef0ed;
  border: 1px solid #DC2626;
  border-radius: 14px;
  padding: 20px;
  margin-top: 32px;
}
.danger-zone h4 { color: #DC2626; font-size: 16px; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 700; }
.danger-zone p { color: #8b3a2a; font-size: 13px; margin-bottom: 14px; }
.btn-danger { background: #DC2626; color: white; border-color: #DC2626; }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }

/* ==================== AUTH PAGES ==================== */
.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
  background: var(--cream);
}
.auth-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 48px;
  max-width: 480px;
  width: 100%;
}
.auth-card .logo { margin-bottom: 28px; justify-content: center; }
.auth-card h1 { font-size: 30px; margin-bottom: 8px; text-align: center; }
.auth-card .auth-sub {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  margin-bottom: 26px;
}
.auth-links {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.auth-links a { color: var(--gold); }
.auth-links a:hover { color: var(--deep-green); }

/* ==================== HELPERS ==================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 24px; }
.mb-2 { margin-bottom: 24px; }

/* ==================== COMPAT page-header avec <img> direct ==================== */
.page-header > img:first-of-type {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-header .page-header-overlay { z-index: 1; }
.page-header .page-header-content { z-index: 2; }

/* Couleur eyebrow par défaut (or) déjà dans le base mais explicite pour le markup hérité */
.page-header .eyebrow,
.dashboard-header .eyebrow,
.voyage-hero .eyebrow { color: var(--gold-light); }

/* Page header foncé pour dashboard (overlay sombre quand on a une photo) */
.dashboard-header .eyebrow { color: var(--gold-light); }

/* Lede sur fond clair */
.page-header .lede { color: var(--text); }
.page-header.on-dark { color: white; }
.page-header.on-dark h1 { color: white; }
.page-header.on-dark .lede { color: rgba(255,255,255,0.85); }

/* Pour les pages auth/login qui utilisent .auth-page */
body.auth-page .logo { display: inline-flex; }

/* ==================== FIX FULL-WIDTH ==================== */
/* Force toutes les bandes pleine largeur \u00e0 r\u00e9ellement faire 100% sans gap */
.annc-bar, .admin-bar, .hero, .cta-final, .page-header, footer,
.section-witness {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.section-witness { width: min(1280px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.hero-bg, .hero-overlay,
.cta-final::before, .cta-final::after,
.page-header-bg, .page-header-overlay {
  width: 100%;
  left: 0; right: 0;
}

/* ==================== ADMIN V5 — composants ajout\u00e9s ==================== */
.admin-page-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px; margin-bottom: 28px;
}
.admin-page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-page-header h1 { margin-bottom: 4px; }
.admin-page-header .subtitle { margin-bottom: 0; }

.alert-stack { display: grid; gap: 8px; margin-bottom: 22px; }
.alert-strip {
  display: block; padding: 12px 18px;
  border-radius: 14px; font-size: 13px; font-weight: 500;
  border: 1px solid transparent; transition: transform .15s;
}
.alert-strip:hover { transform: translateX(2px); }
.alert-strip.alert-warning { background: #fef3e2; border-color: #f8d49a; color: #8a5a14; }
.alert-strip.alert-info    { background: #ebf3f0; border-color: #b8d6ca; color: #0E3D32; }
.alert-strip.alert-error   { background: #fdecec; border-color: #f5c0c0; color: #a01818; }

.admin-stats.stats-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .admin-stats.stats-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .admin-stats.stats-6 { grid-template-columns: repeat(2, 1fr); } }

.admin-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
@media (max-width: 980px) { .admin-grid-2 { grid-template-columns: 1fr; } }

.admin-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 980px) { .admin-grid-3 { grid-template-columns: 1fr; } }

.link-gold { color: var(--gold); font-size: 13px; font-weight: 500; }
.link-gold:hover { color: var(--gold-light); }

/* Taux de remplissage */
.remplissage-list { display: grid; gap: 14px; }
.remplissage-row {
  display: grid; grid-template-columns: 1fr 200px 50px;
  gap: 18px; align-items: center;
}
.remplissage-info { display: flex; flex-direction: column; gap: 2px; }
.remplissage-info strong { font-size: 14px; color: var(--deep-green); font-weight: 600; }
.remplissage-meta { font-size: 12px; color: var(--muted); }
.remplissage-bar {
  height: 8px; background: var(--line); border-radius: 999px; overflow: hidden;
}
.remplissage-fill { height: 100%; transition: width .3s; }
.remplissage-pct { font-size: 13px; font-weight: 600; color: var(--deep-green); text-align: right; }
@media (max-width: 640px) {
  .remplissage-row { grid-template-columns: 1fr; gap: 6px; }
  .remplissage-pct { text-align: left; }
}

/* Filtres compacts pour la liste p\u00e8lerins / voyages */
.filter-pills {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-pill {
  padding: 6px 14px; border-radius: 999px; font-size: 12px;
  background: white; border: 1px solid var(--line); color: var(--muted);
  font-weight: 500; cursor: pointer; transition: all .15s;
}
.filter-pill:hover { border-color: var(--gold); color: var(--deep-green); }
.filter-pill.active { background: var(--deep-green); color: white; border-color: var(--deep-green); }

/* Timeline pelerin */
.timeline { position: relative; padding-left: 28px; margin-top: 12px; }
.timeline::before {
  content: ''; position: absolute;
  top: 6px; bottom: 6px; left: 8px; width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative; padding: 0 0 22px 0;
}
.timeline-item::before {
  content: ''; position: absolute;
  left: -24px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px white, 0 0 0 4px var(--line);
}
.timeline-item.tl-success::before { background: #22a06b; }
.timeline-item.tl-danger::before  { background: #dc2626; }
.timeline-item.tl-info::before    { background: #0e3d32; }
.timeline-title {
  font-size: 14px; font-weight: 600;
  color: var(--deep-green); margin-bottom: 3px;
}
.timeline-date { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.timeline-desc { font-size: 13px; color: var(--text); margin-top: 4px; line-height: 1.55; }

/* Tableau LMS / formation */
.lms-modules { display: grid; gap: 14px; }
.lms-module {
  background: white; border: 1px solid var(--line);
  border-radius: 16px; padding: 22px;
}
.lms-module-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap;
}
.lms-module-title h3 { margin-bottom: 4px; }
.lms-module-meta { font-size: 12px; color: var(--muted); }
.lms-lecons { margin-top: 16px; display: grid; gap: 6px; }
.lms-lecon {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--cream);
  border-radius: 10px; font-size: 13px;
}
.lms-lecon.done { background: #ecf5ee; color: #0e3d32; }
.lms-lecon-icon { font-size: 14px; flex-shrink: 0; }
.lms-lecon-titre { flex: 1; }
.lms-lecon-duree { color: var(--muted); font-size: 11px; }

/* News list */
.news-list { display: grid; gap: 12px; }
.news-item {
  background: white; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px;
  display: grid; grid-template-columns: 1fr 200px;
  gap: 18px; align-items: start;
}
.news-item.unread { border-left: 4px solid var(--gold); }
.news-item h4 { font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--deep-green); margin-bottom: 6px; }
.news-meta { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.news-actions { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 640px) {
  .news-item { grid-template-columns: 1fr; }
  .news-actions { flex-direction: row; }
}

/* Decoupage form admin section header */
.admin-section-head h3 { margin: 0; }
.admin-section-head .badge { font-size: 11px; }

/* Stat-card cliquable */
.stat-card a { color: inherit; }

/* Liste des canaux Telegram */
.channels-list { display: grid; gap: 10px; margin-bottom: 18px; }
.channel-card {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; padding: 14px 16px;
  background: white; border: 1px solid var(--line); border-radius: 12px;
  flex-wrap: wrap;
}
.channel-card.broken { background: #fef0ed; border-color: #f5b8a8; }
.channel-info { flex: 1; min-width: 200px; }
.channel-name { font-weight: 600; font-size: 15px; color: var(--deep-green); margin-bottom: 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.channel-meta { font-size: 12px; color: var(--muted); }
.channel-meta code { background: var(--cream); padding: 2px 6px; border-radius: 4px; font-size: 11px; }
.channel-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.channel-edit-form { padding: 14px; background: white; border: 1px solid #f5b8a8; border-top: none; border-radius: 0 0 12px 12px; margin-top: -10px; }
.channel-edit-form input, .channel-edit-form select { font-size: 13px; padding: 8px 10px; }

/* File de messages Telegram */
.msg-queue-list { display: grid; gap: 12px; }
.msg-queue-item {
  background: white; border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 20px;
}
.msg-queue-head {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 14px;
  flex-wrap: wrap; margin-bottom: 12px;
}
.msg-queue-meta { font-size: 12px; color: var(--muted); margin-left: 8px; }
.msg-queue-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.msg-queue-body pre {
  background: var(--cream); padding: 12px 14px; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 13px;
  white-space: pre-wrap; word-break: break-word;
  color: var(--text); line-height: 1.55;
  max-height: 300px; overflow-y: auto;
  border: 1px solid var(--line);
}

/* === FIXES ACCESSIBILITÉ : contraste WCAG AA pour textes sur fond clair === */
/* Override automatique : si un <em>/<span> a inline color: var(--gold), le forcer en gold-dark */
em[style*="--gold"]:not([style*="gold-light"]):not([style*="gold-dark"]) { color: var(--gold-dark) !important; }
.trip-meta span { color: #4a5560; }      /* avant : --muted trop clair */
.trip-cta span { color: #4a5560 !important; }
.testimonial cite { color: var(--gold-dark); }
footer .footer-tagline,
footer .footer-tagline span { color: rgba(255,255,255,.85); }   /* footer fond sombre, déjà OK */
.lede { color: #4a5560; }
.eyebrow-ivory { color: var(--gold-light) !important; }         /* sur fonds sombres seulement */

