/* ════════════════════════════════════════════════════════════════
   style.css — prof-particulier.ma (refonte)
   Palette : Bleu #1A56A0 · Orange #F39C12
   Font    : Plus Jakarta Sans
   ════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1A56A0;
  --blue2:   #2E86C1;
  --blue3:   #EAF4FB;
  --orange:  #F39C12;
  --orange2: #E67E22;
  --text:    #1C2833;
  --muted:   #5D6D7E;
  --border:  #D6E4F0;
  --white:   #ffffff;
  --bg:      #F4F8FC;
  --navy:    #0F3460;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
  box-shadow: 0 1px 8px rgba(26,86,160,0.07);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 2rem;
}
.logo {
  font-size: 19px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-sep  { color: var(--orange); }
.logo-tld  { color: var(--orange); }
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-nav {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-nav-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-nav-ghost:hover { background: var(--blue3); }
.btn-nav-orange {
  background: var(--orange);
  color: #fff;
  border: none;
}
.btn-nav-orange:hover { background: var(--orange2); }
/* drawer — caché par défaut */
.nav-overlay, .nav-drawer { display: none; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue);
  margin-left: auto;
}

/* ── HERO ── */
.hero {
  background: var(--blue);
  padding: 72px 2rem 80px;
  position: relative;
  overflow: visible; /* visible pour que le dropdown dépasse */
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(46,134,193,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(243,156,18,0.12) 0%, transparent 40%);
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-eyebrow strong { color: var(--orange); font-weight: 700; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .hero-lead {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}

/* Barre de recherche */
.search-bar {
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  /* clip les angles arrondis sans couper le dropdown */
  -webkit-mask-image: none;
}
/* Re-appliquer le clip uniquement aux enfants directs sauf le dropdown */
.search-field,
.btn-search {
  /* Les coins sont gérés visuellement par la barre elle-même */
}
.search-field {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 20px;
  gap: 10px;
  border-right: 1px solid var(--border);
}
.search-field svg { color: var(--muted); flex-shrink: 0; }
.search-field input {
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  width: 100%;
  padding: 18px 0;
  background: transparent;
}
.search-field input::placeholder { color: var(--muted); }
.search-select {
  display: flex;
  align-items: center;
  padding: 0 16px 0 20px;
  gap: 8px;
  border-right: 1px solid var(--border);
  position: relative;
}
.search-select > svg { color: var(--muted); flex-shrink: 0; }

/* Trigger button */
.ville-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  padding: 18px 0;
  cursor: pointer;
  min-width: 150px;
  white-space: nowrap;
  outline: none;
}
.ville-trigger:focus-visible { outline: 2px solid var(--blue); border-radius: 4px; }
.ville-chevron {
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .2s ease;
  margin-left: auto;
}
.ville-trigger[aria-expanded="true"] .ville-chevron { transform: rotate(180deg); }
#villeTriggerLabel { flex: 1; text-align: left; }

/* Panel */
.ville-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  min-width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.07);
  z-index: 9999;
  overflow: hidden;
  animation: villeIn .15s ease;
}
.ville-panel.open { display: block; }

@keyframes villeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Champ recherche dans le panel */
.ville-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}
.ville-search-wrap svg { color: #9ca3af; flex-shrink: 0; }
.ville-search-input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: .88rem;
  color: var(--text);
  background: transparent;
  width: 100%;
}
.ville-search-input::placeholder { color: #b0b7c3; }

/* Liste */
.ville-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb transparent;
}
.ville-list::-webkit-scrollbar { width: 4px; }
.ville-list::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 4px; }

.ville-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: .88rem;
  color: #374151;
  cursor: pointer;
  transition: background .12s;
}
.ville-option svg { color: transparent; flex-shrink: 0; }
.ville-option:hover { background: #f0f5ff; color: var(--blue); }
.ville-option.ville-option-active {
  color: var(--blue);
  font-weight: 600;
  background: #eff6ff;
}
.ville-option.ville-option-active svg { color: var(--blue); }
.ville-option.hidden { display: none; }
.ville-no-result {
  padding: 14px 16px;
  font-size: .85rem;
  color: #9ca3af;
  text-align: center;
}
.btn-search {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 18px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-search:hover { background: var(--orange2); }

/* Stats hero */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.hero-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ── CATEGORIES ── */
.categories {
  background: var(--bg);
  padding: 44px 2rem;
  border-bottom: 1px solid var(--border);
}
.categories-inner { max-width: 1200px; margin: 0 auto; }
.categories-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.cat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  text-align: center;
}
.cat-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,86,160,0.1);
}
.cat-pill.active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue3);
}
.cat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── SECTIONS COMMUNES ── */
.section-std       { padding: 72px 2rem; }
.section-bg        { padding: 72px 2rem; background: var(--bg); }
.section-blue      { padding: 72px 2rem; background: var(--blue); position: relative; overflow: hidden; }
.section-inner     { max-width: 1200px; margin: 0 auto; }
.section-header    { margin-bottom: 40px; }
.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 8px;
}
.section-header p  { font-size: 16px; color: var(--muted); }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 40px;
}
.btn-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-link:hover { color: var(--blue2); }

