/* ========== Variables et bases ========== */
:root{
  --green:#2dbf62;
  --green-600:#1ea152;
  --border:#dfe7e4;
  --text:#2a2e30;
  --muted:#6d7479;
  --radius:6px;
  --shadow:0 2px 10px rgba(0,0,0,.06);
  --gap:14px;
  --font:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial,sans-serif;
  :root{ --header-h: 0px; --content-gap: 0px; } 
}

*{box-sizing:border-box}
body{ margin:0; font-family:var(--font); color:var(--text); }

/* ========== Offset sous le header fixe (.header-progres) ========== */
/* Ajuste ces valeurs à la hauteur réelle de ton menu */
.after-header{ padding-top: 8px; background:#ffffff; }
@media (max-width:768px){
  .after-header{ padding-top:8px; }
}
.page-header{ display:block; }
.page-header .status-bar{ margin:6px 0 12px; }
.container{ max-width:1100px; margin:0 auto; padding:0 16px; }

/* Stats banner reusable */
.stats-banner{ background:#222 url('/images/banner-bg.jpg') center/cover no-repeat; padding:22px 0; color:#fff; }
.stats-banner__inner{ max-width:1100px; margin:0 auto; padding:0 16px; display:grid; grid-template-columns:repeat(4,1fr); gap:18px; align-items:center; }
.stats-banner__item{ display:flex; align-items:center; gap:10px; }
.stats-banner__item i{ font-size:42px; color:#23b15a; }
.stats-banner__value{ font-size:38px; font-weight:800; }
.stats-banner__label{ font-size:14px; letter-spacing:.6px; }

/* Titre et barre d'état (alignés sur chercheurs) */
.page-title h1{ margin:0; font-size:28px; font-weight:800; color:#212121; }
.page-title .strong{ color:#1e1e1e; letter-spacing:.5px; }
.page-title .underline{ width:140px; height:6px; background:#23b15a; margin:6px 0 16px 0; }
.status-bar{ margin:8px 0 12px; }
.status-button{ background:#23b15a; color:#fff; border:none; border-radius:4px; padding:10px 14px; font-weight:700; cursor:pointer; }
.status-button .caret{ font-weight:900; margin-left:6px; }

/* Bloc filtres identique aux chercheurs */
.filters{ border:1px solid #23b15a; padding:14px; border-radius:4px; margin-bottom:16px; }
.filters form{ display:grid; grid-template-columns:1fr; gap:10px; }
.filter-input{ height:46px; border:1px solid #e0e0e0; border-radius:6px; padding:0 14px; font-size:14px; }
.filter-select{ height:46px; border:1px solid #d0d0d0; border-radius:6px; padding:0 12px; font-size:14px; background:#fff; }
.submit-button{ height:50px; background:#23b15a; color:#fff; border:none; border-radius:6px; font-weight:800; font-size:16px; cursor:pointer; }

/* ========== Carte PARTENARIAT ========== */
.partner-card{
  max-width:100%;
  margin:16px 12px 24px;   /* marges latérales fines */
  border:1px solid #23b15a;
  border-radius:4px;
  background:#fff;
  padding:14px;
}

/* Version non réduite (bureau plus large) */
.partner-card.wide{ max-width:100%; }

.partner-title{
  font-size:22px;
  font-weight:800;
  margin:0 0 10px;        
  position:relative;
  letter-spacing:.2px;
}
.partner-title::after{
  content:"";
  position:absolute;
  left:0; bottom:-6px;      
  width:60px; height:4px;
  background:var(--green);
  border-radius:3px;
}

.partner-form{ margin-top:18px; }
.form-row{ margin-bottom:var(--gap); }

.input,
.select{
  width:100%;
  height:46px;                   
  padding:10px 12px;
  border:1px solid #e0e0e0;          
  border-radius:6px;
  background:#fff;
  color:var(--text);
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
  appearance:none;
}
.select{
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 22px) 19px,
    calc(100% - 16px) 19px,
    100% 0;
  background-size:6px 6px, 6px 6px, 2.5rem 2.5rem;
  background-repeat:no-repeat;
}
.input::placeholder{ color:#9aa3a9; }
.input:focus,
.select:focus{
  border-color:#23b15a;
  box-shadow:0 0 0 3px rgba(35,177,90,.14);
}

.btn-primary{
  width:100%;
  height:50px;                      
  border:none;
  border-radius:6px;
  background:#23b15a;
  color:#fff;
  font-weight:700;
  font-size:16px;
  cursor:pointer;
  transition:background .15s ease, transform .02s ease;
}
.btn-primary:hover{ background:#1ea152; }
.btn-primary:active{ transform:translateY(1px); }

/* ========== Grille responsive ========== */
.grid-2{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--gap);
}
.span-2{ grid-column:1 / -1; }

/* Bureau: 2 colonnes, recherche et bouton sur 2 colonnes */
@media (min-width:768px){
  .grid-2{
    grid-template-columns:1fr 1fr;
    gap:16px;
  }
  .span-2{ grid-column:1 / 3; }
  .input{ height:46px; }
}

/* Très grand écran */
@media (min-width:1200px){
  .partner-card.wide{ max-width:980px; }
}

/* Petits écrans */
@media (max-width:480px){
  .partner-card{ margin:12px 12px 20px; padding:16px; }
  .partner-title{ font-size:20px; }
  .btn-primary{ height:46px; }
}

/* ertyuiop  pour les partenaires trouvés*/
/* Section */
.agreements{
  margin: 12px auto 28px;
  max-width: 1200px;
  padding: 0 16px;
}
.agreements-title{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: #243035;
  position: relative;
}
.agreements-title::after{
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 60px; height: 4px;
  background: #2dbf62;
  border-radius: 3px;
}

/* Grille */
.agreements-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px){
  .agreements-grid{
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

/* Carte */
.agreement-card{
  background: #f5f6f6;
  border: 1px solid #cfe9d5;
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.agreement-title{
  display: inline-block;
  color: #238f44;              
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.25;
  margin-bottom: 8px;
}
.agreement-title:hover{ 
  text-decoration: underline; 
}

/* Domaine / tags */
.agreement-meta{
  margin: 0;
  color: #364046;
  font-size: 15px;
}
.tag{
  display: inline-block;
  margin-left: 6px;
  margin-top: 6px;
  background: #ffffff;
  border: 1px solid #d9e6dc;
  color: #1e2c22;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

/* Petits écrans: compacter légèrement */
@media (max-width: 480px){
  .agreement-card{ padding: 12px 12px; }
  .agreements{ padding: 0 12px; }
}


