/**
 * prestio-complete.css
 * Prestio.club — VIP Membership — Montenegro
 * Adriatic / Mediterranean Design System
 *
 * Palette:
 *   --prestio-navy:    #1D2B57  (Deep Navy — primary brand)
 *   --prestio-slate:   #7D889E  (Blue Grey — secondary)
 *   --prestio-mist:    #a6a6a6  (Neutral Grey — accents)
 *   --prestio-white:   #FFFFFF
 *   --prestio-ivory:   #F7F8FB  (Background)
 *   --prestio-pearl:   #EEF0F6  (Cards / sections)
 *   --prestio-aqua:    #4A7FA5  (Adriatic highlight)
 *   --prestio-gold:    #B8976A  (Warm accent — VIP tier)
 *
 * Typography:
 *   Headings  : Kumbh Sans (700 / 600) — geometric, clean
 *   Body text : Fraunces (300 Light) — literary, Mediterranean warmth
 *   UI labels : Kumbh Sans (400 / 500)
 */

/* ═══════════════════════════════════════════════════════════
   GOOGLE FONTS IMPORT
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;1,9..144,300&family=Kumbh+Sans:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════ */
:root {
  --prestio-navy:        #1D2B57;
  --prestio-navy-dark:   #141e3e;
  --prestio-navy-light:  #253570;
  --prestio-slate:       #7D889E;
  --prestio-slate-light: #A8B3C5;
  --prestio-mist:        #a6a6a6;
  --prestio-mist-light:  #d0d0d0;
  --prestio-white:       #FFFFFF;
  --prestio-ivory:       #F7F8FB;
  --prestio-pearl:       #EEF0F6;
  --prestio-aqua:        #4A7FA5;
  --prestio-aqua-dark:   #365f7d;
  --prestio-gold:        #B8976A;
  --prestio-gold-light:  #D4B88A;

  --prestio-font-heading: 'Kumbh Sans', -apple-system, sans-serif;
  --prestio-font-body:    'Fraunces', Georgia, serif;
  --prestio-font-ui:      'Kumbh Sans', -apple-system, sans-serif;

  --prestio-shadow-sm:   0 2px 8px rgba(29, 43, 87, 0.08);
  --prestio-shadow-md:   0 4px 20px rgba(29, 43, 87, 0.12);
  --prestio-shadow-lg:   0 8px 40px rgba(29, 43, 87, 0.18);
  --prestio-shadow-card: 0 1px 3px rgba(29, 43, 87, 0.06), 0 4px 16px rgba(29, 43, 87, 0.10);

  --prestio-radius-sm:   6px;
  --prestio-radius-md:   12px;
  --prestio-radius-lg:   20px;
  --prestio-radius-xl:   32px;
  --prestio-radius-full: 9999px;

  --prestio-transition:  all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════
   BASE — applied via .prestio-active on body
   ═══════════════════════════════════════════════════════════ */
body.prestio-active {
  font-family: var(--prestio-font-body);
  font-weight: 300;
  color: var(--prestio-navy);
  background-color: var(--prestio-ivory);
  -webkit-font-smoothing: antialiased;
}

body.prestio-active h1,
body.prestio-active h2,
body.prestio-active h3,
body.prestio-active h4,
body.prestio-active h5,
body.prestio-active h6 {
  font-family: var(--prestio-font-heading);
  font-weight: 700;
  color: var(--prestio-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body.prestio-active p,
body.prestio-active li,
body.prestio-active td,
body.prestio-active label {
  font-family: var(--prestio-font-body);
  font-weight: 300;
  line-height: 1.75;
  color: var(--prestio-navy);
}

/* ═══════════════════════════════════════════════════════════
   PRESTIO WRAPPER SCOPE (safe from theme conflicts)
   ═══════════════════════════════════════════════════════════ */
.prestio-wrap * {
  box-sizing: border-box;
}

.prestio-wrap {
  font-family: var(--prestio-font-body);
  font-weight: 300;
  color: var(--prestio-navy);
  background-color: var(--prestio-ivory);
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION BAR
   ═══════════════════════════════════════════════════════════ */
.prestio-navbar {
  background: var(--prestio-white);
  border-bottom: 1px solid var(--prestio-pearl);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--prestio-shadow-sm);
}

.prestio-navbar__brand {
  font-family: var(--prestio-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--prestio-navy);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.prestio-navbar__brand span {
  color: var(--prestio-aqua);
}

.prestio-navbar__nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.prestio-navbar__nav a {
  font-family: var(--prestio-font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--prestio-slate);
  text-decoration: none;
  transition: var(--prestio-transition);
  letter-spacing: 0.02em;
}

.prestio-navbar__nav a:hover,
.prestio-navbar__nav a.active {
  color: var(--prestio-navy);
}

/* ═══════════════════════════════════════════════════════════
   HEADER — classes prestio-header-* (Prestio adaptation)
   À intégrer dans prestio-complete.css › section NAVIGATION BAR
   ═══════════════════════════════════════════════════════════ */

.prestio-header {
  background: var(--prestio-white);
  border-bottom: 1px solid var(--prestio-pearl);
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--prestio-shadow-sm);
}

.prestio-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* ── Logo ── */
.prestio-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.prestio-header-logo-mark {
  color: var(--prestio-gold);
  font-size: 1rem;
  line-height: 1;
}

.prestio-header-logo-name {
  font-family: var(--prestio-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--prestio-navy);
  letter-spacing: -0.03em;
  line-height: 1;
}

.prestio-header-logo-name em {
  font-style: normal;
  color: var(--prestio-aqua);
}

.prestio-header-logo-badge {
  display: inline-block;
  background: rgba(184, 151, 106, 0.12);
  border: 1px solid rgba(184, 151, 106, 0.35);
  color: var(--prestio-gold);
  font-family: var(--prestio-font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--prestio-radius-full);
}

/* ── Navigation centrale ── */
.prestio-header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.prestio-header-link {
  font-family: var(--prestio-font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--prestio-slate);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: var(--prestio-transition);
  position: relative;
  padding-bottom: 2px;
}

.prestio-header-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--prestio-aqua);
  border-radius: var(--prestio-radius-full);
  transition: width 0.25s ease;
}

.prestio-header-link:hover {
  color: var(--prestio-navy);
}

.prestio-header-link:hover::after,
.prestio-header-link.is-active::after {
  width: 100%;
}

.prestio-header-link.is-active {
  color: var(--prestio-navy);
  font-weight: 600;
}

/* ── Actions droite ── */
.prestio-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Bouton de base */
.prestio-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--prestio-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: var(--prestio-radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--prestio-transition);
  min-height: 38px;
  white-space: nowrap;
}

/* Gold — action primaire */
.prestio-header-btn--gold {
  background: var(--prestio-gold);
  color: var(--prestio-white);
  border-color: var(--prestio-gold);
  box-shadow: 0 2px 10px rgba(184, 151, 106, 0.22);
}

.prestio-header-btn--gold:hover {
  background: var(--prestio-gold-light);
  border-color: var(--prestio-gold-light);
  color: var(--prestio-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 151, 106, 0.30);
}

/* Ghost — action secondaire (déconnexion) */
.prestio-header-btn--ghost {
  background: transparent;
  color: var(--prestio-slate);
  border-color: var(--prestio-pearl);
}

.prestio-header-btn--ghost:hover {
  background: var(--prestio-pearl);
  color: var(--prestio-navy);
  border-color: var(--prestio-pearl);
}

/* Icône dans le bouton */
.prestio-header-btn-icon {
  font-size: 0.9rem;
  line-height: 1;
}

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

  .prestio-header-inner {
    padding: 0 1.25rem;
    gap: 1rem;
  }

  .prestio-header-btn {
    padding: 8px 14px;
    font-size: 10px;
  }

  .prestio-header-logo-name {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .prestio-header-btn--ghost {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.prestio-hero {
  background: linear-gradient(135deg, var(--prestio-navy) 0%, var(--prestio-navy-light) 60%, var(--prestio-aqua-dark) 100%);
  color: var(--prestio-white);
  padding: 7rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.prestio-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(74, 127, 165, 0.25) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234A7FA5' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.prestio-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.prestio-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74, 127, 165, 0.2);
  border: 1px solid rgba(74, 127, 165, 0.4);
  color: var(--prestio-slate-light);
  font-family: var(--prestio-font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--prestio-radius-full);
  margin-bottom: 1.5rem;
}

.prestio-hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--prestio-aqua);
  animation: prestio-pulse 2s infinite;
}

