/* =============================================
   BOKAMI — DESIGN SYSTEM
   Mobile-first · Service marketplace CI
   ============================================= */

/* ── VARIABLES ── */
:root {
  --c-primary:       #F97316;
  --c-primary-dark:  #EA6B00;
  --c-primary-light: #FFF7ED;
  --c-navy:          #0F2447;
  --c-navy-light:    #1A3A6B;
  --c-blue:          #1D4ED8;
  --c-blue-light:    #EFF6FF;
  --c-green:         #059669;
  --c-green-dark:    #047857;
  --c-green-light:   #ECFDF5;
  --c-red:           #EF4444;
  --c-yellow:        #F59E0B;
  --c-bg:            #F7F8FA;
  --c-surface:       #FFFFFF;
  --c-border:        #E8ECF0;
  --c-text:          #1A2332;
  --c-text-muted:    #64748B;
  --c-text-light:    #94A3B8;
  --c-whatsapp:      #25D366;

  --r-xs:  6px;
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 36px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.14);

  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  180ms;

  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --nav-h: 62px;
  --bottom-nav-h: 60px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  padding-bottom: var(--bottom-nav-h);
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { font-family: var(--font); }

/* ── LAYOUT ── */
.container        { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container--sm    { max-width: 560px;  margin: 0 auto; padding: 0 20px; }
.container--md    { max-width: 780px;  margin: 0 auto; padding: 0 20px; }

/* ── TYPOGRAPHY ── */
.text-xs    { font-size: .75rem; }
.text-sm    { font-size: .875rem; }
.text-base  { font-size: 1rem; }
.text-lg    { font-size: 1.125rem; }
.text-xl    { font-size: 1.25rem; }
.text-2xl   { font-size: 1.5rem; }
.text-3xl   { font-size: 1.875rem; }
.font-500   { font-weight: 500; }
.font-600   { font-weight: 600; }
.font-700   { font-weight: 700; }
.font-800   { font-weight: 800; }
.text-muted { color: var(--c-text-muted); }
.text-primary { color: var(--c-primary); }
.text-navy    { color: var(--c-navy); }

/* ══════════════════════════════════════
   BOUTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-md);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 48px;
  line-height: 1;
}
.btn--primary   { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(249,115,22,.35); }
.btn--navy      { background: var(--c-navy); color: #fff; }
.btn--navy:hover { background: var(--c-navy-light); transform: translateY(-1px); }
.btn--outline   { background: transparent; border: 2px solid var(--c-primary); color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary-light); }
.btn--ghost     { background: transparent; color: var(--c-text-muted); }
.btn--ghost:hover { background: var(--c-border); color: var(--c-text); }
.btn--danger    { background: var(--c-red); color: #fff; }
.btn--whatsapp  { background: var(--c-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn--white     { background: #fff; color: var(--c-primary); }
.btn--white:hover { background: var(--c-primary-light); }
.btn--full      { width: 100%; }
.btn--sm        { padding: 8px 16px; font-size: .825rem; min-height: 36px; border-radius: var(--r-sm); }
.btn--lg        { padding: 15px 32px; font-size: 1.05rem; border-radius: var(--r-lg); }
.btn:disabled   { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ══════════════════════════════════════
   FORMULAIRES
══════════════════════════════════════ */
.form-group  { margin-bottom: 18px; }
.form-label  {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 7px;
  letter-spacing: .01em;
}
.form-label .req { color: var(--c-red); margin-left: 3px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: .95rem;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-surface);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 48px;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}
.form-input::placeholder { color: var(--c-text-light); }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.form-hint  { font-size: .78rem; color: var(--c-text-muted); margin-top: 5px; }
.form-error { font-size: .8rem;  color: var(--c-red);        margin-top: 5px; }

