@charset "UTF-8";
.pub-home {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  margin: 15px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  border: 1px solid #ececec;
}
.pub-home .pub-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffb300, #ff8f00);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.pub-home .pub-content {
  display: flex;
  align-items: center;
  gap: 18px;
}
.pub-home .pub-icon {
  width: 75px;
  height: 75px;
  min-width: 75px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2e7d32, #43a047);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  color: white;
  box-shadow: 0 6px 15px rgba(46, 125, 50, 0.2);
}
.pub-home .pub-text {
  flex: 1;
}
.pub-home .pub-text h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #2e7d32;
  font-weight: 800;
}
.pub-home .pub-text h4 {
  margin: 4px 0 10px;
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}
.pub-home .pub-text p {
  color: #555;
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 10px;
}
.pub-home .pub-text ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}
.pub-home .pub-text ul li {
  font-size: 0.78rem;
  color: #333;
  font-weight: 600;
}
.pub-home .pub-text a {
  display: inline-block;
  background: #2e7d32;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: 0.3s;
}
.pub-home .pub-text a:hover {
  background: #1b5e20;
  transform: translateY(-2px);
}

/* =====================================================
   SERAFLORE - PAGE TEMPORAIRE
   Compatible style Annonces Centrafrique
===================================================== */
section.seraflore-page {
  margin-top: 110px;
}
section.seraflore-page .seraflore-indisponible {
  position: relative;
  overflow: hidden;
  max-width: 560px;
  margin: 40px auto 35px;
  padding: 20px 18px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #f7faf8);
  border-radius: 16px;
  border: 1px solid #dfe8e2;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  animation: fadeUp 0.6s ease;
}
section.seraflore-page .seraflore-indisponible::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: serafloreShine 8s infinite;
}
section.seraflore-page {
  /* LOGO */
}
section.seraflore-page .seraflore-logo {
  position: relative;
  z-index: 2;
  width: 65px;
  height: 65px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border-radius: 50%;
  background: #eef9f1;
  box-shadow: 0 5px 15px rgba(26, 127, 55, 0.12);
}
section.seraflore-page {
  /* Badge */
}
section.seraflore-page .seraflore-indisponible .pub-badge {
  padding: 5px 12px;
  margin-bottom: 12px;
  font-size: 0.72rem;
}
section.seraflore-page {
  /* TITRE */
}
section.seraflore-page .seraflore-indisponible h2 {
  margin-bottom: 5px;
  color: #1a7f37;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}
section.seraflore-page {
  /* SOUS TITRE */
}
section.seraflore-page .seraflore-indisponible h3 {
  margin-bottom: 12px;
  color: #444;
  font-size: 1rem;
}
section.seraflore-page {
  /* TEXTES */
}
section.seraflore-page .seraflore-indisponible p {
  max-width: 450px;
  margin: 0 auto 10px;
  color: #666;
  line-height: 1.45;
  font-size: 0.85rem;
}
section.seraflore-page {
  /* SERVICES */
}
section.seraflore-page .seraflore-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 12px 0;
  list-style: none;
}
section.seraflore-page .seraflore-services li {
  background: #eef9f1;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: #1a7f37;
  font-weight: 600;
}
section.seraflore-page {
  /* Badge ouverture */
}
section.seraflore-page .seraflore-indisponible > span {
  margin-top: 12px;
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 0.75rem;
}
section.seraflore-page {
  /* ================================
     CONTACT SERAFLORE
  ================================ */
}
section.seraflore-page .seraflore-contact {
  position: relative;
  z-index: 2;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #dfe8e2;
}
section.seraflore-page .seraflore-contact h4 {
  margin-bottom: 20px;
  color: #1a7f37;
  font-size: 1.1rem;
  font-weight: 800;
}
section.seraflore-page .contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: #555;
}
section.seraflore-page .contact-item span {
  font-weight: 700;
  color: #363131;
}
section.seraflore-page .contact-item a {
  color: #1a7f37;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
section.seraflore-page .contact-item a:hover {
  color: #0d5c28;
}
section.seraflore-page .seraflore-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding: 12px 25px;
  border-radius: 40px;
  background: #1a7f37;
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(26, 127, 55, 0.25);
  transition: 0.3s;
}
section.seraflore-page .seraflore-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 127, 55, 0.35);
}
section.seraflore-page .seraflore-back {
  display: block;
  text-decoration: none;
  margin-top: 20px;
  font-weight: bolder;
}

/* Mobile */
@media (max-width: 600px) {
  .contact-item {
    flex-direction: column;
    gap: 5px;
  }
}
/* =====================================================
   RESPONSIVE SERAFLORE
===================================================== */
@media (max-width: 768px) {
  .pub-home {
    padding: 10px;
  }
  .pub-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  .pub-content {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .pub-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    font-size: 28px;
    margin: auto;
  }
  .pub-text h3 {
    font-size: 1.15rem;
    margin: 3px 0;
  }
  .pub-text h4 {
    font-size: 0.85rem;
    margin: 3px 0 8px;
  }
  .pub-text p {
    font-size: 0.75rem;
    line-height: 1.35;
    margin: 5px 0;
  }
  .pub-text ul {
    padding: 0;
    margin: 8px 0;
    justify-content: center;
    gap: 5px;
  }
  .pub-text ul li {
    font-size: 0.72rem;
  }
  .pub-text a {
    display: inline-block;
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 20px;
  }
  .seraflore-indisponible {
    margin: 60px 20px;
    padding: 35px 22px;
  }
  .seraflore-logo {
    width: 85px;
    height: 85px;
    font-size: 42px;
  }
  .seraflore-indisponible h2 {
    font-size: 1.7rem;
  }
  .seraflore-indisponible h3 {
    font-size: 1.05rem;
  }
  .seraflore-indisponible p {
    font-size: 0.92rem;
  }
}
html,
body {
  margin: 0px;
  padding-top: 20px;
  font-size: 1rem;
}

/*************** entete header logo + menu nav  */
header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000;
  transition: all 0.3s ease;
}

/* NAVBAR BASE */
.navbar {
  transition: all 0.3s ease;
  padding: 8px 0;
  backdrop-filter: blur(0px);
}

.navbar-brand a {
  display: inline-block;
  text-decoration: none;
}

/* GLASS EFFECT AU SCROLL */
header.sticky.scrolled .navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
}

/* LOGO */
.navbar-brand img {
  height: 85px;
  width: auto;
  transition: all 0.3s ease;
}

/* SHRINK LOGO */
header.sticky.scrolled .navbar-brand img {
  height: 50px;
}

/* LINKS */
.nav-link {
  position: relative;
  color: #2e0404 !important;
  font-weight: 500;
  padding: 8px 10px !important;
  transition: all 0.3s ease;
}

/* underline animation */
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: #f59e0b;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 30px);
}

/* bouton publish */
.btn-publish {
  background: linear-gradient(135deg, #f59e0b, #ffb703);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.25);
  line-height: 1.3;
}

/********************* Titre page accueil **********************/
h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 85px auto 30px;
  padding: 0 10px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #2d3436;
  animation: fadeUp 0.6s ease;
}
h1 span {
  position: relative;
}
h1 span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  border-radius: 20px;
  background: brown;
  animation: lineGrow 0.8s ease forwards;
}
h1 em {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: brown;
  color: #fff;
  font-size: 0.9rem;
  font-style: normal;
  box-shadow: 0 3px 10px rgba(165, 42, 42, 0.2);
  animation: float 3s ease-in-out infinite;
  transition: 0.3s;
}
h1:hover em {
  transform: scale(1.08);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes lineGrow {
  to {
    width: 70px;
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
.title {
  margin-top: 110px;
}

h3 em {
  padding: 5px;
  color: white;
  background-color: blue;
  font-size: medium;
  border: 2px solid;
}

.text-danger,
.invalide {
  font-size: 0.8rem;
}

.alert-dismissible {
  max-width: 500px;
}

.is-valid {
  border: 1px solid #28a745 !important;
}

.is-invalid {
  border: 1px solid #dc3545 !important;
}

input.is-invalid {
  border: 1px solid #dc3545 !important;
}

input.is-valid {
  border: 1px solid #28a745 !important;
}

.js-error {
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.error-msg {
  font-size: 0.85rem;
  margin-top: 5px;
}

/* ****** 1 - PAGE ACCUEIL = ANNONCES **********/
div.sticky-zone #section {
  display: flex;
  justify-content: center;
  margin: 60px auto 30px;
}
div.sticky-zone #section form {
  display: flex;
  flex-wrap: wrap; /* permet de passer en colonne sur mobile */
  gap: 10px;
  padding: 1px;
  justify-content: center;
}
div.sticky-zone #section form input {
  width: 300px;
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
}
div.sticky-zone #section form select {
  width: 500px;
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}
div.sticky-zone #section form .btn {
  letter-spacing: 5px;
  padding: 6px 20px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
}

