/* =====================================================
   AVANTAGES LICENCIÉS — FC Luy de Béarn
   ===================================================== */

/* ── Hero ── */
.page-avantages .avantages-hero,
.page-proposer-avantage .avantages-hero {
  background: #2A5C1E;
  padding: clamp(40px,5vw,60px) var(--fclb-gutter, clamp(20px,5vw,80px));
}
.avantages-hero__inner { max-width: 760px; }
.avantages-eyebrow {
  display: block;
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9FDF6A;
  margin-bottom: 10px;
}
.avantages-hero__title {
  font-size: clamp(28px,3.5vw + 14px,44px);
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.avantages-hero__sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 14px;
}
.avantages-hero__intro {
  font-size: clamp(15px,0.8vw + 13px,16px);
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin: 0;
}

/* ── Message de confirmation ── */
.avantages-confirmation {
  margin: 20px var(--fclb-gutter, clamp(20px,5vw,80px)) 0;
  background: #EAF3DE;
  color: #2A5C1E;
  border: 1px solid #C0DD97;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
}
.avantages-alerte {
  background: #FCEBEB;
  color: #791F1F;
  border: 1px solid #F09595;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 15px;
  margin-bottom: 24px;
}

/* ── Filtres ── */
.avantages-filters-wrap {
  padding: 24px var(--fclb-gutter, clamp(20px,5vw,80px)) 0;
}
.avantages-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.avantages-filter {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  background: #F1EFE8;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s;
}
.avantages-filter:hover { background: #EAF3DE; color: #2A5C1E; }
.avantages-filter--active { background: #2A5C1E; color: #fff; }

/* ── Grille ── */
.avantages-content { padding: 28px var(--fclb-gutter, clamp(20px,5vw,80px)) clamp(40px,5vw,56px); }
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.avantage-card {
  background: #fff;
  border: 0.5px solid #DDE8D5;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.avantage-card__logo {
  width: 100%;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}
.avantage-card__cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  background: #EAF3DE;
  color: #2A5C1E;
}
.avantage-card__cat--restauration { background: #FAEEDA; color: #854F0B; }
.avantage-card__cat--sante { background: #E6F1FB; color: #0C447C; }
.avantage-card__cat--services_pro { background: #EEEDFE; color: #3C3489; }
.avantage-card__cat--services { background: #F1EFE8; color: #444441; }
.avantage-card__cat--loisirs { background: #FBEAF0; color: #72243E; }
.avantage-card__cat--autre { background: #F1EFE8; color: #444441; }
.avantage-card__entreprise {
  font-size: 15px;
  font-weight: 500;
  color: #111;
  margin: 0 0 4px;
}
.avantage-card__offre {
  font-size: 14px;
  color: #2A5C1E;
  font-weight: 600;
  margin: 0 0 8px;
}
.avantage-card__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  margin: 0 0 14px;
  flex: 1;
}
.avantage-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 0.5px solid #E8EDE3;
}
.avantage-card__code {
  font-family: monospace;
  font-size: 12px;
  background: #F1EFE8;
  color: #333;
  padding: 3px 8px;
  border-radius: 4px;
}
.avantage-card__code--none {
  font-family: var(--font-body, sans-serif);
  font-style: italic;
  color: #999;
  background: transparent;
  padding: 0;
}
.avantage-card__validite { font-size: 11px; color: #999; white-space: nowrap; }
.avantage-card__site {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #2A5C1E;
  font-weight: 600;
  text-decoration: none;
}
.avantage-card__site:hover { text-decoration: underline; }

/* ── État vide ── */
.avantages-vide { text-align: center; padding: clamp(40px,6vw,64px) 0; }
.avantages-vide__titre { font-size: 20px; font-family: var(--font-heading); font-weight: 700; color: #111; margin: 0 0 8px; }
.avantages-vide__texte { font-size: 15px; color: #666; margin: 0; }

/* ── CTA proposer ── */
.avantages-cta { background: #1B2618; padding: clamp(32px,4vw,48px) var(--fclb-gutter, clamp(20px,5vw,80px)); }
.avantages-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.avantages-cta h2 { font-size: clamp(18px,1.6vw + 14px,22px); font-family: var(--font-heading); font-weight: 700; color: #fff; margin: 0 0 6px; }
.avantages-cta p { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; }
.avantages-cta__btn {
  background: #9FDF6A;
  color: #1B2618;
  font-size: 15px;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.avantages-cta__btn:hover { opacity: 0.85; }

/* ── Formulaire de dépôt ── */
.page-proposer-avantage .avantages-form-section {
  padding: clamp(32px,5vw,48px) var(--fclb-gutter, clamp(20px,5vw,80px));
}
.avantages-form-wrap { max-width: 760px; margin: 0 auto; }
.avantages-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.avantages-form__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #333; }
.avantages-form__field--full { grid-column: 1 / -1; }
.avantages-form__field em { font-weight: 400; font-style: italic; color: #888; font-size: 12px; }
.avantages-form__field input,
.avantages-form__field select,
.avantages-form__field textarea {
  border: 1px solid #DDE8D5;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  color: #111;
  background: #fff;
}
.avantages-form__field input:focus,
.avantages-form__field select:focus,
.avantages-form__field textarea:focus {
  outline: none;
  border-color: #2A5C1E;
}
.avantages-form__field textarea { resize: vertical; }
.avantages-form__submit {
  background: #2A5C1E;
  color: #fff;
  font-size: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 13px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.avantages-form__submit:hover { background: #1B3D12; }
.avantages-form__note { font-size: 12px; color: #888; margin-top: 12px; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .avantages-form__grid { grid-template-columns: 1fr; }
  .avantages-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* =====================================================
   Fiche détail d'un avantage — single-avantage_partenaire.php
   ===================================================== */
.avantage-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px var(--fclb-gutter, clamp(20px,5vw,80px)) 80px;
}
.avantage-retour {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #2A5C1E;
  text-decoration: none;
}
.avantage-retour:hover { text-decoration: underline; }
.avantage-detail-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
}
.avantage-detail-logo-wrap {
  background: #F5F8F2;
  border: 0.5px solid #DDE8D5;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}
.avantage-detail-logo { width: 100%; height: 100%; object-fit: contain; }
.avantage-detail-logo-placeholder {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #EAF3DE;
  color: #2A5C1E;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avantage-detail-entreprise {
  font-size: clamp(24px,2.5vw + 14px,34px);
  font-family: var(--font-heading);
  font-weight: 700;
  color: #111;
  margin: 10px 0 4px;
}
.avantage-detail-offre {
  font-size: clamp(17px,1vw + 14px,19px);
  color: #2A5C1E;
  font-weight: 600;
  margin: 0 0 16px;
}
.avantage-detail-desc {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}
.avantage-detail-box {
  background: #F5F8F2;
  border: 0.5px solid #DDE8D5;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.avantage-detail-box__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.avantage-detail-box__label { font-size: 13px; color: #666; font-weight: 600; }
.avantage-detail-contact {
  border-top: 0.5px solid #E8EDE3;
  padding-top: 20px;
}
.avantage-detail-contact h2 {
  font-size: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}
.avantage-detail-contact p { font-size: 14px; color: #444; margin: 0 0 6px; }
.avantage-detail-contact__link {
  display: block;
  font-size: 14px;
  color: #2A5C1E;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 6px;
}
.avantage-detail-contact__link:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .avantage-detail-layout { grid-template-columns: 1fr; }
  .avantage-detail-logo-wrap { max-width: 180px; }
}