/* =========================================================
   MANOIRS — SALON D’AUTOMNE 2026
   Extension de loi-manoirs-2026.css

   Ce fichier ne modifie pas :
   - la largeur générale de la page ;
   - la typographie MANOIRS ;
   - les emblèmes ;
   - l’en-tête institutionnel ;
   - les tailles de titres de la page Loi.
   ========================================================= */


/* ---------------------------------------------------------
   VARIABLES SPÉCIFIQUES
   --------------------------------------------------------- */

:root {
  --salon-green-light: #22c98c;
  --salon-green: #0d9c6b;
  --salon-green-dark: #07523b;

  --salon-line: rgba(255, 255, 255, 0.18);
  --salon-text-soft: rgba(255, 255, 255, 0.72);
  --salon-text-muted: rgba(255, 255, 255, 0.48);
}


/* ---------------------------------------------------------
   PAGE

   La structure générale est volontairement laissée
   à .law-wrap dans loi-manoirs-2026.css
   --------------------------------------------------------- */

.salon-page {
  /* Aucun changement de largeur, police ou alignement général. */
}


/* ---------------------------------------------------------
   EN-TÊTE

   Les classes law-head, law-emblems, law-id et law-title
   restent entièrement pilotées par loi-manoirs-2026.css.
   --------------------------------------------------------- */

.salon-kicker {
  margin: 2rem 0 0.7rem;
  color: var(--salon-text-muted);
}

.salon-edition {
  margin: 0.6rem 0 0;
  color: var(--salon-text-soft);
}

.salon-intro {
  max-width: 720px;
  margin: 1.8rem 0 0;
  line-height: 1.65;
}


/* ---------------------------------------------------------
   APPEL À CONTRIBUTION
   --------------------------------------------------------- */

.salon-cta {
  max-width: 720px;
}

.salon-cta--hero {
  margin-top: 2rem;
}

.salon-cta__text {
  margin: 0 0 1rem;
  color: var(--salon-text-soft);
  line-height: 1.6;
}


/* ---------------------------------------------------------
   BOUTON ULULE

   Seul élément volontairement plus visible.
   La police reste héritée du site.
   --------------------------------------------------------- */

.btn-ulule {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 14px 24px;

  border: 1px solid rgba(126, 255, 205, 0.4);
  border-radius: 7px;

  background:
    linear-gradient(
      135deg,
      var(--salon-green-light) 0%,
      var(--salon-green) 52%,
      var(--salon-green-dark) 100%
    );

  color: #ffffff !important;

  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;

  box-shadow:
    0 8px 22px rgba(0, 137, 89, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);

  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.btn-ulule:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);

  box-shadow:
    0 11px 28px rgba(0, 150, 98, 0.31),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ulule:active {
  transform: translateY(0);
}

.btn-ulule:focus-visible {
  outline: 2px solid #86ffd2;
  outline-offset: 4px;
}


/* ---------------------------------------------------------
   FILET PRINCIPAL
   --------------------------------------------------------- */

.salon-rule {
  width: 100%;
  height: 1px;
  margin: 3rem 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--salon-line) 12%,
      var(--salon-line) 88%,
      transparent
    );
}


/* ---------------------------------------------------------
   IMAGE PRINCIPALE
   --------------------------------------------------------- */

.salon-hero {
  margin: 0 0 4rem;
}

.salon-hero img {
  display: block;
  width: 100%;
  height: auto;

  border: 1px solid var(--salon-line);
  background: #080808;
}

.salon-hero figcaption {
  margin-top: 0.75rem;

  color: var(--salon-text-muted);
  line-height: 1.5;
}


/* ---------------------------------------------------------
   SECTIONS

   Aucune nouvelle taille de police imposée.
   Les textes héritent de la page Loi.
   --------------------------------------------------------- */

.salon-section {
  margin: 0;
}

.salon-section__number {
  margin: 0 0 0.6rem;
  color: var(--salon-text-muted);
}

.salon-section__title {
  margin: 0 0 1.8rem;

  /*
   * Reprise volontaire de la logique typographique
   * de la page Loi sans agrandissement spécifique.
   */
  color: inherit;
}

.salon-prose {
  max-width: 720px;
}

.salon-prose p {
  margin: 0 0 1.3rem;
  line-height: 1.7;
}

.salon-prose p:last-child {
  margin-bottom: 0;
}

.salon-lead {
  font-weight: 600;
}


/* ---------------------------------------------------------
   SÉPARATEURS ENTRE LES PARTIES
   --------------------------------------------------------- */

.salon-separator {
  display: flex;
  align-items: center;
  gap: 1rem;

  margin: 3.5rem 0;

  color: var(--salon-text-muted);
  text-align: center;
}

.salon-separator::before,
.salon-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--salon-line);
}


/* ---------------------------------------------------------
   CITATION
   --------------------------------------------------------- */

.salon-quote {
  margin: 2.2rem 0;
  padding: 0.2rem 0 0.2rem 1.5rem;

  border-left: 1px solid var(--salon-green);
}

.salon-quote p {
  margin: 0;
  line-height: 1.65;
}