/* ── CARDS PROF ── */
.profs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.prof-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
  cursor: pointer;
  position: relative;
}
.prof-card:hover         { border-color: var(--blue2); transform: translateY(-2px); }

/* ── PLAN INDICATORS – barre colorée en haut de carte ── */
.plan-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  /* Pas de border-radius : overflow:hidden + border-radius du parent s'en chargent */
}
/* Standard : bleu professionnel */
.prof-card.plan-standard {
  border: 2px solid #2563EB;
  box-shadow: 0 4px 24px rgba(37,99,235,.12);
}
.prof-card.plan-standard:hover { border-color: #1A56A0; }
.prof-card.plan-standard .plan-bar {
  background: linear-gradient(90deg, #1A56A0, #2E86C1);
}
/* Premium : or/ambre luxe */
.prof-card.plan-premium {
  border: 2px solid #D97706;
  box-shadow: 0 8px 32px rgba(217,119,6,.18);
}
.prof-card.plan-premium:hover { border-color: #B45309; }
.prof-card.plan-premium .plan-bar {
  background: linear-gradient(90deg, #92400E, #D97706, #F59E0B);
}
.prof-card-top  { padding: 20px 20px 0; display: flex; gap: 14px; align-items: flex-start; }
.prof-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  flex-shrink: 0; color: #fff;
}
.prof-info      { flex: 1; min-width: 0; }
.prof-name      { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.prof-location  { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.prof-rating    { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; margin-top: 4px; }
.stars          { color: #F4C430; letter-spacing: -1px; }
.rating-count   { color: var(--muted); font-weight: 400; }
.prof-card-body { padding: 14px 20px 20px; }
.prof-subjects  { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.subject-tag    { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--blue3); color: var(--blue); }
.prof-card-footer { display: flex; align-items: center; justify-content: space-between; }
.prof-price     { font-size: 18px; font-weight: 800; color: var(--text); }
.prof-price span { font-size: 12px; font-weight: 400; color: var(--muted); }
.prof-desc {
  font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Boutons contact */
.btn-contact {
  background: var(--blue); color: #fff; border: none;
  padding: 9px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: background 0.15s;
}
.btn-contact:hover         { background: var(--blue2); }
.btn-contact-locked        { background: var(--bg); color: var(--muted); border: 1.5px solid var(--border); display: flex; align-items: center; gap: 6px; }
.btn-contact-msg           { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); display: flex; align-items: center; gap: 6px; }
.btn-contact-msg:hover     { background: #EFF6FF; }

/* ── STEPS (Comment ça marche) ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step  { background: var(--white); border: 1.5px solid var(--border); border-radius: 16px; padding: 28px 24px; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue3); color: var(--blue);
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── CTA PROF ── */
.cta-prof::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 50%, rgba(243,156,18,0.15) 0%, transparent 50%);
}
.cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; position: relative;
}
.cta-text h2    { font-size: clamp(24px,3vw,38px); font-weight: 800; color: #fff; letter-spacing: -0.5px; margin-bottom: 10px; line-height: 1.2; }
.cta-text p     { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 480px; }
.cta-benefits   { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.cta-benefit    { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.85); }
.check          { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-size: 11px; }
.cta-actions    { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.btn-cta-orange { background: var(--orange); color: #fff; border: none; padding: 16px 36px; border-radius: 10px; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.btn-cta-orange:hover { background: var(--orange2); }
.cta-note       { font-size: 13px; color: rgba(255,255,255,0.6); text-align: center; }
.cta-note a     { color: rgba(255,255,255,0.8); text-decoration: underline; }

/* ── CENTRES ── */
.centres-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.centre-card  { background: var(--white); border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color 0.15s, transform 0.15s; cursor: pointer; }
.centre-card:hover { border-color: var(--blue2); transform: translateY(-2px); }
.centre-card-img   { height: 120px; display: flex; align-items: center; justify-content: center; }
.centre-card-body  { padding: 16px 20px 20px; }
.centre-name       { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.centre-ville      { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.centre-tags       { display: flex; flex-wrap: wrap; gap: 6px; }
.centre-tag        { font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 5px; background: var(--bg); color: var(--muted); border: 1px solid var(--border); }

/* ── FOOTER ── */
footer          { background: var(--navy); color: rgba(255,255,255,0.75); padding: 56px 2rem 32px; }
.footer-inner   { max-width: 1200px; margin: 0 auto; }
.footer-top     { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 40px; }
.logo-footer    { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-footer span { color: var(--orange); }
.footer-logo-icon { width: 32px; height: 32px; background: rgba(255,255,255,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.footer-col h4  { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom  { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; }
.footer-contact { display: flex; gap: 16px; }
.footer-contact a { font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-contact a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  /* ── Barre nav ── */
  nav { padding: 0 16px; }
  .nav-inner { height: 60px; gap: 0; }
  .nav-links  { display: none; }
  .nav-actions { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .burger-icon { display: block; }
  .close-icon  { display: none; }
  .nav-burger[aria-expanded="true"] .burger-icon { display: none; }
  .nav-burger[aria-expanded="true"] .close-icon  { display: block; }
  .nav-burger[aria-expanded="true"] { background: var(--blue3); border-radius: 8px; }

  /* ── Overlay ── */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 52, 96, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .nav-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  /* ── Drawer ── */
  .nav-drawer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    width: 72vw;
    max-width: 300px;
    background: #fff;
    z-index: 200;
    padding: 20px 16px 32px;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(26,86,160,0.12);
  }
  .nav-drawer.open {
    transform: translateX(0);
  }

  /* ── Liens dans le drawer ── */
  .nav-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
  }
  .nav-drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
  }
  .nav-drawer-link svg { flex-shrink: 0; color: var(--muted); transition: color 0.15s; }
  .nav-drawer-link:hover { background: var(--blue3); color: var(--blue); }
  .nav-drawer-link:hover svg { color: var(--blue); }
  .nav-drawer-link.active { background: var(--blue3); color: var(--blue); font-weight: 700; }
  .nav-drawer-link.active svg { color: var(--blue); }

  /* ── Boutons en bas du drawer ── */
  .nav-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .nav-drawer-btn-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-radius: 10px;
    text-decoration: none;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    font-weight: 600;
    font-size: 15px;
    transition: background 0.15s;
  }
  .nav-drawer-btn-ghost:hover { background: var(--blue3); }
  .nav-drawer-btn-orange {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-radius: 10px;
    text-decoration: none;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.15s;
  }
  .nav-drawer-btn-orange:hover { background: var(--orange2); }

  /* ── Reste du responsive ── */
  .search-bar { flex-direction: column; border-radius: 12px; }
  .search-field, .search-select { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .search-select { padding: 0 16px; }
  .ville-trigger { width: 100%; min-width: unset; }
  .ville-panel { left: 0; right: 0; min-width: unset; width: 100%; border-radius: 0 0 12px 12px; }
  .btn-search { width: 100%; justify-content: center; border-radius: 0 0 12px 12px; }
  .hero-stats { gap: 16px; }
  .cta-inner  { flex-direction: column; text-align: center; }
  .cta-benefits { align-items: center; }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* ════════════════════════════════════════════════════════════════
   AUTH — Connexion / Inscription
   ════════════════════════════════════════════════════════════════ */

.auth-wrap {
  min-height: calc(100vh - 70px);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 4px 24px rgba(26,86,160,.07);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
  text-decoration: none;
}
.auth-logo-icon {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.auth-logo-text { font-size: 1.1rem; font-weight: 800; color: var(--blue); }
.auth-logo-text span { color: var(--orange); }

.auth-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 6px;
}
.auth-subtitle {
  font-size: .875rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
}

/* Form */
.auth-form .form-group { margin-bottom: 18px; }

.auth-form label {
  display: block;
  font-size: .825rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.auth-form .input-wrap { position: relative; }

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.auth-form input:focus {
  border-color: var(--blue2);
  box-shadow: 0 0 0 3px rgba(46,134,193,.12);
}
.auth-form input.is-invalid { border-color: #e74c3c; }

/* Toggle password */
.toggle-pwd {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; padding: 2px;
  color: var(--muted);
  display: flex; align-items: center;
}
.toggle-pwd:hover { color: var(--blue); }

/* Remember + forgot */
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: .85rem;
}
.auth-remember {
  display: flex; align-items: center; gap: 7px;
  cursor: pointer; color: var(--text);
}
.auth-remember input[type="checkbox"] {
  width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer;
}
.auth-forgot { color: var(--blue2); text-decoration: none; font-weight: 500; }
.auth-forgot:hover { text-decoration: underline; }

/* Submit button */
.btn-auth {
  width: 100%;
  padding: 13px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn-auth:hover  { background: var(--navy); }
.btn-auth:active { transform: scale(.98); }

/* Divider */
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0 20px;
  color: var(--muted); font-size: .8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: ''; flex: 1;
  height: 1px; background: var(--border);
}

/* Switch link */
.auth-switch {
  text-align: center;
  font-size: .875rem;
  color: var(--muted);
}
.auth-switch a { color: var(--blue); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* Alert messages */
.auth-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .875rem;
  margin-bottom: 18px;
  display: flex; align-items: flex-start; gap: 8px;
}
.auth-alert.error   { background: #fdf2f2; border: 1px solid #f5c6cb; color: #c0392b; }
.auth-alert.success { background: #eafaf1; border: 1px solid #a9dfbf; color: #1e8449; }
.auth-alert svg { flex-shrink: 0; margin-top: 1px; }

/* Error text under field */
.field-error { color: #e74c3c; font-size: .8rem; margin-top: 4px; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .auth-card { padding: 28px 20px 24px; }
}
