@font-face {
  font-family: 'cerapro-black';
  src: url('../asset/font/cera-pro-black\ 2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'cerapro-medium';
  src: url('../asset/font/cera-pro-medium\ 2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      height: 100%;
      font-family: 'cerapro-medium', sans-serif;
    }

    a{
      color: black;
    } 

    .container {
      display: flex;
      flex-direction: column;
      height: 100vh;
    }

    header, footer {
      height: 10vh;
      background-color: #fff;
      color: black;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'cerapro-black', sans-serif;
    }

    main {
      flex: 1;
      background-color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
    }

header {
  height: 8vh;
  background-color: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  border-bottom: #000 solid 1px;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 1rem;
}

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.header-right a {
  margin-right: 3vh;
  color: #000;
  text-decoration: none;
  margin-left: 2rem;
  font-size: 1rem;
  transition: color 0.2s;
}

.header-right a:hover {
  color: #FFA600;
}

footer {
  height: 8vh;
  background-color: #fff;
  color: #000;
  display: flex;
  align-items: center; /* Centre verticalement */
  justify-content: space-between;
  padding: 0 2rem;
  font-size: 1rem;
  border-top: #000 solid 1px;
  position: relative;
}

.footer-center {
  text-align: center;
  flex: 1;
}

.footer-left {
  text-align: left;
}

.footer-center:hover {
  color: #FFA600;
}

.footer-right {
  text-align: right;
}

.legal-main {
    flex: 1;
    background-color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10rem;
    overflow: hidden;
}

.legal-content {
    max-width: 900px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.legal-content h1 {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid #FFA600;
    padding-bottom: 0.5rem;
    font-family: 'cerapro-black', sans-serif;
}

.legal-content h2 {
    font-size: 1rem;
    color: #010326;
    margin-bottom: 0.2rem;
    margin-top: 0.4rem;
    border-left: 4px solid #FFA600;
    padding-left: 0.8rem;
    font-family: 'cerapro-black', sans-serif;
}

.legal-sections-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    flex: 1;
}

.legal-section {
    margin-bottom: 0.4rem;
}

.legal-section p {
    line-height: 1.3;
    margin-bottom: 0.2rem;
    color: #000;
    text-align: justify;
    font-size: 0.85rem;
}

.legal-section .intro {
    font-style: italic;
    background-color: #010326;
    color: white;
    padding: 0.8rem;
    border-radius: 5px;
    border-left: 4px solid #FFA600;
    font-size: 0.8rem;
    grid-column: 1 / -1;
}

.legal-footer {
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.legal-footer p {
    font-size: 0.75rem;
    color: #888;
}