.publish-banner {
  margin: 16px auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

.publish-card {
  width: 560px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #0066ff, #00b894);
  border-radius: 12px;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.publish-icon {
  font-size: 16px;
}

.publish-text {
  flex: 1;
}

.publish-text h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.publish-text p {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.3;
}

.publish-btn {
  background: white;
  color: #0066ff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 7px 12px;
  border-radius: 25px;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.3s;
}
.publish-btn i {
  margin-right: 2px;
  font-size: 12px;
}

.signup-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  line-height: 1;
  color: #6c757d;
}
.signup-hint a {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  animation: signupPulse 5s infinite;
}
.signup-hint a:hover {
  transform: translateX(4px);
}
.signup-hint a i {
  font-size: 1rem;
}

@keyframes signupPulse {
  0%, 92%, 100% {
    transform: translateX(0);
  }
  95% {
    transform: translateX(4px);
  }
  97% {
    transform: translateX(0);
  }
}
.publish-btn:hover {
  transform: scale(1.04);
}

main.annonces-slider {
  position: relative;
  overflow: hidden;
  margin: 70px auto 35px;
}

main.annonces-slider div.annonces-wrapper {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap; /* important pour un défilement horizontal continu */
}

main.annonces-slider div.annonce-card {
  width: 270px;
  flex: 0 0 270px;
  border-radius: 8px;
  box-shadow: 2px 2px 1px 0px #d1d9e6 inset, -2px -2px 1px 0px gray inset;
  transition: transform 0.1s linear;
}

div.annonce-card {
  padding: 10px;
}
div.annonce-card .ruban-annonce {
  width: 100%;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  letter-spacing: 0.5px;
  border-radius: 10px 10px 0 0;
}
div.annonce-card .ruban-annonce.offre {
  background: #ff6b00;
}
div.annonce-card .ruban-annonce.recherche {
  background: #0d6efd;
}
div.annonce-card div {
  margin-bottom: 5px;
}
div.annonce-card div.images {
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}
div.annonce-card div.images img {
  width: 100%;
  height: 130px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  transition: 0.4s;
}
div.annonce-card div.images img:hover {
  transform: scale(1.05);
}
div.annonce-card .badge-type {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
div.annonce-card .badge-recherche {
  background: #2563eb;
}
div.annonce-card .badge-offre {
  background: #16a34a;
}
div.annonce-card div.prix {
  padding: 1px;
  font-size: 12px;
}
div.annonce-card div.prix .badge-prix {
  bottom: 10px;
  left: 10px;
  background: #ff6600;
  color: white;
  padding: 5px 5px;
  border-radius: 6px;
  font-weight: bold;
}
div.annonce-card div.prix .badge-budget {
  color: #1b1212;
  font-weight: 600;
}
div.annonce-card div.prix .badge-recherche {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #856404;
  background-color: #fff3cd;
  border: 1px solid #ffe69c;
  border-radius: 50rem;
}
div.annonce-card .nom-produit {
  margin: 6px 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.35;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
div.annonce-card div.date {
  font-size: 12px;
}
div.annonce-card .localisation {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #6c757d;
  font-size: 13px;
  margin-bottom: 6px;
}
div.annonce-card .localisation i {
  color: #0066ff;
  font-size: 14px;
}
div.annonce-card .categorie {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #eef6ff, #dbeafe);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 20px;
  margin: 8px 0;
  border: 1px solid #bfdbfe;
  text-transform: capitalize;
  transition: all 0.3s ease;
}
div.annonce-card .categorie i {
  font-size: 0.9rem;
  color: #2563eb;
}
div.annonce-card .categorie:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-1px);
}
div.annonce-card .categorie:hover i {
  color: white;
}
div.annonce-card div.liens {
  text-align: center;
  padding: 8px;
  margin-top: 10px;
}
div.annonce-card div.liens a {
  font-size: 14px;
  padding: 4px 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid;
  border-radius: 10px;
  transition: 0.25s;
  box-shadow: 3px 1px 2px 0px #066646, -1px -1px inset;
}

section.annexe {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

section.annexe > .reseaux-sociaux,
section.annexe > .pub-home {
  flex: 1;
  width: 50%;
  box-sizing: border-box;
}

section.annexe .pub-home {
  margin: 0;
}

.reseaux-sociaux {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
}
.reseaux-sociaux:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.reseaux-sociaux .title {
  font-size: 16px;
  font-weight: 600;
  margin: 3px 10px 10px;
  color: #2c3e50;
}
.reseaux-sociaux .title::after {
  content: "";
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  display: block;
  margin: 6px auto 0;
  border-radius: 5px;
}

.social-links {
  gap: 8px;
}

.social {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 500;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: 0.2s;
}
.social img {
  width: 14px;
  height: 14px;
}
.social span {
  font-size: 11px;
}
.social:hover {
  transform: translateY(-2px);
  color: rgb(116, 65, 65);
  font-weight: 700;
}

section.reviews {
  padding: 10px;
  text-align: center;
}
section.reviews div.cadre {
  padding: 5px;
}
section.reviews div.cadre h3 {
  font-size: 18px;
  margin-bottom: 20px;
}
section.reviews .reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
section.reviews .review-card {
  max-width: 430px;
  padding: 10px;
  border-radius: 10px;
  border-left: 2px solid #1da1f2;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}
section.reviews .review-card:hover {
  transform: translateY(-5px);
  background: #e9ecef;
}
section.reviews .stars {
  color: #ffc107;
  font-size: 14px;
  margin-bottom: 10px;
}
section.reviews .review-card p {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}
section.reviews .user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
section.reviews .user-avatar {
  width: 24px;
  height: 24px;
  -o-object-fit: contain;
     object-fit: contain;
}
section.reviews .user-info h4 {
  margin: 0;
  font-size: 13px;
}
section.reviews .badge {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 3px;
  color: #066646;
}
section.reviews .vendeur {
  background: #e3f2fd;
  color: #1976d2;
}
section.reviews .acheteur {
  background: #e8f5e9;
  color: #388e3c;
}
section.reviews .pro {
  background: #fff3e0;
  color: #f57c00;
}
section.reviews .dateAvis {
  font-size: 12px;
}

div.moyenne-avis {
  padding: 3px;
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
}
div.moyenne-avis strong {
  color: #066646;
}

/* Boutton voir tous les avis */
section.visualiser_avis {
  margin: 20px auto;
  text-align: center;
}
section.visualiser_avis .btn-avis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 150px;
  padding: 8px 12px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  border: none;
  background: linear-gradient(135deg, #185b9e, #333d3d);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
}
section.visualiser_avis .btn-avis span {
  position: relative;
  z-index: 1;
}
section.visualiser_avis .btn-avis i {
  font-size: 14px;
  transition: transform 0.3s ease;
}
section.visualiser_avis .btn-avis:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #204a88, #66cdaa);
}
section.visualiser_avis .btn-avis:hover i {
  transform: translateX(5px);
}
section.visualiser_avis .btn-avis:active {
  transform: scale(0.97);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

span.highlight {
  padding: 2px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #e67e22, rgb(237.7743902439, 166.1158536585, 102.7256097561));
  border-radius: 10px;
}

/* Conteneur principal */
main.about-page {
  padding: 15px 10px;
  font-family: Arial, sans-serif;
  background: #f8f9fa;
  border-radius: 12px;
}

/* Sections sous forme de cartes */
.about-page section {
  background: #ffffff;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-page section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Titres */
main.about-page h2,
main.about-page h3 {
  color: #066646;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
  position: relative;
}

main.about-page h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #066646;
  display: block;
  margin-top: 8px;
  border-radius: 2px;
}

/* Texte */
.about-intro p {
  line-height: 1.8;
  font-size: 16px;
  color: #444;
}

.about-intro mark {
  background: rgba(13, 110, 253, 0.1);
  color: #066646;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Valeurs */
.about-values ul {
  list-style: none;
  padding-left: 0;
}

.about-values li {
  margin-bottom: 12px;
  font-size: 15px;
}

/* Équipe */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.team-member {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  width: 220px;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 140px;
  height: 140px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  border: 4px solid #066646;
  margin-bottom: 10px;
}

.team-member h4 {
  font-weight: 600;
  font-size: 15px;
  margin-top: 10px;
  color: #066646;
}

/* Section Don */
.about-support {
  text-align: center;
}

.about-support .titre-annonces {
  width: 250px;
  margin: 20px auto;
}

.pulse-title {
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  animation: pulse 1.5s infinite;
}

.lien_dons {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  /* Dégradé moderne */
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
  /* Animation fluide */
  transition: all 0.3s ease-in-out;
}

/* Effet lumineux au survol */
.lien_dons::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-25deg);
  transition: left 0.5s ease;
}

/* Animation hover */
.lien_dons:hover::before {
  left: 125%;
}

.lien_dons:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, #218838, #17a589);
}

@keyframes pulseDonate {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}
/* Animation de pulsation subtile */
.lien_dons.pulse {
  animation: pulseDonate 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
.support-hero {
  background: linear-gradient(135deg, #e9ecef);
  color: black;
  text-align: center;
  padding: 20px 10px;
  max-width: 700px;
  border-radius: 20px;
  margin-bottom: 110px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
  animation: fadeInDown 1s ease-in-out;
}

.support-hero h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

.support-hero p {
  font-size: 16px;
  max-width: 700px;
  margin: auto;
}

main.dons-page {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px;
  margin-bottom: 50px;
}
main.dons-page .don-card {
  background: #fff;
  padding: 15px;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  animation: fadeInUp 1s ease-in-out;
}
main.dons-page .don-card:hover {
  transform: translateY(-5px);
  animation: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
main.dons-page h2 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}
main.dons-page form {
  padding: 2px;
}
main.dons-page form div.button {
  text-align: center;
}
main.dons-page form .input-montant {
  width: 120px; /* ou 100px selon le rendu souhaité */
  max-width: 100%;
  margin: 0 auto; /* centre le champ */
  font-size: 14px;
}
main.dons-page form .btn-small {
  padding: 6px 14px;
  font-size: 0.9rem;
  min-width: 180px; /* ajuste selon tes besoins */
}
main.dons-page .modes-reglement {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
main.dons-page .mode-option {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  padding: 2px 6px;
  border: 1px solid #198754;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s;
  margin: 2px;
}
main.dons-page p.text-center > span {
  color: red;
  font-weight: 600;
}
main.dons-page .mode-option input {
  position: absolute;
  opacity: 0;
}
main.dons-page .mode-option:hover {
  background: rgba(13, 110, 253, 0.08);
  cursor: pointer;
}
main.dons-page .mode-option:has(input:checked) {
  background: #198754;
  color: #fff;
}
main.dons-page {
  /* Montants */
}
main.dons-page .montants-don {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
main.dons-page .don-option {
  border: 2px solid #198754;
  border-radius: 10px;
  padding: 3px 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}
main.dons-page .don-option input {
  position: absolute;
  opacity: 0;
}
main.dons-page .don-option input {
  position: absolute;
  opacity: 0;
}
main.dons-page .don-option:hover {
  background: rgba(25, 135, 84, 0.08);
  transform: translateY(-2px);
}
main.dons-page {
  /* état actif */
}
main.dons-page .don-option:has(input:checked) {
  background: #198754;
  color: #fff;
  border-color: #198754;
  box-shadow: 0 8px 20px rgba(25, 135, 84, 0.25);
  transform: scale(1.05);
}
main.dons-page {
  /* petit check */
}
main.dons-page .don-option:has(input:checked)::after {
  position: relative;
  top: 4px;
  right: 7px;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
}
main.dons-page {
  /* Animation du bouton */
}
main.dons-page .pulse-title {
  animation: pulse 1.5s infinite;
  font-size: 16px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes glowBorder {
  0% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  50% {
    box-shadow: 0 15px 40px rgba(25, 135, 84, 0.15);
  }
  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
}
.paypal-message {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 22px;
}

.paypal-error {
  color: #dc3545;
}

.paypal-success {
  color: #198754;
}

.input-error {
  border: 2px solid #dc3545 !important;
}

.input-success {
  border: 2px solid #198754 !important;
}

/* ***************** PAGE RECHERCHE DES ANNONCES **************** */
section.zone_recherche {
  width: 900px;
  margin-bottom: 30px;
}
section.zone_recherche input {
  font-size: 12px;
}

div.compteur_resultat {
  text-align: center;
}
div.compteur_resultat b {
  display: block;
  margin-bottom: 30px;
}

.sticky-zone {
  position: sticky;
  top: 60px;
  z-index: 1500;
  background: #fff;
  padding-top: 15px; /* 👈 IMPORTANT */
}

.no-result {
  margin-bottom: 150px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* conteneur affichage annonces */
main.recherches {
  padding: 10px;
  margin: 60px auto 30px auto;
}
main.recherches article.row {
  justify-content: center;
}
main.recherches {
  /* CARTE */
}
main.recherches .card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  max-width: 330px;
  margin: auto;
}
main.recherches .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
main.recherches {
  /* IMAGE */
}
main.recherches .image-container {
  position: relative;
  height: 180px;
  overflow: hidden;
}
main.recherches .image-container img {
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: 0.3s ease;
}
main.recherches .image-container .badge-prix {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff5a1f;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
main.recherches {
  /* BODY */
}
main.recherches .card-body {
  padding: 10px 12px;
}
main.recherches .card-body .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  min-height: auto;
}
main.recherches .card-body p {
  font-size: 0.8rem;
  margin-bottom: 5px;
  color: #444;
}
main.recherches .card-body p.text-muted {
  font-size: 0.75rem;
}
main.recherches .card-body .btn {
  width: 100% !important;
  border-radius: 4px;
  font-size: 0.85rem;
  padding: 4px;
}

/* Pagination compacte */
div.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto 75px;
  padding: 5px;
}

div.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 0;
  margin: 0;
}

div.pagination ul li {
  list-style: none;
}

div.pagination ul li a.page-link {
  border: none;
  border-radius: 6px;
  background: #f1f5f9;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 5px 10px;
  line-height: 1.2;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

div.pagination ul li a.page-link:hover {
  background: #2563eb;
  color: #fff;
}

div.pagination ul li.active a.page-link,
div.pagination ul li.page-item.active a.page-link {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

section.produits_similaires {
  position: relative;
}
section.produits_similaires .slider-container {
  position: relative;
  overflow: hidden;
}
section.produits_similaires .slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 15px;
  padding: 10px 40px;
}
section.produits_similaires .slider::-webkit-scrollbar {
  display: none;
}
section.produits_similaires .slider-card {
  min-width: 200px;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.2s ease;
}
section.produits_similaires .slider-card:hover {
  transform: scale(1.05);
}
section.produits_similaires .slider-card img {
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}
section.produits_similaires .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}
section.produits_similaires .slider-btn.left {
  left: 5px;
}
section.produits_similaires .slider-btn.right {
  right: 5px;
}

/********* 3 - DEPOT ANNONCES IDENTIFICATION ET CREATION COMPTE **********/
.identificat {
  margin-top: 135px;
  text-align: center;
  max-width: 625px;
  margin-inline: auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  color: #555;
}
.identificat span {
  font-size: 14px;
  font-weight: 600;
}

.depot {
  display: flex;
  justify-content: center;
  margin: 70px auto 175px;
  padding: 20px;
}

.card-depot {
  width: 400px;
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.card-depot h2 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #333;
}
.card-depot p {
  margin-bottom: 30px;
  color: #666;
  line-height: 1.6;
}
.card-depot .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
}
.card-depot .btn-login {
  background: brown;
  color: #fff;
}
.card-depot .btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.card-depot .btn-register {
  background: #fff;
  color: brown;
  border: 2px solid brown;
}
.card-depot .btn-register:hover {
  background: brown;
  color: #fff;
  transform: translateY(-3px);
}
.card-depot .btn:last-child {
  margin-bottom: 0;
}

/*************************** 4 - PAGE INSCRIPTION ET LOGIN ***********************/
main.formulaires {
  display: flex;
  justify-content: center;
  padding: 15px;
}
main.formulaires div.deco {
  margin-bottom: 15px;
  box-shadow: 2px 2px 2px 2px gray;
}
main.formulaires div.deco div {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  margin-bottom: 4px;
}
main.formulaires div.deco div div.col {
  margin: 5px;
}
main.formulaires div.deco h3 {
  margin: 15px 8px 8px;
  font-size: 16px;
}
main.formulaires div.deco .form {
  padding: 10px;
  font-size: 14px;
}
main.formulaires div.deco .form button.inion {
  font-weight: bold;
}
main.formulaires div.deco .form .form-control.is-invalid {
  border: 2px solid #dc3545;
  animation: shake 0.3s;
}
main.formulaires div.deco .form .form-control.is-valid {
  border: 2px solid #198754;
}
main.formulaires div.deco .form .icon-feedback {
  position: absolute;
  right: 8px;
  top: 35px;
}
@keyframes shake {
  25% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
}
main.formulaires div.deco legend {
  font-size: 12px;
  padding: 1px;
}
main.formulaires div.deco span {
  font-size: 12px;
}
main.formulaires div.deco #compte {
  padding: 4px;
  font-size: 13px;
}
main.formulaires div.deco .btn-group {
  gap: 8px;
}
main.formulaires div.login {
  margin: 45px auto 75px auto;
  box-shadow: 3px 3px 2px 2px gray;
  border-radius: 5px;
}
main.formulaires div.login div {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  margin-bottom: 10px;
}
main.formulaires div.login h3 {
  margin: 20px 10px 10px 10px;
  font-size: x-large;
}
main.formulaires div.login .form {
  padding: 15px;
  font-size: 15px;
}
main.formulaires div.login .form legend {
  font-size: small;
  text-align: center;
  padding: 2px;
  color: #066646;
}
main.formulaires div.login .form div.alert {
  font-size: 12px;
}
main.formulaires div.login .form span {
  font-size: small;
}
main.formulaires div.login .form #compte {
  padding: 3px;
  border: 1px solid;
  border-radius: inherit;
  text-decoration: none;
}

.login .password-wrapper {
  position: relative;
  width: 100%;
}

.login .password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.login .password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  color: #555;
  z-index: 10;
}

.login .password-toggle i {
  font-size: 14px;
}

/* IMPORTANT : bloque les sauts de layout */
.js-error {
  min-height: 18px;
  display: block;
  margin-top: 4px;
}

.session-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 330px;
  margin: 5px auto 5px auto; /* centré + espace au-dessus */
  background: red;
  color: white;
  border-left: 4px solid #eece6f;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  animation: slideFade 0.4s ease;
  position: relative;
}

.session-alert-icon {
  font-size: 15px;
}

.session-alert-content strong {
  font-size: 14px;
}

.session-alert-content p {
  margin: 0;
  font-size: 11px;
}

.session-alert-close {
  position: absolute;
  top: 5px;
  right: 8px;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.5;
}

.session-alert-close:hover {
  opacity: 1;
}

/* Animation légère */
@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===========================
   Notifications inscription
=========================== */
.notifications .notifications-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.notifications .notification-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
}
.notifications .notification-item input {
  margin: 0;
  flex-shrink: 0;
}
.notifications .notification-item span {
  font-size: 14px;
  line-height: 1.3;
}
.notifications small {
  margin-left: 24px;
  font-size: 12px;
  color: #6c757d;
}

