/* ===== Variables ===== */
:root{
  --fuchsia:#e91683;
  --fuchsia-2:#ff3aa2;
  --green:#00d084;
  --ink:#111;
  --gray:#f5f6f7;
  --line:#e9e9ec;
  --radius:28px;
  --shadow:0 6px 16px rgba(0,0,0,.08);
  --neon:0 0 10px rgba(233,22,131,.55), 0 0 22px rgba(233,22,131,.35);
  --neon-green:0 0 10px rgba(0,208,132,.55), 0 0 22px rgba(0,208,132,.35);
}

*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);background:#fff;
}
img{max-width:100%;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* ===== Header aligné ===== */
.pm-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 20px;
  flex-wrap: nowrap; /* 🔹 empêche les retours à la ligne */
  overflow-x: auto;  /* 🔹 au cas où sur petit écran */
}

/* Logo */
.pm-logo img {
  height: 56px;
  width: auto;
  border-radius: 50%;
  box-shadow: var(--neon);
  flex-shrink: 0; /* 🔹 empêche le logo de rétrécir */
}

/* Conteneur principal */
.pm-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 14px;
  min-width: 0;
  flex-wrap: nowrap; /* 🔹 force tout sur une seule ligne */
}

/* ===== Barre de recherche ajustée (largeur étendue) ===== */
.pm-search {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
  justify-content: flex-start;
  min-width: 0;
}

/* ===== Barre de recherche (ajustée pour la symétrie) ===== */
.pm-search input {
  flex: 0 1 660px; /* 🔹 largeur parfaite (~600px, symétrique aux boutons à droite) */
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid var(--fuchsia);
  outline: none;
  background: #fff;
  font-size: 15px;
  transition: all 0.25s ease-in-out;
}

.pm-search input:focus {
  box-shadow: 0 0 12px rgba(233, 22, 131, 0.35);
  border-color: var(--fuchsia-2);
}
/* === Correction hauteur barre de recherche pour symétrie === */
.pm-search input {
  height: 46px !important;          /* 🔹 même hauteur que les boutons */
  line-height: 46px;
  padding: 0 22px !important;       /* 🔹 équilibre intérieur */
  font-size: 15px;
  border-radius: 999px;             /* 🔹 même arrondi que les boutons */
}