/* ---------------------------------------------------------
   BUDGET
   --------------------------------------------------------- */

.salon-budget {
  max-width: 720px;

  margin-top: 2.5rem;
  padding: 1.6rem;

  border: 1px solid var(--salon-line);
  background: rgba(255, 255, 255, 0.025);
}

.salon-budget__title {
  margin: 0 0 1.4rem;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
}

.salon-budget__list {
  margin: 0;
}

.salon-budget__entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;

  padding: 0.9rem 0;

  border-top: 1px solid var(--salon-line);
}

.salon-budget__entry dt,
.salon-budget__entry dd {
  margin: 0;
  line-height: 1.5;
}

.salon-budget__entry dd {
  color: var(--salon-text-soft);
  text-align: right;
  white-space: nowrap;
}

.salon-budget__entry--total {
  margin-top: 0.5rem;
  padding-top: 1.2rem;

  border-top-color: rgba(34, 201, 140, 0.6);
}

.salon-budget__entry--total dt,
.salon-budget__entry--total dd {
  color: var(--salon-green-light);
  font-weight: 600;
}

.salon-budget__note {
  margin: 1.2rem 0 0;
  color: var(--salon-text-muted);
  line-height: 1.55;
}


/* ---------------------------------------------------------
   CONTREPARTIES
   --------------------------------------------------------- */

.salon-rewards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;

  margin-top: 2.5rem;
}

.salon-reward {
  padding: 1.4rem;

  border: 1px solid var(--salon-line);
  background: rgba(255, 255, 255, 0.025);
}

.salon-reward__amount {
  margin: 0 0 1rem;

  color: var(--salon-green-light);
  font-weight: 600;
}

.salon-reward__title {
  margin: 0 0 0.8rem;

  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
}

.salon-reward p:last-child {
  margin-bottom: 0;

  color: var(--salon-text-soft);
  line-height: 1.6;
}


/* ---------------------------------------------------------
   APPEL FINAL

   Même largeur et même logique que le reste de la page.
   Pas de bloc géant centré.
   --------------------------------------------------------- */

.salon-final {
  margin-top: 4rem;
  padding: 2.5rem 0;

  border-top: 1px solid var(--salon-line);
  border-bottom: 1px solid var(--salon-line);
}

.salon-final__symbol {
  margin: 0 0 1.3rem;
  color: var(--salon-text-muted);
}

.salon-final__title {
  margin: 0 0 1.5rem;
  font-family: inherit;
}

.salon-final__text {
  max-width: 720px;
  margin: 0 0 1.6rem;
  line-height: 1.7;
}

.salon-final__thanks {
  max-width: 720px;

  margin: 1.4rem 0 0;

  color: var(--salon-text-muted);
  line-height: 1.6;
}


/* ---------------------------------------------------------
   SIGNATURE DE PAGE
   --------------------------------------------------------- */

.salon-signature {
  margin-top: 3.5rem;
  padding-top: 0;

  color: var(--salon-text-muted);
  line-height: 1.65;
  text-align: left;
}

.salon-signature p {
  margin: 0 0 0.7rem;
}

.salon-signature__name {
  color: inherit;
  font-weight: 600;
}

.salon-signature__glyphs {
  margin-top: 1.5rem !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

  .salon-intro {
    margin-top: 1.4rem;
  }

  .salon-cta--hero {
    margin-top: 1.6rem;
  }

  .btn-ulule {
    width: 100%;
    min-height: 50px;
    padding: 13px 16px;
  }

  .salon-rule {
    margin: 2.5rem 0;
  }

  .salon-hero {
    margin-bottom: 3rem;
  }

  .salon-separator {
    margin: 3rem 0;
  }

  .salon-budget {
    padding: 1.2rem;
  }

  .salon-budget__entry {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .salon-budget__entry dd {
    text-align: left;
  }

  .salon-rewards {
    grid-template-columns: 1fr;
  }

  .salon-final {
    margin-top: 3rem;
    padding: 2rem 0;
  }

}


/* ---------------------------------------------------------
   ACCESSIBILITÉ
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .btn-ulule {
    transition: none;
  }

}

/* ---------------------------------------------------------
   INVITATION AU VERNISSAGE
   --------------------------------------------------------- */

.salon-invitation {
  max-width: 720px;

  margin-top: 2.5rem;
  padding: 1.6rem;

  border: 1px solid var(--salon-line);
  background: rgba(255, 255, 255, 0.025);
}

.salon-invitation__symbol {
  margin: 0 0 0.8rem;
  color: var(--salon-green-light);
}

.salon-invitation__title {
  margin: 0 0 1.2rem;

  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
}

.salon-invitation p {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.salon-invitation__link {
  display: inline-block;
  margin-top: 0.4rem;

  color: var(--salon-green-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 201, 140, 0.45);
}

.salon-invitation__link:hover {
  border-bottom-color: var(--salon-green-light);
}

@media (max-width: 700px) {

  .salon-invitation {
    padding: 1.2rem;
  }

}
.btn-ulule--disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.72;
  filter: grayscale(0.25);
}