.verification-email-page {
  width: 100%;
  margin-top: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

.verification-email-card {
  width: 100%;
  max-width: 560px;
  padding: 45px 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.verification-email-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 34px;
  font-weight: 700;
}

.verification-email-icon--success {
  color: #198754;
  background: #e8f7ee;
}

.verification-email-icon--already {
  color: #198754;
  background: #e8f7ee;
}

.verification-email-icon--expired {
  color: #d68910;
  background: #fff4df;
}

.verification-email-icon--error {
  color: #dc3545;
  background: #fdeaea;
}

.verification-email-title {
  margin: 0 0 15px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
}

.verification-email-message {
  max-width: 450px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

.verification-email-actions {
  margin-top: 30px;
}

.verification-email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 6px;
  background: #0d6efd;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.verification-email-button:hover {
  background: #0b5ed7;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.verification-email-help {
  margin: 25px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #066646;
}

div.alert-success {
  display: flex;
  padding: 5px;
  width: 500px;
}
div.alert-success span {
  font-size: 15px;
  font-weight: 700;
}

main.resetpassword {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  margin: 75px auto 200px;
}
main.resetpassword > div {
  width: 450px;
}
main.resetpassword > div form {
  padding: 30px;
  border-radius: 14px;
  border: 1px solid #e9ecef;
  transition: all 0.35s ease;
  animation: fadeUp 0.6s ease-out;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
main.resetpassword > div form:hover {
  transform: translateY(-3px);
}
main.resetpassword > div form p.textes {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}
main.resetpassword > div form div.inputreset {
  margin-bottom: 25px;
  padding: 0;
}
main.resetpassword > div form div.inputreset label {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 700;
  color: #444;
}
main.resetpassword > div form div.inputreset input {
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
main.resetpassword > div form div.inputreset input:hover {
  border-color: rgb(219.3913043478, 115.1086956522, 115.1086956522);
}
main.resetpassword > div form div.inputreset input:focus {
  outline: none;
  background: #fff;
  border-color: brown;
  box-shadow: 0 0 0 4px rgba(165, 42, 42, 0.12);
}
main.resetpassword > div form div.inputreset span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}
main.resetpassword > div form .error {
  text-align: center;
  color: #dc3545;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0;
  animation: shake 0.35s ease;
}
main.resetpassword > div form div {
  text-align: center;
}
main.resetpassword > div form div .btn {
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}
main.resetpassword > div form div .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(165, 42, 42, 0.25);
}
main.resetpassword > div form div .btn:active {
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.reset-links {
  display: flex;
  justify-content: space-between;
  margin: 50px auto 20px;
  font-size: 14px;
}

.reset-links a {
  text-decoration: none;
  font-size: 20px;
  color: #3498db;
  transition: 0.2s;
}

.reset-links a:hover {
  text-decoration: underline;
  color: #1d6fa5;
}

/* ***************** FORMULAIRE NOUVEAU MOT DE PASSE ********************/
#resetPasswordForm .input-error {
  border: none !important;
  background: none !important;
  padding: 0;
  margin-top: 5px;
  color: #e74c3c;
  font-size: 13px;
}

/* IMPORTANT : isolation de page */
#resetPasswordForm .password-error input {
  border: 1px solid #e74c3c !important;
}

#resetPasswordForm .password-success input {
  border: 1px solid #2ecc71 !important;
}

.input-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.reset-icon {
  width: 50px;
  height: 50px;
  margin: auto;
  border-radius: 50%;
  background: #111827;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

div.validErreur {
  display: flex;
  justify-content: center;
  padding: 3px;
  max-width: 375px;
}

div.validSucces {
  display: flex;
  justify-content: center;
  padding: 3px;
  max-width: 350px;
}

main.newpassword {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56vh;
  padding: 20px;
  margin-bottom: 20px;
  /* CARD PRINCIPALE */
}
main.newpassword .password-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}
main.newpassword .password-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
main.newpassword {
  /* SOUS TITRE */
}
main.newpassword .sous-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 14px;
  font-weight: 700;
  color: #666;
}
main.newpassword {
  /* ERREURS */
}
main.newpassword .alert-box {
  margin-bottom: 20px;
}
main.newpassword .alert-error {
  background: #ffe5e5;
  color: #b30000;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  border-left: 4px solid #ff4d4d;
}
main.newpassword {
  /* INPUTS */
}
main.newpassword .input-group {
  margin-bottom: 15px;
}
main.newpassword .input-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  transition: 0.2s;
}
main.newpassword .input-group input:focus {
  border-color: #4a6cf7;
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15);
}
main.newpassword {
  /* BOUTON */
}
main.newpassword .btn-submit {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #061b6e, #0c2472);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}
main.newpassword .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 108, 247, 0.3);
}
main.newpassword .input-error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
}
main.newpassword {
  /* input error */
}
main.newpassword .input-group.error input {
  border: 1px solid #e74c3c;
}
main.newpassword {
  /* input success */
}
main.newpassword .input-group.success input {
  border: 1px solid #2ecc71;
}

/* **************** 7 - PAGE DÉTAIL PRODUIT / ANNONCES ****************/
.annonce-indispo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px auto 50px;
}

.annonce-indispo .alert {
  max-width: 650px;
  width: 100%;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
}

.annonce-indispo h3 {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 22px;
}

.annonce-indispo p {
  color: #444;
  font-size: 16px;
}

.annonce-indispo small {
  color: #666;
  font-size: 13px;
}

main.detail_produit {
  border-radius: 5px;
  padding: 10px;
}
main.detail_produit div.row {
  padding: 2px;
}
main.detail_produit div.row div.col-md-5 .image-container {
  width: 100%;
  height: 400px; /*  UH hauteur fixe */
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
main.detail_produit div.row div.col-md-5 .image-container .produit-image {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  background: #fff;
  transition: 0.4s;
}
main.detail_produit div.row div.col-md-5 .image-container:hover img {
  transform: scale(1.1);
  transition: 0.4s;
}
main.detail_produit div.row div.col-md-5 .thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}
main.detail_produit div.row div.col-md-5 .thumbnails .miniature {
  width: 66px;
  height: 60px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.2s;
}
main.detail_produit div.row div.col-md-5 .thumbnails .miniature.active {
  border: 2px solid brown;
  opacity: 1;
}
main.detail_produit div.row div.col-md-5 .thumbnails .miniature:hover {
  opacity: 1;
  transform: scale(1.05);
}
main.detail_produit div.row div.col-md-5 h2 {
  font-weight: 600;
  font-size: 20px;
}
main.detail_produit div.row div.col-md-5 h5 {
  font-weight: 600;
  font-size: 18px;
}
main.detail_produit div.row div.col-md-5 div.prix {
  font-size: 18px;
  font-weight: bold;
  color: #ff6a00;
  margin-top: 10px;
}
main.detail_produit div.row div.col-md-5 div.date {
  font-size: 14px;
  color: #888;
}
main.detail_produit div.row div.col-md-5 div.meta {
  font-size: 14px;
}
main.detail_produit div.row div.col-md-5 .bouton-contact {
  text-align: center;
  margin: 20px auto 20px;
  height: 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: 0.2s;
}
main.detail_produit div.row div.col-md-5 .bouton-contact:hover {
  transform: translateY(-3px);
}
main.detail_produit div.row div.col-md-5 .action-btn {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
}
main.detail_produit .share-btn {
  border-radius: 12px;
  padding: 6px 14px;
  font-weight: 500;
  transition: 0.25s;
  font-size: 12px;
}
main.detail_produit .share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.35rem 0.8rem rgba(0, 0, 0, 0.12);
}

.compact-detail {
  max-width: 1000px; /* ou 900px si tu veux plus compact */
  margin: 0 auto;
}

div.galerie {
  display: flex;
  justify-content: center;
}
div.galerie .miniatures img {
  width: 80px;
  margin: 5px;
  cursor: pointer;
  border: 2px solid transparent;
}
div.galerie .miniatures img:hover {
  border: 2px solid #007bff;
}
div.galerie .miniature.active {
  border: 2px solid #198754;
  opacity: 1;
}

div.modal {
  margin-top: 95px;
}

.slider-card {
  flex: 0 0 160px;
  max-width: 160px;
  min-width: 160px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.slider-card:hover {
  transform: translateY(-2px);
}
.slider-card .card-body {
  padding: 6px;
  /* IMPORTANT : n'affecte pas ton JS */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.slider-card .card-body span {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  height: 30px;
  overflow: hidden;
}
.slider-card .card-body b {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #ff6a00;
  text-align: center;
  width: 100%;
}
.slider-card img {
  width: 100%;
  height: 100px;
  -o-object-fit: contain;
     object-fit: contain;
  background: #fff;
  padding: 4px;
}

/* ******************** 6  PAGE ECRIRE UN MESSAGE AU VENDEUR ******************/
main.contact_vendeur {
  display: flex;
  justify-content: center;
  width: 450px;
  margin: 30px auto 75px;
  padding: 25px;
}
main.contact_vendeur .formulaire {
  margin: 20px auto 20px;
  width: 100%;
  background: #e9ecef;
  border-radius: 18px;
  padding: 25px;
  border: 1px solid #f7f7f7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}
main.contact_vendeur .formulaire:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}
main.contact_vendeur .formulaire form {
  padding: 0;
}
main.contact_vendeur .formulaire form label.form-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 12px;
}
main.contact_vendeur .formulaire form label.form-label b {
  color: #0d6efd;
  font-size: 1rem;
}
main.contact_vendeur .formulaire form .contact-info {
  padding: 10px;
  margin-bottom: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 2px solid brown;
}
main.contact_vendeur .formulaire form textarea {
  width: 100%;
  min-height: 170px;
  border-radius: 12px;
  border: 1px solid #d9dee5;
  padding: 15px;
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  transition: all 0.2s ease;
}
main.contact_vendeur .formulaire form textarea:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}
main.contact_vendeur .formulaire form button {
  margin-top: 20px;
  height: 38px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s ease;
}
main.contact_vendeur .formulaire form button:hover {
  transform: translateY(-1px);
}
main.contact_vendeur .formulaire form span {
  display: block;
  margin-top: 10px;
  text-align: center;
  color: #dc3545;
  font-size: 14px;
  font-weight: 500;
}
main.contact_vendeur .message-erreur {
  color: #dc3545 !important;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
}

/* ************ *************************  PAGE CONFIRMATION ENVOI MESSAGE AU VENDEUR ************/
main.contenu {
  padding: 30px;
  text-align: center;
  margin: 240px auto 260px;
}
main.contenu div {
  padding: 10px;
  margin: 10px auto 15px;
}
main.contenu div span {
  display: block;
  margin-bottom: 15px;
  color: #066646;
  font-size: 16px;
  font-weight: 600;
}
main.contenu div em {
  font-size: 14px;
}
main.contenu div a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
main.contenu div a strong {
  padding: 10px;
  border: 1px solid;
  background-color: brown;
  color: white;
  border-radius: 5px;
}

/* ************************   7 - PAGE VOIR TOUS LES AVIS ****************/
div.avis_users {
  padding: 10px 5px;
  text-align: center;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 12px;
}
div.avis_users h1 {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 1px #66cdaa;
  transition: transform 0.3s ease;
}
div.avis_users h1:hover {
  transform: translateY(-2px);
}
div.avis_users em {
  display: inline-block;
  margin-top: 15px;
  padding: 6px 12px;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e9ecef;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  color: #495057;
}

main.affich_avis {
  margin: auto;
  padding: 20px;
}
main.affich_avis .grid-avis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
main.affich_avis .card-avis {
  color: #000000;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
}
main.affich_avis .card-avis:hover {
  transform: translateY(-5px);
}
main.affich_avis .stars {
  color: #f5b301;
  font-size: 18px;
  margin-bottom: 10px;
}
main.affich_avis .user {
  font-weight: bold;
  margin-top: 10px;
}
main.affich_avis .date {
  font-size: 12px;
}

section.pages div.pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 5px;
}
section.pages div.pagination a {
  margin: 5px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #eee;
  text-decoration: none;
}
section.pages div.pagination a.active {
  background: #007bff;
  color: #fff;
}
section.pages div.pagination .cta {
  margin-top: 30px;
  padding: 25px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 10px;
}
section.pages div.pagination .btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
}
section.pages div.pagination .btn-primary {
  background: #007bff;
  color: #fff;
}
section.pages div.pagination .btn-warning {
  background: #ffc107;
  color: #000;
}

section.depot_avis {
  margin: 30px auto;
  padding: 10px;
}
section.depot_avis div.row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
section.depot_avis div.col {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  text-align: center;
  padding: 25px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.depot_avis div.col:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}
