*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,Arial,sans-serif;background:#f5f7fb;color:#101828}.wrap{width:min(1120px,92%);margin:auto}.top{background:#111c33;color:white;position:sticky;top:0;z-index:10}.nav{height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{font-weight:950;font-size:22px;color:white;text-decoration:none}nav{display:flex;gap:16px;flex-wrap:wrap}nav a{color:#dbeafe;text-decoration:none;font-weight:700}.legal{background:#fff7ed;color:#7c2d12;padding:12px 0;font-size:14px;border-bottom:1px solid #fed7aa}.hero{background:linear-gradient(135deg,#2563eb,#0f172a);color:white;padding:90px 0}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center}.hero h1{font-size:54px;line-height:1;margin:14px 0}.hero p{font-size:18px;line-height:1.6;color:#dbeafe}.badge{display:inline-flex;background:#e0f2fe;color:#075985;border-radius:999px;padding:6px 10px;font-weight:800;font-size:13px}.ok-badge{background:#dcfce7;color:#166534}.page{padding:50px 0}.card{background:white;border:1px solid #e5e7eb;border-radius:24px;padding:26px;box-shadow:0 20px 50px rgba(15,23,42,.08);margin-bottom:22px}.narrow{max-width:620px;margin-inline:auto}.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.list{display:grid;gap:18px}.item h2{margin-top:0}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:14px;background:#2563eb;color:white;text-decoration:none;border:0;font-weight:900;cursor:pointer}.secondary{background:#e0e7ff;color:#1e3a8a}label{display:block;margin:14px 0 6px;font-weight:800}input,select,textarea{width:100%;border:1px solid #d0d5dd;border-radius:14px;padding:13px;font:inherit}textarea{min-height:120px}.search{display:grid;grid-template-columns:1fr auto;gap:10px;margin-bottom:20px}.error{background:#fee2e2;color:#991b1b;padding:12px;border-radius:14px}.ok{background:#dcfce7;color:#166534;padding:12px;border-radius:14px}.footer{background:#0f172a;color:#cbd5e1;padding:32px 0;margin-top:50px}.table{overflow:auto}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid #e5e7eb;padding:10px;text-align:left}.inline{display:flex;gap:8px;flex-wrap:wrap}.inline button{border:0;border-radius:10px;padding:8px 10px;cursor:pointer;font-weight:800}@media(max-width:800px){.hero-grid,.grid{grid-template-columns:1fr}.hero h1{font-size:38px}.nav{height:auto;padding:16px 0;align-items:flex-start;flex-direction:column}nav{gap:10px}.search{grid-template-columns:1fr}}
.siren-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
.hint{font-size:14px;color:#475569;margin-top:8px;line-height:1.4}
.success-text{color:#166534;background:#dcfce7;padding:10px;border-radius:12px}
.error-text{color:#991b1b;background:#fee2e2;padding:10px;border-radius:12px}
@media(max-width:700px){.siren-row{grid-template-columns:1fr}}


.logo-brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  min-width:210px;
}
.logo-brand img{
  height:58px;
  width:auto;
  display:block;
  object-fit:contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.22));
}
@media(max-width:800px){
  .logo-brand img{
    height:48px;
  }
  .logo-brand{
    min-width:0;
  }
}


.home-logo{
  width:100%;
  max-width:420px;
  display:block;
  margin:0 auto 18px;
  border-radius:18px;
}


.conditional-block{
  margin:14px 0;
  padding:14px;
  border:1px solid #dbeafe;
  background:#f8fbff;
  border-radius:16px;
}


.autocomplete-box{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 6px);
  background:#fff;
  border:1px solid #d0d5dd;
  border-radius:14px;
  box-shadow:0 18px 45px rgba(15,23,42,.18);
  z-index:9999;
  overflow:hidden;
  display:none;
}
.autocomplete-item{
  display:block;
  width:100%;
  text-align:left;
  border:0;
  background:#fff;
  padding:12px 14px;
  cursor:pointer;
  color:#101828;
}
.autocomplete-item:hover{
  background:#eff6ff;
}
.autocomplete-item strong{
  display:block;
  font-size:14px;
}
.autocomplete-item small{
  display:block;
  color:#667085;
  margin-top:3px;
  font-size:12px;
}
.autocomplete-loading,.autocomplete-empty{
  padding:12px 14px;
  color:#667085;
  font-size:14px;
}
.form-row-relative{
  position:relative;
}


.password-wrap{
  position:relative;
  display:flex;
  align-items:center;
}
.password-wrap input{
  padding-right:54px;
}
.password-toggle-btn{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:#e0e7ff;
  color:#1e3a8a;
  border-radius:10px;
  width:38px;
  height:34px;
  display:grid;
  place-items:center;
  cursor:pointer;
  font-size:16px;
  font-weight:900;
}
.password-toggle-btn:hover{
  background:#c7d2fe;
}