.prestio-hero__title {
  font-family: var(--prestio-font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--prestio-white);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.prestio-hero__title span {
  color: var(--prestio-aqua);
}

.prestio-hero__subtitle {
  font-family: var(--prestio-font-body);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--prestio-slate-light);
  max-width: 520px;
  line-height: 1.75;
  margin: 0 0 2.5rem;
}

.prestio-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.prestio-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 480px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

.prestio-hero__stat-value {
  font-family: var(--prestio-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--prestio-white);
}

.prestio-hero__stat-label {
  font-family: var(--prestio-font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--prestio-slate-light);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.prestio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--prestio-font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--prestio-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--prestio-transition);
  white-space: nowrap;
}

/* Primary — Navy solid */
.prestio-btn--primary {
  background: var(--prestio-navy);
  color: var(--prestio-white);
  border-color: var(--prestio-navy);
}

.prestio-btn--primary:hover {
  background: var(--prestio-navy-dark);
  border-color: var(--prestio-navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29, 43, 87, 0.35);
  color: var(--prestio-white);
  text-decoration: none;
}

/* Secondary — Outlined */
.prestio-btn--secondary {
  background: transparent;
  color: var(--prestio-navy);
  border-color: var(--prestio-navy);
}

.prestio-btn--secondary:hover {
  background: var(--prestio-navy);
  color: var(--prestio-white);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Ghost — White outline (for dark backgrounds) */
.prestio-btn--ghost {
  background: rgba(255,255,255,0.1);
  color: var(--prestio-white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}

.prestio-btn--ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
  color: var(--prestio-white);
  text-decoration: none;
}

/* Aqua accent */
.prestio-btn--aqua {
  background: var(--prestio-aqua);
  color: var(--prestio-white);
  border-color: var(--prestio-aqua);
}

.prestio-btn--aqua:hover {
  background: var(--prestio-aqua-dark);
  border-color: var(--prestio-aqua-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 127, 165, 0.35);
  color: var(--prestio-white);
  text-decoration: none;
}

.prestio-btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: var(--prestio-radius-lg);
}

.prestio-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */
.prestio-card {
  background: var(--prestio-white);
  border-radius: var(--prestio-radius-lg);
  box-shadow: var(--prestio-shadow-card);
  border: 1px solid var(--prestio-pearl);
  overflow: hidden;
  transition: var(--prestio-transition);
}

.prestio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--prestio-shadow-lg);
}

.prestio-card__header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--prestio-pearl);
}

.prestio-card__body {
  padding: 1.75rem;
}

.prestio-card__footer {
  padding: 1.25rem 1.75rem;
  background: var(--prestio-ivory);
  border-top: 1px solid var(--prestio-pearl);
}

/* ═══════════════════════════════════════════════════════════
   PRICING PLANS
   ═══════════════════════════════════════════════════════════ */
.prestio-plans {
  background: var(--prestio-ivory);
  padding: 5rem 2rem;
}

.prestio-plans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.prestio-plan-card {
  background: var(--prestio-white);
  border-radius: var(--prestio-radius-xl);
  border: 2px solid var(--prestio-pearl);
  padding: 2.5rem 2rem;
  transition: var(--prestio-transition);
  position: relative;
  overflow: hidden;
}

.prestio-plan-card:hover {
  border-color: var(--prestio-aqua);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(74, 127, 165, 0.15);
}

.prestio-plan-card--featured {
  background: var(--prestio-navy);
  border-color: var(--prestio-navy);
  color: var(--prestio-white);
  transform: scale(1.04);
}

.prestio-plan-card--featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 16px 50px rgba(29, 43, 87, 0.35);
}

.prestio-plan-card--featured .prestio-plan-card__price,
.prestio-plan-card--featured .prestio-plan-card__tier,
.prestio-plan-card--featured .prestio-plan-card__feature {
  color: var(--prestio-white);
}

.prestio-plan-card--featured .prestio-plan-card__period {
  color: var(--prestio-slate-light);
}

.prestio-plan-card__badge {
  position: absolute;
  top: -1px;
  right: 2rem;
  background: var(--prestio-gold);
  color: var(--prestio-white);
  font-family: var(--prestio-font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 0 0 var(--prestio-radius-sm) var(--prestio-radius-sm);
}

.prestio-plan-card__tier {
  font-family: var(--prestio-font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--prestio-aqua);
  margin-bottom: 0.75rem;
}

.prestio-plan-card__price {
  font-family: var(--prestio-font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--prestio-navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.prestio-plan-card__price sup {
  font-size: 1.2rem;
  vertical-align: super;
}

.prestio-plan-card__period {
  font-family: var(--prestio-font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--prestio-mist);
  margin-bottom: 1.5rem;
}

.prestio-plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.prestio-plan-card__feature {
  font-family: var(--prestio-font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--prestio-navy);
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.prestio-plan-card__feature::before {
  content: '✓';
  font-family: var(--prestio-font-ui);
  font-weight: 700;
  color: var(--prestio-aqua);
  flex-shrink: 0;
  margin-top: 0.05em;
}

.prestio-plan-card--featured .prestio-plan-card__feature::before {
  color: var(--prestio-gold-light);
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADINGS
   ═══════════════════════════════════════════════════════════ */
.prestio-section {
  padding: 5rem 2rem;
}

.prestio-section--dark {
  background: var(--prestio-navy);
  color: var(--prestio-white);
}

.prestio-section--pearl {
  background: var(--prestio-pearl);
}

.prestio-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.prestio-section__badge {
  display: inline-block;
  font-family: var(--prestio-font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--prestio-aqua);
  background: rgba(74, 127, 165, 0.1);
  border: 1px solid rgba(74, 127, 165, 0.25);
  padding: 0.35rem 1rem;
  border-radius: var(--prestio-radius-full);
  margin-bottom: 1rem;
}

.prestio-section--dark .prestio-section__badge {
  color: var(--prestio-aqua);
  background: rgba(74, 127, 165, 0.2);
  border-color: rgba(74, 127, 165, 0.35);
}

.prestio-section__title {
  font-family: var(--prestio-font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--prestio-navy);
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
}

.prestio-section--dark .prestio-section__title {
  color: var(--prestio-white);
}

.prestio-section__subtitle {
  font-family: var(--prestio-font-body);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--prestio-slate);
  line-height: 1.75;
}

.prestio-section--dark .prestio-section__subtitle {
  color: var(--prestio-slate-light);
}

/* ═══════════════════════════════════════════════════════════
   BENEFITS GRID
   ═══════════════════════════════════════════════════════════ */
.prestio-benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.prestio-benefit-card {
  background: var(--prestio-white);
  border-radius: var(--prestio-radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--prestio-pearl);
  transition: var(--prestio-transition);
}

.prestio-benefit-card:hover {
  border-color: var(--prestio-aqua);
  box-shadow: 0 6px 24px rgba(74, 127, 165, 0.12);
  transform: translateY(-2px);
}

.prestio-benefit-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(74, 127, 165, 0.1);
  border-radius: var(--prestio-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.prestio-benefit-card__title {
  font-family: var(--prestio-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--prestio-navy);
  margin: 0 0 0.5rem;
}

.prestio-benefit-card__text {
  font-family: var(--prestio-font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--prestio-slate);
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS — Steps
   ═══════════════════════════════════════════════════════════ */
.prestio-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.prestio-step {
  text-align: center;
  position: relative;
}

.prestio-step__num {
  font-family: var(--prestio-font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--prestio-pearl);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.prestio-step__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--prestio-aqua), var(--prestio-navy-light));
  border-radius: var(--prestio-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  box-shadow: 0 6px 20px rgba(74, 127, 165, 0.3);
}

.prestio-step__title {
  font-family: var(--prestio-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--prestio-navy);
  margin: 0 0 0.5rem;
}

.prestio-step__text {
  font-family: var(--prestio-font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--prestio-slate);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════ */
.prestio-form {
  font-family: var(--prestio-font-ui);
}

.prestio-form__group {
  margin-bottom: 1.25rem;
}

.prestio-form__label {
  display: block;
  font-family: var(--prestio-font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--prestio-slate);
  margin-bottom: 0.45rem;
}

.prestio-form__input,
.prestio-form__select,
.prestio-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--prestio-font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--prestio-navy);
  background: var(--prestio-white);
  border: 1.5px solid var(--prestio-mist-light);
  border-radius: var(--prestio-radius-md);
  transition: var(--prestio-transition);
  outline: none;
  appearance: none;
}

.prestio-form__input:focus,
.prestio-form__select:focus,
.prestio-form__textarea:focus {
  border-color: var(--prestio-aqua);
  box-shadow: 0 0 0 3px rgba(74, 127, 165, 0.12);
}

.prestio-form__input::placeholder {
  color: var(--prestio-mist);
  font-weight: 300;
}

.prestio-form__input.is-invalid {
  border-color: #e05252;
}

.prestio-form__error {
  font-family: var(--prestio-font-ui);
  font-size: 0.78rem;
  color: #e05252;
  margin-top: 0.3rem;
}

.prestio-form__hint {
  font-family: var(--prestio-font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--prestio-mist);
  margin-top: 0.3rem;
  font-style: italic;
}

/* Checkbox */
.prestio-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.prestio-form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--prestio-mist-light);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--prestio-aqua);
}

.prestio-form__checkbox span {
  font-family: var(--prestio-font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--prestio-slate);
  line-height: 1.5;
}

.prestio-form__checkbox span a {
  color: var(--prestio-aqua);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   MEMBER DASHBOARD
   ═══════════════════════════════════════════════════════════ */
.prestio-dashboard {
  background: var(--prestio-ivory);
  min-height: 100vh;
}

.prestio-dashboard__header {
  background: linear-gradient(135deg, var(--prestio-navy) 0%, var(--prestio-navy-light) 100%);
  color: var(--prestio-white);
  padding: 3rem 2rem 4rem;
}

.prestio-dashboard__header h1 {
  font-family: var(--prestio-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--prestio-white);
  margin: 0 0 0.5rem;
}

.prestio-dashboard__header p {
  font-family: var(--prestio-font-body);
  font-weight: 300;
  color: var(--prestio-slate-light);
  margin: 0;
}

.prestio-dashboard__content {
  max-width: 1100px;
  margin: -2rem auto 0;
  padding: 0 2rem 4rem;
  position: relative;
}

.prestio-dashboard__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .prestio-dashboard__grid {
    grid-template-columns: 1fr;
  }
}

/* VIP Card */
.prestio-vip-card {
  background: linear-gradient(135deg, var(--prestio-navy) 0%, var(--prestio-aqua-dark) 100%);
  border-radius: var(--prestio-radius-xl);
  padding: 2rem;
  color: var(--prestio-white);
  position: relative;
  overflow: hidden;
  min-height: 180px;
  box-shadow: var(--prestio-shadow-lg);
}

.prestio-vip-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(74, 127, 165, 0.2);
  border-radius: 50%;
}