section.depot_avis div.col h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
section.depot_avis div.col p {
  font-size: 14px;
  color: #303538;
  margin-bottom: 20px;
}
section.depot_avis div.col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
section.depot_avis div.col .btn-warning {
  background: linear-gradient(135deg, #066646, #5c5449);
  border: none;
  color: #fff;
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.3);
}
section.depot_avis div.col .btn-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #204a88, #66cdaa);
}
section.depot_avis div.col .btn-outline-primary {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, #185b9e, #333d3d);
}
section.depot_avis div.col .btn-outline-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #204a88, #66cdaa);
}
section.depot_avis div.stats-avis {
  width: 200px;
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
section.depot_avis div.stats-avis .bar-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
section.depot_avis div.stats-avis .bar-line span {
  width: 50px;
  font-size: 12px;
  color: #6c757d;
}
section.depot_avis div.stats-avis .bar {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}
section.depot_avis div.stats-avis .fill {
  height: 100%;
  background: linear-gradient(90deg, #f39c12, #ffcc00);
  transition: width 0.5s ease;
}

main.formulaire_avis {
  display: flex;
  justify-content: center;
  margin: 15px auto 45px;
  padding: 20px;
}
main.formulaire_avis article.s-avis {
  max-width: 550px;
  background: #e9ecef;
  border-radius: 18px;
  padding: 25px;
  border: 1px solid #e9ecef;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}
main.formulaire_avis article.s-avis:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}
main.formulaire_avis article.s-avis form {
  padding: 0;
}
main.formulaire_avis article.s-avis form legend {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #212529;
}
main.formulaire_avis article.s-avis form p {
  text-align: center;
  color: #6c757d;
  margin-bottom: 20px;
}
main.formulaire_avis article.s-avis form p strong {
  color: #0d6efd;
}
main.formulaire_avis article.s-avis form div.radio {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
main.formulaire_avis article.s-avis form div.radio .is-valid {
  display: none;
}
main.formulaire_avis article.s-avis form div.radio label.avi {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}
main.formulaire_avis article.s-avis form div.radio label.avi img {
  width: 28px;
  height: 28px;
}
main.formulaire_avis article.s-avis form div.radio label.avi:hover {
  transform: scale(1.1);
  background: #eef4ff;
}
main.formulaire_avis article.s-avis form div.radio .is-valid:checked + label {
  border-color: #198754;
  background: #eafaf1;
  transform: scale(1.08);
}
main.formulaire_avis article.s-avis form div.textarea {
  text-align: center;
  margin-bottom: 20px;
}
main.formulaire_avis article.s-avis form div.textarea textarea {
  width: 100%;
  min-height: 140px;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #d6dce5;
  resize: vertical;
  font-size: 15px;
  line-height: 1.6;
  transition: all 0.2s ease;
}
main.formulaire_avis article.s-avis form div.textarea textarea:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}
main.formulaire_avis article.s-avis form div.textarea textarea:invalid {
  border-color: #dc3545;
}
main.formulaire_avis article.s-avis form div.textarea textarea:valid {
  border-color: #198754;
}
main.formulaire_avis article.s-avis form div.textarea .invalide {
  margin-top: 8px;
  font-size: 13px;
  color: #dc3545;
}
main.formulaire_avis article.s-avis form div.textarea .avis-true {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #eafaf1;
  color: #198754;
  font-size: 13px;
  font-weight: 600;
}

.validAvis {
  max-width: 550px;
  margin: 20px auto;
  padding: 15px 20px;
  background: #eafaf1;
  border-left: 5px solid #198754;
  border-radius: 10px;
  font-weight: 600;
  color: #198754;
  animation: slideDown 0.4s ease;
}

/******************** 9 - PAGE Aide & CONTACT ********** */
section.contact-hero {
  width: 700px;
  margin: 30px auto;
  padding: 10px 10px;
  border-radius: 24px;
  background: linear-gradient(135deg, #e9ecef);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}
section.contact-hero p {
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 500;
}

main.aideContact section div.faqs {
  padding: 15px;
  border-radius: 5px;
}
main.aideContact section div.faqs h2 {
  font-size: 23px;
}
main.aideContact section div.faqs h3 {
  font-size: 22px;
}
main.aideContact section div.faqs .contact-info {
  padding: 5px;
}
main.aideContact section div.faqs .cadre-rs {
  width: 200px;
  margin-left: 50px;
}
main.aideContact section div.faqs .contact-info h3 {
  margin-bottom: 5px;
  font-size: 20px;
}
main.aideContact section div.faqs p {
  font-size: 15px;
}
main.aideContact section div.faqs span {
  font-size: 11px;
}
main.aideContact section div.faqs .bloc-social {
  margin-bottom: 10px;
}
main.aideContact section .faq {
  margin-bottom: 20px;
}
main.aideContact section .faq-item {
  border-bottom: 1px solid #eee;
  padding: 2px 0;
  margin-bottom: 10px;
}
main.aideContact section .faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
}
main.aideContact section .faq-item summary:hover {
  color: #066646;
}
main.aideContact section .faq-item p {
  margin: 0;
  color: #555;
  font-size: 14px;
}
main.aideContact section .privacy-box {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  margin-bottom: 15px;
}
main.aideContact section .privacy-box h5 {
  margin-bottom: 8px;
  font-size: 15px;
}
main.aideContact section .privacy-box p {
  margin-bottom: 6px;
}
main.aideContact section {
  /* Conteneur */
  /* ===== Réseaux sociaux simple et professionnel ===== */
}
main.aideContact section .socials {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  align-items: center;
  padding: 5px 0;
}
main.aideContact section .bloc-social {
  display: flex;
}
main.aideContact section .r-social {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 30px; /* forme plus arrondie */
  text-decoration: none;
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
main.aideContact section .r-social img {
  width: 20px;
  height: 20px;
}
main.aideContact section {
  /* Couleurs */
}
main.aideContact section .facebook {
  background: #1877f2;
}
main.aideContact section .tiktok {
  background: #000000;
}
main.aideContact section {
  /* Effet au survol */
}
main.aideContact section .r-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}
main.aideContact section {
  /* Effet clic */
}
main.aideContact section .r-social:active {
  transform: scale(0.96);
}

main.contact-section {
  padding: 5px; /* ↓ moins d’espace global */
  margin-bottom: 15px;
}
main.contact-section div.row {
  display: flex;
  justify-content: center;
  margin: 20px auto 20px;
}
main.contact-section div.row div.formCont {
  width: 375px;
  padding: 20px; /* ↓ moitié moins */
  box-shadow: 1px 1px 1px 1px brown;
  animation: fadeInDown 1s ease-in-out;
  border-radius: 5px;
}
main.contact-section div.row div.formCont h2 {
  font-size: 18px;
}
main.contact-section div.row div.formCont .text-muted {
  font-size: 14px;
}
main.contact-section div.row div.formCont form {
  padding: 5px;
  margin-bottom: 15px;
}
main.contact-section div.row div.formCont .form-label {
  font-size: 14px; /* ↓ champs plus compacts */
}
main.contact-section div.row div.formCont .form-control {
  border-radius: 6px;
  font-size: 14px; /* ↓ champs plus compacts */
}
main.contact-section div.row div.formCont .contact-message {
  min-height: 130px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid #d9dee5;
  font-size: 14px;
  resize: vertical;
  background: #fff;
  transition: all 0.2s ease;
}
main.contact-section div.row div.formCont .contact-message:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
  outline: none;
}
main.contact-section div.row div.formCont .contact-message::-moz-placeholder {
  color: #9aa4af;
}
main.contact-section div.row div.formCont .contact-message::placeholder {
  color: #9aa4af;
}
main.contact-section div.row div.formCont button {
  border-radius: 6px;
  font-size: 15px;
  display: block;
  margin: 3px auto 0;
  width: 150px;
}
main.contact-section div.row .form-error {
  color: #e63946;
  font-size: 0.85rem;
  margin-top: 4px;
}
main.contact-section div.row .form-success {
  color: #2a9d8f;
  font-size: 0.85rem;
  margin-top: 4px;
}
main.contact-section div.row .input-error {
  border: 1px solid #e63946;
  background-color: #fff5f5;
}
main.contact-section div.row .input-success {
  border: 1px solid #2a9d8f;
  background-color: #f1fffb;
}

.rap-soumission {
  text-align: center;
  padding: 0px;
}
.rap-soumission span {
  font-size: 12px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.is-valid {
  border: 1px solid #28a745 !important;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.4);
}

.is-invalid {
  border: 1px solid #dc3545 !important;
  box-shadow: 0 0 5px rgba(220, 53, 69, 0.4);
}

.confirmation-page {
  display: flex;
  justify-content: center;
  min-height: 70vh;
  padding: 15px 10px;
  margin: 115px auto 30px;
}

.confirmation-card {
  max-width: 750px;
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 2px solid #e9ecef;
  animation: fadeInUp 0.8s ease-in-out;
}

/* Titres */
.confirmation-card h2 {
  color: #198754;
  font-weight: 700;
  margin: 20px;
  font-size: 25px;
}

/* Texte */
.confirmation-card p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.confirmation-card .lead {
  font-size: 18px;
}

/* Séparateur */
.separator {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #198754, #20c997);
  margin: 20px auto;
  border-radius: 5px;
}

/* Signature */
.signature {
  font-style: italic;
  margin-bottom: 100px;
}

/* Boutons */
.confirmation-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.confirmation-actions .btn {
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.confirmation-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounceIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
/************  AUTRES FORMULAIRES STYLE IDENTIQUE ET HARMONIEUX  *************/
div.confirm-box {
  max-width: 550px;
  margin: 150px auto 175px;
  padding: 30px;
  border-radius: 10px;
  background: white;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}
div.confirm-box .icon {
  font-size: 25px;
  margin-bottom: 3px;
  animation: bounce 1s ease;
}
div.confirm-box .title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}
div.confirm-box .message {
  font-size: 16px;
  font-weight: 600;
}
div.confirm-box .btn {
  margin-top: 30px;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.success-box {
  border-left: 2px solid #198754;
}

.error-box {
  border-left: 5px solid #dc3545;
}

.warning-box {
  border-left: 5px solid #ffc107;
}

.info-box {
  border-left: 5px solid #0dcaf0;
}

.confirm-progress {
  height: 5px;
  background: #066646;
  width: 0%;
  animation: loading 5s linear forwards;
  border-radius: 10px;
  margin-bottom: 20px;
}

@keyframes loading {
  to {
    width: 100%;
  }
}
/************************ 10 - PAGE RGPD *************************/
main.rgpd {
  display: flex;
  justify-content: center;
  padding: 10px;
  margin-bottom: 5px;
  font-size: 16px;
}
main.rgpd .card {
  border-radius: 12px;
}

/************************* CGU / Mentions légales / RGPD *****************/
.mentions .card,
.rgpd .card,
.cgu .card {
  border: none;
  border-radius: 12px;
  background: #fff;
}

.mentions h2,
.rgpd h2,
.cgu h2 {
  color: brown;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.4rem;
}

.mentions p,
.rgpd p,
.cgu p,
.cgu li {
  line-height: 1.7;
  color: #444;
}

.cgu ul {
  padding-left: 1.2rem;
}

.cgu li {
  margin-bottom: 0.4rem;
}

.card h2.h5 {
  margin-top: 1.5rem;
  color: brown;
  font-weight: 600;
}

.card p,
.card li {
  line-height: 1.7;
}

/* **********************   PIED DE PAGES ******************/
.site-footer {
  margin-top: 60px;
  padding: 10px 10px 10px;
  background: brown;
  color: #fff;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.footer-text {
  color: #e9d8d3;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h3 {
  font-size: 17px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #e9d8d3;
  text-decoration: none;
  transition: 0.25s;
}

.footer-col a:hover {
  color: #ffd166;
  padding-left: 4px;
}

/* Bouton emploi */
.emploi-link {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c98a2e, #ffd166);
  color: #5b2c06 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.emploi-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.footer-bottom {
  margin-top: 35px;
  padding-top: 15px;
  border-top: 1px solid #8f7269;
  text-align: center;
  color: #d8c3bc;
  font-size: 14px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
/******************** BLOC COOKIE PAGE ACCUEIL *************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: 13px;
  background: #222;
  color: #fff;
  text-align: center;
  z-index: 9999;
}

.cookie-banner a {
  color: #0d6efd;
}

/* class standard  */
.active {
  color: green;
}

.invalide {
  color: red;
}

/* **************************************DOSSIER NEWSLETTER *************************/
.newsletter-page {
  max-width: 860px;
  margin: 50px auto;
  padding: 35px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.newsletter-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.newsletter-page p {
  color: #666;
  line-height: 1.7;
}

.newsletter-page label {
  font-weight: 600;
  margin-bottom: 8px;
}

.newsletter-page .form-control {
  height: 52px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.newsletter-page .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.newsletter-page h3 {
  font-size: 1.35rem;
  margin: 35px 0 20px;
  font-weight: 700;
}

.newsletter-page .form-check {
  margin-bottom: 15px;
}

.newsletter-page .form-check-label {
  color: #333;
  font-weight: 400;
}

.newsletter-page small {
  display: block;
  margin-top: 25px;
  color: #777;
  line-height: 1.6;
}

.newsletter-page .btn {
  margin-top: 25px;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
}

/****************  ESPACE MEMBRE  ************ /

/* ============== LES ALERTES ============= */
.alert {
  padding: 8px 12px;
  font-size: 0.82rem;
  border-radius: 8px;
  margin-bottom: 12px;
}

.alert-success {
  max-width: 550px;
}

.alert-danger {
  max-width: 550px;
}

.adlien {
  font-size: 12px;
}

/*BOUTON VALIDER ou ENVOYER*/
.button_valider {
  background-color: #066646;
  color: white;
  font-weight: 500;
}

.button_modifier {
  background-color: #334155;
  color: black;
  font-weight: 600;
}

/*Menu de navigation*/
.burger-menu {
  position: fixed;
  top: 135px;
  left: 10px;
  font-size: 16px;
  cursor: pointer;
  z-index: 2000;
  background: #1e293b;
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
}

.sidebar_membre {
  transition: transform 0.3s ease-in-out;
}

.sidebar_membre.closed {
  transform: translateX(-105%);
}

.sidebar_membre {
  position: fixed;
  top: 175px;
  left: 0;
  width: 170px;
  height: calc(100vh - 175px);
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.3s ease-in-out;
  z-index: 1500;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px;
  background: #1e293b;
  border-radius: 12px;
  color: #fff;
}

/* liens */
.sidebar .liens,
.sidebar .liens-logout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  color: #cbd5e1;
  transition: 0.2s ease-in-out;
}

.sidebar .liens-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #dc2626;
  color: #fff;
  margin-top: 5px;
  padding: 6px 8px; /* réduit la hauteur et la largeur */
  border-radius: 8px;
  font-size: 11px; /* texte plus petit */
  text-decoration: none;
}

/* hover */
.sidebar .liens:hover {
  background: #505966;
  color: #fff;
}

/* logout séparé */
.sidebar .liens-logout {
  background: #dc2626;
  color: #fff;
  margin-top: 5px;
  justify-content: center;
}

.sidebar .liens-logout:hover {
  background: #b91c1c;
}

/* icônes */
.sidebar .liens i,
.sidebar .liens-logout i {
  font-size: 12px;
  text-align: center;
}

/* texte aligné */
.sidebar .liens span {
  flex: 1;
}

/* badge notif */
.badge-notif {
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 999px;
}

.session-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ff4d4d;
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  z-index: 9999;
  font-size: 14px;
}

/******* ACCUEIL / DASHBOARD ESPACE MEMBRE ********/
div.statistique {
  display: flex;
  justify-content: center;
  margin: 100px auto 50px;
}

h2.welcome-text {
  text-align: center;
  margin-bottom: 75px;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-15px);
  animation: fadeSlide 0.8s ease-out forwards;
}

.t-annonce {
  background-color: red !important;
}

.p_annonce {
  display: inline-block;
  margin-bottom: 40px;
  padding: 12px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #275278, #1b152e);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.4s ease;
  background-size: 200% 200%;
}

.p_annonce::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.6s;
}

.p_annonce:hover::before {
  left: 150%;
}

.p_annonce:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.25);
}