/* Upload zone */
.file-zone {
  border: 2px dashed var(--c-border);
  border-radius: var(--r-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  background: var(--c-bg);
}
.file-zone:hover { border-color: var(--c-primary); background: var(--c-primary-light); }
.file-zone--done { border-color: var(--c-green); border-style: solid; background: #F0FDF4; }
.file-zone__icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.file-zone__text { font-size: .85rem; color: var(--c-text-muted); }

/* ══════════════════════════════════════
   MESSAGES FLASH
══════════════════════════════════════ */
.messages {
  position: fixed; top: calc(var(--nav-h) + 12px);
  left: 50%; transform: translateX(-50%);
  z-index: 200; width: 90%; max-width: 480px;
}
.message {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-radius: var(--r-md);
  margin-bottom: 8px; font-weight: 500; font-size: .9rem;
  box-shadow: var(--shadow-md); animation: slideDown .25s var(--ease);
}
@keyframes slideDown {
  from { opacity:0; transform:translateY(-10px); }
  to   { opacity:1; transform:translateY(0); }
}
.message--success { background: #D1FAE5; color: #065F46; border-left: 4px solid var(--c-green); }
.message--error   { background: #FEE2E2; color: #991B1B; border-left: 4px solid var(--c-red); }
.message--warning { background: #FEF3C7; color: #92400E; border-left: 4px solid var(--c-yellow); }
.message--info    { background: #DBEAFE; color: #1E40AF; border-left: 4px solid #3B82F6; }
.message__close   { background: none; border: none; cursor: pointer; font-size: 1rem; opacity: .5; padding: 0 4px; }
.message__close:hover { opacity: 1; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-xs);
  height: var(--nav-h);
}
.navbar__inner {
  max-width: 1140px; margin: 0 auto; padding: 0 20px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.navbar__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 800; color: var(--c-primary);
  letter-spacing: -.01em;
}
.navbar__logo-img {
  width: 48px; height: 48px;
  object-fit: contain; border-radius: 8px;
  flex-shrink: 0;
}
.navbar__logo-dot { color: var(--c-navy); }
.navbar__links  { display: none; align-items: center; gap: 4px; }
.navbar__link   {
  padding: 8px 14px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500; color: var(--c-text-muted);
  transition: all var(--dur) var(--ease);
}
.navbar__link:hover,
.navbar__link.active { background: var(--c-bg); color: var(--c-primary); }
.navbar__burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  border-radius: var(--r-sm);
}
.navbar__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--c-text); border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.navbar__mobile {
  display: none; flex-direction: column;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface); padding: 8px 12px 12px;
  box-shadow: var(--shadow-md);
}
.navbar__mobile.is-open { display: flex; }
.navbar__mobile-link {
  padding: 13px 16px; font-size: .95rem; font-weight: 500;
  border-radius: var(--r-sm); transition: all var(--dur) var(--ease);
  color: var(--c-text);
}
.navbar__mobile-link:hover            { background: var(--c-bg); color: var(--c-primary); }
.navbar__mobile-link--primary         { color: var(--c-primary); font-weight: 700; }
.navbar__mobile-link--danger          { color: var(--c-red); }

/* ══════════════════════════════════════
   BOTTOM NAV MOBILE
══════════════════════════════════════ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-h);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  display: flex; z-index: 100;
  box-shadow: 0 -2px 12px rgba(0,0,0,.07);
}
.bottom-nav__item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  color: var(--c-text-light); transition: color var(--dur) var(--ease);
}
.bottom-nav__item:hover,
.bottom-nav__item--active { color: var(--c-primary); }
.bottom-nav__icon  { font-size: 1.35rem; line-height: 1; }
.bottom-nav__label { font-size: .65rem; font-weight: 600; letter-spacing: .02em; }

/* ══════════════════════════════════════
   BADGES & TAGS
══════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 30px;
  font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.badge--green    { background: #D1FAE5; color: #065F46; }
.badge--gold     { background: #FEF3C7; color: #92400E; }
.badge--orange   { background: var(--c-primary-light); color: var(--c-primary-dark); }
.badge--red      { background: #FEE2E2; color: #991B1B; }
.badge--gray     { background: var(--c-bg); color: var(--c-text-muted); }
.badge--navy     { background: var(--c-navy); color: #fff; }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--c-bg); color: var(--c-text-muted);
  padding: 4px 12px; border-radius: 20px; font-size: .78rem; font-weight: 500;
}
.tag--price { background: var(--c-primary-light); color: var(--c-primary-dark); font-weight: 700; }

/* Disponibilité */
.dispo-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 30px; font-size: .78rem; font-weight: 700;
}
.dispo-badge::before { content:''; width:7px; height:7px; border-radius:50%; }
.dispo-badge--on  { background: #D1FAE5; color: #065F46; }
.dispo-badge--on::before  { background: var(--c-green); }
.dispo-badge--off { background: #F1F5F9; color: var(--c-text-muted); }
.dispo-badge--off::before { background: var(--c-text-light); }

/* ══════════════════════════════════════
   CARDS
══════════════════════════════════════ */
.card {
  background: var(--c-surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.card--hover { transition: all var(--dur) var(--ease); }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card-header__title { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-body   { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--c-border); background: var(--c-bg); }

/* ══════════════════════════════════════
   SECTION HERO (générique)
══════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-light) 100%);
  color: #fff; padding: 56px 20px 80px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 40px; background: var(--c-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero--orange { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%); }
.hero--orange::after { background: var(--c-bg); }
.hero__inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  padding: 6px 16px; border-radius: 30px;
  font-size: .8rem; font-weight: 600; color: #fff; margin-bottom: 20px;
}
.hero__title { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.hero__title span { color: var(--c-primary); }
.hero__sub   { font-size: 1rem; opacity: .85; margin-bottom: 0; }

/* ══════════════════════════════════════
   AUTH PAGES
══════════════════════════════════════ */
.auth-page {
  min-height: calc(100vh - var(--nav-h) - var(--bottom-nav-h));
  display: flex; align-items: center; justify-content: center;
  padding: 32px 16px; background: var(--c-bg);
}
.auth-card {
  background: var(--c-surface); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: 40px 32px;
  width: 100%; max-width: 420px;
}
.auth-card__icon    { font-size: 3.5rem; text-align: center; margin-bottom: 4px; }
.auth-card__title   { font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 6px; color: var(--c-navy); }
.auth-card__subtitle{ font-size: .9rem;  text-align: center; color: var(--c-text-muted); margin-bottom: 28px; }
.auth-card__note    { text-align: center; color: var(--c-text-light); font-size: .82rem; margin-top: 20px; }
.auth-form          { display: flex; flex-direction: column; gap: 4px; }

/* Saisie téléphone */
.phone-field {
  display: flex; border: 1.5px solid var(--c-border); border-radius: var(--r-sm);
  overflow: hidden; transition: border-color var(--dur) var(--ease);
  background: var(--c-surface);
}
.phone-field:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.phone-field__prefix {
  background: var(--c-bg); padding: 13px 14px;
  font-weight: 700; font-size: .9rem; color: var(--c-text-muted);
  border-right: 1.5px solid var(--c-border); white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
.phone-field .form-input {
  border: none; border-radius: 0; box-shadow: none;
  flex: 1; min-width: 0;
}
.phone-field .form-input:focus { box-shadow: none; }

/* OTP input */
.otp-input {
  text-align: center; font-size: 1.8rem; font-weight: 700;
  letter-spacing: 12px; padding: 16px;
}
.otp-timer   { text-align: center; color: var(--c-text-muted); font-size: .85rem; margin-bottom: 16px; }
.otp-warning { color: var(--c-red); font-size: .85rem; font-weight: 600; text-align: center; margin-bottom: 12px; }

/* Role cards */
.role-cards  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.role-card   { cursor: pointer; }
.role-card__input { display: none; }
.role-card__content {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 14px; border: 2px solid var(--c-border); border-radius: var(--r-lg);
  text-align: center; transition: all var(--dur) var(--ease); height: 100%;
  background: var(--c-surface);
}
.role-card__content:hover { border-color: var(--c-primary); background: var(--c-primary-light); }
.role-card__input:checked + .role-card__content {
  border-color: var(--c-primary); background: var(--c-primary-light);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.role-card__icon  { font-size: 2.5rem; }
.role-card__title { font-size: 1rem; font-weight: 700; color: var(--c-navy); }
.role-card__desc  { font-size: .78rem; color: var(--c-text-muted); line-height: 1.5; }

/* ══════════════════════════════════════
   FICHE PRESTATAIRE (détail)
══════════════════════════════════════ */
.fiche-wrap { padding: 24px 0 48px; }
.fiche-hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-light) 100%);
  padding: 36px 0 80px; position: relative;
}
.fiche-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 48px; background: var(--c-bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.fiche-body { max-width: 780px; margin: -48px auto 0; padding: 0 20px 40px; position: relative; z-index: 2; }

.fiche-card {
  background: var(--c-surface); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); overflow: hidden; margin-bottom: 20px;
}
.fiche-card__top {
  display: flex; gap: 20px; padding: 28px; flex-wrap: wrap; align-items: flex-start;
}
.fiche-card__avatar {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; border: 4px solid var(--c-surface); box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.fiche-card__avatar--ph {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff; font-size: 2.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fiche-card__info { flex: 1; min-width: 0; }
.fiche-card__name { font-size: 1.5rem; font-weight: 800; color: var(--c-navy); margin-bottom: 6px; }
.fiche-card__location { font-size: .9rem; color: var(--c-text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.fiche-card__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.fiche-card__rating { display: flex; align-items: center; gap: 10px; }
.fiche-card__stars  { color: var(--c-yellow); font-size: 1.1rem; letter-spacing: 2px; }
.fiche-card__contact { display: flex; gap: 12px; padding: 20px 28px; border-top: 1px solid var(--c-border); flex-wrap: wrap; }

.fiche-section { padding: 24px 28px; border-top: 1px solid var(--c-border); }
.fiche-section__title { font-size: .95rem; font-weight: 700; color: var(--c-navy); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; }

.service-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: var(--c-bg); border-radius: var(--r-sm);
  margin-bottom: 8px; font-size: .9rem;
}
.service-row__name { font-weight: 600; }
.service-row__price { font-weight: 700; color: var(--c-primary); }
.service-row__nego  { color: var(--c-text-light); font-style: italic; font-size: .85rem; }

/* ══════════════════════════════════════
   AVIS
══════════════════════════════════════ */
.avis-section { margin-bottom: 20px; }
.avis-form-box {
  background: var(--c-bg); border-radius: var(--r-lg);
  padding: 20px; margin-bottom: 20px; border: 1px solid var(--c-border);
}
.avis-form-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--c-navy); }

/* Star rating interactif */
.star-rating {
  display: flex; flex-direction: row-reverse; justify-content: flex-end;
  gap: 6px; margin-bottom: 14px;
}
.star-input { display: none; }
.star-label { font-size: 2rem; cursor: pointer; color: var(--c-border); transition: color var(--dur) var(--ease); }
.star-input:checked ~ .star-label,
.star-label:hover,
.star-label:hover ~ .star-label { color: var(--c-yellow); }

.avis-list  { display: flex; flex-direction: column; gap: 12px; }
.avis-item  {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: 18px; transition: box-shadow var(--dur) var(--ease);
}
.avis-item:hover { box-shadow: var(--shadow-sm); }
.avis-item__header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.avis-item__author { font-weight: 600; font-size: .9rem; }
.avis-item__stars  { color: var(--c-yellow); font-size: .9rem; letter-spacing: 2px; }
.avis-item__date   { font-size: .75rem; color: var(--c-text-light); margin-left: auto; }
.avis-item__text   { font-size: .9rem; color: var(--c-text-muted); line-height: 1.6; }
.avis-item__reponse {
  background: var(--c-primary-light); border-left: 3px solid var(--c-primary);
  padding: 12px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-top: 12px; font-size: .875rem;
}
.avis-item__reponse strong { color: var(--c-primary-dark); }
.avis-reponse-form { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.avis-login-prompt {
  text-align: center; padding: 24px; background: var(--c-bg);
  border-radius: var(--r-md); margin-bottom: 20px; border: 1px dashed var(--c-border);
}
.avis-login-prompt a { color: var(--c-primary); font-weight: 600; }

/* ══════════════════════════════════════
   CARTES PRESTATAIRES (grille)
══════════════════════════════════════ */
.prestataires-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.presta-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all var(--dur) var(--ease); box-shadow: var(--shadow-xs);
}
.presta-card:hover { border-color: rgba(249,115,22,.3); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.presta-card__img {
  position: relative; height: 200px; overflow: hidden;
  background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
}
.presta-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.presta-card:hover .presta-card__img img { transform: scale(1.04); }
.presta-card__img-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
}
.presta-card__status {
  position: absolute; top: 12px; right: 12px;
  padding: 5px 12px; border-radius: 30px; font-size: .7rem; font-weight: 700;
  backdrop-filter: blur(10px);
}
.presta-card__status--on  { background: rgba(16,185,129,.9); color: #fff; }
.presta-card__status--off { background: rgba(100,116,139,.85); color: #fff; }
.presta-card__body { padding: 18px; }
.presta-card__name { font-size: 1.05rem; font-weight: 800; color: var(--c-navy); margin-bottom: 4px; }
.presta-card__loc  { font-size: .82rem; color: var(--c-text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 5px; }
.presta-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.presta-card__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.presta-card__stars  { color: var(--c-yellow); font-size: .85rem; letter-spacing: 2px; }
.presta-card__rcount { font-size: .78rem; color: var(--c-text-light); }
.presta-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--c-border); }
.presta-card__price { font-size: .82rem; color: var(--c-text-muted); }
.presta-card__price strong { color: var(--c-primary); font-size: .95rem; }

/* ══════════════════════════════════════
   SERVICES (catégories)
══════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.service-cat {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 12px; background: var(--c-surface);
  border: 1.5px solid var(--c-border); border-radius: var(--r-lg);
  text-align: center; cursor: pointer; text-decoration: none;
  transition: all var(--dur) var(--ease); box-shadow: var(--shadow-xs);
}
.service-cat:hover { border-color: var(--c-primary); background: var(--c-primary-light); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.service-cat__icon { font-size: 2.4rem; line-height: 1; }
.service-cat__name { font-size: .82rem; font-weight: 700; color: var(--c-navy); }

/* ══════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════ */
.empty-state { text-align: center; padding: 56px 24px; color: var(--c-text-muted); }
.empty-state__icon { font-size: 4rem; display: block; margin-bottom: 16px; opacity: .5; }
.empty-state__title { font-size: 1.1rem; font-weight: 700; color: var(--c-text); margin-bottom: 8px; }
.empty-state__text  { font-size: .9rem; line-height: 1.6; }

/* ══════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════ */
.section-badge {
  display: inline-block; padding: 5px 14px;
  background: var(--c-primary-light); color: var(--c-primary-dark);
  border-radius: 30px; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px;
}
.section-title { font-size: 1.6rem; font-weight: 800; color: var(--c-navy); margin-bottom: 10px; }
.section-sub   { font-size: .95rem; color: var(--c-text-muted); max-width: 560px; margin: 0 auto; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--c-navy); color: #fff; padding: 48px 0 24px; }
.footer__inner {
  max-width: 1140px; margin: 0 auto; padding: 0 20px;
  display: grid; gap: 32px; margin-bottom: 32px;
}
.footer__brand { display: flex; flex-direction: column; }
.footer__logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: var(--c-primary); margin-bottom: 10px; }
.footer__logo-img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; flex-shrink: 0; }
.footer__brand-name { font-size: 1.4rem; font-weight: 800; color: var(--c-primary); margin-bottom: 8px; }
.footer__brand-desc { color: rgba(255,255,255,.55); font-size: .875rem; line-height: 1.7; }
.footer__heading    { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer__links      { display: flex; flex-direction: column; gap: 10px; }
.footer__links a    { color: rgba(255,255,255,.7); font-size: .875rem; transition: color var(--dur) var(--ease); }
.footer__links a:hover { color: var(--c-primary); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
  text-align: center; color: rgba(255,255,255,.35); font-size: .8rem;
  max-width: 1140px; margin: 0 auto; padding-left: 20px; padding-right: 20px;
}

/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  background: var(--c-surface); border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm); color: var(--c-text-muted);
  font-weight: 600; font-size: .875rem; transition: all var(--dur) var(--ease);
}
.page-link:hover { border-color: var(--c-primary); color: var(--c-primary); }
.page-link.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ══════════════════════════════════════
   DASHBOARD STATS
══════════════════════════════════════ */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stat-card {
  background: var(--c-surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs); padding: 20px 16px; text-align: center;
  border: 1px solid var(--c-border); transition: all var(--dur) var(--ease);
}
.stat-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.stat-card__icon  { font-size: 1.6rem; margin-bottom: 8px; display: block; }
.stat-card__value { font-size: 1.4rem; font-weight: 800; color: var(--c-navy); display: block; }
.stat-card__label { font-size: .72rem; color: var(--c-text-muted); font-weight: 600; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (min-width: 640px) {
  .hero__title           { font-size: 2.5rem; }
  .prestataires-grid     { grid-template-columns: repeat(2,1fr); }
  .footer__inner         { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  body                   { padding-bottom: 0; }
  .navbar__links         { display: flex; }
  .navbar__burger        { display: none; }
  .bottom-nav            { display: none; }
  .hero__title           { font-size: 3rem; }
  .prestataires-grid     { grid-template-columns: repeat(3,1fr); }
  .fiche-card__top       { flex-wrap: nowrap; }
  .fiche-card__contact   { flex-wrap: nowrap; }
}


/* ══════════════════════════════════════
   BADGES
══════════════════════════════════════ */
.badges-row {
  display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0;
}
.badge-item {
  display: inline-flex; align-items: center; gap: 3px;
  background: color-mix(in srgb, var(--badge-color) 12%, white);
  color: var(--badge-color);
  border: 1px solid color-mix(in srgb, var(--badge-color) 25%, white);
  padding: 2px 9px; border-radius: 20px;
  font-size: .7rem; font-weight: 700; white-space: nowrap;
}
