@font-face {
  font-family: 'VALVE Oracle Medium';
  src:
    url('../polices/valveoracle-medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'VALVE Oracle SemiBold';
  src:
    url('../polices/valveoracle-semibold.ttf ') format('truetype');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'VALVE Pulp';
  src:
    url('../polices/valvepulp-bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --font-main: 'VALVE Oracle SemiBold', sans-serif;
  --font-second: 'VALVE Pulp', sans-serif;
  --primary: #23545b;
  --nav-height: 120px
}

/*html{
scrollbar-gutter: stable
}*/

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
}

/* =============================================
        BANNIERE
    ============================================= */
.banniere {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.contenu_banniere {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-main);
  font-size: 45px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.banniere ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.banniere ul li a {
  font-family: var(--font-main);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  display: block;
}

.banniere ul li a:hover {
  background: var(--primary-lt);
  color: var(--primary);
}

    /* =============================================
       SIDEBAR
    ============================================= */
    .sidebar {
      position: fixed;
      top: 0; right: -400px;
      width: 400px;
      height: 100vh;
      background: var(--white);
      z-index: 200;
      transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
      box-shadow: -4px 0 32px rgba(0,0,0,0.12);
      display: flex;
      flex-direction: column;
      overflow-y: auto;
    }

    .sidebar.active { right: 0; }

    .sidebar-header {
      padding: 1.5rem;
      height: calc(var(--nav-height) + 1px);
      border-bottom: 1px solid #f0f0f0;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .sidebar-header h2 {
       
      font-size: 24px;
      font-weight: 700;
      color: var(--primary);
    }

    .closebtn {
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--muted);
      width: 32px; height: 32px;
      display: flex; align-items: center; justify-content: center;
      border-radius: 6px;
      transition: background 0.2s;
    }
    .closebtn:hover { background: #f5f5f5; }

    #session-area {
      padding: 1rem;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    #session-area .user-greeting {
      padding: 12px 12px 16px;
      font-weight: 500;
      font-size: 20px;
      color: var(--primary);
      border-bottom: 1px solid #f0f0f0;
      margin-bottom: auto;
    }

    #session-area a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 8px;
      font-size: 20px;
      font-weight: 400;
      color: var(--text);
      transition: background 0.15s;
      cursor: pointer;
    }
    #session-area a:hover { background: #f5f5f5; }

    #session-area a.deco {
      margin-top: 8px;
      color: #dc2626;
      border-top: 1px solid #f0f0f0;
      padding-top: 16px;
    }
    #session-area a.deco:hover { background: #fef2f2; }

    #inscription-options {
      margin-left: 16px;
      padding: 4px 0;
      border-left: 2px solid var(--primary-lt);
    }

    /* =============================================
       OVERLAY SIDEBAR
    ============================================= */
    .sidebar-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.35);
      z-index: 150;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    .sidebar-overlay.active {
      opacity: 1;
      pointer-events: all;
    }