main.index_dashboard {
  padding: 25px;
  margin-bottom: 25px;
  max-width: 1000px;
}
@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
main.index_dashboard .bloc_annonce {
  display: flex;
  justify-content: center;
}
main.index_dashboard {
  /* Lien cliquable sur toute la carte */
}
main.index_dashboard .card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
main.index_dashboard {
  /* Cartes du dashboard */
}
main.index_dashboard .card-dashboard {
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  min-height: 220px;
  width: 100%;
  max-width: 320px;
}
main.index_dashboard {
  /* Effet au survol */
}
main.index_dashboard .card-dashboard:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
main.index_dashboard {
  /* Icônes */
}
main.index_dashboard .card-dashboard .icon {
  font-size: 2.5rem;
}
main.index_dashboard {
  /* Titres */
}
main.index_dashboard .card-dashboard h5 {
  font-size: 1.2rem;
  font-weight: 600;
}
main.index_dashboard {
  /* Texte */
}
main.index_dashboard .card-dashboard p {
  font-size: 0.95rem;
  color: #6c757d;
}
main.index_dashboard {
  /* Désactive le clic sur le bouton pour que toute la carte soit cliquable */
}
main.index_dashboard .card-dashboard .btn {
  pointer-events: none;
}
main.index_dashboard {
  /* Effet de clic */
}
main.index_dashboard .card-dashboard:active {
  transform: scale(0.98);
}

main.infos_profil {
  margin-bottom: 30px;
}
main.infos_profil #espace-membre {
  max-width: 1300px;
  margin: 20px auto;
  padding: 0 12px;
}
main.infos_profil .deux_cadres {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
main.infos_profil {
  /* ================= CARTES ============== */
}
main.infos_profil .info_profil,
main.infos_profil .modif_password {
  flex: 1;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
main.infos_profil {
  /* ===============  TITRES ============ */
}
main.infos_profil legend {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ececec;
}
main.infos_profil {
  /* ================  LABELS ============ */
}
main.infos_profil .form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 3px;
}
main.infos_profil {
  /* ================  INPUTS ============= */
}
main.infos_profil .form-control,
main.infos_profil .form-select {
  height: 38px;
  font-size: 0.85rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}
main.infos_profil .form-control:focus,
main.infos_profil .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
main.infos_profil input:disabled {
  background: #f5f5f5 !important;
}
main.infos_profil {
  /* =============  INPUT GROUP PASSWORD  ========== */
}
main.infos_profil .input-group-sm > .form-control {
  height: 30px;
}
main.infos_profil .toggle-pass {
  min-width: 45px;
  font-size: 0.85rem;
}
main.infos_profil {
  /* ============= BOUTONS =============== */
}
main.infos_profil .btn-outline-primary {
  height: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
}
main.infos_profil .text-danger.small {
  font-size: 0.78rem;
  margin-top: 3px;
}
main.infos_profil #surname,
main.infos_profil #email_profile,
main.infos_profil #mobile {
  font-size: 13px;
  padding: 6px 10px;
  height: 32px;
}
main.infos_profil #PrenomError,
main.infos_profil #mailError,
main.infos_profil #errortel {
  font-size: 12px;
}

/***************** PAGE ANNONCES ************/
.actions .btn {
  font-size: 12px;
  padding: 5px 8px;
}

a.pub_annonce {
  text-decoration: none;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 15px;
  background-color: #334155;
  color: white;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
}

a.pub_annonce:hover {
  background: linear-gradient(135deg, #066646);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(79, 70, 229, 0.3);
}

div.postannonce {
  display: flex;
  justify-content: center;
}
div.postannonce a {
  text-decoration: none;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 15px;
  background-color: #334155;
  color: white;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
}
div.postannonce a:hover {
  background: linear-gradient(135deg, #066646);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(79, 70, 229, 0.3);
}

main.gestion_annonces {
  padding: 10px;
  margin: 85px auto 140px;
}
main.gestion_annonces div.row {
  padding: 5px;
}
main.gestion_annonces div.row div.encours {
  margin-bottom: 15px;
}
main.gestion_annonces div.row div.empty-state {
  padding: 30px;
  text-align: center;
}
main.gestion_annonces div.row div.empty-state p {
  margin-bottom: 50px;
}
main.gestion_annonces div.row div.empty-state img {
  margin: 50px auto 100px;
}
main.gestion_annonces div.row div.empty-state a {
  margin-bottom: 30px;
}
main.gestion_annonces div.row .annonce-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  margin: 25px auto 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  font-size: 14px;
}
main.gestion_annonces div.row .annonce-card .cadre {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}
main.gestion_annonces div.row .annonce-card .cadre .titleDate {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}
main.gestion_annonces div.row .annonce-card h3 {
  font-size: 16px;
}
main.gestion_annonces div.row p.mb-3 {
  max-width: 500px;
}
main.gestion_annonces div.row .actions {
  margin-top: 10px;
}
main.gestion_annonces div.row .empty-state img {
  width: 120px;
  opacity: 0.7;
}
main.gestion_annonces div.row .badge-vue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f1f3f5;
  color: #555;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #e5e5e5;
  white-space: nowrap;
}
main.gestion_annonces div.row .badge-vue:hover {
  background: #e9ecef;
}
main.gestion_annonces div.row .badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
main.gestion_annonces div.row {
  /* STATUT VALIDÉ */
}
main.gestion_annonces div.row .badge-status.valide {
  background: #e6f9ee;
  color: #1a7f37;
  border: 1px solid #b7ebc6;
}
main.gestion_annonces div.row {
  /* hover léger */
}
main.gestion_annonces div.row .badge-status.valide:hover {
  background: #d9f7e3;
}
main.gestion_annonces div.row .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
main.gestion_annonces div.row {
  /* base bouton */
}
main.gestion_annonces div.row .btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}
main.gestion_annonces div.row {
  /* ✏️ MODIFIER */
}
main.gestion_annonces div.row .btn-edit {
  background: #e7f3ff;
  color: #0d6efd;
  border: 1px solid #b6dcff;
}
main.gestion_annonces div.row .btn-edit:hover {
  background: #d6eaff;
  transform: translateY(-1px);
}
main.gestion_annonces div.row {
  /* 🗑 SUPPRIMER */
}
main.gestion_annonces div.row .btn-delete {
  background: #fff1f0;
  color: #cf1322;
  border: 1px solid #ffccc7;
}
main.gestion_annonces div.row .btn-delete:hover {
  background: #ffe2e0;
  transform: translateY(-1px);
}

/************* PAGES MODIFICATION ANNONCES  ************/
main.modification_annonce {
  margin: 60px auto 75px;
}
main.modification_annonce div.card {
  padding: 10px;
}
main.modification_annonce div.card h2 {
  font-size: 20px;
}
main.modification_annonce div.card form {
  padding: 5px;
  font-size: 14px;
}

div.suppression {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  max-width: 600px;
}
div.suppression span {
  width: 500px;
  padding: 3px;
  border: 1px solid red;
  border-radius: 10px;
  color: red;
  font-size: 14px;
  font-weight: 500;
}

/*********** PAGE PUBLIER ANNONCES OU PRODUITS **********/
.v_enreg_produit {
  max-width: 400px;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
}
.v_enreg_produit mark {
  font-size: 10px;
}

.alert-success-publication {
  max-width: 375px;
  margin: 10px auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #e9f8ef;
  border: 1px solid #8fd19e;
  border-radius: 8px;
  color: #146c43;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.success-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #198754;
  color: white;
  border-radius: 50%;
  font-size: 15px;
}

.success-content {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.25;
}

.success-content strong {
  font-size: 13px;
  margin-bottom: 1px;
}

.success-content b {
  color: #0f5132;
}

#preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  overflow-x: auto;
}

main.form-container {
  display: flex;
  justify-content: center;
  padding: 15px;
  margin-bottom: 50px;
}

.pub_prod {
  width: 100%;
  display: flex;
  justify-content: center;
}

.form-card {
  font-size: 14px;
  width: 100%;
  max-width: 360px;
  background: #f5f1f1;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
  /* TITLE */
}
.form-card .form-title {
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
}
.form-card .option-annonce {
  cursor: pointer;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 0.9rem !important;
  text-align: center;
  background: #fff;
  transition: all 0.25s ease;
}
.form-card .option-annonce:hover {
  border-color: var(--bs-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.form-card .option-annonce .fs-2 {
  font-size: 13px !important;
  margin-bottom: 0.4rem !important;
}
.form-card .option-annonce h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.form-card .option-annonce p {
  font-size: 0.82rem;
  line-height: 1.35;
  margin-bottom: 0;
}
.form-card .btn-check:checked + .option-annonce {
  border-color: #198754;
  background: #f5fff8;
  box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.12);
}
.form-card .btn-check:focus + .option-annonce {
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.12);
}
.form-card {
  /* GROUP */
}
.form-card .form-group {
  margin-bottom: 3px;
}
.form-card {
  /* LABEL */
}
.form-card .form-group label {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
}
.form-card .option-annonce {
  padding: 8px !important;
  border-radius: 8px;
  min-height: 125px;
}
.form-card .option-annonce .fs-2 {
  font-size: 24px !important;
  margin-bottom: 4px !important;
}
.form-card .option-annonce h5 {
  font-size: 15px;
  margin-bottom: 3px;
}
.form-card .option-annonce p {
  font-size: 12px;
  line-height: 1.2;
}
.form-card {
  /* INPUT */
}
.form-card .form-label {
  width: 100%;
  padding: 5px;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: 0.3s;
  font-size: 14px;
}
.form-card .form-control {
  width: 100%;
  padding: 5px;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: 0.3s;
}
.form-card {
  /* FOCUS */
}
.form-card .form-control:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}
.form-card small.text-muted {
  display: block;
  margin-bottom: 5px;
}
.form-card #ville-suggestions {
  z-index: 9999;
  max-height: 220px;
  overflow-y: auto;
  display: none;
  border-radius: 0 0 8px 8px;
}
.form-card #ville-suggestions .list-group-item {
  cursor: pointer;
}
.form-card #ville-suggestions .list-group-item:hover {
  background: #f5f5f5;
}
.form-card .form-control,
.form-card .form-select {
  padding: 4px 8px;
  font-size: 13px;
  min-height: 34px;
}
.form-card {
  /* TEXTAREA DESCRIPTION */
}
.form-card textarea#description {
  min-height: 100px;
  resize: vertical;
  padding: 10px;
  line-height: 1.5;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}
.form-card textarea#description:focus {
  border-color: #3498db;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.25);
}
.form-card {
  /* Placeholder */
}
.form-card textarea#description::-moz-placeholder {
  color: #888;
  font-size: 14px;
}
.form-card textarea#description::placeholder {
  color: #888;
  font-size: 14px;
}
.form-card div.dim {
  display: flex;
}
.form-card {
  /* BUTTON */
}
.form-card .btn-submit {
  width: 100%;
  padding: 8px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}
.form-card .btn-submit:hover {
  background: #2943b9;
}

.form-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

.price-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-box input {
  flex: 1;
  min-width: 0;
}

.price-box select {
  width: 140px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.25s;
}

.price-box select:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

label .required {
  color: #e63946;
  margin-left: 2px;
}

.paymentPhoto {
  max-width: 900px;
  margin: 130px auto 75px;
  padding: 0 20px;
}
.paymentPhoto .card {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}
.paymentPhoto .card-body {
  padding: 24px 28px;
}
.paymentPhoto h2 {
  margin-bottom: 18px !important;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  color: #102a43;
}
.paymentPhoto .alert-info {
  margin-bottom: 18px;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
}
.paymentPhoto .table {
  margin-bottom: 18px;
}
.paymentPhoto .table th,
.paymentPhoto .table td {
  padding: 10px 8px;
  vertical-align: middle;
}
.paymentPhoto .table th {
  font-weight: 600;
  color: #222;
}
.paymentPhoto .table td {
  color: #333;
}
.paymentPhoto .table tr:last-child th,
.paymentPhoto .table tr:last-child td {
  padding-top: 13px;
  padding-bottom: 13px;
}
.paymentPhoto .table tr:last-child strong {
  font-size: 16px;
}
.paymentPhoto .alert-warning {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
}
.paymentPhoto .d-flex {
  gap: 8px !important;
}
.paymentPhoto .d-flex .btn {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 5px;
}
.paymentPhoto .d-flex .btn-success {
  background: #62b58f;
  border-color: #62b58f;
}

.page-maintenance {
  margin-top: 100px;
  margin-bottom: 100px;
  padding: 30px;
}

/************** PAGE MODIFICATION ANNONCES *************/
.custom-alert {
  max-width: 500px;
  margin: 20px auto;
  text-align: center;
}

main.modification_annonce {
  display: flex;
  flex-direction: column;
  padding: 20px 10px;
  gap: 12px;
  margin: 40px auto;
  height: auto;
}

/* CARD */
main.modification_annonce div.card {
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
  padding: 14px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  background: #fff;
}

/* FORM */
main.modification_annonce div.card form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: auto;
  padding: 0;
}

/* GROUPES */
main.modification_annonce div.card form div {
  padding: 2px;
}

/* INPUT + TEXTAREA GLOBAL */
main.modification_annonce input,
main.modification_annonce textarea {
  font-size: 13.5px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

/* TEXTAREA PLUS PRO */
main.modification_annonce textarea {
  min-height: 90px;
  max-height: 160px;
  resize: vertical;
  line-height: 1.4;
}

/* FOCUS MODERNE */
main.modification_annonce input:focus,
main.modification_annonce textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.12);
}

/* LABELS PLUS PROPRES */
main.modification_annonce label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 3px;
  display: block;
  color: #333;
}

/* ESPACE PLUS COMPACT */
main.modification_annonce .mb-1,
main.modification_annonce .mb-2 {
  margin-bottom: 8px !important;
}

/* BUTTON AREA */
main.modification_annonce .d-flex {
  margin-top: 10px;
  gap: 10px;
}

/************* NOTIFICATIONS  ********** */
div.cadre_notif {
  padding: 50px;
  margin: 50px auto 120px;
}
div.cadre_notif div.notifVide {
  margin: 100px auto 150px;
  padding: 20px;
  width: 500px;
  text-align: center;
  font-weight: 700;
}
div.cadre_notif .notification-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 2px solid #0d6efd;
  border-right: 2px solid green;
  width: 600px;
}
div.cadre_notif .notification-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
div.cadre_notif .notification-top h5 {
  margin: 0;
  font-size: 18px;
}
div.cadre_notif .notification-top small {
  color: #777;
}
div.cadre_notif .notification-success {
  border-left-color: #198754;
}
div.cadre_notif .notification-warning {
  border-left-color: #ffc107;
}
div.cadre_notif .notification-danger {
  border-left-color: #dc3545;
}
div.cadre_notif .notification-message {
  border-left-color: #0d6efd;
}
div.cadre_notif .notification-info {
  border-left-color: #6c757d;
}