/* ===== Premium upgrade ===== */
a{color:inherit}
p{line-height:1.6}
h1,h2,h3{line-height:1.15;color:#0f172a}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.hero-tag{margin-bottom:10px}
.hero-points{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;color:#dbeafe;font-weight:700}
.hero-side .floating-card{background:rgba(255,255,255,.98)}
.section-head{margin-bottom:20px}
.section-head h1,.section-head h2{margin-bottom:8px}
.section-head.compact{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.promo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:24px}
.promo-card h3{margin-top:0}
.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat-box{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:18px;box-shadow:0 20px 40px rgba(15,23,42,.04)}
.stat-box strong{display:block;font-size:24px;color:#111c33}
.stat-box span{display:block;margin-top:6px;color:#475467}
.feature-list{display:grid;gap:18px}
.feature-list div{padding:14px;border-radius:18px;background:#f8fafc;border:1px solid #e5e7eb}
.feature-list h3,.feature-list strong{display:block;margin-bottom:6px}
.nav-message-link{position:relative;display:inline-flex;align-items:center;gap:6px}
.nav-badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:12px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:22px}
.footer a{color:#cbd5e1;text-decoration:none}
.muted{color:#64748b}
.badges-row{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 0}
.badge-blue{background:#dbeafe;color:#1d4ed8}
.badge-success{background:#dcfce7;color:#166534}
.badge-violet{background:#ede9fe;color:#6d28d9}
.badge-sky{background:#e0f2fe;color:#0369a1}
.advanced-search{margin-bottom:22px}
.search-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.filter-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:12px}
.checkline{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.checkline input{width:auto}
.profile-card{display:grid;gap:14px}
.profile-card-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.price-chip{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 14px;background:#eff6ff;color:#1d4ed8;font-weight:900}
.price-chip.large{font-size:18px}
.meta-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.meta-grid div{padding:12px 14px;border:1px solid #e5e7eb;border-radius:16px;background:#f8fafc}
.meta-grid strong{display:block;color:#111827;margin-bottom:4px}
.profile-hero{display:grid;gap:18px}
.profile-hero-top{display:grid;grid-template-columns:1.25fr .75fr;gap:20px}
.profile-subline{font-size:18px;color:#475467;margin-top:8px}
.profile-aside-box{padding:18px;border-radius:20px;background:#f8fbff;border:1px solid #dbeafe}
.rating-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}
.stars{color:#f59e0b;font-size:18px;letter-spacing:1px}
.profile-grid-premium{align-items:start}
.trust-list{display:grid;gap:12px}
.trust-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:16px;background:#f8fafc;border:1px solid #e5e7eb}
.review-list{display:grid;gap:14px}
.review-card{padding:18px;border-radius:18px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 12px 30px rgba(15,23,42,.03)}
.review-card h3{margin:10px 0 8px}
.review-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
.review-side{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.admin-stats{grid-template-columns:repeat(7,1fr);margin-bottom:20px}
.admin-feed-item{padding:12px 0;border-bottom:1px solid #e5e7eb}
.login-links{margin-top:16px}
.inline button{background:#eef2ff;color:#1e3a8a}
.inline button:hover{background:#dbeafe}
@media(max-width:1000px){
  .promo-grid,.stats-strip,.admin-stats{grid-template-columns:repeat(2,1fr)}
  .search-grid{grid-template-columns:repeat(2,1fr)}
  .profile-hero-top,.footer-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .promo-grid,.stats-strip,.admin-stats,.meta-grid,.search-grid{grid-template-columns:1fr}
  .filter-row,.profile-card-top,.review-head{align-items:stretch}
  .review-side{align-items:flex-start}
}


/* Legal + security pages */
.legal-page .card{
  max-width:960px;
  margin-left:auto;
  margin-right:auto;
}
.legal-page h1{
  font-size:clamp(32px,4vw,50px);
}
.legal-page h2{
  margin-top:28px;
}
.legal-page ul{
  padding-left:22px;
  line-height:1.8;
}
.rules-grid,
.security-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin:20px 0;
}
.security-card{
  padding:18px;
  border-radius:18px;
  border:1px solid #dbeafe;
  background:#f8fbff;
}
.security-card strong{
  display:block;
  color:#1d4ed8;
  margin-bottom:6px;
  font-size:18px;
}
.security-card span{
  color:#475569;
}
@media(max-width:760px){
  .rules-grid,
  .security-grid{
    grid-template-columns:1fr;
  }
}



/* ===== Restauration visuelle page Trouver + profils publics ===== */
.wrap{
  width:min(1120px,92%) !important;
  margin:auto !important;
}

.page{
  padding:50px 0 !important;
}

.card{
  background:#fff !important;
  border:1px solid #e5e7eb !important;
  border-radius:24px !important;
  padding:26px !important;
  box-shadow:0 20px 50px rgba(15,23,42,.08) !important;
  margin-bottom:22px !important;
}

.section-head{
  margin-bottom:22px !important;
}

.section-head h1{
  font-size:42px !important;
  letter-spacing:-1px !important;
  margin:0 0 10px !important;
}

.section-head p{
  color:#475569 !important;
  font-size:17px !important;
}

/* Formulaire recherche propre */
.advanced-search{
  margin-bottom:26px !important;
}

.search-grid{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:16px !important;
  align-items:end !important;
}

.filter-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  flex-wrap:wrap !important;
  margin-top:18px !important;
}

.checkline{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  width:auto !important;
  font-weight:850 !important;
}

.checkline input{
  width:auto !important;
}

input,
select,
textarea{
  width:100% !important;
  border:1px solid #d0d5dd !important;
  border-radius:14px !important;
  padding:13px !important;
  font:inherit !important;
  background:#fff !important;
}

/* Liste profils premium */
.premium-list,
.list{
  display:grid !important;
  gap:22px !important;
}

.profile-card{
  display:grid !important;
  gap:16px !important;
}

.profile-card-top{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:18px !important;
}

.profile-card-top.with-photo{
  display:grid !important;
  grid-template-columns:96px 1fr auto !important;
  gap:18px !important;
  align-items:start !important;
}

.profile-card-main{
  min-width:0 !important;
}

.profile-card h2{
  font-size:28px !important;
  margin:0 0 8px !important;
  color:#0f172a !important;
}

.profile-card .muted{
  color:#64748b !important;
  font-size:16px !important;
}

.profile-list-photo{
  width:96px !important;
  height:96px !important;
  border-radius:24px !important;
  object-fit:cover !important;
  background:#dbeafe !important;
  border:1px solid #dbeafe !important;
  box-shadow:0 16px 36px rgba(15,23,42,.10) !important;
}

.price-chip{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  padding:10px 14px !important;
  background:#eff6ff !important;
  color:#1d4ed8 !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

/* Badges confiance */
.badges-row{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin:12px 0 !important;
}

.badge{
  display:inline-flex !important;
  align-items:center !important;
  border-radius:999px !important;
  padding:7px 12px !important;
  font-size:13px !important;
  font-weight:950 !important;
  line-height:1 !important;
}

.badge-blue{
  background:#dbeafe !important;
  color:#1d4ed8 !important;
}

.badge-success{
  background:#dcfce7 !important;
  color:#166534 !important;
}

.badge-violet{
  background:#ede9fe !important;
  color:#6d28d9 !important;
}

.badge-sky{
  background:#e0f2fe !important;
  color:#0369a1 !important;
}

/* Blocs infos */
.meta-grid{
  display:grid !important;
  grid-template-columns:repeat(2,1fr) !important;
  gap:12px !important;
}

.meta-grid div{
  padding:14px 16px !important;
  border:1px solid #e5e7eb !important;
  border-radius:16px !important;
  background:#f8fafc !important;
}

.meta-grid strong{
  display:block !important;
  color:#111827 !important;
  margin-bottom:5px !important;
}

.meta-grid span{
  color:#334155 !important;
  line-height:1.5 !important;
}

/* Statuts propre */
.status-pills,
.mtc-status-row{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:10px !important;
  margin:12px 0 !important;
}

.status-pill,
.mtc-status-badge{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  padding:8px 12px !important;
  border-radius:999px !important;
  font-weight:950 !important;
  font-size:13px !important;
  line-height:1 !important;
  white-space:nowrap !important;
  border:1px solid #e5e7eb !important;
}

.status-pill::before{
  content:"" !important;
  width:10px !important;
  height:10px !important;
  border-radius:50% !important;
  display:inline-block !important;
  background:#94a3b8 !important;
}

.status-pill.online,
.status-pill.status-open,
.mtc-status-badge.mtc-status-online,
.mtc-status-badge.mtc-status-open{
  background:#dcfce7 !important;
  color:#166534 !important;
  border-color:#bbf7d0 !important;
}

.status-pill.online::before,
.status-pill.status-open::before{
  background:#22c55e !important;
}

.status-pill.offline,
.mtc-status-badge.mtc-status-offline{
  background:#f1f5f9 !important;
  color:#475569 !important;
  border-color:#e2e8f0 !important;
}

.status-pill.status-closed,
.mtc-status-badge.mtc-status-closed{
  background:#fee2e2 !important;
  color:#991b1b !important;
  border-color:#fecaca !important;
}

.status-pill.status-closed::before{
  background:#ef4444 !important;
}

/* Boutons */
.btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:12px 18px !important;
  border-radius:14px !important;
  background:#2563eb !important;
  color:#fff !important;
  text-decoration:none !important;
  border:0 !important;
  font-weight:950 !important;
  cursor:pointer !important;
}

.secondary,
.btn.secondary{
  background:#e0e7ff !important;
  color:#1e3a8a !important;
}

.actions{
  display:flex !important;
  gap:12px !important;
  flex-wrap:wrap !important;
  margin-top:18px !important;
}

/* Profil public */
.profile-hero-top{
  display:grid !important;
  grid-template-columns:1.25fr .75fr !important;
  gap:20px !important;
}

.profile-main-with-photo{
  display:grid !important;
  grid-template-columns:128px 1fr !important;
  gap:22px !important;
  align-items:start !important;
}

.profile-public-photo{
  width:128px !important;
  height:128px !important;
  border-radius:28px !important;
  object-fit:cover !important;
  background:#dbeafe !important;
  border:1px solid #dbeafe !important;
  box-shadow:0 20px 46px rgba(15,23,42,.14) !important;
}

.profile-aside-box{
  padding:18px !important;
  border-radius:20px !important;
  background:#f8fbff !important;
  border:1px solid #dbeafe !important;
}

.profile-grid-premium{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:22px !important;
  align-items:start !important;
}

.trust-list{
  display:grid !important;
  gap:12px !important;
}

.trust-item{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  padding:12px 14px !important;
  border-radius:16px !important;
  background:#f8fafc !important;
  border:1px solid #e5e7eb !important;
}

/* Responsive */
@media(max-width:1000px){
  .search-grid{
    grid-template-columns:repeat(2,1fr) !important;
  }

  .profile-hero-top,
  .profile-grid-premium{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:760px){
  .search-grid,
  .meta-grid{
    grid-template-columns:1fr !important;
  }

  .profile-card-top.with-photo{
    grid-template-columns:72px 1fr !important;
  }

  .profile-list-photo{
    width:72px !important;
    height:72px !important;
    border-radius:18px !important;
  }

  .profile-main-with-photo{
    grid-template-columns:1fr !important;
  }

  .profile-public-photo{
    width:110px !important;
    height:110px !important;
  }
}


/* Sécurité finale photos + statuts après extension Canada */
.profile-card-top.with-photo{
  display:grid !important;
  grid-template-columns:96px 1fr auto !important;
  gap:18px !important;
  align-items:start !important;
}
.profile-list-photo{
  width:96px !important;
  height:96px !important;
  object-fit:cover !important;
  border-radius:24px !important;
  background:#dbeafe !important;
  box-shadow:0 16px 36px rgba(15,23,42,.10) !important;
}
.profile-main-with-photo{
  display:grid !important;
  grid-template-columns:128px 1fr !important;
  gap:22px !important;
  align-items:start !important;
}
.profile-public-photo{
  width:128px !important;
  height:128px !important;
  object-fit:cover !important;
  border-radius:28px !important;
  background:#dbeafe !important;
  box-shadow:0 20px 46px rgba(15,23,42,.14) !important;
}
.mtc-status-row{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:10px !important;
  margin:12px 0 14px !important;
}
.mtc-status-badge{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  padding:8px 13px !important;
  border-radius:999px !important;
  font-size:13px !important;
  font-weight:950 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
.mtc-status-dot{
  width:10px !important;
  height:10px !important;
  border-radius:50% !important;
  display:inline-block !important;
  background:#94a3b8 !important;
}
.mtc-status-online,
.mtc-status-open{
  background:#dcfce7 !important;
  color:#166534 !important;
}
.mtc-status-online .mtc-status-dot,
.mtc-status-open .mtc-status-dot{
  background:#22c55e !important;
}
.mtc-status-offline{
  background:#f1f5f9 !important;
  color:#475569 !important;
}
.mtc-status-closed{
  background:#fee2e2 !important;
  color:#991b1b !important;
}
.mtc-status-closed .mtc-status-dot{
  background:#ef4444 !important;
}
.mtc-status-unknown{
  background:#fef3c7 !important;
  color:#92400e !important;
}
.mtc-status-unknown .mtc-status-dot{
  background:#f59e0b !important;
}
@media(max-width:760px){
  .profile-card-top.with-photo{
    grid-template-columns:72px 1fr !important;
  }
  .profile-list-photo{
    width:72px !important;
    height:72px !important;
  }
  .profile-main-with-photo{
    grid-template-columns:1fr !important;
  }
}


/* Gestion des demandes */
.btn.danger,
.danger{
  background:#dc2626 !important;
  color:#fff !important;
}
.btn.danger-soft,
.danger-soft{
  background:#fee2e2 !important;
  color:#991b1b !important;
}
.narrow{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}


/* Avatar demandeur sur les demandes */
.requester-mini{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}
.requester-mini img{
  width:58px;
  height:58px;
  border-radius:18px;
  object-fit:cover;
  background:#dbeafe;
  border:1px solid #dbeafe;
  box-shadow:0 10px 26px rgba(15,23,42,.10);
}
.requester-mini p{
  margin:7px 0 0;
}
.public-request-title-row{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.requester-avatar-small{
  width:54px;
  height:54px;
  border-radius:16px;
  object-fit:cover;
  background:#dbeafe;
  border:1px solid #dbeafe;
  flex:0 0 auto;
}
@media(max-width:760px){
  .requester-mini img,
  .requester-avatar-small{
    width:46px;
    height:46px;
    border-radius:14px;
  }
}



/* ===== Menu premium type marketplace + grand logo ===== */
.modern-top{
  background:#ffffff !important;
  color:#0f172a !important;
  border-bottom:1px solid #e5e7eb !important;
  box-shadow:0 8px 30px rgba(15,23,42,.06) !important;
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
}

.modern-nav{
  min-height:82px !important;
  height:auto !important;
  display:grid !important;
  grid-template-columns:250px 1fr auto !important;
  align-items:center !important;
  gap:22px !important;
}

.modern-logo-brand{
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  text-decoration:none !important;
}

.modern-logo-brand img{
  height:74px !important;
  width:auto !important;
  max-width:240px !important;
  object-fit:contain !important;
  display:block !important;
  filter:none !important;
  mix-blend-mode:multiply;
  background:transparent !important;
}

.modern-menu{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  flex-wrap:wrap !important;
}

.modern-menu .nav-item{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  min-width:76px !important;
  min-height:60px !important;
  padding:8px 10px !important;
  border-radius:16px !important;
  color:#334155 !important;
  text-decoration:none !important;
  font-weight:900 !important;
  font-size:13px !important;
  transition:background .18s ease, transform .18s ease, color .18s ease !important;
}

.modern-menu .nav-item:hover{
  background:#f1f5f9 !important;
  color:#1d4ed8 !important;
  transform:translateY(-1px);
}

.modern-menu .nav-item.active{
  background:#eff6ff !important;
  color:#1d4ed8 !important;
}

.modern-menu .nav-icon{
  font-size:22px !important;
  line-height:1 !important;
}

.nav-badge{
  position:absolute !important;
  top:3px !important;
  right:7px !important;
  min-width:20px !important;
  height:20px !important;
  padding:0 6px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  background:#e11d48 !important;
  color:#ffffff !important;
  font-size:12px !important;
  font-weight:950 !important;
  box-shadow:0 6px 14px rgba(225,29,72,.28) !important;
}

.modern-user-pill{
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  padding:9px 13px !important;
  border-radius:999px !important;
  background:#f8fafc !important;
  border:1px solid #e2e8f0 !important;
  color:#0f172a !important;
  font-weight:900 !important;
  max-width:210px !important;
  white-space:nowrap !important;
}

.modern-user-pill .user-name{
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.user-dot{
  width:10px !important;
  height:10px !important;
  border-radius:50% !important;
  background:#22c55e !important;
  box-shadow:0 0 0 4px rgba(34,197,94,.16) !important;
  flex:0 0 auto !important;
}

.modern-user-pill .user-badge{
  position:static !important;
  box-shadow:none !important;
}

.modern-legal{
  background:#fff7ed !important;
  color:#7c2d12 !important;
  padding:10px 0 !important;
  font-size:14px !important;
  border-bottom:1px solid #fed7aa !important;
}

/* corrige l’ancien nav global */
.top nav a{
  color:inherit;
}

@media(max-width:1050px){
  .modern-nav{
    grid-template-columns:210px 1fr !important;
  }

  .modern-user-pill{
    display:none !important;
  }

  .modern-logo-brand img{
    height:64px !important;
    max-width:205px !important;
  }

  .modern-menu .nav-item{
    min-width:66px !important;
    font-size:12px !important;
  }
}

@media(max-width:760px){
  .modern-nav{
    grid-template-columns:1fr !important;
    gap:8px !important;
    padding:8px 0 !important;
  }

  .modern-logo-brand{
    justify-content:center !important;
  }

  .modern-logo-brand img{
    height:68px !important;
    max-width:260px !important;
  }

  .modern-menu{
    justify-content:flex-start !important;
    overflow-x:auto !important;
    flex-wrap:nowrap !important;
    padding:6px 0 2px !important;
    scrollbar-width:none;
  }

  .modern-menu::-webkit-scrollbar{
    display:none;
  }

  .modern-menu .nav-item{
    min-width:74px !important;
    flex:0 0 auto !important;
  }

  .modern-legal{
    font-size:12px !important;
  }
}



/* ===== Menu sobre final Maison TechCare ===== */
.clean-top{
  background:linear-gradient(90deg,#071426 0%, #0b1f3a 52%, #06111f 100%) !important;
  color:#ffffff !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  box-shadow:0 12px 34px rgba(15,23,42,.24) !important;
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
}

.clean-nav{
  min-height:86px !important;
  height:auto !important;
  display:grid !important;
  grid-template-columns:300px 1fr auto !important;
  align-items:center !important;
  gap:24px !important;
}

.clean-logo-brand{
  display:flex !important;
  align-items:center !important;
  text-decoration:none !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  overflow:visible !important;
  min-width:0 !important;
}

.clean-logo-brand img{
  height:78px !important;
  width:auto !important;
  max-width:292px !important;
  object-fit:contain !important;
  display:block !important;
  background:transparent !important;
  mix-blend-mode:normal !important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.28)) !important;
}

/* annule les anciens gros pictos */
.clean-menu .nav-icon{
  display:none !important;
}

.clean-menu{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  flex-wrap:wrap !important;
}

.clean-menu .nav-item{
  position:relative !important;
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:auto !important;
  min-height:auto !important;
  height:42px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  color:#dbeafe !important;
  background:transparent !important;
  border:1px solid transparent !important;
  text-decoration:none !important;
  font-weight:950 !important;
  font-size:15px !important;
  letter-spacing:.1px !important;
  line-height:1 !important;
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease !important;
}

.clean-menu .nav-item:hover{
  background:rgba(255,255,255,.09) !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#ffffff !important;
  transform:translateY(-1px);
}

.clean-menu .nav-item.active{
  background:#ffffff !important;
  color:#0b1f3a !important;
  border-color:#ffffff !important;
  box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
}

.clean-user-pill{
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  max-width:220px !important;
  padding:10px 14px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  color:#ffffff !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

.clean-user-pill .user-name{
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.user-dot{
  width:10px !important;
  height:10px !important;
  border-radius:50% !important;
  background:#22c55e !important;
  box-shadow:0 0 0 4px rgba(34,197,94,.18) !important;
  flex:0 0 auto !important;
}

.nav-badge{
  position:absolute !important;
  top:-5px !important;
  right:-5px !important;
  min-width:20px !important;
  height:20px !important;
  padding:0 6px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  background:#e11d48 !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:950 !important;
}

.clean-user-pill .user-badge{
  position:static !important;
}

.clean-legal{
  background:#fff7ed !important;
  color:#7c2d12 !important;
  padding:10px 0 !important;
  font-size:14px !important;
  border-bottom:1px solid #fed7aa !important;
}

/* force l'ancien header à ne pas remettre de fond autour du logo */
.logo-brand,
.modern-logo-brand,
.brand{
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
}

/* responsive */
@media(max-width:1120px){
  .clean-nav{
    grid-template-columns:250px 1fr !important;
  }

  .clean-logo-brand img{
    height:68px !important;
    max-width:245px !important;
  }

  .clean-user-pill{
    display:none !important;
  }

  .clean-menu .nav-item{
    font-size:14px !important;
    padding:0 11px !important;
  }
}

@media(max-width:760px){
  .clean-nav{
    grid-template-columns:1fr !important;
    gap:8px !important;
    padding:10px 0 !important;
  }

  .clean-logo-brand{
    justify-content:center !important;
  }

  .clean-logo-brand img{
    height:74px !important;
    max-width:290px !important;
  }

  .clean-menu{
    justify-content:flex-start !important;
    overflow-x:auto !important;
    flex-wrap:nowrap !important;
    padding:6px 0 2px !important;
    scrollbar-width:none !important;
  }

  .clean-menu::-webkit-scrollbar{
    display:none !important;
  }

  .clean-menu .nav-item{
    flex:0 0 auto !important;
  }

  .clean-legal{
    font-size:12px !important;
  }
}



/* ===== Correction finale : menu sobre restauré + badges moins verts ===== */

/* Menu sobre validé */
.clean-top{
  background:linear-gradient(90deg,#071426 0%, #0b1f3a 52%, #06111f 100%) !important;
  color:#ffffff !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  box-shadow:0 12px 34px rgba(15,23,42,.24) !important;
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
}
.clean-nav{
  min-height:86px !important;
  height:auto !important;
  display:grid !important;
  grid-template-columns:300px 1fr auto !important;
  align-items:center !important;
  gap:24px !important;
}
.clean-logo-brand{
  display:flex !important;
  align-items:center !important;
  text-decoration:none !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  overflow:visible !important;
}
.clean-logo-brand img{
  height:78px !important;
  width:auto !important;
  max-width:292px !important;
  object-fit:contain !important;
  display:block !important;
  background:transparent !important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.28)) !important;
}
.clean-menu .nav-icon{
  display:none !important;
}
.clean-menu{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  flex-wrap:wrap !important;
}
.clean-menu .nav-item{
  position:relative !important;
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:auto !important;
  min-height:auto !important;
  height:42px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  color:#dbeafe !important;
  background:transparent !important;
  border:1px solid transparent !important;
  text-decoration:none !important;
  font-weight:950 !important;
  font-size:15px !important;
  line-height:1 !important;
}
.clean-menu .nav-item:hover{
  background:rgba(255,255,255,.09) !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#ffffff !important;
}
.clean-menu .nav-item.active{
  background:#ffffff !important;
  color:#0b1f3a !important;
  border-color:#ffffff !important;
  box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
}
.clean-user-pill{
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  max-width:220px !important;
  padding:10px 14px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  color:#ffffff !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}
.clean-user-pill .user-name{
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.clean-legal{
  background:#fff7ed !important;
  color:#7c2d12 !important;
  padding:10px 0 !important;
  font-size:14px !important;
  border-bottom:1px solid #fed7aa !important;
}

/* Badges statuts : moins flashy */
.mtc-status-badge{
  box-shadow:none !important;
  border:1px solid #e2e8f0 !important;
  font-size:13px !important;
  padding:8px 12px !important;
}
.mtc-status-online{
  background:#f1f5f9 !important;
  color:#0f766e !important;
  border-color:#ccfbf1 !important;
}
.mtc-status-open{
  background:#f8fafc !important;
  color:#166534 !important;
  border-color:#dcfce7 !important;
}
.mtc-status-offline{
  background:#f8fafc !important;
  color:#64748b !important;
  border-color:#e2e8f0 !important;
}
.mtc-status-closed{
  background:#fff1f2 !important;
  color:#be123c !important;
  border-color:#ffe4e6 !important;
}
.mtc-status-dot{
  width:8px !important;
  height:8px !important;
}

/* Modes intervention : couleurs plus premium */
.intervention-mode-row{
  gap:9px !important;
  margin:10px 0 14px !important;
}
.intervention-mode-badge{
  border:1px solid #e2e8f0 !important;
  background:#f8fafc !important;
  color:#334155 !important;
  box-shadow:none !important;
  font-size:13px !important;
  padding:8px 12px !important;
}
.intervention-mode-badge::before{
  width:8px !important;
  height:8px !important;
}
.mode-home{
  background:#f8fafc !important;
  color:#0f766e !important;
  border-color:#ccfbf1 !important;
}
.mode-home::before{
  background:#14b8a6 !important;
}
.mode-shop{
  background:#eff6ff !important;
  color:#1d4ed8 !important;
  border-color:#dbeafe !important;
}
.mode-shop::before{
  background:#2563eb !important;
}
.mode-remote{
  background:#faf5ff !important;
  color:#7e22ce !important;
  border-color:#f3e8ff !important;
}
.mode-remote::before{
  background:#9333ea !important;
}

/* Sur les cartes profil : évite l'effet trop chargé */
.badges-row .badge-success{
  background:#f1f5f9 !important;
  color:#0f766e !important;
}
.badges-row .badge-blue,
.badges-row .badge-sky{
  background:#eff6ff !important;
  color:#1d4ed8 !important;
}

@media(max-width:1120px){
  .clean-nav{
    grid-template-columns:250px 1fr !important;
  }
  .clean-logo-brand img{
    height:68px !important;
    max-width:245px !important;
  }
  .clean-user-pill{
    display:none !important;
  }
}
@media(max-width:760px){
  .clean-nav{
    grid-template-columns:1fr !important;
    gap:8px !important;
    padding:10px 0 !important;
  }
  .clean-logo-brand{
    justify-content:center !important;
  }
  .clean-logo-brand img{
    height:74px !important;
    max-width:290px !important;
  }
  .clean-menu{
    justify-content:flex-start !important;
    overflow-x:auto !important;
    flex-wrap:nowrap !important;
    padding:6px 0 2px !important;
  }
  .clean-menu .nav-item{
    flex:0 0 auto !important;
  }
}



/* =========================================================
   MENU RÉUSSI REFAIT - Maison TechCare
   ========================================================= */
.mtc-topbar{
  background:linear-gradient(90deg,#071426 0%,#0b1f3a 50%,#06111f 100%) !important;
  color:#ffffff !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  box-shadow:0 12px 34px rgba(15,23,42,.24) !important;
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
}

.mtc-topbar-inner{
  min-height:88px !important;
  display:grid !important;
  grid-template-columns:320px 1fr auto !important;
  align-items:center !important;
  gap:24px !important;
}

.mtc-brand{
  display:flex !important;
  align-items:center !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  text-decoration:none !important;
  overflow:visible !important;
}

.mtc-brand img{
  height:82px !important;
  width:auto !important;
  max-width:315px !important;
  object-fit:contain !important;
  display:block !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.32)) !important;
}

.mtc-menu{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  flex-wrap:wrap !important;
}

.mtc-menu-link{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:42px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  color:#dbeafe !important;
  background:transparent !important;
  border:1px solid transparent !important;
  text-decoration:none !important;
  font-size:15px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
  line-height:1 !important;
}

.mtc-menu-link:hover{
  background:rgba(255,255,255,.09) !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#ffffff !important;
}

.mtc-menu-link.active{
  background:#ffffff !important;
  color:#0b1f3a !important;
  border-color:#ffffff !important;
  box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
}

.mtc-menu-badge{
  position:absolute !important;
  top:-6px !important;
  right:-6px !important;
  min-width:20px !important;
  height:20px !important;
  padding:0 6px !important;
  border-radius:999px !important;
  background:#e11d48 !important;
  color:#ffffff !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:12px !important;
  font-weight:950 !important;
}

.mtc-account-pill{
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  max-width:220px !important;
  padding:10px 14px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  color:#ffffff !important;
  font-weight:950 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.mtc-online-dot{
  width:10px !important;
  height:10px !important;
  border-radius:50% !important;
  background:#22c55e !important;
  box-shadow:0 0 0 4px rgba(34,197,94,.18) !important;
  flex:0 0 auto !important;
}

.mtc-info-line{
  background:#fff7ed !important;
  color:#7c2d12 !important;
  padding:10px 0 !important;
  font-size:14px !important;
  border-bottom:1px solid #fed7aa !important;
}

/* cache les anciens pictos si un ancien menu reste quelque part */
.nav-icon{
  display:none !important;
}

/* Badges doux */
.mtc-status-badge{
  box-shadow:none !important;
  border:1px solid #e2e8f0 !important;
  font-size:13px !important;
  padding:8px 12px !important;
}
.mtc-status-online{
  background:#f1f5f9 !important;
  color:#0f766e !important;
  border-color:#ccfbf1 !important;
}
.mtc-status-open{
  background:#f8fafc !important;
  color:#166534 !important;
  border-color:#dcfce7 !important;
}
.mtc-status-offline{
  background:#f8fafc !important;
  color:#64748b !important;
  border-color:#e2e8f0 !important;
}
.mtc-status-closed{
  background:#fff1f2 !important;
  color:#be123c !important;
  border-color:#ffe4e6 !important;
}
.mtc-status-dot{
  width:8px !important;
  height:8px !important;
}

/* Modes intervention */
.mode-card{
  border:1px solid #dbeafe;
  background:#f8fbff;
  border-radius:20px;
  padding:18px;
  margin:18px 0;
}
.mode-card h3{
  margin:0 0 6px;
  color:#0f172a;
}
.mode-card .checkline{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  margin:12px 0 !important;
  width:fit-content !important;
}
.mode-card .checkline input{
  width:auto !important;
}
.intervention-mode-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin:10px 0 14px;
}
.intervention-mode-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:950;
  line-height:1;
  white-space:nowrap;
  border:1px solid #e2e8f0 !important;
  box-shadow:none !important;
}
.intervention-mode-badge::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  display:inline-block;
}
.mode-home{
  background:#f8fafc !important;
  color:#0f766e !important;
  border-color:#ccfbf1 !important;
}
.mode-home::before{
  background:#14b8a6 !important;
}
.mode-shop{
  background:#eff6ff !important;
  color:#1d4ed8 !important;
  border-color:#dbeafe !important;
}
.mode-shop::before{
  background:#2563eb !important;
}
.mode-remote{
  background:#faf5ff !important;
  color:#7e22ce !important;
  border-color:#f3e8ff !important;
}
.mode-remote::before{
  background:#9333ea !important;
}

@media(max-width:1120px){
  .mtc-topbar-inner{
    grid-template-columns:255px 1fr !important;
  }
  .mtc-brand img{
    height:70px !important;
    max-width:250px !important;
  }
  .mtc-account-pill{
    display:none !important;
  }
  .mtc-menu-link{
    font-size:14px !important;
    padding:0 11px !important;
  }
}

@media(max-width:760px){
  .mtc-topbar-inner{
    grid-template-columns:1fr !important;
    gap:8px !important;
    padding:10px 0 !important;
  }
  .mtc-brand{
    justify-content:center !important;
  }
  .mtc-brand img{
    height:76px !important;
    max-width:300px !important;
  }
  .mtc-menu{
    justify-content:flex-start !important;
    overflow-x:auto !important;
    flex-wrap:nowrap !important;
    padding:6px 0 2px !important;
    scrollbar-width:none !important;
  }
  .mtc-menu::-webkit-scrollbar{
    display:none !important;
  }
  .mtc-menu-link{
    flex:0 0 auto !important;
  }
  .mtc-info-line{
    font-size:12px !important;
  }
}



/* =========================================================
   MENU STYLE ALLOVOISINS - Maison TechCare
   ========================================================= */
.av-header{
  background:#ffffff !important;
  color:#172033 !important;
  border-bottom:1px solid #e7edf5 !important;
  box-shadow:0 6px 22px rgba(15,23,42,.06) !important;
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
}

.av-header-inner{
  min-height:74px !important;
  display:grid !important;
  grid-template-columns:260px 1fr auto !important;
  align-items:center !important;
  gap:18px !important;
}

.av-logo{
  display:flex !important;
  align-items:center !important;
  text-decoration:none !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

.av-logo img{
  height:66px !important;
  max-width:250px !important;
  width:auto !important;
  object-fit:contain !important;
  display:block !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

.av-nav{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  flex-wrap:wrap !important;
}

.av-nav-link{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:3px !important;
  min-width:76px !important;
  height:58px !important;
  padding:6px 10px !important;
  border-radius:12px !important;
  background:transparent !important;
  color:#334155 !important;
  text-decoration:none !important;
  font-size:13px !important;
  font-weight:900 !important;
  line-height:1.05 !important;
  border:1px solid transparent !important;
}

.av-nav-link:hover{
  background:#f3f7fb !important;
  color:#0f172a !important;
  border-color:#edf2f7 !important;
}

.av-nav-link.active{
  background:#eff6ff !important;
  color:#0f2c5c !important;
  border-color:#dbeafe !important;
}

.av-nav-icon{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:24px !important;
  height:24px !important;
  border-radius:999px !important;
  color:#2563eb !important;
  font-size:18px !important;
  font-weight:950 !important;
  line-height:1 !important;
}

.av-nav-link.active .av-nav-icon{
  color:#0f2c5c !important;
}

.av-badge{
  position:absolute !important;
  top:4px !important;
  right:8px !important;
  min-width:18px !important;
  height:18px !important;
  padding:0 5px !important;
  border-radius:999px !important;
  background:#e11d48 !important;
  color:#ffffff !important;
  font-size:11px !important;
  font-weight:950 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.av-user{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  max-width:210px !important;
  padding:9px 13px !important;
  border-radius:999px !important;
  background:#f8fafc !important;
  border:1px solid #e2e8f0 !important;
  color:#0f172a !important;
  font-weight:900 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.av-user-dot{
  width:9px !important;
  height:9px !important;
  border-radius:50% !important;
  background:#22c55e !important;
  box-shadow:0 0 0 4px rgba(34,197,94,.14) !important;
  flex:0 0 auto !important;
}

.av-info{
  background:#fff7ed !important;
  color:#7c2d12 !important;
  padding:10px 0 !important;
  font-size:14px !important;
  border-bottom:1px solid #fed7aa !important;
}

/* neutralise les anciens menus */
.mtc-topbar,
.top,
.modern-top,
.clean-top{
  display:none;
}
body .av-header{
  display:block !important;
}

/* Badges doux conservés */
.mtc-status-badge{
  box-shadow:none !important;
  border:1px solid #e2e8f0 !important;
  font-size:13px !important;
  padding:8px 12px !important;
}
.mtc-status-online{
  background:#f1f5f9 !important;
  color:#0f766e !important;
  border-color:#ccfbf1 !important;
}
.mtc-status-open{
  background:#f8fafc !important;
  color:#166534 !important;
  border-color:#dcfce7 !important;
}
.mtc-status-offline{
  background:#f8fafc !important;
  color:#64748b !important;
  border-color:#e2e8f0 !important;
}
.mtc-status-closed{
  background:#fff1f2 !important;
  color:#be123c !important;
  border-color:#ffe4e6 !important;
}
.mtc-status-dot{
  width:8px !important;
  height:8px !important;
}

/* Modes intervention */
.mode-card{
  border:1px solid #dbeafe;
  background:#f8fbff;
  border-radius:20px;
  padding:18px;
  margin:18px 0;
}
.mode-card .checkline{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  margin:12px 0 !important;
  width:fit-content !important;
}
.mode-card .checkline input{
  width:auto !important;
}
.intervention-mode-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin:10px 0 14px;
}
.intervention-mode-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:950;
  line-height:1;
  white-space:nowrap;
  border:1px solid #e2e8f0 !important;
  box-shadow:none !important;
}
.intervention-mode-badge::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  display:inline-block;
}
.mode-home{
  background:#f8fafc !important;
  color:#0f766e !important;
  border-color:#ccfbf1 !important;
}
.mode-home::before{
  background:#14b8a6 !important;
}
.mode-shop{
  background:#eff6ff !important;
  color:#1d4ed8 !important;
  border-color:#dbeafe !important;
}
.mode-shop::before{
  background:#2563eb !important;
}
.mode-remote{
  background:#faf5ff !important;
  color:#7e22ce !important;
  border-color:#f3e8ff !important;
}
.mode-remote::before{
  background:#9333ea !important;
}

@media(max-width:1080px){
  .av-header-inner{
    grid-template-columns:220px 1fr !important;
  }
  .av-user{
    display:none !important;
  }
  .av-logo img{
    height:58px !important;
    max-width:215px !important;
  }
  .av-nav-link{
    min-width:68px !important;
    font-size:12px !important;
  }
}

@media(max-width:760px){
  .av-header-inner{
    grid-template-columns:1fr !important;
    gap:8px !important;
    padding:8px 0 !important;
  }
  .av-logo{
    justify-content:center !important;
  }
  .av-logo img{
    height:62px !important;
    max-width:250px !important;
  }
  .av-nav{
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    padding:4px 0 !important;
    scrollbar-width:none !important;
  }
  .av-nav::-webkit-scrollbar{
    display:none !important;
  }
  .av-nav-link{
    flex:0 0 auto !important;
  }
  .av-info{
    font-size:12px !important;
  }
}



/* =========================================================
   MENU SOBRE BLANC FINAL - propre, simple, lisible
   ========================================================= */

/* Header blanc propre */
.av-header{
  background:#ffffff !important;
  color:#0f172a !important;
  border-bottom:1px solid #e5e7eb !important;
  box-shadow:0 6px 22px rgba(15,23,42,.06) !important;
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
}

/* Hauteur maîtrisée */
.av-header-inner{
  min-height:78px !important;
  display:grid !important;
  grid-template-columns:285px 1fr auto !important;
  align-items:center !important;
  gap:22px !important;
}

/* Logo bien visible mais pas écrasant */
.av-logo{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  text-decoration:none !important;
}

.av-logo img{
  height:70px !important;
  max-width:278px !important;
  width:auto !important;
  object-fit:contain !important;
  display:block !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  filter:none !important;
}

/* Menu en une ligne */
.av-nav{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;
  gap:8px !important;
  min-width:0 !important;
}

/* Liens simples, style marketplace */
.av-nav-link{
  position:relative !important;
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  min-width:auto !important;
  height:42px !important;
  padding:0 13px !important;
  border-radius:14px !important;
  background:transparent !important;
  color:#334155 !important;
  border:1px solid transparent !important;
  text-decoration:none !important;
  font-size:14px !important;
  font-weight:950 !important;
  line-height:1 !important;
  white-space:nowrap !important;
  box-shadow:none !important;
}

/* Icônes petites et propres */
.av-nav-icon{
  width:auto !important;
  height:auto !important;
  font-size:13px !important;
  color:#64748b !important;
  display:inline-flex !important;
  line-height:1 !important;
}

/* On enlève l'icône de déconnexion pour éviter le rendu bizarre */
.av-nav-link[href*="logout"] .av-nav-icon{
  display:none !important;
}

.av-nav-link:hover{
  background:#f1f5f9 !important;
  color:#0f172a !important;
  border-color:#e2e8f0 !important;
}

.av-nav-link.active{
  background:#eaf2ff !important;
  color:#0f2c5c !important;
  border-color:#dbeafe !important;
  box-shadow:none !important;
}

.av-nav-link.active .av-nav-icon{
  color:#2563eb !important;
}

/* Badge message */
.av-badge{
  position:absolute !important;
  top:-6px !important;
  right:-6px !important;
  min-width:20px !important;
  height:20px !important;
  padding:0 6px !important;
  border-radius:999px !important;
  background:#e11d48 !important;
  color:#ffffff !important;
  font-size:12px !important;
  font-weight:950 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-shadow:0 6px 12px rgba(225,29,72,.24) !important;
}

/* Compte utilisateur propre à droite */
.av-user{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  max-width:210px !important;
  padding:9px 13px !important;
  border-radius:999px !important;
  background:#f8fafc !important;
  border:1px solid #e2e8f0 !important;
  color:#0f172a !important;
  font-weight:950 !important;
  font-size:14px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  box-shadow:none !important;
}

.av-user-dot{
  width:9px !important;
  height:9px !important;
  border-radius:50% !important;
  background:#22c55e !important;
  box-shadow:0 0 0 4px rgba(34,197,94,.14) !important;
  flex:0 0 auto !important;
}

/* Ligne info propre */
.av-info{
  background:#fff7ed !important;
  color:#7c2d12 !important;
  padding:10px 0 !important;
  font-size:14px !important;
  border-bottom:1px solid #fed7aa !important;
}

/* Empêche Déconnexion de descendre */
.av-nav-link[href*="logout"]{
  margin:0 !important;
  align-self:center !important;
}

/* Sécurité contre les anciennes classes */
.mtc-topbar,
.top,
.modern-top,
.clean-top{
  display:none;
}
body .av-header{
  display:block !important;
}

/* Responsive tablette */
@media(max-width:1180px){
  .av-header-inner{
    grid-template-columns:235px 1fr !important;
    gap:14px !important;
  }

  .av-logo img{
    height:60px !important;
    max-width:230px !important;
  }

  .av-user{
    display:none !important;
  }

  .av-nav{
    justify-content:flex-end !important;
    gap:5px !important;
  }

  .av-nav-link{
    font-size:13px !important;
    padding:0 9px !important;
  }

  .av-nav-icon{
    display:none !important;
  }
}

/* Mobile */
@media(max-width:760px){
  .av-header-inner{
    grid-template-columns:1fr !important;
    gap:8px !important;
    padding:8px 0 !important;
  }

  .av-logo{
    justify-content:center !important;
  }

  .av-logo img{
    height:64px !important;
    max-width:260px !important;
  }

  .av-nav{
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    padding:4px 0 !important;
    scrollbar-width:none !important;
  }

  .av-nav::-webkit-scrollbar{
    display:none !important;
  }

  .av-nav-link{
    flex:0 0 auto !important;
    height:40px !important;
  }

  .av-info{
    font-size:12px !important;
  }
}



/* =========================================================
   AMÉLIORATION LOGO + ICÔNES STYLE ALLOVOISINS
   ========================================================= */

/* Header un peu plus premium, mais toujours blanc */
.av-header{
  background:#ffffff !important;
  border-bottom:1px solid #e7edf5 !important;
  box-shadow:0 4px 18px rgba(15,23,42,.055) !important;
}

/* Conteneur plus équilibré */
.av-header-inner{
  min-height:76px !important;
  grid-template-columns:300px 1fr auto !important;
  gap:20px !important;
}

/* Logo principal plus net et mieux posé */
.av-logo{
  min-height:76px !important;
  display:flex !important;
  align-items:center !important;
}

.av-logo img{
  height:74px !important;
  max-width:290px !important;
  object-fit:contain !important;
  display:block !important;
  background:transparent !important;
  filter:drop-shadow(0 3px 8px rgba(15,23,42,.08)) !important;
}

/* Menu type AlloVoisins : icône au-dessus, texte dessous */
.av-nav{
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
}

.av-nav-link{
  min-width:78px !important;
  height:60px !important;
  padding:6px 10px !important;
  border-radius:14px !important;
  flex-direction:column !important;
  gap:4px !important;
  font-size:13px !important;
  font-weight:900 !important;
  color:#334155 !important;
  background:transparent !important;
  border:1px solid transparent !important;
}

/* Icônes plus propres, type application */
.av-nav-icon{
  width:28px !important;
  height:28px !important;
  border-radius:12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:20px !important;
  font-weight:950 !important;
  color:#334155 !important;
  background:transparent !important;
  line-height:1 !important;
}

/* Hover doux */
.av-nav-link:hover{
  background:#f3f7fb !important;
  color:#0f172a !important;
  border-color:#edf2f7 !important;
}

/* Onglet actif plus visible, comme une tuile claire */
.av-nav-link.active{
  background:#eef6ff !important;
  color:#0f2c5c !important;
  border-color:#dbeafe !important;
  box-shadow:0 8px 20px rgba(37,99,235,.08) !important;
}

.av-nav-link.active .av-nav-icon{
  color:#2563eb !important;
}

/* Déconnexion reste propre aussi */
.av-nav-link[href*="logout"] .av-nav-icon{
  display:flex !important;
}

/* Badge message placé comme sur une app */
.av-badge{
  top:4px !important;
  right:8px !important;
  min-width:18px !important;
  height:18px !important;
  padding:0 5px !important;
  font-size:11px !important;
  box-shadow:0 5px 10px rgba(225,29,72,.25) !important;
}

/* Compte utilisateur à droite plus discret */
.av-user{
  background:#f8fafc !important;
  border:1px solid #e2e8f0 !important;
  color:#0f172a !important;
  padding:9px 13px !important;
  font-size:14px !important;
}

/* Ligne info inchangée mais mieux alignée */
.av-info{
  background:#fff7ed !important;
  color:#7c2d12 !important;
  padding:10px 0 !important;
}

/* Tablette */
@media(max-width:1180px){
  .av-header-inner{
    grid-template-columns:250px 1fr !important;
  }

  .av-logo img{
    height:64px !important;
    max-width:245px !important;
  }

  .av-nav{
    justify-content:flex-end !important;
    gap:6px !important;
  }

  .av-nav-link{
    min-width:68px !important;
    height:56px !important;
    font-size:12px !important;
  }

  .av-nav-icon{
    width:24px !important;
    height:24px !important;
    font-size:18px !important;
  }
}

/* Mobile */
@media(max-width:760px){
  .av-header-inner{
    grid-template-columns:1fr !important;
    gap:8px !important;
    padding:8px 0 !important;
  }

  .av-logo{
    justify-content:center !important;
  }

  .av-logo img{
    height:66px !important;
    max-width:270px !important;
  }

  .av-nav{
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    padding:4px 0 !important;
  }

  .av-nav-link{
    flex:0 0 auto !important;
    min-width:72px !important;
  }
}



/* =========================================================
   RESTAURATION MENU BLANC VALIDÉ + ICÔNES PROPRES
   ========================================================= */
.av-header{
  background:#ffffff !important;
  color:#0f172a !important;
  border-bottom:1px solid #e7edf5 !important;
  box-shadow:0 4px 18px rgba(15,23,42,.055) !important;
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
}

.av-header-inner{
  min-height:76px !important;
  display:grid !important;
  grid-template-columns:300px 1fr auto !important;
  align-items:center !important;
  gap:20px !important;
}

.av-logo{
  min-height:76px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  text-decoration:none !important;
}

.av-logo img{
  height:74px !important;
  max-width:290px !important;
  width:auto !important;
  object-fit:contain !important;
  display:block !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  filter:drop-shadow(0 3px 8px rgba(15,23,42,.08)) !important;
}

.av-nav{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;
  gap:10px !important;
  min-width:0 !important;
}

.av-nav-link{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  min-width:78px !important;
  height:60px !important;
  padding:6px 10px !important;
  border-radius:14px !important;
  background:transparent !important;
  color:#334155 !important;
  border:1px solid transparent !important;
  text-decoration:none !important;
  font-size:13px !important;
  font-weight:900 !important;
  line-height:1.05 !important;
  white-space:nowrap !important;
  box-shadow:none !important;
}

.av-nav-icon{
  width:28px !important;
  height:28px !important;
  border-radius:12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:20px !important;
  font-weight:950 !important;
  color:#334155 !important;
  background:transparent !important;
  line-height:1 !important;
}

.av-nav-link:hover{
  background:#f3f7fb !important;
  color:#0f172a !important;
  border-color:#edf2f7 !important;
}

.av-nav-link.active{
  background:#eef6ff !important;
  color:#0f2c5c !important;
  border-color:#dbeafe !important;
  box-shadow:0 8px 20px rgba(37,99,235,.08) !important;
}

.av-nav-link.active .av-nav-icon{
  color:#2563eb !important;
}

.av-badge{
  top:4px !important;
  right:8px !important;
  min-width:18px !important;
  height:18px !important;
  padding:0 5px !important;
  border-radius:999px !important;
  background:#e11d48 !important;
  color:#ffffff !important;
  font-size:11px !important;
  font-weight:950 !important;
  box-shadow:0 5px 10px rgba(225,29,72,.25) !important;
}

.av-user{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  max-width:210px !important;
  padding:9px 13px !important;
  border-radius:999px !important;
  background:#f8fafc !important;
  border:1px solid #e2e8f0 !important;
  color:#0f172a !important;
  font-weight:950 !important;
  font-size:14px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  box-shadow:none !important;
}

.av-user-dot{
  width:9px !important;
  height:9px !important;
  border-radius:50% !important;
  background:#22c55e !important;
  box-shadow:0 0 0 4px rgba(34,197,94,.14) !important;
}

.av-info{
  background:#fff7ed !important;
  color:#7c2d12 !important;
  padding:10px 0 !important;
  font-size:14px !important;
  border-bottom:1px solid #fed7aa !important;
}

/* neutralise tous les vieux menus foncés */
.mtc-topbar,
.top,
.modern-top,
.clean-top{
  display:none !important;
}
body .av-header{
  display:block !important;
}

@media(max-width:1180px){
  .av-header-inner{
    grid-template-columns:250px 1fr !important;
    gap:14px !important;
  }

  .av-logo img{
    height:64px !important;
    max-width:245px !important;
  }

  .av-user{
    display:none !important;
  }

  .av-nav{
    justify-content:flex-end !important;
    gap:6px !important;
  }

  .av-nav-link{
    min-width:68px !important;
    height:56px !important;
    font-size:12px !important;
  }

  .av-nav-icon{
    width:24px !important;
    height:24px !important;
    font-size:18px !important;
  }
}

@media(max-width:760px){
  .av-header-inner{
    grid-template-columns:1fr !important;
    gap:8px !important;
    padding:8px 0 !important;
  }

  .av-logo{
    justify-content:center !important;
  }

  .av-logo img{
    height:66px !important;
    max-width:270px !important;
  }

  .av-nav{
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    padding:4px 0 !important;
  }

  .av-nav::-webkit-scrollbar{
    display:none !important;
  }

  .av-nav-link{
    flex:0 0 auto !important;
    min-width:72px !important;
  }
}



/* =========================================================
   CORRECTIF CARTE SANS TOUCHER AU MENU
   ========================================================= */
.mtc-home-map-section{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:28px;
  align-items:center;
  margin:42px 0;
}

.mtc-home-map-copy h2,
.mtc-map-page-head h1{
  margin:12px 0 12px;
  font-size:clamp(30px,4vw,46px);
  line-height:1.08;
}

.mtc-home-map-copy p,
.mtc-map-page-head p{
  color:#475569;
  font-size:17px;
  line-height:1.6;
}

.mtc-home-map-card,
.mtc-map-card{
  overflow:hidden !important;
  padding:0 !important;
  border-radius:26px !important;
}

#mtcHomeMap,
.mtc-home-map{
  display:block !important;
  width:100% !important;
  height:460px !important;
  min-height:460px !important;
  max-height:none !important;
  border-radius:26px 26px 0 0 !important;
  background:#dbeafe !important;
  position:relative !important;
  z-index:1 !important;
}

#mtcMapFull,
.mtc-map-full{
  display:block !important;
  width:100% !important;
  height:640px !important;
  min-height:640px !important;
  max-height:none !important;
  border-radius:26px 26px 0 0 !important;
  background:#dbeafe !important;
  position:relative !important;
  z-index:1 !important;
}

.leaflet-container{
  width:100% !important;
  height:100% !important;
  min-height:inherit !important;
  font-family:inherit !important;
}

.mtc-map-footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:14px 18px;
  color:#64748b;
  font-size:13px;
  background:#ffffff;
  border-top:1px solid #e2e8f0;
  position:relative !important;
  z-index:2 !important;
}

.mtc-map-page-head{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:24px;
  margin:26px 0;
}

.mtc-map-legend{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:14px;
  border-radius:18px;
  background:#ffffff;
  border:1px solid #e2e8f0;
}

.mtc-map-legend span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-weight:900;
  color:#334155;
  font-size:13px;
}

.legend-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  display:inline-block;
}

.legend-online{ background:#22c55e; }
.legend-pro{ background:#2563eb; }
.legend-passion{ background:#7c3aed; }

.mtc-map-marker-wrap{
  background:transparent;
  border:none;
}

.mtc-map-marker{
  width:22px;
  height:22px;
  display:block;
  border-radius:50%;
  border:3px solid #ffffff;
  box-shadow:0 10px 18px rgba(15,23,42,.25), 0 0 0 7px rgba(37,99,235,.12);
}

.mtc-map-popup{
  min-width:210px;
}

.mtc-map-popup strong{
  display:block;
  font-size:16px;
  color:#0f172a;
  margin-bottom:4px;
}

.mtc-map-popup p{
  margin:4px 0;
  color:#475569;
}

.mtc-map-popup-status{
  font-weight:900;
  color:#0f766e !important;
}

.mtc-map-popup-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:10px 0;
}

.mtc-map-popup-badge{
  display:inline-flex;
  padding:5px 8px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:12px;
  font-weight:900;
}

.mtc-map-popup-actions{
  display:flex;
  gap:8px;
  margin-top:10px;
}

.mtc-map-popup-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius:10px;
  background:#2563eb;
  color:#ffffff !important;
  text-decoration:none;
  font-weight:900;
  font-size:12px;
}

.mtc-map-popup-actions a:last-child{
  background:#eaf2ff;
  color:#1d4ed8 !important;
}

@media(max-width:900px){
  .mtc-home-map-section,
  .mtc-map-page-head{
    grid-template-columns:1fr;
  }

  #mtcHomeMap,
  .mtc-home-map{
    height:380px !important;
    min-height:380px !important;
  }

  #mtcMapFull,
  .mtc-map-full{
    height:520px !important;
    min-height:520px !important;
  }

  .mtc-map-footer{
    flex-direction:column;
  }
}



/* =========================================================
   MOBILE LÉGER SÛR - n'affecte pas le menu PC
   ========================================================= */
@media(max-width:760px){
  html, body{
    overflow-x:hidden !important;
  }

  .wrap{
    width:min(100% - 22px, 1180px) !important;
  }

  .page{
    padding-top:18px !important;
  }

  /* Header mobile compact */
  .av-header-inner{
    grid-template-columns:1fr !important;
    min-height:auto !important;
    padding:8px 0 !important;
    gap:8px !important;
  }

  .av-logo{
    justify-content:center !important;
    min-height:auto !important;
  }

  .av-logo img{
    height:52px !important;
    max-width:220px !important;
  }

  .av-nav{
    width:100% !important;
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    gap:6px !important;
    padding:4px 0 !important;
    scrollbar-width:none !important;
  }

  .av-nav::-webkit-scrollbar{
    display:none !important;
  }

  .av-nav-link{
    flex:0 0 auto !important;
    min-width:auto !important;
    height:40px !important;
    padding:0 11px !important;
    border-radius:999px !important;
    flex-direction:row !important;
    gap:5px !important;
    font-size:12px !important;
    line-height:1 !important;
  }

  .av-nav-icon{
    width:auto !important;
    height:auto !important;
    font-size:12px !important;
  }

  .av-user{
    display:none !important;
  }

  .av-info{
    font-size:12px !important;
    line-height:1.45 !important;
    padding:8px 0 !important;
  }

  h1{
    font-size:30px !important;
    line-height:1.12 !important;
  }

  h2{
    font-size:23px !important;
    line-height:1.18 !important;
  }

  p{
    font-size:15px !important;
    line-height:1.55 !important;
  }

  .actions{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
    align-items:stretch !important;
  }

  .btn,
  a.btn,
  button.btn{
    width:100% !important;
    min-height:44px !important;
    padding:12px 14px !important;
    font-size:14px !important;
    border-radius:14px !important;
    justify-content:center !important;
    text-align:center !important;
  }

  .card,
  .home-why-card,
  .mtc-home-trust,
  .mtc-home-map-card,
  .mtc-map-card{
    border-radius:20px !important;
    padding:18px !important;
  }

  .mtc-home-safe-hero,
  .home-hero,
  .mtc-home-map-section,
  .mtc-map-page-head,
  .mtc-find-hero,
  .mtc-requests-hero{
    grid-template-columns:1fr !important;
    gap:18px !important;
    margin:18px 0 !important;
  }

  .mtc-home-trust-grid,
  .mtc-find-stats{
    grid-template-columns:1fr !important;
  }

  #mtcHomeMap,
  .mtc-home-map{
    height:300px !important;
    min-height:300px !important;
  }

  #mtcMapFull,
  .mtc-map-full{
    height:430px !important;
    min-height:430px !important;
  }

  input,
  select,
  textarea{
    width:100% !important;
    min-height:44px !important;
    font-size:16px !important;
    border-radius:13px !important;
  }
}

@media(max-width:390px){
  .av-logo img{
    height:46px !important;
    max-width:195px !important;
  }

  .av-nav-link{
    height:38px !important;
    padding:0 9px !important;
    font-size:11px !important;
  }

  h1{
    font-size:27px !important;
  }
}



/* =========================================================
   VRAI MENU MOBILE HAMBURGER - style panneau sombre
   ========================================================= */
.mtc-mobile-toggle,
.mtc-mobile-menu{
  display:none;
}

@media(max-width:760px){

  .av-header-inner{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    align-items:center !important;
    gap:12px !important;
    padding:12px 0 !important;
  }

  .av-logo{
    justify-content:flex-start !important;
  }

  .av-logo img{
    height:56px !important;
    max-width:230px !important;
  }

  /* Cache le menu PC sur téléphone */
  .av-nav{
    display:none !important;
  }

  .av-user{
    display:none !important;
  }

  /* Bouton hamburger */
  .mtc-mobile-toggle{
    display:inline-flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    width:58px !important;
    height:58px !important;
    border:0 !important;
    border-radius:16px !important;
    background:#111827 !important;
    box-shadow:0 12px 28px rgba(15,23,42,.22) !important;
    cursor:pointer !important;
  }

  .mtc-mobile-toggle span{
    display:block !important;
    width:28px !important;
    height:3px !important;
    border-radius:999px !important;
    background:#ffffff !important;
  }

  /* Overlay sombre */
  .mtc-mobile-menu{
    display:block !important;
    position:fixed !important;
    inset:0 !important;
    z-index:9999 !important;
    background:rgba(15,23,42,.72) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transition:opacity .22s ease, visibility .22s ease !important;
  }

  body.mtc-menu-open{
    overflow:hidden !important;
  }

  body.mtc-menu-open .mtc-mobile-menu{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  .mtc-mobile-close{
    position:fixed !important;
    top:24px !important;
    right:26px !important;
    z-index:10001 !important;
    width:54px !important;
    height:54px !important;
    border:0 !important;
    border-radius:999px !important;
    background:transparent !important;
    color:#ffffff !important;
    font-size:52px !important;
    line-height:1 !important;
    font-weight:200 !important;
    cursor:pointer !important;
  }

  .mtc-mobile-menu-inner{
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:min(78vw,390px) !important;
    background:linear-gradient(180deg,#172033 0%,#111827 100%) !important;
    box-shadow:-18px 0 42px rgba(0,0,0,.28) !important;
    padding:118px 32px 32px !important;
    overflow-y:auto !important;
    transform:translateX(100%) !important;
    transition:transform .25s ease !important;
  }

  body.mtc-menu-open .mtc-mobile-menu-inner{
    transform:translateX(0) !important;
  }

  .mtc-mobile-menu-inner .av-nav-link{
    position:relative !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    height:72px !important;
    min-width:0 !important;
    padding:0 22px !important;
    margin:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    border:0 !important;
    border-bottom:1px solid rgba(255,255,255,.52) !important;
    box-shadow:none !important;
    color:#ffffff !important;
    font-size:23px !important;
    font-weight:950 !important;
    letter-spacing:.3px !important;
    text-align:center !important;
    line-height:1.2 !important;
  }

  .mtc-mobile-menu-inner .av-nav-icon{
    display:none !important;
  }

  .mtc-mobile-menu-inner .av-nav-link:hover{
    background:rgba(255,255,255,.06) !important;
  }

  .mtc-mobile-menu-inner .av-nav-link.active{
    background:transparent !important;
    color:#93c5fd !important;
    border-color:rgba(255,255,255,.52) !important;
  }

  .mtc-mobile-menu-inner .av-nav-link.active::before{
    content:"" !important;
    position:absolute !important;
    left:-10px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    width:6px !important;
    height:30px !important;
    border-radius:999px !important;
    background:#60a5fa !important;
  }

  .mtc-mobile-menu-inner .av-badge{
    top:14px !important;
    right:18px !important;
  }

  .av-info{
    font-size:14px !important;
    line-height:1.45 !important;
  }
}

@media(max-width:390px){
  .mtc-mobile-menu-inner{
    width:82vw !important;
    padding-left:26px !important;
    padding-right:26px !important;
  }

  .mtc-mobile-menu-inner .av-nav-link{
    height:66px !important;
    font-size:20px !important;
  }

  .mtc-mobile-toggle{
    width:54px !important;
    height:54px !important;
  }

  .av-logo img{
    height:50px !important;
    max-width:205px !important;
  }
}



/* Badge messages privés */
.av-badge{
  z-index:5 !important;
}

.mtc-thread-item small{
  font-weight:900;
}

.mtc-thread-item small:has(+ span){
  color:#e11d48;
}



/* Badge rouge compteur messages menu */
.mtc-msg-menu-badge,
.av-badge{
  position:absolute !important;
  top:4px !important;
  right:4px !important;
  min-width:20px !important;
  height:20px !important;
  padding:0 6px !important;
  border-radius:999px !important;
  background:#e11d48 !important;
  color:#ffffff !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:11px !important;
  font-weight:950 !important;
  line-height:1 !important;
  z-index:20 !important;
  box-shadow:0 4px 12px rgba(225,29,72,.28) !important;
}

.av-nav-link{
  position:relative !important;
}



/* =========================================================
   RESTAURATION STYLE MESSAGERIE - conserve compteur rouge
   ========================================================= */
.mtc-msg-page{
  width:100%;
  min-height:calc(100vh - 120px);
  background:#eef3f9;
  padding:0;
}

.mtc-msg-shell{
  display:grid;
  grid-template-columns:300px minmax(420px,1fr) 270px;
  min-height:calc(100vh - 120px);
  max-width:1800px;
  margin:0 auto;
  background:#eef3f9;
  border-top:1px solid #dce5f0;
}

.mtc-msg-sidebar{
  background:#ffffff;
  border-right:1px solid #d9e3ef;
  padding:18px 14px;
  overflow:auto;
}

.mtc-msg-side-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.mtc-msg-side-head h1{
  font-size:22px !important;
  margin:0 !important;
  letter-spacing:-.3px;
}

.mtc-msg-side-head p{
  margin:3px 0 0;
  font-size:13px;
  color:#64748b;
}

.mtc-msg-edit{
  font-size:13px;
  color:#0f2c5c;
  font-weight:900;
  text-decoration:none;
}

.mtc-msg-search{
  display:flex;
  align-items:center;
  gap:8px;
  background:#f8fafc;
  border:1px solid #dbe4ef;
  border-radius:10px;
  padding:0 10px;
  height:42px;
  margin-bottom:12px;
}

.mtc-msg-search span{
  color:#64748b;
}

.mtc-msg-search input{
  border:0 !important;
  background:transparent !important;
  min-height:0 !important;
  height:40px !important;
  padding:0 !important;
  box-shadow:none !important;
  font-size:14px !important;
}

.mtc-msg-tabs{
  display:flex;
  gap:8px;
  margin-bottom:18px;
}

.mtc-msg-tabs button{
  border:1px solid #dbe4ef;
  background:#ffffff;
  color:#0f172a;
  font-size:12px;
  font-weight:900;
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
}

.mtc-msg-tabs button.active{
  background:#0f172a;
  color:#ffffff;
  border-color:#0f172a;
}

.mtc-msg-thread-list{
  display:grid;
  gap:8px;
}

.mtc-msg-thread{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 10px;
  border-radius:14px;
  color:#0f172a;
  text-decoration:none;
  background:#ffffff;
  border:1px solid transparent;
}

.mtc-msg-thread:hover,
.mtc-msg-thread.active{
  background:#e8f1fb;
  border-color:#d5e4f5;
}

.mtc-msg-avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  background:linear-gradient(135deg,#9fb3c8,#64748b);
  color:#ffffff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  flex:0 0 auto;
  box-shadow:inset 0 -5px 12px rgba(15,23,42,.12);
}

.mtc-msg-avatar.big{
  width:54px;
  height:54px;
  font-size:20px;
}

.mtc-msg-avatar.huge{
  width:86px;
  height:86px;
  font-size:32px;
  margin:0 auto;
}

.mtc-msg-thread-main{
  min-width:0;
  flex:1;
}

.mtc-msg-thread-top{
  display:flex;
  justify-content:space-between;
  gap:8px;
}

.mtc-msg-thread-top strong{
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.mtc-msg-thread-top small{
  color:#475569;
  font-size:12px;
  flex:0 0 auto;
}

.mtc-msg-thread-preview{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.mtc-msg-unread{
  position:absolute;
  top:8px;
  right:8px;
  min-width:19px;
  height:19px;
  padding:0 6px;
  border-radius:999px;
  background:#e11d48;
  color:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:950;
}

.mtc-msg-empty-side{
  padding:18px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#475569;
}

.mtc-msg-chat{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#edf3fa;
  border-right:1px solid #d9e3ef;
}

.mtc-msg-chat-head{
  min-height:86px;
  background:#ffffff;
  border-bottom:1px solid #d9e3ef;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 22px;
}

.mtc-msg-mini-profile{
  display:flex;
  align-items:center;
  gap:12px;
}

.mtc-msg-mini-profile h2{
  margin:0 !important;
  font-size:20px !important;
}

.mtc-msg-mini-profile p{
  margin:3px 0 0;
  color:#64748b;
  font-size:13px;
}

.mtc-msg-head-actions{
  display:flex;
  gap:8px;
}

.mtc-msg-head-actions a,
.mtc-msg-head-actions button{
  width:40px;
  height:40px;
  border-radius:14px;
  border:1px solid #dbe4ef;
  background:#ffffff;
  color:#0f172a;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
  font-weight:900;
}

.mtc-msg-conversation{
  flex:1;
  overflow:auto;
  padding:24px 28px 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:430px;
}

.mtc-msg-date{
  align-self:center;
  color:#475569;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.65);
  margin:8px 0;
}

.mtc-msg-bubble{
  max-width:min(760px,76%);
  padding:12px 15px;
  border-radius:16px;
  box-shadow:0 4px 12px rgba(15,23,42,.05);
}

.mtc-msg-bubble p{
  margin:0;
  font-size:14px;
  line-height:1.45;
}

.mtc-msg-bubble small{
  display:block;
  margin-top:7px;
  font-size:11px;
  opacity:.8;
  text-align:right;
}

.mtc-msg-bubble.mine{
  align-self:flex-end;
  background:#36a9e1;
  color:#ffffff;
  border-bottom-right-radius:5px;
}

.mtc-msg-bubble.theirs{
  align-self:flex-start;
  background:#ffffff;
  color:#0f172a;
  border-bottom-left-radius:5px;
}

.mtc-msg-start,
.mtc-msg-no-chat{
  margin:auto;
  max-width:420px;
  text-align:center;
  color:#475569;
  background:rgba(255,255,255,.72);
  border:1px solid #dbe4ef;
  border-radius:24px;
  padding:28px;
}

.mtc-msg-no-icon{
  width:72px;
  height:72px;
  border-radius:24px;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eff6ff;
  font-size:34px;
}

.mtc-msg-compose{
  display:grid;
  grid-template-columns:42px 1fr 42px;
  gap:10px;
  align-items:end;
  padding:14px 18px 16px;
  background:#ffffff;
  border-top:1px solid #d9e3ef;
}

.mtc-msg-compose textarea{
  min-height:50px !important;
  max-height:120px;
  border-radius:12px !important;
  resize:vertical;
  padding:13px 14px !important;
  font-size:14px !important;
}

.mtc-msg-icon-btn,
.mtc-msg-send{
  width:42px;
  height:42px;
  border-radius:14px;
  border:0;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
}

.mtc-msg-icon-btn{
  background:#f8fafc;
  color:#475569;
}

.mtc-msg-send{
  background:#60a5fa;
  color:#ffffff;
}

.mtc-msg-profile{
  background:#ffffff;
  padding:22px 18px;
  overflow:auto;
}

.mtc-msg-profile-card{
  text-align:center;
  padding-top:10px;
}

.mtc-msg-profile-card h2{
  margin:12px 0 4px !important;
  font-size:22px !important;
}

.mtc-msg-profile-card p{
  margin:0;
  color:#0f172a;
  font-weight:900;
}

.mtc-msg-stars{
  color:#94a3b8;
  margin:8px 0 18px;
}

.mtc-msg-profile-actions{
  margin-top:16px;
}

.mtc-msg-profile-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid #0f172a;
  color:#0f172a;
  text-decoration:none;
  font-weight:900;
  font-size:13px;
}

.mtc-msg-profile-empty{
  display:grid;
  place-items:center;
  gap:10px;
  height:260px;
  color:#64748b;
}

.mtc-msg-alert{
  margin:10px 22px 0 !important;
}

.mtc-msg-attachment{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  padding:9px 11px;
  border-radius:12px;
  background:rgba(255,255,255,.22);
  color:inherit !important;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.25);
}

.mtc-msg-bubble.theirs .mtc-msg-attachment{
  background:#ffffff;
  border-color:#e2e8f0;
  color:#0f172a !important;
}

.mtc-msg-attachment strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.mtc-attachment-name{
  min-height:18px;
  padding:0 18px 10px 70px;
  background:#ffffff;
  color:#2563eb;
  font-size:12px;
  font-weight:900;
}

@media(max-width:1150px){
  .mtc-msg-shell{
    grid-template-columns:280px 1fr;
  }

  .mtc-msg-profile{
    display:none;
  }
}

@media(max-width:820px){
  .mtc-msg-shell{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .mtc-msg-sidebar{
    border-right:0;
    border-bottom:1px solid #d9e3ef;
    max-height:330px;
  }

  .mtc-msg-chat{
    min-height:calc(100vh - 260px);
    border-right:0;
  }

  .mtc-msg-conversation{
    min-height:330px;
    padding:18px 14px;
  }

  .mtc-msg-bubble{
    max-width:90%;
  }

  .mtc-msg-chat-head{
    padding:14px;
  }

  .mtc-msg-compose{
    grid-template-columns:38px 1fr 38px;
    padding:12px;
  }
}



/* =========================================================
   FIX compteur Messages avec chiffre + blocage propre
   ========================================================= */

/* Ne jamais afficher de badge vide */
.mtc-msg-menu-badge:empty,
.av-badge:empty{
  display:none !important;
}

/* Badge rouge avec chiffre lisible */
.mtc-msg-menu-badge{
  position:absolute !important;
  top:3px !important;
  right:6px !important;
  min-width:20px !important;
  height:20px !important;
  padding:0 6px !important;
  border-radius:999px !important;
  background:#e11d48 !important;
  color:#ffffff !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:11px !important;
  font-weight:950 !important;
  line-height:20px !important;
  z-index:50 !important;
  box-shadow:0 4px 12px rgba(225,29,72,.32) !important;
  text-indent:0 !important;
  overflow:visible !important;
}

/* Si l'ancien av-badge contient un chiffre, il reste propre */
.av-badge:not(:empty){
  position:absolute !important;
  top:3px !important;
  right:6px !important;
  min-width:20px !important;
  height:20px !important;
  padding:0 6px !important;
  border-radius:999px !important;
  background:#e11d48 !important;
  color:#ffffff !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:11px !important;
  font-weight:950 !important;
  line-height:20px !important;
  z-index:50 !important;
  box-shadow:0 4px 12px rgba(225,29,72,.32) !important;
}

.av-nav-link{
  position:relative !important;
}

/* Correction visuelle fiche profil messagerie */
.mtc-block-form{
  margin-top:16px !important;
  width:100% !important;
}

.mtc-block-btn,
.mtc-unblock-btn{
  width:100% !important;
  min-height:44px !important;
  border-radius:999px !important;
  font-weight:950 !important;
  cursor:pointer !important;
  padding:0 16px !important;
  font-size:14px !important;
  border:1px solid transparent !important;
  font-family:inherit !important;
}

.mtc-block-btn{
  background:#fee2e2 !important;
  color:#b91c1c !important;
  border-color:#fecaca !important;
}

.mtc-block-btn:hover{
  background:#fecaca !important;
}

.mtc-unblock-btn{
  background:#dcfce7 !important;
  color:#166534 !important;
  border-color:#bbf7d0 !important;
}

.mtc-unblock-btn:hover{
  background:#bbf7d0 !important;
}

.mtc-block-help{
  margin:12px auto 0 !important;
  max-width:220px !important;
  color:#64748b !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1.45 !important;
  text-align:center !important;
}

/* Évite le texte énorme dans la fiche droite */
.mtc-msg-profile-card .mtc-block-help{
  font-size:12px !important;
  letter-spacing:0 !important;
}

.mtc-msg-profile-card{
  text-align:center !important;
}



/* =========================================================
   FIX TAILLE AVATARS PROFILES + DEMANDE
   ========================================================= */

/* Page Trouver : avatars moins gros */
.mtc-profile-card .mtc-profile-avatar{
  width:64px !important;
  height:64px !important;
  min-width:64px !important;
  min-height:64px !important;
  max-width:64px !important;
  max-height:64px !important;
  flex:0 0 64px !important;
  border-radius:18px !important;
  overflow:hidden !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:26px !important;
}

.mtc-profile-card .mtc-profile-avatar img{
  width:100% !important;
  height:100% !important;
  max-width:64px !important;
  max-height:64px !important;
  object-fit:cover !important;
  display:block !important;
}

/* Sécurité si une image est sortie brute dans la carte profil */
.mtc-profile-card > img,
.mtc-profile-card .mtc-profile-identity > img{
  width:64px !important;
  height:64px !important;
  max-width:64px !important;
  max-height:64px !important;
  object-fit:cover !important;
  border-radius:18px !important;
}

/* Demande : avatars réponse petits et propres */
.mtc-request-replies .mtc-demand-avatar,
.mtc-replies-bubbles .mtc-demand-avatar{
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  min-height:44px !important;
  max-width:44px !important;
  max-height:44px !important;
  flex:0 0 44px !important;
  border-radius:999px !important;
  overflow:hidden !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:17px !important;
  font-weight:950 !important;
  background:linear-gradient(135deg,#3b82f6,#1d4ed8) !important;
  color:#fff !important;
  box-shadow:0 8px 18px rgba(37,99,235,.18) !important;
}

.mtc-request-replies .mtc-demand-avatar img,
.mtc-replies-bubbles .mtc-demand-avatar img{
  width:100% !important;
  height:100% !important;
  max-width:44px !important;
  max-height:44px !important;
  object-fit:cover !important;
  border-radius:999px !important;
  display:block !important;
}

/* Demande publiée par : avatar pas énorme */
.mtc-demand-author-line .mtc-demand-avatar.client{
  width:54px !important;
  height:54px !important;
  min-width:54px !important;
  min-height:54px !important;
  max-width:54px !important;
  max-height:54px !important;
  flex:0 0 54px !important;
}

/* Sécurité : si un logo sort en image brute dans les réponses, le limiter */
.mtc-request-replies img,
.mtc-replies-bubbles img{
  max-width:44px !important;
  max-height:44px !important;
  object-fit:cover !important;
  border-radius:999px !important;
}

/* Mais pas les images dans une pièce jointe éventuelle */
.mtc-request-replies a img,
.mtc-replies-bubbles a img{
  max-width:44px !important;
  max-height:44px !important;
}

/* Remise en forme bulles réponses si le style avait sauté */
.mtc-replies-bubbles{
  display:grid !important;
  gap:18px !important;
}

.mtc-reply-bubble-card{
  display:grid !important;
  grid-template-columns:52px minmax(0,1fr) !important;
  gap:12px !important;
  align-items:flex-start !important;
  max-width:820px !important;
}

.mtc-reply-avatar-wrap{
  display:flex !important;
  justify-content:center !important;
  padding-top:4px !important;
}

.mtc-reply-bubble-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  margin-bottom:8px !important;
}

.mtc-reply-bubble-head strong{
  display:block !important;
  color:#0f172a !important;
  font-size:16px !important;
  line-height:1.1 !important;
}

.mtc-reply-bubble-head small{
  display:block !important;
  margin-top:3px !important;
  color:#64748b !important;
  font-size:12px !important;
  font-weight:800 !important;
}

.mtc-reply-message-bubble{
  position:relative !important;
  width:fit-content !important;
  max-width:720px !important;
  padding:13px 16px !important;
  border-radius:20px !important;
  background:#f8fafc !important;
  border:1px solid #e2e8f0 !important;
  color:#0f172a !important;
  box-shadow:0 8px 22px rgba(15,23,42,.045) !important;
}

.mtc-reply-message-bubble p{
  margin:0 !important;
  line-height:1.55 !important;
}

.mtc-private-btn-small{
  min-height:34px !important;
  padding:8px 12px !important;
  font-size:13px !important;
}

@media(max-width:760px){
  .mtc-profile-card .mtc-profile-avatar,
  .mtc-profile-card .mtc-profile-avatar img{
    width:58px !important;
    height:58px !important;
    max-width:58px !important;
    max-height:58px !important;
  }

  .mtc-reply-bubble-card{
    grid-template-columns:44px minmax(0,1fr) !important;
    gap:10px !important;
  }

  .mtc-reply-bubble-head{
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  .mtc-reply-message-bubble{
    width:100% !important;
    max-width:100% !important;
  }
}



/* =========================================================
   FIX AVATAR CREATEUR SUR DEMANDES.PHP
   ========================================================= */
.mtc-request-author-mini{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  margin-top:12px !important;
  padding:10px 12px !important;
  width:fit-content !important;
  max-width:100% !important;
  border-radius:18px !important;
  background:#f8fafc !important;
  border:1px solid #e2e8f0 !important;
}

.mtc-demand-list-avatar{
  width:46px !important;
  height:46px !important;
  min-width:46px !important;
  min-height:46px !important;
  max-width:46px !important;
  max-height:46px !important;
  flex:0 0 46px !important;
  border-radius:999px !important;
  overflow:hidden !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:linear-gradient(135deg,#60a5fa,#1d4ed8) !important;
  color:#ffffff !important;
  font-size:18px !important;
  font-weight:950 !important;
  box-shadow:0 8px 18px rgba(37,99,235,.16) !important;
}

.mtc-demand-list-avatar img{
  width:100% !important;
  height:100% !important;
  max-width:46px !important;
  max-height:46px !important;
  object-fit:cover !important;
  display:block !important;
  border-radius:999px !important;
}

.mtc-request-author-mini div{
  min-width:0 !important;
}

.mtc-request-author-mini span:not(.mtc-demand-list-avatar){
  display:block !important;
  color:#64748b !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}

.mtc-request-author-mini strong{
  display:block !important;
  color:#0f172a !important;
  font-size:15px !important;
  line-height:1.2 !important;
  font-weight:950 !important;
}

.mtc-request-author-mini small{
  display:block !important;
  margin-top:2px !important;
  color:#64748b !important;
  font-size:11px !important;
  font-weight:800 !important;
}

@media(max-width:760px){
  .mtc-request-author-mini{
    width:100% !important;
  }
}



/* =========================================================
   FIX BADGES PARTOUT - profiles.php + voir-profil.php
   ========================================================= */
.mtc-profile-mini-badges,
.mtc-profile-trust-badges,
.mtc-vp-badges{
  display:flex !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  margin-top:12px !important;
}

.mtc-profile-mini-badges span,
.mtc-profile-trust-badges span,
.mtc-vp-badges span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:30px !important;
  padding:0 10px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:950 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

.mtc-vp-badges span{
  min-height:34px !important;
  padding:0 12px !important;
  font-size:13px !important;
}

.mtc-profile-mini-badges .green,
.mtc-profile-trust-badges .green,
.mtc-vp-badges .green{
  background:#dcfce7 !important;
  color:#166534 !important;
}

.mtc-profile-mini-badges .blue,
.mtc-profile-trust-badges .blue,
.mtc-vp-badges .blue{
  background:#dbeafe !important;
  color:#1d4ed8 !important;
}

.mtc-profile-mini-badges .purple,
.mtc-profile-trust-badges .purple,
.mtc-vp-badges .purple{
  background:#ede9fe !important;
  color:#6d28d9 !important;
}

/* Sécurité : anciennes classes badge du site */
.badge.green,
.mtc-badge.green{
  background:#dcfce7 !important;
  color:#166534 !important;
}

.badge.blue,
.mtc-badge.blue{
  background:#dbeafe !important;
  color:#1d4ed8 !important;
}

.badge.purple,
.mtc-badge.purple{
  background:#ede9fe !important;
  color:#6d28d9 !important;
}

/* Layout profile results si CSS précédent absent */
.mtc-profile-results{
  display:grid;
  gap:22px;
}

.mtc-profile-card-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:18px;
}

.mtc-profile-identity{
  display:flex;
  gap:16px;
  align-items:flex-start;
}

.mtc-profile-card .mtc-profile-avatar{
  width:64px !important;
  height:64px !important;
  min-width:64px !important;
  min-height:64px !important;
  max-width:64px !important;
  max-height:64px !important;
  flex:0 0 64px !important;
  border-radius:18px !important;
  overflow:hidden !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:26px !important;
  background:linear-gradient(135deg,#60a5fa,#1d4ed8) !important;
  color:#fff !important;
}

.mtc-profile-card .mtc-profile-avatar img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}

/* Voir profil */
.mtc-vp-card{
  margin-bottom:22px;
}

.mtc-vp-top{
  display:flex;
  align-items:center;
  gap:24px;
}

.mtc-vp-avatar{
  width:112px;
  height:112px;
  border-radius:999px;
  background:linear-gradient(135deg,#60a5fa,#1d4ed8);
  color:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:46px;
  font-weight:950;
  overflow:hidden;
  flex:0 0 auto;
  box-shadow:0 16px 34px rgba(37,99,235,.18);
}

.mtc-vp-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.mtc-vp-actions{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.mtc-vp-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.mtc-vp-info{
  display:grid;
  gap:12px;
}

.mtc-vp-info div{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid #e2e8f0;
}

.mtc-vp-info span{
  color:#475569;
  text-align:right;
}

.mtc-vp-hours-card{
  grid-column:1 / -1;
}

.mtc-vp-hours{
  padding:16px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#334155;
  font-weight:800;
  line-height:1.7;
}

@media(max-width:760px){
  .mtc-profile-card-head,
  .mtc-profile-identity,
  .mtc-vp-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .mtc-vp-grid{
    grid-template-columns:1fr;
  }

  .mtc-vp-info div{
    flex-direction:column;
    gap:4px;
  }

  .mtc-vp-info span{
    text-align:left;
  }
}



/* =========================================================
   BADGES STRICTS FINAL
   ========================================================= */
.mtc-profile-mini-badges,
.mtc-profile-trust-badges,
.mtc-vp-badges{
  display:flex !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  margin-top:12px !important;
}

.mtc-profile-mini-badges span,
.mtc-profile-trust-badges span,
.mtc-vp-badges span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:30px !important;
  padding:0 10px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:950 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

.mtc-vp-badges span{
  min-height:34px !important;
  padding:0 12px !important;
  font-size:13px !important;
}

.mtc-profile-mini-badges .green,
.mtc-profile-trust-badges .green,
.mtc-vp-badges .green{
  background:#dcfce7 !important;
  color:#166534 !important;
}

.mtc-profile-mini-badges .blue,
.mtc-profile-trust-badges .blue,
.mtc-vp-badges .blue{
  background:#dbeafe !important;
  color:#1d4ed8 !important;
}

.mtc-profile-mini-badges .purple,
.mtc-profile-trust-badges .purple,
.mtc-vp-badges .purple{
  background:#ede9fe !important;
  color:#6d28d9 !important;
}

/* Formulaire modifier profil : cases lisibles */
.mtc-edit-checks{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
}

.mtc-edit-checks label{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  padding:14px !important;
  border-radius:18px !important;
  background:#f8fafc !important;
  border:1px solid #e2e8f0 !important;
  font-weight:950 !important;
}

.mtc-edit-checks input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  min-height:18px !important;
  flex:0 0 auto !important;
}

/* Sécurité tailles avatars profile */
.mtc-profile-card .mtc-profile-avatar{
  width:64px !important;
  height:64px !important;
  min-width:64px !important;
  min-height:64px !important;
  max-width:64px !important;
  max-height:64px !important;
  flex:0 0 64px !important;
  border-radius:18px !important;
  overflow:hidden !important;
}

.mtc-profile-card .mtc-profile-avatar img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}

@media(max-width:760px){
  .mtc-edit-checks{
    grid-template-columns:1fr !important;
  }
}



/* =========================================================
   PACK VALORISATION MAISON TECHCARE
   Accueil premium + pages confiance
   ========================================================= */
.mtc-home-premium{
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.08), transparent 32%),
    linear-gradient(180deg,#f6f9fd 0%,#eef3f9 100%);
  padding-bottom:60px;
}

.mtc-home-hero{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
  gap:34px;
  align-items:center;
  padding-top:56px;
  padding-bottom:34px;
}

.mtc-home-pill{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:#dbeafe;
  color:#1d4ed8;
  font-weight:950;
  font-size:13px;
}

.mtc-home-hero h1{
  max-width:840px;
  margin:18px 0 16px;
  font-size:clamp(38px,5vw,72px);
  line-height:.98;
  letter-spacing:-2px;
  color:#0f172a;
}

.mtc-home-hero p{
  max-width:760px;
  margin:0;
  color:#475569;
  font-size:19px;
  line-height:1.65;
}

.mtc-home-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:26px;
}

.btn.ghost{
  background:#ffffff;
  color:#0f2c5c;
  border:1px solid #dbe4ef;
}

.mtc-home-trustline{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
}

.mtc-home-trustline span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  background:#ffffff;
  color:#0f172a;
  font-weight:900;
  font-size:13px;
  border:1px solid #e2e8f0;
}

.mtc-home-hero-card{
  border-radius:34px;
  padding:18px;
  background:linear-gradient(135deg,#0f2c5c,#2563eb);
  box-shadow:0 28px 70px rgba(37,99,235,.25);
}

.mtc-home-screen{
  min-height:430px;
  border-radius:26px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.92),rgba(255,255,255,.78)),
    radial-gradient(circle at top right,rgba(96,165,250,.45),transparent 38%);
  padding:20px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.mtc-home-screen-top{
  display:flex;
  gap:7px;
}

.mtc-home-screen-top span{
  width:11px;
  height:11px;
  border-radius:999px;
  background:#94a3b8;
}

.mtc-home-request-demo,
.mtc-home-answer-demo{
  border-radius:24px;
  background:#ffffff;
  border:1px solid #e2e8f0;
  padding:20px;
  box-shadow:0 14px 30px rgba(15,23,42,.08);
}

.mtc-home-request-demo strong,
.mtc-home-answer-demo strong{
  display:block;
  color:#0f172a;
  font-size:18px;
  margin-bottom:8px;
}

.mtc-home-request-demo p,
.mtc-home-answer-demo p{
  font-size:15px;
  line-height:1.5;
  color:#475569;
}

.mtc-home-request-demo div{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}

.mtc-home-request-demo span{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-weight:900;
  font-size:12px;
}

.mtc-home-numbers{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
  margin-bottom:44px;
}

.mtc-home-numbers div{
  border-radius:24px;
  background:#ffffff;
  border:1px solid #e2e8f0;
  padding:22px;
  box-shadow:0 18px 40px rgba(15,23,42,.06);
}

.mtc-home-numbers strong{
  display:block;
  color:#0f172a;
  font-size:34px;
  letter-spacing:-1px;
  line-height:1;
}

.mtc-home-numbers span{
  display:block;
  margin-top:8px;
  color:#0f172a;
  font-weight:950;
}

.mtc-home-numbers small{
  display:block;
  margin-top:6px;
  color:#64748b;
  font-weight:800;
}

.mtc-home-section-title{
  margin-bottom:20px;
}

.mtc-home-section-title h2{
  margin:8px 0 0;
  color:#0f172a;
  font-size:clamp(28px,3vw,44px);
  letter-spacing:-1px;
  line-height:1.05;
}

.mtc-home-steps,
.mtc-home-why,
.mtc-home-featured{
  margin-top:42px;
}

.mtc-home-step-grid,
.mtc-home-why-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.mtc-home-step-grid article,
.mtc-home-why-grid article{
  border-radius:26px;
  background:#ffffff;
  border:1px solid #e2e8f0;
  padding:24px;
  box-shadow:0 18px 40px rgba(15,23,42,.06);
}

.mtc-home-step-grid article span,
.mtc-info-grid article span{
  width:42px;
  height:42px;
  border-radius:16px;
  background:#2563eb;
  color:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  margin-bottom:14px;
}

.mtc-home-step-grid h3,
.mtc-home-why-grid h3,
.mtc-home-featured h3{
  margin:0 0 8px;
  color:#0f172a;
  font-size:20px;
}

.mtc-home-step-grid p,
.mtc-home-why-grid p{
  margin:0;
  color:#475569;
  line-height:1.55;
}

.mtc-home-why-grid article strong{
  display:flex;
  width:42px;
  height:42px;
  border-radius:16px;
  background:#dcfce7;
  color:#166534;
  align-items:center;
  justify-content:center;
  font-size:22px;
  margin-bottom:14px;
}

.mtc-home-featured-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.mtc-home-pro-card{
  display:flex;
  gap:16px;
  align-items:flex-start;
}

.mtc-home-pro-avatar{
  width:58px;
  height:58px;
  border-radius:20px;
  background:linear-gradient(135deg,#60a5fa,#1d4ed8);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  font-weight:950;
  flex:0 0 auto;
}

.mtc-home-pro-card p{
  margin:0 0 12px;
  color:#64748b;
}

.mtc-home-pro-tags{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.mtc-home-pro-tags span{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-weight:900;
  font-size:12px;
}

.mtc-home-cta{
  margin-top:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-radius:32px;
  background:linear-gradient(135deg,#0f2c5c,#2563eb);
  color:#ffffff;
  padding:34px;
  box-shadow:0 24px 60px rgba(37,99,235,.22);
}

.mtc-home-cta h2{
  margin:8px 0 10px;
  color:#ffffff;
  font-size:clamp(28px,3vw,44px);
  line-height:1.08;
}

.mtc-home-cta p{
  margin:0;
  max-width:720px;
  color:rgba(255,255,255,.82);
}

.mtc-home-cta .mtc-kicker{
  color:#bfdbfe;
}

.mtc-home-cta .btn.secondary{
  background:#ffffff;
  color:#0f2c5c;
}

.mtc-info-page .mtc-info-hero{
  margin-bottom:22px;
}

.mtc-info-hero h1{
  margin:8px 0 10px;
  font-size:clamp(34px,4vw,58px);
  line-height:1.02;
  letter-spacing:-1px;
}

.mtc-info-hero p{
  max-width:850px;
  color:#475569;
  font-size:18px;
  line-height:1.6;
}

.mtc-info-actions{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.mtc-info-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.mtc-info-grid article h2{
  margin:0 0 8px;
}

.mtc-info-grid article p{
  color:#475569;
  line-height:1.6;
}

.mtc-info-warning{
  margin-top:20px;
  background:#fff7ed !important;
  border-color:#fed7aa !important;
}

.mtc-notification-list{
  display:grid;
  gap:16px;
}

.mtc-notification-item{
  display:flex;
  gap:18px;
  align-items:flex-start;
}

.mtc-notification-item > span{
  width:54px;
  height:54px;
  border-radius:18px;
  background:#eff6ff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  flex:0 0 auto;
}

.mtc-legal-page .card{
  max-width:950px;
  margin:0 auto;
}

.mtc-legal-page h1{
  font-size:42px;
  margin-bottom:14px;
}

.mtc-legal-page h2{
  margin-top:26px;
}

.mtc-legal-page p{
  color:#475569;
  line-height:1.7;
}

@media(max-width:1100px){
  .mtc-home-hero,
  .mtc-home-numbers,
  .mtc-home-step-grid,
  .mtc-home-why-grid,
  .mtc-home-featured-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:760px){
  .mtc-home-premium{
    padding-bottom:34px;
  }

  .mtc-home-hero{
    grid-template-columns:1fr;
    padding-top:28px;
  }

  .mtc-home-hero h1{
    font-size:38px;
    letter-spacing:-1px;
  }

  .mtc-home-hero p{
    font-size:16px;
  }

  .mtc-home-actions .btn,
  .mtc-home-cta .btn{
    width:100%;
  }

  .mtc-home-numbers,
  .mtc-home-step-grid,
  .mtc-home-why-grid,
  .mtc-home-featured-grid,
  .mtc-info-grid{
    grid-template-columns:1fr;
  }

  .mtc-home-screen{
    min-height:320px;
  }

  .mtc-home-cta{
    flex-direction:column;
    align-items:stretch;
    padding:24px;
  }

  .mtc-home-pro-card,
  .mtc-notification-item{
    flex-direction:column;
  }
}



/* =========================================================
   PACK ULTRA PRO - confiance, FAQ, admin, signalement
   ========================================================= */
.mtc-home-ultra-links{
  margin-top:46px;
}

.mtc-ultra-link-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.mtc-ultra-link-grid a{
  display:block;
  padding:22px;
  border-radius:26px;
  background:#ffffff;
  border:1px solid #e2e8f0;
  text-decoration:none;
  color:#0f172a;
  box-shadow:0 18px 40px rgba(15,23,42,.06);
  transition:transform .16s ease, box-shadow .16s ease;
}

.mtc-ultra-link-grid a:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 54px rgba(15,23,42,.10);
}

.mtc-ultra-link-grid span{
  display:flex;
  width:48px;
  height:48px;
  border-radius:18px;
  background:#eff6ff;
  align-items:center;
  justify-content:center;
  font-size:24px;
  margin-bottom:14px;
}

.mtc-ultra-link-grid strong{
  display:block;
  font-size:18px;
  margin-bottom:6px;
}

.mtc-ultra-link-grid small{
  display:block;
  color:#64748b;
  line-height:1.45;
  font-weight:700;
}

.mtc-trust-hero{
  margin-bottom:22px;
}

.mtc-trust-hero h1{
  margin:8px 0 10px;
  font-size:clamp(34px,4vw,58px);
  line-height:1.02;
  letter-spacing:-1px;
}

.mtc-trust-hero p{
  max-width:880px;
  color:#475569;
  font-size:18px;
  line-height:1.6;
}

.mtc-trust-grid,
.mtc-badge-explain-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.mtc-trust-grid article > span{
  display:flex;
  width:54px;
  height:54px;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:#eff6ff;
  font-size:27px;
  margin-bottom:14px;
}

.mtc-trust-grid h2,
.mtc-badge-explain-grid h2{
  margin:0 0 8px;
}

.mtc-trust-grid p,
.mtc-badge-explain-grid p{
  color:#475569;
  line-height:1.6;
}

.mtc-trust-rules{
  margin-top:20px;
}

.mtc-trust-rules div{
  display:grid;
  gap:8px;
}

.mtc-trust-rules p{
  margin:0;
  color:#475569;
  line-height:1.6;
}

.mtc-faq-list{
  display:grid;
  gap:12px;
}

.mtc-faq-list details{
  background:#ffffff;
  border:1px solid #e2e8f0;
  border-radius:20px;
  padding:18px 20px;
  box-shadow:0 12px 28px rgba(15,23,42,.04);
}

.mtc-faq-list summary{
  cursor:pointer;
  font-weight:950;
  color:#0f172a;
  font-size:17px;
}

.mtc-faq-list p{
  margin:12px 0 0;
  color:#475569;
  line-height:1.65;
}

.mtc-demo-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  font-weight:950;
  font-size:13px;
  margin-bottom:14px;
}

.mtc-demo-badge.green{
  background:#dcfce7;
  color:#166534;
}

.mtc-demo-badge.blue{
  background:#dbeafe;
  color:#1d4ed8;
}

.mtc-contact-card{
  max-width:920px;
}

.mtc-contact-form{
  display:grid;
  gap:16px;
}

.mtc-contact-form textarea{
  min-height:170px;
}

.mtc-admin-stats{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  margin-bottom:20px;
}

.mtc-admin-stats .card{
  padding:22px;
}

.mtc-admin-stats strong{
  display:block;
  color:#0f172a;
  font-size:34px;
  line-height:1;
}

.mtc-admin-stats span{
  display:block;
  margin-top:8px;
  color:#64748b;
  font-weight:900;
}

.mtc-admin-actions div{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.mtc-diagnostic-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.okline,
.badline{
  padding:9px 0;
  border-bottom:1px solid #e2e8f0;
  font-weight:900;
}

.okline{
  color:#166534;
}

.badline{
  color:#b91c1c;
}

@media(max-width:1100px){
  .mtc-ultra-link-grid,
  .mtc-trust-grid,
  .mtc-badge-explain-grid,
  .mtc-admin-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .mtc-ultra-link-grid,
  .mtc-trust-grid,
  .mtc-badge-explain-grid,
  .mtc-admin-stats,
  .mtc-diagnostic-grid{
    grid-template-columns:1fr;
  }

  .mtc-admin-actions .btn,
  .mtc-contact-form .btn{
    width:100%;
  }
}



/* =========================================================
   Animation pub dans le carré accueil
   ========================================================= */
.mtc-home-ad-card{
  overflow:hidden;
}

.mtc-home-ad-screen{
  position:relative;
  overflow:hidden;
  min-height:430px;
}

.mtc-home-ad-slider{
  position:relative;
  flex:1;
  min-height:330px;
  margin-top:18px;
}

.mtc-home-ad-slide{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  padding:28px;
  border-radius:26px;
  background:
    radial-gradient(circle at top right, rgba(96,165,250,.24), transparent 38%),
    #ffffff;
  border:1px solid #e2e8f0;
  box-shadow:0 18px 42px rgba(15,23,42,.10);
  opacity:0;
  transform:translateX(34px) scale(.98);
  animation:mtcAdSlide 16s infinite ease-in-out;
}

.mtc-home-ad-slide.slide-1{ animation-delay:0s; }
.mtc-home-ad-slide.slide-2{ animation-delay:4s; }
.mtc-home-ad-slide.slide-3{ animation-delay:8s; }
.mtc-home-ad-slide.slide-4{ animation-delay:12s; }

@keyframes mtcAdSlide{
  0%{
    opacity:0;
    transform:translateX(34px) scale(.98);
  }
  5%{
    opacity:1;
    transform:translateX(0) scale(1);
  }
  22%{
    opacity:1;
    transform:translateX(0) scale(1);
  }
  27%{
    opacity:0;
    transform:translateX(-34px) scale(.98);
  }
  100%{
    opacity:0;
    transform:translateX(-34px) scale(.98);
  }
}

.mtc-home-ad-icon{
  width:64px;
  height:64px;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  background:#eff6ff;
  box-shadow:inset 0 -8px 18px rgba(37,99,235,.08);
}

.mtc-home-ad-kicker{
  width:fit-content;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:#dbeafe;
  color:#1d4ed8;
  font-size:12px;
  font-weight:950;
}

.mtc-home-ad-slide h3{
  margin:0;
  color:#0f172a;
  font-size:clamp(27px,2.6vw,42px);
  line-height:1.04;
  letter-spacing:-1px;
}

.mtc-home-ad-slide p{
  margin:0;
  color:#475569;
  font-size:17px;
  line-height:1.55;
}

.mtc-home-ad-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:4px;
}

.mtc-home-ad-tags span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 11px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:13px;
  font-weight:950;
}

.mtc-home-ad-card-mini{
  margin-top:4px;
  padding:16px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}

.mtc-home-ad-card-mini strong{
  display:block;
  color:#0f172a;
  font-size:16px;
  margin-bottom:4px;
}

.mtc-home-ad-card-mini small{
  color:#64748b;
  font-weight:800;
}

.mtc-home-chat-preview{
  display:grid;
  gap:9px;
  margin-top:4px;
}

.mtc-home-chat-preview span{
  width:fit-content;
  max-width:88%;
  padding:11px 13px;
  border-radius:16px;
  color:#0f172a;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  font-size:14px;
  font-weight:800;
}

.mtc-home-chat-preview span:nth-child(2){
  justify-self:end;
  background:#36a9e1;
  color:#ffffff;
  border-color:#36a9e1;
}

.mtc-home-ad-dots{
  position:absolute;
  left:24px;
  right:24px;
  bottom:22px;
  display:flex;
  justify-content:center;
  gap:8px;
}

.mtc-home-ad-dots span{
  width:9px;
  height:9px;
  border-radius:999px;
  background:#94a3b8;
  opacity:.45;
  animation:mtcAdDot 16s infinite ease-in-out;
}

.mtc-home-ad-dots span:nth-child(1){ animation-delay:0s; }
.mtc-home-ad-dots span:nth-child(2){ animation-delay:4s; }
.mtc-home-ad-dots span:nth-child(3){ animation-delay:8s; }
.mtc-home-ad-dots span:nth-child(4){ animation-delay:12s; }

@keyframes mtcAdDot{
  0%, 27%, 100%{
    width:9px;
    opacity:.45;
    background:#94a3b8;
  }
  5%, 22%{
    width:28px;
    opacity:1;
    background:#2563eb;
  }
}

/* respecte les personnes qui désactivent les animations */
@media (prefers-reduced-motion: reduce){
  .mtc-home-ad-slide,
  .mtc-home-ad-dots span{
    animation:none !important;
  }

  .mtc-home-ad-slide.slide-1{
    opacity:1 !important;
    transform:none !important;
  }
}

@media(max-width:760px){
  .mtc-home-ad-screen{
    min-height:390px;
  }

  .mtc-home-ad-slider{
    min-height:295px;
  }

  .mtc-home-ad-slide{
    padding:22px;
  }

  .mtc-home-ad-icon{
    width:54px;
    height:54px;
    border-radius:18px;
    font-size:27px;
  }

  .mtc-home-ad-slide h3{
    font-size:28px;
  }

  .mtc-home-ad-slide p{
    font-size:15px;
  }
}


/* PACK PUISSANCE - avis, tarifs, SEO, admin pro */
.mtc-power-links{margin-top:46px}.mtc-power-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mtc-power-grid a{display:block;padding:22px;border-radius:26px;background:#fff;border:1px solid #e2e8f0;text-decoration:none;color:#0f172a;box-shadow:0 18px 40px rgba(15,23,42,.06);transition:.16s}.mtc-power-grid a:hover{transform:translateY(-3px);box-shadow:0 22px 54px rgba(15,23,42,.10)}.mtc-power-grid span{display:flex;width:50px;height:50px;align-items:center;justify-content:center;border-radius:18px;background:#eff6ff;font-size:25px;margin-bottom:14px}.mtc-power-grid strong{display:block;margin-bottom:7px;font-size:18px}.mtc-power-grid small{display:block;color:#64748b;line-height:1.45;font-weight:700}
.mtc-review-summary{display:flex;align-items:flex-end;gap:12px;margin:18px 0}.mtc-review-summary strong{font-size:44px;color:#0f172a;line-height:1}.mtc-review-summary span{color:#64748b;font-weight:900}.mtc-review-list{display:grid;gap:16px}.mtc-review-card{max-width:920px}.mtc-review-top{display:flex;justify-content:space-between;gap:14px;margin-bottom:12px}.mtc-review-top strong{color:#f59e0b;font-size:22px;letter-spacing:1px}.mtc-review-top span{display:block;color:#64748b;font-weight:800}.mtc-review-top em{align-self:flex-start;font-style:normal;padding:7px 10px;border-radius:999px;background:#dcfce7;color:#166534;font-weight:950;font-size:12px}.mtc-review-card p{color:#0f172a;line-height:1.65;font-size:16px}.mtc-review-card small{color:#64748b;font-weight:800}.mtc-review-form{display:grid;gap:15px}.mtc-review-form textarea{min-height:170px}
.mtc-price-grid,.mtc-seo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mtc-price-grid article span{display:inline-flex;padding:8px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:950;margin-bottom:14px}.mtc-price-grid article strong{display:block;color:#0f172a;font-size:30px;margin-bottom:10px}.mtc-price-grid article p,.mtc-seo-grid article p{color:#475569;line-height:1.6}.mtc-price-warning{margin-top:20px;background:#fff7ed!important;border-color:#fed7aa!important}
.mtc-seo-directory{display:grid;gap:18px}.mtc-seo-directory .card div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mtc-seo-directory a{display:block;padding:11px 12px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;color:#0f2c5c;text-decoration:none;font-weight:900}
.mtc-admin-table{overflow:auto}.mtc-admin-table table{width:100%;border-collapse:collapse;min-width:900px}.mtc-admin-table th,.mtc-admin-table td{padding:13px 12px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:middle}.mtc-admin-table th{color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.mtc-admin-status{display:inline-flex;min-height:28px;padding:0 10px;border-radius:999px;align-items:center;font-weight:950;font-size:12px;background:#f1f5f9;color:#475569}.mtc-admin-status.validated{background:#dcfce7;color:#166534}.mtc-admin-status.refused{background:#fee2e2;color:#b91c1c}.mtc-admin-status.pending{background:#fef3c7;color:#92400e}.mtc-admin-inline{display:flex;gap:8px}.btn.mini{min-height:34px;padding:0 12px;font-size:12px}
@media(max-width:1100px){.mtc-power-grid,.mtc-price-grid,.mtc-seo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mtc-seo-directory .card div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.mtc-power-grid,.mtc-price-grid,.mtc-seo-grid,.mtc-seo-directory .card div{grid-template-columns:1fr}.mtc-review-top{flex-direction:column}.mtc-admin-inline{flex-direction:column}}
