/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root{
  --primary: #FF6634;
  --text: #111;
  --bg: #fff;
  --muted: #666;
  --cardW: 250px;
}
/* partenaires.css */

.partenaires-page{
  background: var(--bg);
  color: var(--text);
}

.hero-part{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 8px;
}
.hero-part h1{
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
}
.hero-part p{
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.5;
}

.part-layout{
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 320px 18px 1fr;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.part-filtres{
  position: sticky;
  top: 90px; /* ajuste selon ton header sticky */
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.filters-form .filter-row{
  display: -ms-grid;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.filters-form label{
  font-weight: 600;
  font-size: .95rem;
}
.filters-form input[type="search"],
.filters-form select{
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
  outline: none;
  background: #fff;
}
.filters-form input[type="search"]:focus,
.filters-form select:focus{
  border-color: var(--primary);
  -webkit-box-shadow: 0 0 0 3px rgba(255,102,52,.18);
          box-shadow: 0 0 0 3px rgba(255,102,52,.18);
}

.filter-actions{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.btn-filter{
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.btn-filter:hover{ -webkit-filter: brightness(.95); filter: brightness(.95); }

.btn-reset{
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
  color: var(--text);
  text-decoration: none;
  background: #fff;
}
.btn-reset:hover{
  border-color: var(--primary);
  color: var(--primary);
}

.part-list{
  min-width: 0;
}
.part-meta{
  margin-bottom: 12px;
  color: var(--muted);
}

.part-empty{
  border: 1px dashed rgba(0,0,0,.25);
  border-radius: 14px;
  padding: 18px;
  color: var(--muted);
  background: rgba(0,0,0,.02);
}

.part-grid{
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 14px;
}

.part-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 120px 1fr;
  grid-template-columns: 120px 1fr;
  min-height: 120px;
}

.part-logo{
  display: -ms-grid;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(0,0,0,.02);
}
.part-logo img{
  width: 100%;
  height: 80px;
  -o-object-fit: contain;
     object-fit: contain;
}
.part-logo--placeholder{
  width: 100%;
  height: 80px;
  border-radius: 10px;
  border: 1px dashed rgba(0,0,0,.25);
  display: -ms-grid;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
}

.part-content{
  padding: 12px 14px;
  display: -ms-grid;
  display: grid;
  gap: 8px;
}
.part-title{
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.part-badges{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 8px;
}
.badge{
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .85rem;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
}
.badge-muted{
  color: var(--muted);
}

.part-desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.part-actions{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin-top: 2px;
}
.part-link{
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255,102,52,.10);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}
.part-link:hover{
  background: rgba(255,102,52,.16);
}

/* Responsive */
@media (max-width: 920px){
  .part-layout{
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .part-filtres{
    position: static;
  }
}
@media (max-width: 520px){
  .part-card{
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .part-logo{
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
  }
  .part-logo img, .part-logo--placeholder{
    height: 70px;
    width: 180px;
  }
}