/* Composants réutilisables : surtitre, séparateur, boutons, liens, monogramme.
   Sobres et intégrés : pas de cartes, pas de pilules, pas d'ombres. */

/* Surtitre : petites capitales très espacées */
.eyebrow {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.38em;
  text-indent: 0.38em; /* recentre optiquement malgré l'espace final */
  text-transform: uppercase;
  color: var(--taupe-dark);
}

/* Prénoms calligraphiés */
/* Prénoms : calligraphie, dans le doré antique des initiales de l'écusson.
   Le dégradé est à peine perceptible : il rappelle la dorure posée à la main. */
.names {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3rem, 11vw, 5.5rem);
  line-height: 1.05;
  color: var(--gold-deep);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .names {
    background-image: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 38%, #8F6C34 64%, #9A763A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.names__amp {
  display: block;
  font-size: 0.55em;
  line-height: 1;
}

/* Information pratique en capitales serif espacées */
.caps {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
}

/* Séparateur : deux filets et un losange */
.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem auto;
  color: var(--taupe);
}

.separator::before,
.separator::after {
  content: "";
  width: 3.5rem;
  height: 1px;
  background: currentColor;
}

.separator > span {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

/* Bouton : texte en capitales, filet fin, aucun arrondi */
.button {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border: 1px solid var(--olive);
  background: transparent;
  color: var(--olive);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 600ms var(--ease-out), color 600ms var(--ease-out);
}

.button:hover {
  background: var(--olive);
  color: var(--ivory);
}

.button--plain {
  border-color: transparent;
  padding-inline: 0;
  border-bottom-color: currentColor;
}

.button--plain:hover {
  background: transparent;
  color: var(--anthracite);
}

/* Lien dans le texte */
.link {
  color: var(--olive);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color 400ms var(--ease-out);
}

.link:hover {
  color: var(--anthracite);
}

/* Blason-monogramme : SVG décoratif + initiales en HTML */
.monogram {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--monogram-size, 11rem);
  aspect-ratio: 1;
  margin-inline: auto;
}

.monogram > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.monogram__initials {
  position: relative;
  margin: 0;
  transform: translateY(-6%);
  font-family: var(--font-script);
  font-size: calc(var(--monogram-size, 11rem) * 0.2);
  line-height: 1;
  color: var(--olive);
  white-space: nowrap;
}

.monogram__initials span {
  font-size: 0.6em;
  margin-inline: 0.12em;
}