/* ===== Bouton "Rechercher" (inversé) ===== */
.pm-search .btn-fuchsia {
  background: #fff;
  color: var(--fuchsia);
  border: 2px solid var(--fuchsia);
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.pm-search .btn-fuchsia:hover {
  background: var(--fuchsia);
  color: #fff;
  box-shadow: var(--neon);
  transform: translateY(-1px);
}



/* Boutons */
.pm-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pm-nav button,
.pm-nav select {
  background: var(--fuchsia);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap; /* 🔹 évite la coupure du texte */
}

.pm-nav button:hover,
.pm-nav select:hover {
  background: var(--fuchsia-2);
}



/* Adaptation mobile */
@media (max-width: 950px) {
  .pm-header {
    flex-direction: column;
    gap: 10px;
  }
  .pm-header-main {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .pm-nav {
    justify-content: center;
  }
  .pm-search input {
    width: 90%;
  }
}


/* --- Effet brillance sur les boutons verts --- */
@keyframes glow {
  0% { box-shadow:0 0 8px rgba(32,214,122,.6), 0 0 15px rgba(32,214,122,.3); }
  50% { box-shadow:0 0 18px rgba(32,214,122,1), 0 0 28px rgba(32,214,122,.5); }
  100% { box-shadow:0 0 8px rgba(32,214,122,.6), 0 0 15px rgba(32,214,122,.3); }
}

.btn-cta,
.chip-green{
  background:var(--green);
  color:#fff;
  border:none;
  border-radius:999px;
  font-weight:700;
  padding:12px 26px;
  animation:glow 1.8s infinite alternate;
  transition:all .3s ease;
}

.btn-cta:hover,
.chip-green:hover{
  background:#fff;
  color:var(--green);
  border:2px solid var(--green);
  transform:scale(1.05);
}


/* ===== Boutons Header uniformes ===== */
.pm-top-actions{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
}
.pm-top-actions select,
.pm-top-actions .btn,
.pm-top-actions .chip{
  background:var(--fuchsia);
  color:#fff;
  border:none;
  border-radius:999px;
  padding:10px 18px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s ease;
}
.pm-top-actions select:hover,
.pm-top-actions .btn:hover,
.pm-top-actions .chip:hover{
  background:#fff;
  color:var(--fuchsia);
  border:2px solid var(--fuchsia);
}

/* ===== Sublogo sous la recherche ===== */
.pm-sublogo{
  display:flex;align-items:center;gap:14px;padding:10px 0 6px;
  justify-content:flex-start;
}
.pm-sublogo img{
  height:40px;width:auto;border-radius:50%;box-shadow:var(--neon);
}
.pm-sublogo .baseline{
  margin:0;font-size:14px;color:#555;
}

/* ===== Chips (boutons arrondis) ===== */
.chip{
  border:0;border-radius:999px;padding:10px 16px;font-weight:600;
  cursor:pointer;transition:.2s;
}
.chip-fuchsia{background:var(--fuchsia);color:#fff}
.chip-fuchsia:hover{filter:brightness(1.1)}
.chip-dark{background:#000;color:#fff}
.chip-dark:hover{background:var(--fuchsia)}
.chip-green{background:var(--green);color:#fff}
.chip-green:hover{
  background:#fff;
  color:var(--green);
  border:2px solid var(--green);
}
.pm-cats{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;padding:10px 0 14px}

/* ===== Hero Section ===== */
.pm-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:40px;
  padding:28px 0 8px;
}
.hero-text h1{font-size:32px;margin:0 0 8px}
.brand{color:var(--fuchsia)}
.green{color:var(--green);text-shadow:var(--neon-green)}

.btn-cta{
  background:var(--green);
  color:#fff;
  font-weight:700;
  padding:12px 26px;
  border-radius:999px;
  border:none;
  box-shadow:var(--neon-green);
  transition:all .3s ease;
  margin:14px 0 6px;
}
.btn-cta:hover{
  background:#fff;
  color:var(--green);
  border:2px solid var(--green);
  transform:translateY(-1px) scale(1.02);
}
.trust-phrase{margin:8px 0 0}
.hero-actions{
  display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;
  justify-content:flex-start;
}

/* ===== Bannière droite ===== */
.hero-banner{
  flex:1 1 400px;
  display:flex;
  justify-content:center;
}
.hero-banner img{
  max-width:420px;
  width:100%;
  border-radius:20px;
  box-shadow:0 6px 20px rgba(0,0,0,0.1);
}

/* ===== Partners ===== */
.pm-partners{padding:18px 0}
.pm-partners h2{text-align:center;margin:10px 0 14px}
.partners-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.partner{
  background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:16px;display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow)
}
.partner img{max-height:38px;opacity:.9}

/* ===== Annonces ===== */
.pm-listings{padding:8px 0 30px}
.pm-listings h2{text-align:center;margin:12px 0 18px}
.grid-ads{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.ad{
  background:#fff;border:1px solid var(--line);border-radius:14px;
  overflow:hidden;box-shadow:var(--shadow);text-align:left;transition:.2s
}
.ad img{aspect-ratio:4/3;object-fit:cover;width:100%}
.ad h3{font-size:15px;margin:10px 10px 2px}
.ad p{font-size:13px;color:#666;margin:0 10px 12px}
.ad:hover{outline:2px solid var(--fuchsia);outline-offset:-2px;transform:translateY(-3px)}

/* ===== Footer ===== */
.pm-footer{
  border-top:1px solid var(--line);
  background:#fff;
  margin-top:20px;
  text-align:center;
  padding:30px 20px;
}
.footer-top{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.footer-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:20px;
}
.footer-links a{
  color:#444;
  font-size:14px;
  text-decoration:none;
  transition:.2s;
}
.footer-links a:hover{color:var(--fuchsia)}

.footer-social-wrap{width:100%;display:flex;justify-content:center;padding:6px 0}
.footer-bottom p{margin:6px 0;color:#333}
.pm-footer p:last-of-type{
  margin-top:15px;
  font-size:13px;
  color:#555;
}

/* ===== Responsive ===== */
@media (max-width:1100px){
  .grid-ads{grid-template-columns:repeat(4,1fr)}
  .pm-hero{flex-direction:column;align-items:center;text-align:center}
  .hero-banner{order:2}
}
@media (max-width:720px){
  .grid-ads{grid-template-columns:repeat(2,1fr)}
  .pm-header{grid-template-columns:1fr}
  .pm-search input{width:100%}
  .pm-top-actions{justify-content:center;flex-wrap:wrap}
  .footer-top{flex-direction:column;align-items:center}
  .pm-sublogo{justify-content:center;text-align:center}
}

/* --- HEADER MODERNISÉ --- */
.pm-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.pm-top-actions .btn,
.pm-top-actions .btn-lang {
  background: var(--fuchsia);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
}

.pm-top-actions .btn:hover,
.pm-top-actions .btn-lang:hover {
  background: #fff;
  color: var(--fuchsia);
  border: 2px solid var(--fuchsia);
}

.pm-top-actions .btn-lang {
  appearance: none;
  background: var(--fuchsia);
  color: #fff;
}

/* --- HERO ALIGNEMENT --- */
.pm-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.pm-hero .hero-text {
  flex: 1 1 45%;
}

.pm-hero .hero-banner {
  flex: 1 1 45%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.pm-hero .hero-banner img {
  width: 100%;
  max-width: 460px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.pm-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0;
}

/* Logo */
.pm-logo img {
  height: 64px;
  width: auto;
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: var(--neon);
}

/* Barre de recherche */
.pm-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

/* Navigation */
.pm-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Phrase sous le header */
.pm-sublogo {
  text-align: center;
  padding: 8px 0 14px;
}

.pm-sublogo .baseline {
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

/* ===== HEADER GLOBAL ===== */
.pm-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ===== LOGOS ===== */
.pm-logo img, .pm-logo-right img {
  height: 54px;
  width: auto;
  border-radius: 50%;
  box-shadow: var(--neon);
  transition: .3s;
}
.pm-logo-right img {
  opacity: 0.9;
}
.pm-logo img:hover, .pm-logo-right img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* ===== RECHERCHE ===== */
.pm-search {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 640px;
}
.pm-search input {
  width: 100%;
  max-width: 520px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 2px solid var(--fuchsia);
  background: #fff;
  outline: none;
}
.pm-search .btn-invert {
  background: #fff;
  color: var(--fuchsia);
  border: 2px solid var(--fuchsia);
  margin-left: 8px;
  font-weight: 600;
  transition: .2s;
}
.pm-search .btn-invert:hover {
  background: var(--fuchsia);
  color: #fff;
  box-shadow: 0 0 10px rgba(233,22,131,.4);
}

/* ===== NAVIGATION ===== */
.pm-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pm-nav button, .pm-nav select {
  border-radius: 999px;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
  transition: .2s;
}

/* ===== SUBLOGO ===== */
.pm-sublogo {
  text-align: center;
  padding: 10px 0 8px;
}
.pm-sublogo .baseline {
  font-size: 15px;
  font-weight: 600;
  color: #000;
}

/* --- FILTRES PLAISIRS MARKET --- */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  margin: 25px auto;
  max-width: 1100px;
}

.filters-bar select {
  border: 2px solid #e91683;
  color: #e91683;
  background: #fff;
  font-weight: 600;
  border-radius: 25px;
  padding: 8px 14px;
  transition: all 0.25s ease;
  font-size: 14px;
}

.filters-bar select:hover,
.filters-bar select:focus {
  background: #e91683;
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.filter-group { 
  display: flex; flex-wrap: wrap; gap: 10px; margin: 15px auto; 
  justify-content: center; background:#fff; padding:15px; border-radius:15px; 
  border:1px solid #eee; box-shadow:0 3px 8px rgba(0,0,0,0.05);
}
.filter-item { display:flex; flex-direction:column; align-items:center; font-weight:600; font-size:13px; }
.filter-item label { color:#e91683; margin-bottom:3px; }
.filter-item input, .filter-item select { padding:6px 10px; border-radius:8px; border:1px solid #ccc; }

/* ============================
   MOTEUR DE RECHERCHE INTELLIGENT
   Plaisirs Market - Design Global
============================ */

#smart-filter {
  max-width: 1200px;
  margin: 40px auto;
  padding: 25px;
  background: #fff;
  border: 2px solid #e91683;
  border-radius: 20px;
  box-shadow: 0 0 18px rgba(233, 22, 131, 0.15);
  transition: all 0.3s ease;
}

#smart-filter:hover {
  box-shadow: 0 0 25px rgba(233, 22, 131, 0.25);
}

/* Formulaire principal */
#smartForm {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Sélecteurs et champs */
#smartForm select,
#smartForm input {
  flex: 1;
  min-width: 120px;
  padding: 10px;
  border: 2px solid #e91683;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.2s ease;
}

/* Effet focus / hover */
#smartForm select:hover,
#smartForm input:hover,
#smartForm select:focus,
#smartForm input:focus {
  border-color: #00ff88;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
  outline: none;
}

/* Zone des filtres dynamiques */
#filtresDynamiques {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

/* Bouton Rechercher */
#smartForm button {
  width: 100%;
  max-width: 400px;
  margin-top: 15px;
  padding: 12px 20px;
  background: linear-gradient(90deg, #e91683, #00ff88);
  border: none;
  border-radius: 25px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.25s ease;
}

#smartForm button:hover {
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(233, 22, 131, 0.3);
}

/* Label des filtres */
#filtresDynamiques label {
  font-weight: 600;
  font-size: 0.9em;
  color: #000;
  margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  #smart-filter {
    padding: 20px;
  }

  #smartForm select,
  #smartForm input {
    min-width: 100%;
  }

  #smartForm button {
    max-width: 100%;
  }
}

#mini-search select:hover,
#mini-search input:hover {
  border-color:#00ff88;
  transition:0.2s;
}
#mini-search button:hover {
  transform:scale(1.05);
  transition:all .25s ease;
}