/*********** PAGE MESSAGES* *******/
main.messagerie {
  display: flex;
  height: 600px;
  max-width: 1200px;
  margin: 30px auto;
  gap: 10px;
}
main.messagerie .conversations {
  width: 33%;
  overflow-y: auto;
  float: left;
  border-radius: 10px;
  font-size: 13px;
}
main.messagerie .conversations .empty-messages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  color: #64748b;
  padding: 30px;
}
main.messagerie .conversations .empty-messages i {
  font-size: 30px;
  color: #cbd5e1;
  margin-bottom: 15px;
}
main.messagerie .conversations .empty-messages h4 {
  font-size: 18px;
  color: #334155;
  margin-bottom: 15px;
}
main.messagerie .conversations .empty-messages p {
  margin: 0;
  font-size: 13px;
}
main.messagerie a.conversation {
  display: flex;
  justify-content: space-between;
  gap: 3px;
  padding: 3px;
  text-decoration: none;
  color: black;
}
main.messagerie a.conversation:hover {
  background: #f3eded;
}
main.messagerie a.conversation span.badge {
  background: red;
  color: white;
  font-size: 10px;
  border-radius: 30px;
}
main.messagerie a.conversation img {
  width: 50px;
  height: 50px;
  -o-object-fit: cover;
     object-fit: cover;
}
main.messagerie a.conversation .conversation-actions {
  margin-top: 5px;
  display: flex;
  gap: 2px;
}
main.messagerie a.conversation button.btn {
  width: 29px;
  height: 29px;
  padding: 0;
}
main.messagerie a.conversation button.btn i {
  font-size: 10px;
  line-height: 1;
}
main.messagerie .conversation:hover {
  background: #f5f5f5;
}
main.messagerie .chat {
  width: 70%;
  display: flex;
  flex-direction: column;
  height: 100%;
  float: right;
}
main.messagerie .chat-box {
  flex: 1;
  padding: 5px;
  overflow-y: auto;
  background: #fafafa;
  display: flex;
  flex-direction: column;
}
main.messagerie .message {
  display: flex;
  margin-bottom: 12px;
}
main.messagerie .message.moi {
  justify-content: flex-end;
  text-align: right;
}
main.messagerie .message.autre {
  justify-content: flex-start;
}
main.messagerie .bubble {
  max-width: 70%;
  padding: 10px 12px;
  border-radius: 15px;
  background: #e2ffc7;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
main.messagerie .message.moi .bubble {
  background: #ff6e14;
  color: white;
  font-size: 13px;
}
main.messagerie .message.autre .bubble {
  background: #e5e5ea;
  font-size: 13px;
}
main.messagerie .date {
  font-size: 10px;
  opacity: 0.7;
  align-self: flex-end;
}
main.messagerie .status {
  font-size: 11px;
  align-self: flex-end;
  color: rgba(255, 255, 255, 0.9);
}
main.messagerie #formMessage {
  font-size: 12px;
  display: flex;
  border-top: 1px solid #ddd;
}
main.messagerie #formMessage input {
  flex: 1;
  padding: 12px;
  border: none;
}
main.messagerie #formMessage button {
  background: #ff6e14;
  color: white;
  border: none;
  padding: 10px 20px;
}

.chat-header {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  background: #f9f9f9;
  display: flex;
  align-items: center;
}