.prestio-vip-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -20px;
  width: 220px;
  height: 220px;
  background: rgba(29, 43, 87, 0.3);
  border-radius: 50%;
}

.prestio-vip-card__logo {
  font-family: var(--prestio-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.prestio-vip-card__tier {
  font-family: var(--prestio-font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--prestio-gold-light);
  position: relative;
  z-index: 1;
  margin-top: 0.25rem;
}

.prestio-vip-card__number {
  font-family: var(--prestio-font-ui);
  font-size: 1rem;
  letter-spacing: 0.2em;
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   QR CODE DISPLAY
   ═══════════════════════════════════════════════════════════ */
.prestio-qr-wrap {
  text-align: center;
  padding: 2rem;
  background: var(--prestio-white);
  border-radius: var(--prestio-radius-xl);
  border: 2px solid var(--prestio-pearl);
  box-shadow: var(--prestio-shadow-sm);
}

.prestio-qr-wrap img,
.prestio-qr-wrap canvas {
  display: block;
  margin: 0 auto;
  border-radius: var(--prestio-radius-md);
  border: 8px solid var(--prestio-white);
  box-shadow: var(--prestio-shadow-md);
}

.prestio-qr-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--prestio-font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--prestio-slate);
  margin-top: 1rem;
}

.prestio-qr-countdown__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--prestio-aqua);
  animation: prestio-pulse 2s infinite;
}

/* ═══════════════════════════════════════════════════════════
   MERCHANT MAP & CARDS
   ═══════════════════════════════════════════════════════════ */
.prestio-map-wrap {
  border-radius: var(--prestio-radius-xl);
  overflow: hidden;
  box-shadow: var(--prestio-shadow-md);
  border: 2px solid var(--prestio-pearl);
}

.prestio-merchant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.prestio-merchant-card {
  background: var(--prestio-white);
  border-radius: var(--prestio-radius-lg);
  border: 1px solid var(--prestio-pearl);
  overflow: hidden;
  transition: var(--prestio-transition);
}

.prestio-merchant-card:hover {
  border-color: var(--prestio-aqua);
  box-shadow: 0 8px 28px rgba(74, 127, 165, 0.14);
  transform: translateY(-3px);
}

.prestio-merchant-card__photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.prestio-merchant-card__body {
  padding: 1.25rem 1.5rem;
}

.prestio-merchant-card__category {
  font-family: var(--prestio-font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prestio-aqua);
  margin-bottom: 0.4rem;
}

.prestio-merchant-card__name {
  font-family: var(--prestio-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--prestio-navy);
  margin: 0 0 0.5rem;
}

.prestio-merchant-card__address {
  font-family: var(--prestio-font-body);
  font-size: 0.825rem;
  font-weight: 300;
  color: var(--prestio-slate);
}

.prestio-merchant-card__city {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--prestio-font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--prestio-mist);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   ALERTS & MESSAGES
   ═══════════════════════════════════════════════════════════ */
.prestio-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--prestio-radius-md);
  font-family: var(--prestio-font-body);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.prestio-alert--success {
  background: rgba(74, 127, 165, 0.08);
  border: 1px solid rgba(74, 127, 165, 0.25);
  color: var(--prestio-aqua-dark);
}

.prestio-alert--error {
  background: rgba(224, 82, 82, 0.07);
  border: 1px solid rgba(224, 82, 82, 0.25);
  color: #c0392b;
}

.prestio-alert--info {
  background: rgba(29, 43, 87, 0.05);
  border: 1px solid rgba(29, 43, 87, 0.15);
  color: var(--prestio-navy);
}

.prestio-alert--warning {
  background: rgba(184, 151, 106, 0.1);
  border: 1px solid rgba(184, 151, 106, 0.3);
  color: #8a6a3a;
}

/* ═══════════════════════════════════════════════════════════
   BADGES / STATUS PILLS
   ═══════════════════════════════════════════════════════════ */
.prestio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--prestio-font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--prestio-radius-full);
}