.btn.btn-fuchsia {
  background-color: #e91683;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  display: inline-block;
}

.btn.btn-fuchsia:hover {
  background: linear-gradient(90deg, #e91683, #00ff88);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(233, 22, 131, 0.4);
}

/* Désactiver le fond accueil sur les pages internes */
body:not(.home) {
  background: none !important;
}

.verif-container {
  max-width: 400px;
  margin: 50px auto;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.verif-container input {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.verif-container button {
  width: 100%;
  background-color: #e91683;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.verif-container button:hover {
  background-color: #d11574;
}

/* ===========================
   🔐 Connexion sécurisée (format horizontal)
   =========================== */

.verif-container {
  display: flex;
  justify-content: center;
  margin: 60px auto;
  padding: 0 20px;
}

.verif-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid #e91683;
  max-width: 850px;
  width: 100%;
  padding: 30px 40px;
  gap: 40px;
}

.verif-text {
  flex: 1;
  text-align: left;
}

.verif-text h2 {
  font-size: 1.6rem;
  color: #e91683;
  font-weight: 700;
  margin-bottom: 10px;
}

.verif-text p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
}

.verif-form {
  flex: 1;
}

.verif-form label {
  display: block;
  font-weight: 600;
  color: #222;
  margin-top: 8px;
}

.verif-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 4px;
  transition: 0.2s;
}

.verif-form input:focus {
  border-color: #e91683;
  box-shadow: 0 0 0 2px rgba(233,22,131,0.2);
  outline: none;
}

.verif-form button {
  width: 100%;
  background-color: #e91683;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: bold;
  margin-top: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.verif-form button:hover {
  background-color: #c91270;
}

#statusMsg {
  font-size: 0.95rem;
  text-align: center;
}

/* Responsive (mobile) */
@media (max-width: 768px) {
  .verif-card {
    flex-direction: column;
    text-align: center;
  }
  .verif-text {
    text-align: center;
  }
}