.chat-header .chat-user {
  font-size: 14px;
  font-weight: 600;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: green;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.status-message.vu {
  animation: fadeIn 0.3s ease-in-out;
}
.status-message.vu .status {
  font-size: 0.75rem;
  color: #888;
}
.status-message.vu .status .icon {
  font-size: 0.65rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*   PAGE VALIDATION CONFIRMATION */
div.validations {
  display: flex;
  justify-content: center;
  margin-bottom: 2px;
}
div.validations div {
  text-align: center;
  font-weight: 600;
  width: 50%;
  border: 3px solid #66cdaa;
  border-radius: 5px;
  padding: 5px;
}
div.validations div span {
  padding: 5px;
  color: green;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
}

/* PAGE AFFCHAGE AVIS */
main.reviews-page {
  max-width: 1000px;
  margin: auto;
}
main.reviews-page .reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
main.reviews-page .review-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border-left: 6px solid transparent;
}
main.reviews-page .review-card.pending {
  border-color: #f39c12;
}
main.reviews-page .review-card.approved {
  border-color: #27ae60;
}
main.reviews-page .review-card.rejected {
  border-color: #e74c3c;
}
main.reviews-page .review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
main.reviews-page .rating {
  color: #f1c40f;
  font-size: 14px;
}
main.reviews-page .review-text {
  margin: 12px 0;
  line-height: 1.5;
  color: #555;
}

/* Media query  Boutton validation avis*/
div.action .status {
  font-size: 13px;
  font-weight: 600;
  color: #7f8c8d;
}
div.action button {
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}
div.action .approve {
  background: #27ae60;
  color: white;
  font-weight: 600;
}
div.action .delete {
  background: #e74c3c;
  color: white;
}

/* suppression avis */
div.suppressions {
  display: flex;
  justify-content: center;
  margin-bottom: 2px;
}
div.suppressions div {
  text-align: center;
  font-weight: 600;
  width: 50%;
  border: 3px solid rgba(255, 0, 0, 0.941);
  border-radius: 5px;
  padding: 5px;
}
div.suppressions div span {
  padding: 5px;
  color: red;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
}

main.suppression {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin-top: 50px;
  margin-bottom: 190px;
  gap: 50px;
}
main.suppression div.elem {
  padding: 15px;
  border: 2px solid;
  border-radius: 5px;
}

/* LES MEDIA QUERY / RESPONSIVE DESIGN */
@media (min-width: 577px) and (max-width: 768px) {
  header.sticky {
    font-size: 14px;
  }
  .navbar {
    padding: 6px 0;
  }
  #navbarNav .nav-link {
    font-size: 12px;
    padding: 4px 6px !important;
    font-weight: 500;
  }
  #navbarNav .nav-link::after {
    left: 5px;
    bottom: 1px;
  }
  #navbarNav .nav-link:hover::after,
  #navbarNav .nav-link.active::after {
    width: calc(100% - 20px);
  }
  /* Bouton Publier */
  #navbarNav .btn-publish {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 12px;
    line-height: 1.2;
  }
  /* Icône du profil */
  #navbarNav .profil_compte i {
    font-size: 13px;
  }
  /* Pseudo utilisateur */
  #navbarNav .profil_compte {
    font-size: 12px;
  }
  /* Réduit légèrement l'espace entre les menus */
  #navbarNav .navbar-nav {
    gap: 2px;
  }
  /*titre*/
  .sticky-zone h1 {
    margin: 70px auto 20px;
    padding: 0 15px;
    gap: 6px;
    font-size: 15px;
    line-height: 1.35;
  }
  .sticky-zone h1 em {
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
  }
  .sticky-zone h1 span::after {
    height: 2px;
  }
  main.formulaire_avis {
    margin: 20px auto 170px;
  }
  main.messagerie {
    margin-bottom: 15px;
  }
  /* Cartes annonces */
  .annonces-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  .annonce-card {
    width: 320px;
  }
  /* Section annexe */
  .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  /* Footer */
  footer {
    font-size: 13px;
  }
  footer .row {
    justify-content: center;
    text-align: center;
  }
  main.gestion_annonces div.annonce-card {
    max-width: 450px;
  }
  main.newpassword {
    padding: 20px;
    margin-bottom: 75px;
  }
  .zone_recherche .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centre horizontalement */
    gap: 10px;
  }
  .zone_recherche .col {
    flex: 0 0 45%; /* 2 éléments par ligne */
    max-width: 45%;
    text-align: center;
  }
  /* Inputs + select plus petits */
  .zone_recherche input,
  .zone_recherche select {
    font-size: 13px;
    padding: 5px;
  }
  /* Bouton centré et réduit */
  .zone_recherche button {
    font-size: 13px;
    padding: 5px 10px;
    width: 100%;
  }
  /* Ajustement global section */
  .zone_recherche {
    text-align: center;
  }
  /* BLOC INSCRIPTION 1 LOGIN DEPOT ANNOCNES  *

  /* Media query  Bloc reset password */
  article.resetpassword {
    padding: 15px;
  }
  article.resetpassword div {
    padding: 5px;
  }
  article.resetpassword div form {
    padding: 10px;
    font-size: 14px;
  }
  article.resetpassword div form p {
    margin: 25px auto 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
  }
  article.resetpassword div form div {
    padding: 15px;
    text-align: center;
  }
  article.resetpassword div form div button {
    font-size: 12px;
  }
  .bloc_annonce {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  /* Cartes du dashboard */
  div.position-fixed {
    margin-top: 35px;
  }
  div.position-fixed h4 {
    font-size: 13px;
  }
  div.position-fixed a {
    font-size: 12px;
  }
  /* espace membre_messagerie */
  main.mentionsLeg {
    margin-bottom: 150px;
  }
}
@media screen and (max-width: 768px) {
  .title {
    font-size: 18px;
    margin-top: 108px;
    margin-left: 15px;
  }
  div.sticky-zone span {
    display: block;
    font-size: 18px;
  }
  .burger-menu {
    display: block;
    position: fixed;
    top: 145px;
    left: 1px;
    z-index: 2000;
    font-size: 14px;
    font-weight: 600;
    background: #1e293b;
    color: white;
    padding: 3px 7px;
    border-radius: 5px;
    cursor: pointer;
  }
  .sidebar_membre {
    transform: translateX(-105%);
    z-index: 1500;
    font-size: 18px;
  }
  .sidebar_membre.open {
    transform: translateX(0);
  }
  section.annexe {
    flex-direction: column;
    gap: 12px;
  }
  section.annexe > .reseaux-sociaux,
  section.annexe > .pub-home {
    width: 100%;
  }
  .reseaux-sociaux {
    padding: 10px;
  }
  .reseaux-sociaux .title {
    font-size: 14px;
  }
  .social-links {
    gap: 6px;
  }
  .social {
    font-size: 10px;
  }
  .social img {
    width: 13px;
    height: 13px;
  }
  .signup-hint {
    justify-content: center;
    flex-direction: row; /* garde tout sur la même ligne */
    flex-wrap: wrap;
    font-size: 0.85rem;
    gap: 0.25rem;
  }
  .signup-separator {
    margin: 3px;
  }
  .signup-hint a {
    white-space: nowrap;
  }
  div.liens a {
    font-size: 14px !important;
    padding: 5px;
  }
  section.annexe {
    flex-direction: column;
  }
  section.annexe > .reseaux-sociaux,
  section.annexe > .pub-home {
    width: 100%;
  }
  div.cadre_notif {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin: 20px auto 100px;
    box-sizing: border-box;
  }
  .notifVide {
    width: 250px !important;
    margin: 40px auto;
    padding: 20px 15px;
    font-size: 14px;
    text-align: center;
  }
  .notification-card {
    width: 100%;
    max-width: 100%;
    margin: 15px auto;
    padding: 15px;
    border-radius: 10px;
    box-sizing: border-box;
  }
  .notification-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
  }
  .notification-top h5 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    word-break: break-word;
  }
  .notification-top small {
    font-size: 12px;
    color: #666;
  }
  .notification-card p {
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
  }
  .notification-card .btn {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    text-align: center;
  }
  .publish-banner {
    margin: 5px auto;
    padding: 0 6px;
  }
  .publish-card {
    width: 100%;
    max-width: 275px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 6px 6px;
    border-radius: 10px;
  }
  .publish-icon {
    font-size: 12px;
  }
  .publish-text {
    flex: 1;
    text-align: center;
  }
  .publish-text h2 {
    font-size: 9px;
    line-height: 1.1;
    margin: 0;
  }
  .publish-text p {
    display: none;
  }
  .publish-btn {
    width: auto;
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 20px;
  }
  .publish-btn i {
    margin-right: 2px;
  }
  .support-hero {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
  }
  .support-hero h2 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
  }
  .support-hero p {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
  main.dons-page {
    gap: 10px;
    padding: 5px;
    margin-bottom: 20px;
  }
  main.dons-page .don-card {
    padding: 10px;
    border-radius: 12px;
  }
  main.dons-page h2 {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  main.dons-page p,
  main.dons-page label {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  main.dons-page .modes-reglement,
  main.dons-page .montants-don {
    gap: 6px;
    margin-bottom: 10px;
  }
  main.dons-page .mode-option,
  main.dons-page .don-option {
    font-size: 0.75rem;
    padding: 3px 6px;
  }
  main.dons-page input.form-control {
    font-size: 0.85rem;
    padding: 6px;
    min-height: 36px;
  }
  main.dons-page .btn,
  main.dons-page .btn-warning,
  main.dons-page .btn-outline-secondary {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
  main.dons-page .text-danger,
  main.dons-page .text-success,
  main.dons-page .paypal-message {
    font-size: 0.75rem;
  }
  .p_annonce {
    margin-bottom: 30px;
    padding: 10px 14px;
  }
  .vendre-box {
    display: flex;
    justify-content: center;
    margin-bottom: 170px;
    padding: 25px;
  }
  .lien_dons {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 300px;
    margin: 20px auto; /* centre horizontalement */
    padding: 5px 8px;
    text-align: center;
  }
  .deux_cadres {
    flex-direction: column;
  }
  .info_profil,
  .modif_password {
    width: 100%;
    padding: 14px;
  }
  legend {
    font-size: 0.95rem;
  }
  .social-links {
    gap: 6px;
  }
  .social {
    padding: 4px 8px;
    border-radius: 6px;
  }
  .social img {
    width: 14px;
    height: 14px;
  }
  .social span {
    font-size: 11px;
  }
  section.visualiser_avis .btn-avis {
    max-width: 200px;
    font-size: 12px;
    padding: 3px 8px;
  }
  main.annonces-slider {
    position: relative;
    overflow: hidden;
    height: 75vh;
  }
  main.annonces-slider .annonces-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-wrap: nowrap;
  }
  main.annonces-slider .annonce-card {
    width: 100%;
    flex: 0 0 auto;
    transition: none;
  }
  .verification-email-page {
    margin-top: 120px;
    padding: 30px 16px;
  }
  .verification-email-card {
    padding: 22px 18px;
    border-radius: 10px;
  }
  .verification-email-icon {
    width: 40px;
    height: 40px;
    font-size: 26px;
    margin-bottom: 18px;
  }
  .verification-email-title {
    font-size: 18px;
  }
  .verification-email-message {
    font-size: 14px;
    line-height: 1.6;
  }
  .verification-email-button {
    width: 100%;
    padding: 8px 8px;
    font-size: 13px;
  }
  .verification-email-help {
    font-size: 13px;
  }
  main.newpassword .password-card {
    max-width: 320px;
    padding: 20px;
  }
  main.newpassword .input-group input {
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 8px;
  }
  main.newpassword .toggle-password {
    font-size: 14px;
    right: 8px;
  }
  section.depot_avis div.row {
    flex-direction: column;
    align-items: center;
  }
  section.depot_avis div.col {
    width: 90%;
  }
  .reseaux-sociaux {
    padding: 20px;
  }
  .social-links {
    flex-direction: column;
    align-items: center;
  }
  .social {
    width: 22%;
    justify-content: center;
  }
  main.compact-detail div.row {
    padding: 5px;
  }
  .produit-image {
    aspect-ratio: 1/1;
  }
  .thumbnails {
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 0;
  }
  .miniature {
    width: 40px;
    height: 40px;
  }
  .prix {
    font-size: 14px;
  }
  .detail_produit h2 {
    font-size: 16px;
  }
  .image-container {
    height: 300px;
    aspect-ratio: 4/3;
  }
  .detail_produit .row {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }
  .col-md-5 {
    padding: 20px; /* réduit fortement l'espace */
    margin-bottom: 0;
  }
  .detail_produit .row {
    --bs-gutter-x: 0.3rem;
    --bs-gutter-y: 0.2rem;
    padding: 0;
  }
  /* rapproche le bloc info de l'image */
  .detail_produit .col-md-5 + .col-md-5 {
    margin-top: -5px;
  }
  section.contact-hero {
    width: 375px;
    padding: 2px;
  }
  section.contact-hero p {
    font-size: 13px;
  }
  .contact-info .socials {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
  }
  .contact-info .bloc-social {
    display: flex;
    justify-content: center;
  }
  .contact-info .r-social {
    justify-content: center;
    max-width: 85px;
  }
  div.formCont {
    width: 300px; /* largeur globale du formulaire */
    box-shadow: none;
  }
  div.formCont form {
    width: 100%;
  }
  div.formCont .form-label {
    font: 12px;
  }
  div.formCont .form-control {
    font-size: 12px;
  }
  div.formCont select option {
    font-size: 12px;
  }
  div.formCont .contact-message {
    min-height: 100px;
    font-size: 12px;
  }
  div.formCont button {
    width: 90px;
    display: block;
    margin: 5px auto 0;
  }
  .annonce-indispo {
    margin: 30px auto 40px;
    padding: 0 10px;
  }
  .annonce-indispo .alert {
    padding: 18px 15px;
    border-radius: 10px;
  }
  .annonce-indispo h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .annonce-indispo p {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .annonce-indispo small {
    font-size: 12px;
  }
  .annonce-indispo .btn {
    margin-top: 15px !important;
    width: 100%;
    font-size: 13px;
  }
  #reportModal .modal-dialog {
    margin-top: 25px; /* ajuste selon la hauteur de ton header */
    margin-bottom: 20px;
  }
  .modal-header h5 {
    font-size: 14px;
  }
  .modal-header .btn-close {
    font-size: 0.7rem;
    padding: 0.3rem;
  }
  .modal-body .form-select,
  .modal-body .form-control,
  .modal-footer .btn {
    font-size: 0.85rem;
  }
  div.text-end {
    display: flex;
    justify-content: center;
    gap: 5px;
  }
  .produits_similaires h4 {
    font-size: 15px;
  }
  .produits_similaires .slider {
    gap: 5px;
    scroll-snap-type: x mandatory;
  }
  .produits_similaires .slider-card {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
    scroll-snap-align: start;
  }
  .produits_similaires .slider-card img {
    height: 110px;
  }
  .produits_similaires .slider-card .card-body {
    padding: 8px;
  }
  .produits_similaires .slider-card .card-body span {
    font-size: 12px;
    line-height: 1.3;
  }
  .produits_similaires .slider-card .card-body b {
    font-size: 12px;
  }
  .produits_similaires .slider-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  main.contact_vendeur .formulaire {
    margin: 50px auto 75px;
  }
  .support-hero {
    max-width: 92%;
    padding: 15px 12px;
    margin-bottom: 50px;
    border-radius: 16px;
  }
  .support-hero h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .support-hero p {
    font-size: 14px;
    max-width: 100%;
  }
  main.dons-page {
    gap: 15px;
    padding: 5px;
  }
  main.dons-page .don-card {
    padding: 12px;
    border-radius: 15px;
  }
  main.dons-page h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  main.dons-page p {
    font-size: 14px;
  }
  main.dons-page .modes-reglement {
    gap: 10px;
  }
  main.dons-page .mode-option {
    font-size: 13px;
    padding: 4px 8px;
  }
  main.dons-page .don-option {
    font-size: 14px;
    padding: 4px 8px;
  }
  main.dons-page .don-option:has(input:checked)::after {
    top: 2px;
    right: 5px;
    font-size: 10px;
  }
  main.dons-page input.form-control {
    font-size: 14px;
    padding: 8px;
  }
  main.dons-page .btn {
    font-size: 14px;
    padding: 8px 16px;
  }
  .pulse-title {
    font-size: 14px;
  }
  /* Mobile : pas d'effet hover */
  main.dons-page .don-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  main.dons-page .don-option:hover {
    transform: none;
  }
  div.confirm-box {
    margin: 200px auto 300px;
  }
  .site-footer {
    text-align: center;
  }
  .emploi-link {
    margin: auto;
  }
  .mentions .card,
  .rgpd .card,
  .cgu .card {
    padding: 1rem !important;
  }
  .mentions h2,
  .rgpd h2,
  .cgu h2,
  .card h2.h5 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  .mentions p,
  .rgpd p,
  .cgu p,
  .cgu li,
  .card p,
  .card li {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .cgu ul {
    padding-left: 1rem;
  }
  /*section.produits_similaires {
    h4 {
      text-align: center;
      font-size: 15px;
      margin-bottom: 25px;
    }
    .slider {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .slider-btn {
      display: none;
    }
    .slider-card {
      min-width: 150px;
      max-width: 160px;
    }
    .slider-card img {
      height: 140px;
      object-fit: cover;
    }
    .slider-card .card-body {
      gap: 2px;
      padding: 5px 3px;
      text-align: center;
    }
    .slider-card .card-body span {
      font-size: 13px;
      line-height: 1.3;
      flex: unset;
    }
    .slider-card .card-body b {
      font-size: 13px;
    }
  }*/
  /* CREATE ANNONCES */
  .alert-success-publication {
    margin: 8px 10px;
    padding: 7px 10px;
    gap: 7px;
  }
  .success-icon {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  .success-content {
    font-size: 11px;
  }
  .success-content strong {
    font-size: 12px;
  }
  main.form-container {
    padding: 10px;
    margin-bottom: 30px;
  }
  .pub_prod {
    width: 100%;
  }
  .form-card {
    max-width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
  }
  .form-card .form-title {
    font-size: 15px;
    margin-bottom: 15px;
  }
  .form-card .option-annonce {
    min-height: 100px;
    padding: 4px !important;
  }
  .form-card .option-annonce .fs-2 {
    font-size: 18px !important;
  }
  .form-card .option-annonce h5 {
    font-size: 14px;
  }
  .form-card .option-annonce p {
    font-size: 11px;
    line-height: 1.25;
  }
  .form-card .form-group {
    margin-bottom: 8px;
  }
  .form-card .form-group label {
    font-size: 12px;
    margin-bottom: 2px;
  }
  .form-card .form-control,
  .form-card .form-select {
    font-size: 13px;
    min-height: 36px;
    padding: 6px 8px;
  }
  textarea#description {
    min-height: 90px;
    font-size: 13px;
    padding: 8px;
  }
  .price-box {
    gap: 6px;
  }
  .price-box select {
    width: 120px;
    font-size: 12px;
  }
  #ville-suggestions {
    max-height: 180px;
  }
  #preview-container img {
    width: 60px !important;
    height: 60px !important;
  }
  .btn-submit {
    font-size: 13px;
    padding: 9px;
  }
  main.form-container {
    padding: 20px;
    width: 100%;
  }
  .pub_prod {
    width: 100%;
  }
  .form-card {
    width: 100%;
    max-width: 600px !important;
    padding: 20px;
  }
  .btn-submit {
    width: 100% !important;
    height: 40px;
    font-size: 15px;
    font-weight: 700;
  }
  #pubAnnonce {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  #pubAnnonce .form-card {
    overflow: hidden;
  }
  #pubAnnonce .alert {
    overflow-x: hidden;
  }
  /* NOTIFICATION */
  div.cadre_notif {
    padding: 20px;
    margin: 75px auto 125px;
  }
  div.cadre_notif .notifVide {
    width: 100%;
    margin: 40px auto;
  }
  div.cadre_notif .notification-card {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-sizing: border-box;
  }
  div.cadre_notif .notification-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  div.cadre_notif .notification-top h5 {
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
  }
  div.cadre_notif .notification-top small {
    font-size: 12px;
    color: #666;
  }
  div.cadre_notif .notification-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 12px 0;
  }
  div.cadre_notif .notification-card .btn {
    width: 100%;
    text-align: center;
    padding: 5px;
  }
  /* ===== ESPACE MEMBRE -- MESSAGERIE -- */
  main.messagerie {
    flex-direction: column;
    height: auto;
    max-width: 600px;
    margin: 125px auto 125px;
    gap: 5px;
  }
  /* LISTE CONVERSATIONS */
  main.messagerie .conversations {
    width: 100%;
    max-height: 250px;
    border-radius: 8px;
  }
  main.messagerie a.conversation {
    padding: 6px;
    gap: 8px;
    align-items: center;
  }
  main.messagerie a.conversation img {
    width: 40px;
    height: 40px;
  }
  main.messagerie a.conversation span {
    font-size: 13px;
  }
  main.messagerie span.badge {
    font-size: 10px;
    padding: 2px 6px;
  }
  /* ACTIONS (delete / spam) */
  main.messagerie .conversation-actions {
    display: flex;
    gap: 3px;
  }
  main.messagerie .conversation-actions button {
    padding: 3px 6px;
    font-size: 11px;
  }
  /* CHAT */
  main.messagerie .chat {
    width: 100%;
    height: 400px;
  }
  main.messagerie .chat-box {
    padding: 5px;
  }
  /* MESSAGES */
  main.messagerie .bubble {
    max-width: 85%;
    font-size: 13px;
    padding: 6px 10px;
  }
  main.messagerie .date {
    font-size: 10px;
  }
  /* FORMULAIRE */
  #formMessage input {
    padding: 8px;
    font-size: 13px;
  }
  #formMessage button {
    padding: 8px 12px;
    font-size: 13px;
  }
  .paymentPhoto {
    width: 100%;
    max-width: 100%;
    margin: 150px auto 30px;
    padding: 0 12px !important;
  }
  .paymentPhoto .card-body {
    padding: 18px 16px;
  }
  .paymentPhoto h2 {
    font-size: 18px;
    margin-bottom: 16px !important;
  }
  .paymentPhoto .alert-info {
    margin-bottom: 15px;
    padding: 7px 10px;
    font-size: 13px;
  }
  .paymentPhoto .table {
    font-size: 14px;
  }
  .paymentPhoto .table th,
  .paymentPhoto .table td {
    padding: 9px 4px;
  }
  .paymentPhoto .table th {
    width: 70%;
  }
  .paymentPhoto .table td {
    width: 30%;
    text-align: right;
    white-space: nowrap;
  }
  .paymentPhoto .alert-warning {
    padding: 9px 11px;
    font-size: 12px;
  }
  .paymentPhoto .d-flex {
    flex-direction: row;
  }
  .paymentPhoto .d-flex .btn {
    padding: 5px 10px;
    font-size: 12px;
  }
  main.gestion_annonces {
    margin-bottom: 175px;
  }
  main.modification_annonce {
    margin: 60px auto 85px;
  }
  /* =====PAGES AIDE ET CONTACT + FORMCONTACT  TABLETTE + MOBILE =========== */
  section.contact-hero {
    max-width: 92%;
    margin: 25px auto;
    padding: 6px 8px;
    border-radius: 18px;
  }
  section.contact-hero p {
    font-size: 14px;
    line-height: 1.6;
  }
  .faq {
    margin-bottom: 20px;
  }
  .faq-item {
    padding: 2px 0;
    margin-bottom: 10px;
  }
  .faq-item summary {
    font-size: 12px;
    font-weight: 500;
  }
  .faq-item p {
    margin: 0;
    font-size: 14px;
  }
  .privacy-box {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .privacy-box h5 {
    margin-bottom: 6px;
    font-size: 13px;
  }
  .privacy-box p {
    margin-bottom: 6px;
  }
  .contact-info strong a {
    font-size: 14px;
  }
  main.resetpassword {
    padding: 20px;
    margin: 155px auto 300px;
  }
  main.resetpassword form {
    padding: 20px;
    border-radius: 10px;
  }
  main.resetpassword form p.textes {
    font-size: 14px;
    margin-bottom: 20px;
  }
  main.resetpassword form div.inputreset {
    margin-bottom: 20px;
  }
  main.resetpassword form div.inputreset label {
    font-size: 14px;
  }
  main.resetpassword form div.inputreset input {
    font-size: 14px;
  }
  main.resetpassword form div.inputreset span {
    font-size: 11px;
  }
  main.resetpassword form .error {
    font-size: 12px;
  }
  /* ===== GLOBAL FORMULAIRE ===== */
  /* ===== PASSWORD ICON ===== */
  .password-wrapper input {
    padding-right: 38px;
  }
  #togglePwd {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
  /* ===== TEXTES ===== */
  legend {
    font-size: 12px;
  }
  span {
    font-size: 13px;
  }
  .js-error {
    font-size: 12px;
    min-height: 16px;
  }
  .zone_recherche .buttons {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .zone_recherche .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.75rem;
    padding: 0.25rem 0.45rem;
    letter-spacing: normal;
    white-space: nowrap;
  }
  .zone_recherche .btn i {
    font-size: 0.8rem;
  }
  main.recherches .card {
    max-width: 300px;
  }
  main.recherches .image-container {
    height: 155px;
  }
  main.recherches .image-container img {
    height: 155px;
  }
  main.recherches .card-body .card-title {
    font-size: 0.9rem;
  }
  main.recherches .card-body p {
    font-size: 0.75rem;
  }
  div.pagination {
    margin: 10px auto 20px;
  }
  div.pagination ul {
    gap: 5px;
  }
  div.pagination ul li a.page-link {
    padding: 7px 11px;
    font-size: 0.85rem;
    border-radius: 8px;
  }
  .newsletter-page {
    margin: 20px 15px;
    padding: 25px;
  }
  .newsletter-page h1 {
    font-size: 1.7rem;
  }
  .newsletter-page h3 {
    font-size: 1.2rem;
  }
  .newsletter-page .btn {
    width: 100%;
  }
}
/* 📱 MOBILE (< 576px) → burger déjà géré par Bootstrap */
@media (max-width: 576px) {
  div.sidebar {
    margin-left: 5%;
  }
  .statistique {
    margin-top: 270px;
  }
  .statistique h3 {
    font-size: 11px;
  }
  .statistique h5 {
    font-size: 10px;
  }
  .identificat {
    margin-top: 130px;
    max-width: 95%;
    padding: 0 12px;
    font-size: 14px;
    line-height: 1.45;
  }
  .depot {
    margin: 50px auto 170px;
    padding: 10px;
  }
  .card-depot {
    width: 95%;
    max-width: 300px;
    padding: 16px;
    border-radius: 12px;
  }
  .card-depot h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .card-depot p {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 20px;
  }
  .card-depot a {
    margin: 25px;
  }
  .card-depot .btn {
    height: 32px;
    font-size: 13px;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  a.bouton-contact {
    position: static;
    width: 100%;
    max-width: 230px;
    margin: 5px auto;
    font-size: 14px !important;
    display: block;
    z-index: auto;
  }
  .action-btn {
    min-width: 80px;
    text-align: center;
  }
  .title {
    font-size: 1.2rem;
    padding: 0 10px;
  }
  .zone-recherche-home .col-ville,
  .zone-recherche-home .col-prix-min,
  .zone-recherche-home .col-prix-max,
  .zone-recherche-home .col-tri,
  .zone-recherche-home .btn-reset {
    display: none !important;
  }
  .zone-recherche-search .col-ville,
  .zone-recherche-search .col-prix-min,
  .zone-recherche-search .col-prix-max {
    display: none !important;
  }
  .zone-recherche-home .row {
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
  }
  .zone-recherche-home .row > .col:first-child {
    width: auto !important;
    flex: 1 1 auto;
    margin: 0;
  }
  .zone-recherche-home .buttons {
    width: auto !important;
    flex: 0 0 auto;
    margin: 0;
  }
  .zone-recherche-home .buttons .btn {
    margin: 0;
  }
  div.sticky-zone h1 {
    flex-direction: column;
    gap: 10px;
    margin: 55px auto 15px;
  }
  div.sticky-zone span {
    display: block;
    font-size: 16px;
  }
  div.sticky-zone em {
    margin: 0;
    width: 26px;
    height: 26px;
  }
  div.sticky-zone section {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 5px;
  }
  div.sticky-zone section form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  div.sticky-zone section form input,
  div.sticky-zone section form select {
    width: 100%; /* prend toute la largeur */
    max-width: 250px; /* limite pour éviter trop large */
    font-size: 13px;
    padding: 3px 6px;
    text-align: center;
  }
  div.sticky-zone .zone_recherche .buttons .btn {
    padding: 1px 4px;
    font-size: 12px;
    width: 40px;
    height: 25px;
  }
  div.sticky-zone .zone_recherche .buttons .btn i {
    font-size: 12px;
  }
  div.sticky-zone {
    /* FORMULAIRE BOOTSTRAP  zone_recherche) */
  }
  div.sticky-zone .zone_recherche .row {
    flex-direction: column;
    align-items: center;
  }
  div.sticky-zone .zone_recherche .col {
    width: 90%;
    margin: 3px;
  }
  div.sticky-zone .zone_recherche input {
    max-width: 295px;
    font-size: 12px;
    text-align: center;
    border-radius: 30px;
  }
  div.sticky-zone .zone_recherche select {
    max-width: 295px;
    font-size: 12px;
    text-align: center;
    border-radius: 30px;
    margin-bottom: 2px;
  }
  div.sticky-zone .zone_recherche .btn {
    text-align: center;
    border-radius: 30px;
  }
  div.sticky-zone .publish-banner {
    margin: 5px auto;
    padding: 0 5px;
  }
  div.sticky-zone .publish-card {
    width: 100%;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 10px;
  }
  div.sticky-zone .publish-icon {
    font-size: 10px;
  }
  div.sticky-zone .publish-text h2 {
    font-size: 9px;
  }
  div.sticky-zone .publish-text p {
    font-size: 10px;
    line-height: 1.3;
    margin: 0;
  }
  div.sticky-zone .publish-btn {
    padding: 3px 7px;
    font-size: 11px;
    border-radius: 20px;
  }
  div.sticky-zone .publish-btn i {
    margin-right: 1px;
    font-size: 11px;
  }
  div.sticky-zone .notifVide {
    width: 50%;
    padding: 5px;
  }
  div.sticky-zone .signup-hint {
    gap: 7px;
  }
  #newpasswd {
    font-size: 18px;
  }
  .reset-icon {
    width: 10px;
    height: 10px;
  }
  main.newpassword .password-card {
    max-width: 260px;
    padding: 5px;
  }
  main.newpassword .input-group input {
    height: 32px;
    padding: 0 6px;
    font-size: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
  }
  main.newpassword .toggle-password {
    font-size: 8px;
    right: 6px;
  }
  /* Bouton Valider */
  main.newpassword .btn-submit {
    width: auto;
    min-width: 140px;
    padding: 8px 12px;
    font-size: 12px;
    display: block;
    margin: 10px auto 0;
    border-radius: 6px;
  }
  .lien_dons {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 200px;
    margin: 20px auto; /* centre horizontalement */
    padding: 5px 8px;
    text-align: center;
    font-size: 12px;
  }
  .about-values h2,
  .about-team h2 {
    font-size: 18px !important;
  }
  main.aideContact section div.faqs h2 {
    font-size: 16px;
  }
  main.aideContact section div.faqs h3 {
    font-size: 15px;
  }
  main.aideContact section div.faqs div.faq {
    margin: 0px;
  }
  main.aideContact section div.faqs .faq-item summary {
    font-size: 12px;
  }
  main.aideContact section div.faqs div.contact-info {
    text-align: center;
  }
  main.aideContact section div.faqs div.contact-info h4 {
    font-size: 15px;
    font-weight: 700;
  }
  main.aideContact section div.faqs div.contact-info p mark {
    font-size: 13px;
  }
  main.aideContact section div.faqs div.contact-info strong {
    font-size: 13px;
  }
  main.aideContact section div.faqs div.contact-info div.socials {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }
  main.aideContact section div.faqs div.contact-info .bloc-social {
    width: 100%;
  }
  main.aideContact section div.faqs div.contact-info .r-social {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  main.formulaire_avis {
    margin: 15px auto 120px;
    padding: 20px;
  }
  main.formulaire_avis article.s-avis {
    max-width: 375px;
    padding: 15px;
  }
  main.formulaire_avis article.s-avis .avis-title {
    font-size: 18px;
  }
  .v_enreg_produit {
    max-width: 400px;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
  }
  .v_enreg_produit mark {
    font-size: 10px;
  }
  main.form-container {
    display: flex;
    justify-content: center;
    padding: 30px;
    margin-bottom: 50px;
  }
  main.form-container div.pub_prod {
    max-width: 350;
    /* CARD */
  }
  main.form-container div.pub_prod .form-card {
    font-size: 16px;
    width: 100%;
    max-width: 350px;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  }
  main.form-container div.pub_prod .form-card div.dim {
    width: 275px;
  }
  main.form-container div.pub_prod .form-card .btn-submit {
    width: 60%;
    font-size: 13px;
    padding: 8px 10px;
    display: block;
    margin: 10px auto;
  }
  /* Slider / cartes */
  .annonces-slider {
    padding-left: 10px;
    padding-right: 10px;
  }
  .annonces-wrapper {
    justify-content: center;
    flex-wrap: wrap;
  }
  .annonce-card {
    margin: 10px auto;
    width: 100%;
    max-width: 320px;
  }
  /* Section annexe */
  .annexe .row,
  .social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  main.contact_vendeur {
    width: 100%;
    max-width: 450px;
  }
  footer {
    width: 100%;
    font-size: 12px;
  }
  footer .row {
    flex-direction: column;
    gap: 10px;
  }
  footer .col {
    text-align: center;
  }
  main.gestion_annonces div.annonce-card {
    max-width: 350px;
  }
  div.alert-success {
    padding: 2px;
    width: 315px;
  }
  div.alert-success span {
    font-size: 11px;
    font-weight: 600;
  }
  .rap-soumission span {
    font-size: 10px;
  }
  .statistique .col-md-2 {
    width: 100%;
  }
  .row > div {
    width: 100%;
    margin-bottom: 15px;
  }
  .card-dashboard {
    padding: 20px;
  }
  section.groupe form div button {
    width: 100%;
  }
  h2.welcome-text {
    font-size: 15px;
    margin-bottom: 40px;
  }
  main.index_dashboard {
    padding: 12px;
    margin-bottom: 25px;
  }
  .card-dashboard {
    max-width: 250px;
    min-height: 170px;
    margin: 0 auto;
  }
  .card-dashboard .icon {
    font-size: 2rem;
  }
  .card-dashboard h5 {
    font-size: 1rem;
  }
  .card-dashboard p {
    font-size: 0.85rem;
  }
  .card-dashboard .btn {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
  .bloc_annonce {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  button.reinitPass {
    font-size: 8px;
    padding: 2px 5px;
    width: 75%;
  }
}
/* Desktop : burger caché */
@media (min-width: 769px) {
  .burger-menu {
    display: none;
  }
  .sidebar_membre {
    padding-top: 30px;
    padding-bottom: 20px;
  }
  main.contact_vendeur .formulaire {
    margin: 50px auto 60px;
  }
  main.formulaire_avis {
    margin: 30px auto 175px;
  }
  main.formulaire_avis article.s-avis {
    padding: 20px;
  }
  main.formulaires {
    margin: 75px auto 125px;
  }
  main.newpassword {
    padding: 20px;
    margin-bottom: 100px;
  }
  main.resetpassword {
    padding: 20px;
    margin: 190px auto 275px;
  }
  div.confirm-box {
    margin: 200px auto 330px;
  }
  .produit-image {
    aspect-ratio: 1/1;
  }
  .prix {
    font-size: 14px;
  }
  main.index_dashboard {
    margin-bottom: 150px;
  }
  main.infos_profil {
    margin-bottom: 150px;
  }
  main.messagerie {
    margin-bottom: 150px;
  }
  main.gestion_annonces {
    margin-bottom: 230px;
  }
  main.modification_annonce {
    margin-bottom: 130px;
  }
}
@media (min-width: 427px) and (max-width: 768px) {
  main.formulaires {
    margin-bottom: 125px;
  }
  main.annonces-slider {
    display: flex;
    justify-content: center;
    margin-left: auto;
  }
  div.annonces-wrapper {
    display: flex;
    justify-content: center;
  }
  footer {
    padding: 12px;
  }
  footer .row {
    margin-bottom: 15px;
  }
  footer .col {
    margin-bottom: 10px;
  }
  footer a {
    font-size: 13px;
  }
  div.encours {
    margin-bottom: 30px;
  }
  main.gestion_annonces {
    margin-bottom: 175px;
  }
  main.modification_annonce {
    margin-bottom: 110px;
  }
  main.messagerie {
    margin-bottom: 185px;
  }
}
@media (max-width: 426px) {
  .annonce-card {
    width: 85% !important;
  }
  .notification-card {
    padding: 12px;
  }
  .notification-top h5 {
    font-size: 15px;
  }
  .notification-card p {
    font-size: 13px;
  }
  .notification-card .btn {
    font-size: 12px;
    padding: 5px 10px;
  }
  main.messagerie {
    margin-bottom: 150px;
  }
  main.modification_annonce {
    margin-bottom: 70px;
  }
  main.formulaires {
    margin-bottom: 75px;
  }
  div.login div {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
  }
  div.login h3 {
    margin: 10px 5px 5px 5px;
    font-size: medium;
  }
  div.login .form {
    padding: 15px;
    font-size: 15px;
  }
  /* CARTES ANNONCES */
  span.highlight {
    font-size: 13px;
    padding: 2px;
  }
  div.reseaux-sociaux h2.title {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .social {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 1px 3px;
    border-radius: 6px;
    font-weight: 400;
    transition: all 0.3s ease;
  }
  .social img {
    width: 18px;
    height: 18px;
  }
  .social span {
    font-size: 8px;
  }
  .social:hover {
    transform: translateY(-4px) scale(1.05);
    color: #fff;
  }
  section.visualiser_avis a.btn-avis {
    font-size: 13px;
    border-radius: 10px;
    padding: 5px 5px;
  }
  section.visualiser_avis a.btn-avis span {
    font-size: 13px;
  }
  div.confirm-box {
    margin: 200px auto 250px;
  }
  #espace-membre {
    padding: 0 8px;
  }
  .info_profil,
  .modif_password {
    padding: 12px;
    border-radius: 10px;
  }
  .form-control,
  .form-select,
  .btn-outline-primary {
    height: 36px;
    font-size: 0.82rem;
  }
  footer {
    padding: 10px;
  }
  footer .row {
    flex-direction: column;
  }
  footer .col {
    margin-bottom: 8px;
  }
  footer a {
    font-size: 12px;
    display: block;
  }
  .v_enreg_produit {
    width: 90%;
    max-width: 260px;
    font-size: 11px;
    margin: 10px auto;
    padding: 8px;
    text-align: center;
  }
  .alert-mobile {
    font-size: 0.85rem;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 300px) {
  #formMessage {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  div.text-end {
    flex-direction: column;
  }
}
@media (max-width: 992px) {
  .deux_cadres {
    gap: 12px;
  }
  .info_profil,
  .modif_password {
    padding: 15px;
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  article.resetpassword {
    padding: 15px;
    margin: 175px auto 275px;
  }
}/*# sourceMappingURL=style.css.map */