.prestio-badge--active   { background: rgba(74, 127, 165, 0.12); color: var(--prestio-aqua-dark); }
.prestio-badge--pending  { background: rgba(184, 151, 106, 0.12); color: #8a6a3a; }
.prestio-badge--expired  { background: rgba(166, 166, 166, 0.15); color: #555; }
.prestio-badge--approved { background: rgba(74, 127, 165, 0.12); color: var(--prestio-aqua-dark); }
.prestio-badge--silver   { background: rgba(166, 166, 166, 0.12); color: #555; }
.prestio-badge--gold     { background: rgba(184, 151, 106, 0.15); color: #8a6a3a; }
.prestio-badge--platinum { background: rgba(29, 43, 87, 0.08); color: var(--prestio-navy); }

/* ═══════════════════════════════════════════════════════════
   TABLE (Admin + Member views)
   ═══════════════════════════════════════════════════════════ */
.prestio-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--prestio-font-ui);
  font-size: 0.875rem;
}

.prestio-table thead th {
  font-family: var(--prestio-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prestio-slate);
  background: var(--prestio-ivory);
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--prestio-pearl);
  white-space: nowrap;
}

.prestio-table tbody td {
  padding: 0.9rem 1rem;
  color: var(--prestio-navy);
  border-bottom: 1px solid var(--prestio-pearl);
  vertical-align: middle;
}

.prestio-table tbody tr:hover td {
  background: var(--prestio-ivory);
}

/* ═══════════════════════════════════════════════════════════
   LOGIN / REGISTER PAGE  — v2 (two-column, enriched)
   ═══════════════════════════════════════════════════════════ */
/* Wrapper pleine page */
.prestio-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background-color: var(--prestio-ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
}

/* Conteneur deux colonnes */
.prestio-auth__container {
  display: grid;
  grid-template-columns: 44% 1fr;
  max-width: 1100px;
  width: 100%;
  background: var(--prestio-white);
  border: 1px solid rgba(29, 43, 87, 0.10);
  border-radius: var(--prestio-radius-lg);
  overflow: hidden;
  box-shadow: var(--prestio-shadow-lg), 0 0 0 1px rgba(255,255,255,.04);
  animation: prestio-auth-slidein 0.5s ease-out;
}

@keyframes prestio-auth-slidein {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Panneau gauche (brand) ── */
.prestio-auth__aside {
  background: linear-gradient(160deg, var(--prestio-navy) 0%, var(--prestio-navy-light) 55%, var(--prestio-aqua-dark) 100%);
  padding: clamp(40px, 6vw, 64px) clamp(32px, 5vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(184, 151, 106, 0.12);
}

/* Halo décoratif */
.prestio-auth__aside::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(74, 127, 165, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

/* Ligne décorative verticale */
.prestio-auth__aside::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(184,151,106,.20) 30%, rgba(184,151,106,.20) 70%, transparent 100%);
  pointer-events: none;
}

/* Contenu aside */
.prestio-auth__aside-inner {
  position: relative;
  z-index: 1;
}

/* Logo / Marque */
.prestio-auth__aside-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.prestio-auth__aside-logo-badge {
  display: inline-block;
  background: rgba(184, 151, 106, 0.12);
  border: 1px solid rgba(184, 151, 106, 0.35);
  color: var(--prestio-gold);
  font-family: var(--prestio-font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--prestio-radius-full);
  margin-bottom: 10px;
  display: block;
}

.prestio-auth__aside-logo h1 {
  font-family: var(--prestio-font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--prestio-white);
  margin: 0;
  line-height: 1.1;
}

.prestio-auth__aside-logo h1 span {
  color: var(--prestio-gold);
}

/* Tagline */
.prestio-auth__tagline {
  margin-bottom: 36px;
}

.prestio-auth__tagline h2 {
  font-family: var(--prestio-font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: var(--prestio-white);
  margin: 0 0 12px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.prestio-auth__tagline p {
  font-family: var(--prestio-font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--prestio-slate-light);
  line-height: 1.75;
  margin: 0;
}

/* Liste des bénéfices */
.prestio-auth__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prestio-auth__benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.prestio-auth__benefit-icon {
  display: block;
  width: 18px; min-width: 18px;
  height: 2px;
  background: var(--prestio-gold);
  margin-top: 11px;
  flex-shrink: 0;
}

.prestio-auth__benefit-title {
  display: block;
  font-family: var(--prestio-font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--prestio-gold-light);
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}

.prestio-auth__benefit-desc {
  display: block;
  font-family: var(--prestio-font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--prestio-slate-light);
  line-height: 1.6;
}

/* Séparateur */
.prestio-auth__aside-sep {
  height: 1px;
  background: rgba(184, 151, 106, 0.14);
  margin-bottom: 28px;
}

/* Stats */
.prestio-auth__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.prestio-auth__stat {
  text-align: center;
  padding: 0 8px;
}

.prestio-auth__stat + .prestio-auth__stat {
  border-left: 1px solid rgba(184, 151, 106, 0.12);
}

.prestio-auth__stat-val {
  display: block;
  font-family: var(--prestio-font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--prestio-gold);
  line-height: 1;
  margin-bottom: 5px;
}

.prestio-auth__stat-lbl {
  display: block;
  font-family: var(--prestio-font-ui);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--prestio-slate);
}

/* ── Panneau droit (formulaire) ── */
.prestio-auth__main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(36px, 6vw, 64px) clamp(28px, 5vw, 52px);
  background: var(--prestio-white);
}

.prestio-auth__box {
  width: 100%;
  max-width: 400px;
}

/* En-tête formulaire */
.prestio-auth__form-header {
  margin-bottom: 30px;
}

.prestio-auth__title {
  font-family: var(--prestio-font-heading);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--prestio-navy);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.prestio-auth__subtitle {
  font-family: var(--prestio-font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--prestio-slate);
  margin: 0;
  line-height: 1.65;
}

/* Alertes */
.prestio-auth__alert {
  padding: 11px 14px;
  border-radius: var(--prestio-radius-sm);
  font-family: var(--prestio-font-body);
  font-size: 0.85rem;
  font-weight: 300;
  margin-bottom: 18px;
  line-height: 1.5;
}

.prestio-auth__alert--error {
  background: #fde8e8;
  border: 1px solid rgba(220, 80, 80, 0.3);
  color: #991b1b;
}

.prestio-auth__alert--success {
  background: #e8f0fb;
  border: 1px solid rgba(74, 127, 165, 0.3);
  color: var(--prestio-navy);
}

.prestio-auth__alert--notice {
  background: rgba(184, 151, 106, 0.08);
  border: 1px solid rgba(184, 151, 106, 0.30);
  color: #7a5a30;
}

/* Champ de formulaire */
.prestio-auth__field {
  margin-bottom: 20px;
}

.prestio-auth__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--prestio-font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prestio-slate);
  margin-bottom: 8px;
}

.prestio-auth__input {
  width: 100%;
  box-sizing: border-box;
  background: var(--prestio-ivory);
  border: 1.5px solid var(--prestio-pearl);
  border-radius: var(--prestio-radius-sm);
  color: var(--prestio-navy);
  font-family: var(--prestio-font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 12px 16px;
  transition: var(--prestio-transition);
  -webkit-appearance: none;
  appearance: none;
}

.prestio-auth__input:focus {
  outline: none;
  border-color: var(--prestio-aqua);
  box-shadow: 0 0 0 3px rgba(74, 127, 165, 0.10);
  background: var(--prestio-white);
}

.prestio-auth__input::placeholder {
  color: var(--prestio-mist);
}

/* Champ mot de passe avec toggle */
.prestio-auth__pw-wrap {
  position: relative;
}

.prestio-auth__pw-wrap .prestio-auth__input {
  padding-right: 46px;
}

.prestio-auth__pw-toggle {
  position: absolute;
  right: 13px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--prestio-mist);
  cursor: pointer; padding: 4px;
  display: flex; align-items: center;
  min-height: 44px;
  transition: color 0.2s;
}

.prestio-auth__pw-toggle:hover { color: var(--prestio-gold); }

/* Ligne options (remember + mot de passe oublié) */
.prestio-auth__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.prestio-auth__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--prestio-font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--prestio-slate);
  cursor: pointer;
}

.prestio-auth__remember input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--prestio-aqua);
  cursor: pointer;
  border-radius: 3px;
}

.prestio-auth__forgot {
  font-family: var(--prestio-font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--prestio-aqua);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: var(--prestio-transition);
}

.prestio-auth__forgot:hover { color: var(--prestio-gold); }

/* Bouton connexion — action primaire */
.prestio-auth__btn-login {
  width: 100%;
  padding: 15px 24px;
  background: var(--prestio-navy);
  color: var(--prestio-white);
  border: none;
  border-radius: var(--prestio-radius-full);
  font-family: var(--prestio-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--prestio-transition);
  box-shadow: var(--prestio-shadow-md);
  min-height: 48px;
  margin-bottom: 6px;
}

.prestio-auth__btn-login:hover {
  background: var(--prestio-gold);
  color: var(--prestio-white);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(184, 151, 106, 0.28);
}

.prestio-auth__btn-login:active { transform: translateY(0); }

/* Divider OR */
.prestio-auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-family: var(--prestio-font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--prestio-mist);
}

.prestio-auth__divider::before,
.prestio-auth__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--prestio-pearl);
}

/* Section inscription membre */
.prestio-auth__register {
  text-align: center;
  margin-bottom: 20px;
}

.prestio-auth__register p {
  font-family: var(--prestio-font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--prestio-slate);
  margin: 0 0 12px;
}

/* Bouton inscription — action secondaire contour */
.prestio-auth__btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 24px;
  background: transparent;
  border: 1.5px solid rgba(29, 43, 87, 0.25);
  color: var(--prestio-navy);
  text-decoration: none;
  border-radius: var(--prestio-radius-full);
  font-family: var(--prestio-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--prestio-transition);
  min-height: 44px;
}

