/* LEGALS */

body.legal .legal-wrapper{
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;

  text-align: left;
}

body.legal .legal-header{
  flex: 0 0 100%;
  text-align: left;
}

.legal-header h1,
.legal-card h3{
  font-family: var(--font-title);
  color: var(--color-text);
}

.legal-card p{
  font-family: var(--font-body);
  color: var(--color-text);
}

body.legal .legal-card p,
body.legal .legal-card h3{
  text-align: left;
}

.about-hero-dragon-fixed{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: .5rem;
  margin-top: calc(var(--header-height) + .5rem);
  margin-bottom: .5rem;
}

.about-hero-dragon-fixed img{
  width: 300px;
  height: auto;

  object-fit: contain;
}

/* Bouton top */
.btn-top{
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 2000;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-round);
  background: var(--color-accent-2);
  color: var(--color-surface);
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow:
    0 4px 12px
    var(--color-mix-b2881ae7);
  transition:
    transform .25s ease,
    background .25s ease;
}

.btn-top:hover{
  transform: translateY(-3px) scale(1.06);
  background:
    var(--color-mix-991198c4);
}

/* Nav */

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.8rem 0 3.5rem;
}

.legal-nav a {
    display: inline-block;
    padding: 0.55rem 1rem;
    color: #5a8b53;
    background-color: transparent;
    border: 1.5px solid #5a8b53;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
    color: #f1e6ca;
    background-color: #5a8b53;
    transform: translateY(-1px);
}

/* Mail */
.legal-email {
    color: #5a8b53;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(90, 139, 83, 0.35);

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.legal-email:hover,
.legal-email:focus-visible {
    color: #3f673b;
    border-bottom-color: #3f673b;
}