.prestio-auth__btn-register:hover {
  background: var(--prestio-navy);
  border-color: var(--prestio-navy);
  color: var(--prestio-white);
  transform: translateY(-1px);
  box-shadow: var(--prestio-shadow-md);
}

/* Section partenaire / marchand */
.prestio-auth__merchant {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--prestio-pearl);
}

.prestio-auth__merchant-label {
  font-family: var(--prestio-font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--prestio-mist);
  margin: 0 0 6px;
}

.prestio-auth__merchant-link {
  font-family: var(--prestio-font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--prestio-slate);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: var(--prestio-transition);
}

.prestio-auth__merchant-link:hover { color: var(--prestio-gold); }

/* Focus visible (accessibilité) */
.prestio-auth__input:focus-visible,
.prestio-auth__btn-login:focus-visible,
.prestio-auth__btn-register:focus-visible,
.prestio-auth__forgot:focus-visible,
.prestio-auth__merchant-link:focus-visible {
  outline: 2px solid var(--prestio-aqua);
  outline-offset: 3px;
  border-radius: var(--prestio-radius-sm);
}

/* ── Responsive ── */
@media (max-width: 968px) {
  .prestio-auth__container {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .prestio-auth__aside { display: none; }
  .prestio-auth__main {
    padding: clamp(32px, 6vw, 48px) clamp(24px, 5vw, 40px);
  }
}

@media (max-width: 480px) {
  .prestio-auth { padding: 12px; }
  .prestio-auth__main { padding: 28px 20px; }
  .prestio-auth__title { font-size: 1.4rem; }
  .prestio-auth__options { flex-direction: column; align-items: flex-start; gap: 12px; }
}


/* ══════════════════════════════════════════════════════════════════════════
   PAGE PROFIL UTILISATEUR v2.1.0 — styles Prestio
   Base commune chargée via prestio-complete.css (plg_system_prestiostyle).
   Palette : Adriatic / Mediterranean Design System — sans gold
   Sections : topnav header, login-card, boutons, logo profil.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Fond de page ─────────────────────────────────────────────────────── */
.prestio-login-page {
    min-height       : 100vh;
    background-color : var(--prestio-ivory);
    font-family      : var(--prestio-font-body);
    font-weight      : 300;
    color            : var(--prestio-navy);
    padding-bottom   : 60px;
}

.prestio-profile-page {
    align-items : flex-start;
    padding-top : clamp(40px, 6vw, 72px);
}

/* ── Topnav / header ──────────────────────────────────────────────────── */
.prestio-header {
    background    : var(--prestio-white);
    border-bottom : 1px solid var(--prestio-pearl);
    box-shadow    : var(--prestio-shadow-sm);
    position      : sticky;
    top           : 0;
    z-index       : 1050;
}

.prestio-header-inner {
    max-width       : 1200px;
    margin          : 0 auto;
    padding         : 0 24px;
    height          : 70px;
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    gap             : 20px;
}

.prestio-header-logo {
    display         : flex;
    align-items     : center;
    gap             : 8px;
    text-decoration : none;
    flex-shrink     : 0;
}

.prestio-header-logo-mark {
    color       : var(--prestio-aqua);
    font-size   : 1.1rem;
    line-height : 1;
}

.prestio-header-logo-name {
    font-family    : var(--prestio-font-heading);
    font-size      : 1.35rem;
    font-weight    : 700;
    color          : var(--prestio-navy);
    letter-spacing : -.03em;
}

.prestio-header-logo-name em {
    font-style : italic;
    color      : var(--prestio-aqua);
}

.prestio-header-logo-badge {
    font-family    : var(--prestio-font-ui);
    font-size      : 9px;
    font-weight    : 700;
    letter-spacing : .15em;
    color          : var(--prestio-slate);
    background     : rgba(125, 136, 158, .1);
    border         : 1px solid rgba(125, 136, 158, .3);
    border-radius  : var(--prestio-radius-full);
    padding        : 2px 8px;
    margin-left    : 4px;
}

/* Navigation centrale */
.prestio-header-nav {
    display         : flex;
    align-items     : center;
    gap             : 4px;
    flex            : 1;
    justify-content : center;
}

.prestio-header-link {
    font-family    : var(--prestio-font-ui);
    font-size      : .78rem;
    font-weight    : 600;
    letter-spacing : .06em;
    text-transform : uppercase;
    color          : var(--prestio-slate);
    text-decoration: none;
    padding        : 6px 14px;
    border-radius  : var(--prestio-radius-full);
    border         : 1px solid transparent;
    transition     : var(--prestio-transition);
}

.prestio-header-link:hover {
    color        : var(--prestio-navy);
    background   : var(--prestio-pearl);
    border-color : var(--prestio-pearl);
}

.prestio-header-link.is-active {
    color        : var(--prestio-navy);
    border-color : var(--prestio-pearl);
    background   : var(--prestio-pearl);
    font-weight  : 700;
}

/* Boutons d'action à droite */
.prestio-header-actions {
    display     : flex;
    align-items : center;
    gap         : 8px;
    flex-shrink : 0;
}

.prestio-header-btn {
    font-family    : var(--prestio-font-ui);
    font-size      : .75rem;
    font-weight    : 700;
    letter-spacing : .06em;
    text-transform : uppercase;
    border-radius  : var(--prestio-radius-md);
    padding        : 8px 18px;
    text-decoration: none;
    display        : inline-flex;
    align-items    : center;
    gap            : 6px;
    transition     : var(--prestio-transition);
    cursor         : pointer;
    border         : 2px solid transparent;
}

.prestio-header-btn--primary {
    background   : var(--prestio-navy);
    color        : var(--prestio-white) !important;
    border-color : var(--prestio-navy);
}

.prestio-header-btn--primary:hover {
    background   : var(--prestio-navy-dark);
    border-color : var(--prestio-navy-dark);
    box-shadow   : 0 4px 14px rgba(29, 43, 87, .3);
    transform    : translateY(-1px);
}

.prestio-header-btn--ghost {
    background   : transparent;
    color        : var(--prestio-slate) !important;
    border-color : var(--prestio-pearl);
}

.prestio-header-btn--ghost:hover {
    color        : var(--prestio-navy) !important;
    border-color : var(--prestio-slate-light);
    background   : var(--prestio-pearl);
}

.prestio-header-btn-icon { font-style: normal; }

/* ── Bloc centré (wrapper profil) ─────────────────────────────────────── */
.prestio-profile-wrap {
    width     : 100%;
    max-width : 580px;
    margin    : 0 auto;
    padding   : clamp(32px, 5vw, 56px) 16px 0;
    animation : prestioProfileIn .5s cubic-bezier(.22, .68, 0, 1.2) both;
}

@keyframes prestioProfileIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Logo Prestio dans l'en-tête de la page ───────────────────────────── */
.prestio-login-header {
    text-align    : center;
    margin-bottom : 28px;
}

.prestio-profile-logo-mark {
    display         : flex;
    align-items     : center;
    justify-content : center;
    gap             : 10px;
    margin-bottom   : 16px;
}

.prestio-logo-diamond {
    font-size   : 2rem;
    color       : var(--prestio-aqua);
    line-height : 1;
}

.prestio-logo-name {
    font-family    : var(--prestio-font-heading);
    font-size      : 1.7rem;
    font-weight    : 700;
    color          : var(--prestio-navy);
    letter-spacing : -.03em;
}

.prestio-logo-name em {
    font-style  : italic;
    color       : var(--prestio-aqua);
    font-family : var(--prestio-font-body);
    font-weight : 300;
}

.prestio-logo-vip {
    font-family    : var(--prestio-font-ui);
    font-size      : .6rem;
    font-weight    : 700;
    letter-spacing : .18em;
    color          : var(--prestio-slate);
    background     : rgba(125, 136, 158, .1);
    border         : 1px solid rgba(125, 136, 158, .3);
    border-radius  : var(--prestio-radius-full);
    padding        : 2px 7px;
    vertical-align : middle;
    margin-left    : 4px;
}

.prestio-login-header-title {
    font-family    : var(--prestio-font-heading);
    font-size      : clamp(1.4rem, 3vw, 1.8rem);
    font-weight    : 700;
    color          : var(--prestio-navy);
    letter-spacing : -.02em;
    margin         : 0 0 6px;
}

.prestio-login-header-sub {
    font-family : var(--prestio-font-body);
    font-size   : .9rem;
    font-weight : 300;
    color       : var(--prestio-slate);
    margin      : 0;
}

/* ── Carte principale ─────────────────────────────────────────────────── */
.prestio-login-card {
    background    : var(--prestio-white);
    border        : 1px solid var(--prestio-pearl);
    border-radius : var(--prestio-radius-lg);
    box-shadow    : var(--prestio-shadow-card);
    padding       : clamp(24px, 5vw, 40px);
    position      : relative;
    overflow      : hidden;
}

.prestio-login-card::before {
    content    : '';
    position   : absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background : linear-gradient(90deg,
        var(--prestio-navy) 0%,
        var(--prestio-aqua) 50%,
        var(--prestio-slate) 100%
    );
}

/* ── Boutons principaux ───────────────────────────────────────────────── */
.prestio-btn-primary {
    display        : block;
    background     : var(--prestio-navy);
    color          : var(--prestio-white) !important;
    font-family    : var(--prestio-font-ui);
    font-size      : .85rem;
    font-weight    : 700;
    letter-spacing : .06em;
    text-transform : uppercase;
    border         : 2px solid var(--prestio-navy);
    border-radius  : var(--prestio-radius-md);
    padding        : 12px 28px;
    text-align     : center;
    text-decoration: none;
    cursor         : pointer;
    transition     : var(--prestio-transition);
}

.prestio-btn-primary:hover {
    background  : var(--prestio-navy-dark);
    border-color: var(--prestio-navy-dark);
    box-shadow  : 0 4px 18px rgba(29, 43, 87, .3);
    transform   : translateY(-1px);
    color       : var(--prestio-white) !important;
}

.prestio-btn-secondary {
    display        : block;
    background     : transparent;
    color          : var(--prestio-slate) !important;
    font-family    : var(--prestio-font-ui);
    font-size      : .82rem;
    font-weight    : 600;
    letter-spacing : .06em;
    text-transform : uppercase;
    border         : 1px solid var(--prestio-pearl);
    border-radius  : var(--prestio-radius-md);
    padding        : 10px 28px;
    text-align     : center;
    text-decoration: none;
    cursor         : pointer;
    transition     : var(--prestio-transition);
}

.prestio-btn-secondary:hover {
    border-color : var(--prestio-slate-light);
    color        : var(--prestio-navy) !important;
    background   : var(--prestio-pearl);
}

.prestio-btn-full { width: 100%; box-sizing: border-box; }

/* ── Bouton aqua (action alternative) ───────────────────────────────── */
.prestio-btn-aqua {
    display        : block;
    background     : var(--prestio-aqua);
    color          : var(--prestio-white) !important;
    font-family    : var(--prestio-font-ui);
    font-size      : .85rem;
    font-weight    : 700;
    letter-spacing : .06em;
    text-transform : uppercase;
    border         : 2px solid var(--prestio-aqua);
    border-radius  : var(--prestio-radius-md);
    padding        : 12px 28px;
    text-align     : center;
    text-decoration: none;
    cursor         : pointer;
    transition     : var(--prestio-transition);
}

.prestio-btn-aqua:hover {
    background  : var(--prestio-aqua-dark);
    border-color: var(--prestio-aqua-dark);
    box-shadow  : 0 4px 18px rgba(74, 127, 165, .35);
    transform   : translateY(-1px);
}

/* ── Avatar centré sous l'en-tête ────────────────────────────────────── */
.prestio-profile-avatar-wrap {
    display         : flex;
    justify-content : center;
    margin-bottom   : 20px;
}

.prestio-profile-avatar {
    width          : 72px;
    height         : 72px;
    border-radius  : 50%;
    background     : linear-gradient(135deg, var(--prestio-navy) 0%, var(--prestio-aqua) 100%);
    display        : flex;
    align-items    : center;
    justify-content: center;
    font-family    : var(--prestio-font-heading);
    font-size      : 1.8rem;
    font-weight    : 700;
    color          : var(--prestio-white);
    box-shadow     : var(--prestio-shadow-md);
    flex-shrink    : 0;
    border         : 3px solid var(--prestio-pearl);
}

/* ── Libellé de section ──────────────────────────────────────────────── */
.prestio-profile-section-label {
    font-family    : var(--prestio-font-ui);
    font-size      : 10px;
    font-weight    : 700;
    letter-spacing : .15em;
    text-transform : uppercase;
    color          : var(--prestio-slate);
    margin-bottom  : 14px;
    display        : flex;
    align-items    : center;
    gap            : 4px;
}

/* ── Séparateur interne ──────────────────────────────────────────────── */
.prestio-profile-divider {
    height     : 1px;
    background : var(--prestio-pearl);
    margin     : 20px 0;
}

/* ── Liste définition — grille 2 colonnes ────────────────────────────── */
.prestio-profile-dl {
    margin                : 0 0 4px;
    display               : grid;
    grid-template-columns : auto 1fr;
    gap                   : 0 16px;
}

.prestio-profile-dl dt {
    font-family    : var(--prestio-font-ui);
    font-size      : 10px;
    font-weight    : 700;
    letter-spacing : .08em;
    text-transform : uppercase;
    color          : var(--prestio-slate);
    padding        : 9px 0;
    border-bottom  : 1px solid var(--prestio-pearl);
    align-self     : start;
    white-space    : nowrap;
}

.prestio-profile-dl dd {
    font-family  : var(--prestio-font-body);
    font-size    : .9rem;
    font-weight  : 300;
    color        : var(--prestio-navy);
    padding      : 9px 0;
    border-bottom: 1px solid var(--prestio-pearl);
    margin       : 0;
    word-break   : break-word;
}

/* ── Texte d'aide ────────────────────────────────────────────────────── */
.prestio-profile-hint {
    font-family    : var(--prestio-font-body);
    font-size      : .88rem;
    font-weight    : 300;
    color          : var(--prestio-slate);
    margin-bottom  : 16px;
    letter-spacing : .01em;
}

/* ── Zone de boutons ─────────────────────────────────────────────────── */
.prestio-profile-actions {
    display        : flex;
    flex-direction : column;
    gap            : 12px;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .prestio-profile-page { padding-top: 24px; }
    .prestio-profile-wrap { padding: 0 4px; }
    .prestio-profile-dl   { grid-template-columns: 1fr; }
    .prestio-profile-dl dt { padding-bottom: 2px; border-bottom: none; }
    .prestio-profile-dl dd { padding-top: 0; }
}














/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.prestio-footer {
  background: var(--prestio-navy-dark);
  color: var(--prestio-slate-light);
  padding: 4rem 2rem 2rem;
}

.prestio-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

@media (max-width: 900px) {
  .prestio-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .prestio-footer__grid {
    grid-template-columns: 1fr;
  }
}

.prestio-footer__brand {
  font-family: var(--prestio-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--prestio-white);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.prestio-footer__brand span {
  color: var(--prestio-aqua);
}

.prestio-footer__tagline {
  font-family: var(--prestio-font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--prestio-slate);
  line-height: 1.65;
}

.prestio-footer__heading {
  font-family: var(--prestio-font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--prestio-mist-light);
  margin: 0 0 1rem;
}

.prestio-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prestio-footer__links li {
  margin-bottom: 0.5rem;
}

.prestio-footer__links a {
  font-family: var(--prestio-font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--prestio-slate);
  text-decoration: none;
  transition: var(--prestio-transition);
}

.prestio-footer__links a:hover {
  color: var(--prestio-white);
}

.prestio-footer__bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.prestio-footer__copy {
  font-family: var(--prestio-font-ui);
  font-size: 0.78rem;
  color: var(--prestio-mist);
}

.prestio-footer__cities {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.prestio-footer__city {
  font-family: var(--prestio-font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--prestio-mist);
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════════ */
.prestio-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  background: var(--prestio-pearl);
  border-top: 1px solid var(--prestio-mist-light);
  border-bottom: 1px solid var(--prestio-mist-light);
}

.prestio-trust__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--prestio-font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--prestio-slate);
}

/* ═══════════════════════════════════════════════════════════
   SCANNER PAGE
   ═══════════════════════════════════════════════════════════ */
.prestio-scanner {
  max-width: 560px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.prestio-scanner__video-wrap {
  position: relative;
  border-radius: var(--prestio-radius-xl);
  overflow: hidden;
  background: var(--prestio-navy);
  aspect-ratio: 1;
  box-shadow: var(--prestio-shadow-lg);
  color: var(--prestio-white);
}

.prestio-scanner__video-wrap video,
.prestio-scanner__video-wrap canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prestio-scanner__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prestio-scanner__finder {
  width: 55%;
  aspect-ratio: 1;
  border: 3px solid var(--prestio-aqua);
  border-radius: var(--prestio-radius-md);
  box-shadow: 0 0 0 4000px rgba(29, 43, 87, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════════════════════ */
.prestio-lang {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.prestio-lang__btn {
  font-family: var(--prestio-font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--prestio-radius-sm);
  border: 1px solid var(--prestio-pearl);
  background: var(--prestio-white);
  color: var(--prestio-slate);
  cursor: pointer;
  transition: var(--prestio-transition);
  text-decoration: none;
}

.prestio-lang__btn:hover,
.prestio-lang__btn.active {
  background: var(--prestio-navy);
  color: var(--prestio-white);
  border-color: var(--prestio-navy);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes prestio-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

@keyframes prestio-fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes prestio-slideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.prestio-animate-in {
  animation: prestio-fadeIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════════════ */
.prestio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 640px) {
  .prestio-container {
    padding: 0 1rem;
  }

  .prestio-hero {
    padding: 5rem 1rem 4rem;
  }

  .prestio-hero__title {
    font-size: 2rem;
  }

  .prestio-hero__stats {
    grid-template-columns: 1fr 1fr;
  }

  .prestio-plan-card--featured {
    transform: none;
  }

  .prestio-navbar {
    padding: 0 1rem;
  }
}

@media (max-width: 900px) {
  .prestio-plans__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   ADMIN CSS (backend media path)
   ═══════════════════════════════════════════════════════════ */
.prestio-admin-dash {
  font-family: var(--prestio-font-ui);
}

.prestio-admin-dash .stat-card {
  background: var(--prestio-white);
  border-radius: var(--prestio-radius-lg);
  border: 1px solid var(--prestio-pearl);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.prestio-admin-dash .stat-card__val {
  font-family: var(--prestio-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--prestio-navy);
  line-height: 1;
}

.prestio-admin-dash .stat-card__label {
  font-family: var(--prestio-font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--prestio-slate);
}

/* ═══════════════════════════════════════════════════════════
   CITY TAGS — Montenegro specifics
   ═══════════════════════════════════════════════════════════ */
.prestio-city-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--prestio-font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--prestio-radius-full);
}

.prestio-city-tag--kotor     { background: rgba(29, 43, 87, 0.08); color: var(--prestio-navy); }
.prestio-city-tag--budva     { background: rgba(74, 127, 165, 0.1); color: var(--prestio-aqua-dark); }
.prestio-city-tag--podgorica { background: rgba(125, 136, 158, 0.1); color: var(--prestio-slate); }
.prestio-city-tag--tivat     { background: rgba(184, 151, 106, 0.1); color: #8a6a3a; }

/* ═══════════════════════════════════════════════════════════
   DIVIDERS
   ═══════════════════════════════════════════════════════════ */
.prestio-divider {
  border: none;
  border-top: 1px solid var(--prestio-pearl);
  margin: 2rem 0;
}

.prestio-divider--thick {
  border-top: 2px solid var(--prestio-pearl);
}

/* ═══════════════════════════════════════════════════════════
   SPINNER / LOADER
   ═══════════════════════════════════════════════════════════ */
.prestio-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2.5px solid var(--prestio-pearl);
  border-top-color: var(--prestio-aqua);
  border-radius: 50%;
  animation: prestio-spin 0.7s linear infinite;
}

@keyframes prestio-spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   PRINT RESET
   ═══════════════════════════════════════════════════════════ */
@media print {
  .prestio-navbar,
  .prestio-footer,
  .prestio-hero__cta { display: none; }

  body.prestio-active {
    background: white;
  }
}


/* ═══════════════════════════════════════════════════════════
   MERCHANTS MAP INTERACTIVE — Carte partenaires Prestio
   Vue : com_prestio / view=merchants / layout=default
   Joomla 6.0.4 — VipMembership Component
   -------------------------------------------------------
   Fusion depuis : auralife-merchants-map.css
   Adapté palette : Adriatic / Mediterranean Design System
     Navy sombre sidebar : #0d1829
     Fond cartes         : #0d1829 / #111f33
     Or Prestio          : var(--prestio-gold)   → #B8976A
     Or clair survol     : var(--prestio-gold-light) → #D4B88A
     Texte principal     : var(--prestio-ivory)  → #F7F8FB
     Texte secondaire    : var(--prestio-slate)  → #7D889E
     Texte tertiaire     : var(--prestio-mist)   → #a6a6a6
     Bordures discrètes  : rgba(184,151,106,.15)
   ═══════════════════════════════════════════════════════════ */

/* ── Variables locales carte (évite la répétition RGBA) ──────────────── */
.merchants-map-page {
  --map-gold:          var(--prestio-gold);
  --map-gold-light:    var(--prestio-gold-light);
  --map-bg-deep:       #080f1c;
  --map-bg-sidebar:    #0d1829;
  --map-bg-card:       #111f33;
  --map-bg-item:       #0a1524;
  --map-text-primary:  var(--prestio-ivory);
  --map-text-muted:    var(--prestio-slate);
  --map-text-dim:      #4a6070;
  --map-border:        rgba(184, 151, 106, 0.15);
  --map-border-hover:  rgba(184, 151, 106, 0.55);
  --map-gold-glow:     rgba(184, 151, 106, 0.12);
}

/* ── Reset périmètre ────────────────────────────────────────────────── */
.merchants-map-page *,
.merchants-map-page *::before,
.merchants-map-page *::after {
    box-sizing: border-box;
}

/* ── Conteneur principal ────────────────────────────────────────────── */
.merchants-map-container {
    display: flex;
    flex-direction: row;
    height: calc(100vh - 80px);
    min-height: 500px;
    background: var(--map-bg-deep);
    font-family: var(--prestio-font-ui);
    overflow: hidden;
}

/* ── Sidebar ────────────────────────────────────────────────────────── */
.map-sidebar {
    width: 380px;
    min-width: 320px;
    max-width: 420px;
    background: var(--map-bg-sidebar);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid var(--map-border);
    z-index: 10;
}

.sidebar-header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--map-border);
    background: linear-gradient(135deg, #0a1422 0%, #0d1829 100%);
    flex-shrink: 0;
}

.sidebar-header h3 {
    font-family: var(--prestio-font-heading);
    color: var(--map-gold);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 4px;
}

.merchant-count {
    color: var(--map-text-muted);
    font-family: var(--prestio-font-ui);
    font-size: 0.78rem;
    margin: 0;
}

/* ── Toggle mobile ──────────────────────────────────────────────────── */
.mobile-toggle {
    display: none;
    padding: 10px 16px;
    gap: 8px;
    background: #0a1422;
    border-bottom: 1px solid var(--map-border);
    flex-shrink: 0;
}

.btn-toggle-view {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(184, 151, 106, 0.25);
    color: var(--map-text-muted);
    padding: 7px 12px;
    border-radius: var(--prestio-radius-full);
    font-family: var(--prestio-font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--prestio-transition);
}

.btn-toggle-view.active,
.btn-toggle-view:hover {
    background: var(--map-gold);
    border-color: var(--map-gold);
    color: #050d1a;
}

/* ── Filtres ────────────────────────────────────────────────────────── */
.filters-section {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(184, 151, 106, 0.08);
    background: #0a1220;
    flex-shrink: 0;
    overflow-y: auto;
}

.search-box {
    position: relative;
    margin-bottom: 10px;
}

.search-box .fas.fa-search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--map-text-dim);
    pointer-events: none;
}

.search-box .form-control {
    padding-left: 36px;
    background: var(--map-bg-card);
    border: 1px solid rgba(184, 151, 106, 0.2);
    color: var(--map-text-primary);
    border-radius: var(--prestio-radius-full);
    font-family: var(--prestio-font-ui);
    font-size: 0.84rem;
}

.search-box .form-control:focus {
    border-color: var(--map-gold);
    box-shadow: 0 0 0 3px var(--map-gold-glow);
    background: var(--map-bg-card);
    color: var(--map-text-primary);
}

.search-box .form-control::placeholder {
    color: var(--map-text-dim);
}

.btn-location {
    background: transparent;
    border: 1px solid rgba(184, 151, 106, 0.3);
    color: var(--map-gold);
    padding: 8px 16px;
    border-radius: var(--prestio-radius-full);
    font-family: var(--prestio-font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--prestio-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    width: 100%;
}

.btn-location:hover,
.btn-location.active {
    background: var(--map-gold);
    border-color: var(--map-gold);
    color: #050d1a;
}

.filter-card {
    background: var(--map-bg-card);
    border: 1px solid rgba(184, 151, 106, 0.1);
    border-radius: var(--prestio-radius-md);
    padding: 10px 12px;
    margin-bottom: 8px;
}

.filter-label {
    display: block;
    color: var(--map-text-muted);
    font-family: var(--prestio-font-ui);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.filter-card .form-select {
    background-color: var(--map-bg-item);
    border: 1px solid rgba(184, 151, 106, 0.2);
    color: var(--map-text-primary);
    font-family: var(--prestio-font-ui);
    font-size: 0.84rem;
    border-radius: var(--prestio-radius-sm);
    width: 100%;
}

.filter-card .form-select:focus {
    border-color: var(--map-gold);
    box-shadow: 0 0 0 2px var(--map-gold-glow);
    background-color: var(--map-bg-item);
    color: var(--map-text-primary);
    outline: none;
}

.active-filters {
    background: var(--map-gold-glow);
    border: 1px solid rgba(184, 151, 106, 0.2);
    border-radius: var(--prestio-radius-sm);
    padding: 8px 12px;
    font-family: var(--prestio-font-ui);
    font-size: 0.78rem;
    color: var(--map-text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-reset-filters {
    background: transparent;
    border: 1px solid rgba(184, 151, 106, 0.25);
    color: var(--map-gold);
    padding: 3px 10px;
    border-radius: var(--prestio-radius-full);
    font-family: var(--prestio-font-ui);
    font-size: 0.74rem;
    cursor: pointer;
    transition: var(--prestio-transition);
    white-space: nowrap;
}

.btn-reset-filters:hover {
    background: var(--map-gold-glow);
    border-color: var(--map-gold);
}

/* ── Liste des partenaires ──────────────────────────────────────────── */
.merchants-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 12px;
}

.merchants-list::-webkit-scrollbar         { width: 3px; }
.merchants-list::-webkit-scrollbar-track   { background: #0a1220; }
.merchants-list::-webkit-scrollbar-thumb   { background: var(--map-gold); border-radius: 2px; }

/* ── Carte partenaire (sidebar) ─────────────────────────────────────── */
.merchant-card {
    background: var(--map-bg-card);
    border: 1px solid var(--map-border);
    border-radius: var(--prestio-radius-md);
    padding: 12px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--prestio-transition);
}

.merchant-card:hover,
.merchant-card.highlighted {
    border-color: var(--map-gold);
    background: #152035;
    box-shadow: 0 4px 16px var(--map-gold-glow);
    transform: translateY(-1px);
}

.merchant-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.merchant-icon {
    width: 36px;
    height: 36px;
    background: var(--map-gold-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--map-gold);
    font-size: 0.9rem;
    flex-shrink: 0;
    border: 1px solid rgba(184, 151, 106, 0.2);
}

.merchant-info        { flex: 1; min-width: 0; }

.merchant-info h4 {
    color: var(--map-text-primary);
    font-family: var(--prestio-font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.merchant-category {
    color: var(--map-gold);
    font-family: var(--prestio-font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.distance-badge {
    font-size: 0.7rem;
    font-family: var(--prestio-font-ui);
    font-weight: 500;
    color: var(--map-gold);
    background: var(--map-gold-glow);
    padding: 2px 8px;
    border-radius: var(--prestio-radius-full);
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid rgba(184, 151, 106, 0.15);
}

.merchant-address {
    color: var(--map-text-dim);
    font-family: var(--prestio-font-body);
    font-size: 0.76rem;
    font-weight: 300;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.merchant-benefits {
    color: var(--map-text-muted);
    font-family: var(--prestio-font-body);
    font-size: 0.74rem;
    font-weight: 300;
    margin-top: 5px;
    font-style: italic;
}

/* ── État vide ──────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #2a3a4a;
}

.empty-state i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
    color: #1a2a3a;
}

.empty-state p {
    font-family: var(--prestio-font-body);
    font-size: 0.875rem;
    color: var(--map-text-dim);
}

/* ── Panneau carte ──────────────────────────────────────────────────── */
.map-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 300px;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile portrait (≤ 767px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {

    .merchants-map-container {
        flex-direction: column;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .map-sidebar {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        max-height: none;
        overflow: visible;
        border-right: none;
        border-bottom: 1px solid var(--map-border);
    }

    /* Liste bornée + scroll interne */
    .merchants-list {
        max-height: 40vh;
        overflow-y: auto;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .map-panel {
        height: 55vw;
        min-height: 260px;
        max-height: none;
        flex-shrink: 0;
    }

    #map {
        height: 100%;
        min-height: 260px;
    }

    /* Masquage via toggle mobile */
    .map-sidebar.panel-hidden { display: none; }
    .map-panel.panel-hidden   { display: none; }
}

/* ── Mobile paysage (≤ 896px landscape) ────────────────────────────── */
@media (max-width: 896px) and (orientation: landscape) {
    .merchants-map-container {
        flex-direction: row;
        height: calc(100vh - 60px);
    }

    .map-sidebar {
        width: 280px;
        min-width: 240px;
    }

    .map-panel,
    #map { height: 100%; }
}

/* ── Tablette portrait (768–1023px) ─────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .merchants-map-container { height: calc(100vh - 80px); }
    .map-sidebar              { width: 300px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   POPUP LEAFLET — thème Prestio Adriatic
   ═══════════════════════════════════════════════════════════════════════ */
.leaflet-popup-content-wrapper {
    background: var(--map-bg-card);
    border: 1px solid rgba(184, 151, 106, 0.35);
    border-radius: var(--prestio-radius-md);
    box-shadow: 0 8px 32px rgba(5, 13, 26, 0.7);
    color: var(--map-text-primary);
}

.leaflet-popup-tip {
    background: var(--map-bg-card);
}

.leaflet-popup-content {
    margin: 14px 16px;
    color: var(--map-text-primary);
    font-family: var(--prestio-font-ui);
}

.popup-title {
    font-family: var(--prestio-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--map-gold);
    margin-bottom: 4px;
}

.popup-category {
    font-family: var(--prestio-font-ui);
    font-size: 0.74rem;
    color: var(--map-text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.popup-address {
    font-family: var(--prestio-font-body);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--map-text-muted);
    margin-bottom: 6px;
}

.popup-benefits {
    font-family: var(--prestio-font-body);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--map-gold);
    font-style: italic;
    background: var(--map-gold-glow);
    border: 1px solid rgba(184, 151, 106, 0.15);
    padding: 6px 8px;
    border-radius: var(--prestio-radius-sm);
    margin-top: 6px;
}

/* Bouton itinéraire dans popup */
.popup-itinerary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 7px 14px;
    background: var(--prestio-navy);
    color: var(--prestio-white);
    font-family: var(--prestio-font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: var(--prestio-radius-full);
    border: 1px solid var(--map-gold);
    transition: var(--prestio-transition);
    white-space: nowrap;
}

.popup-itinerary:hover {
    background: var(--map-gold);
    color: #050d1a;
    transform: translateY(-1px);
    text-decoration: none;
    box-shadow: 0 4px 12px var(--map-gold-glow);
}

/* ═══════════════════════════════════════════════════════════════════════
   MARQUEUR PERSONNALISÉ Leaflet — style Prestio
   ═══════════════════════════════════════════════════════════════════════ */
.custom-marker {
    background: var(--prestio-navy);
    border: 2px solid var(--map-gold);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--map-gold);
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(5, 13, 26, 0.6);
    transition: var(--prestio-transition);
}

.custom-marker:hover,
.custom-marker.active {
    transform: scale(1.25);
    background: var(--map-gold);
    color: #050d1a;
    border-color: var(--prestio-navy);
    z-index: 1000 !important;
    box-shadow: 0 4px 16px var(--map-gold-glow);
}

/* ═══════════════════════════════════════════════════════════
   FIN BLOC MERCHANTS MAP INTERACTIVE — v1.0.0
   ═══════════════════════════════════════════════════════════ */
