@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.4;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote::before, blockquote::after,
q::before, q::after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  cursor: pointer;
}

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

@font-face {
  font-family: "Parisine";
  src: url("../font/parisine-regular/parisine-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../font/raleway/Raleway-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../font/raleway/Raleway-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../font/raleway/Raleway-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../font/raleway/Raleway-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../font/raleway/Raleway-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
body.admin {
  margin: 0;
  background: #0b0c14;
  color: #f4f5f7;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

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

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #12141f;
  border-right: 1px solid #262a3d;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  margin-bottom: 40px;
}

.sidebar__roundel {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffcd00;
  color: #0b0c14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Parisine", "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.sidebar__brand-text {
  font-family: "Parisine", "Raleway", sans-serif;
  font-size: 17px;
  letter-spacing: 0.5px;
}
.sidebar__brand-text em {
  font-style: normal;
  color: #9297ab;
}

.sidebar__nav {
  flex: 1;
  position: relative;
  padding-left: 24px;
}

.sidebar__nav::before {
  content: "";
  position: absolute;
  left: calc(24px + 5px);
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #262a3d;
}

.sidebar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 16px 16px 0;
  color: #9297ab;
  font-weight: 500;
  transition: color 0.15s;
}

.sidebar__stop {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #12141f;
  border: 2px solid #262a3d;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.15s;
}

.sidebar__link:hover {
  color: #f4f5f7;
}

.sidebar__link.is-active {
  color: #f4f5f7;
  font-weight: 700;
}

.sidebar__link.is-active .sidebar__stop {
  background: #ffcd00;
  border-color: #ffcd00;
  box-shadow: 0 0 0 4px rgba(255, 205, 0, 0.2);
}

.sidebar__user {
  padding: 16px 24px 0;
  border-top: 1px solid #262a3d;
  margin-top: 16px;
}

.sidebar__user-name {
  font-size: 12px;
  color: #9297ab;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.sidebar__logout {
  font-size: 13px;
  color: #e3051c;
  font-weight: 600;
}

.admin-shell__main {
  flex: 1;
  min-width: 0;
}

.topbar__toggle {
  display: none;
  background: none;
  border: none;
  color: #f4f5f7;
  font-size: 22px;
  padding: 16px;
}

.admin-content {
  padding: 40px;
  max-width: 1200px;
}

@media screen and (max-width: 991px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    transition: transform 0.2s;
    z-index: 10;
  }
  .admin-shell.is-sidebar-open .sidebar {
    transform: translateX(0);
  }
  .topbar__toggle {
    display: block;
  }
  .admin-content {
    padding: 24px;
  }
}
.ligne-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ligne-color, #ffcd00);
  color: #fff;
  font-family: "Parisine", "Raleway", sans-serif;
  font-weight: 700;
  font-size: 14px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.ligne-badge--sm {
  min-width: 28px;
  height: 28px;
  font-size: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  background: #181b2a;
  color: #f4f5f7;
  transition: filter 0.15s, background-color 0.15s;
}

.btn:hover {
  filter: brightness(1.2);
}

.btn--primary {
  background: #ffcd00;
  color: #0b0c14;
}

.btn--danger {
  background: transparent;
  border-color: #e3051c;
  color: #e3051c;
}

.btn--danger:hover {
  background: #e3051c;
  color: #fff;
  filter: none;
}

.btn--ghost {
  background: transparent;
  border-color: #262a3d;
}

.btn--icon {
  padding: 8px;
  width: 36px;
  height: 36px;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

.form-card {
  background: #12141f;
  border: 1px solid #262a3d;
  border-radius: 12px;
  padding: 24px;
  max-width: 640px;
}

.form__field {
  margin-bottom: 16px;
}

.form__field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #9297ab;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__field input[type=text],
.form__field input[type=time],
.form__field textarea,
.form__field select {
  width: 100%;
  padding: 10px 8px;
  background: #0b0c14;
  border: 1px solid #262a3d;
  border-radius: 6px;
  color: #f4f5f7;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: #ffcd00;
}

.form__field textarea {
  min-height: 100px;
  resize: vertical;
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form__checkbox input {
  width: 18px;
  height: 18px;
}

.form__hint {
  font-size: 13px;
  color: #9297ab;
}

.form__hint a {
  color: #ffcd00;
  text-decoration: underline;
}

.form__actions {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

@media screen and (max-width: 767px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.page-head h1 {
  font-family: "Parisine", "Raleway", sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.search-box {
  display: flex;
  gap: 8px;
}

.search-box input[type=search],
.search-box input[type=text] {
  padding: 8px 8px;
  background: #12141f;
  border: 1px solid #262a3d;
  border-radius: 6px;
  color: #f4f5f7;
  font-size: 14px;
  min-width: 220px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #262a3d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #9297ab;
}

.filter-chip.is-active {
  background: #ffcd00;
  border-color: #ffcd00;
  color: #0b0c14;
}

.data-table-wrap {
  background: #12141f;
  border: 1px solid #262a3d;
  border-radius: 12px;
  overflow: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9297ab;
  padding: 16px;
  border-bottom: 1px solid #262a3d;
  white-space: nowrap;
}

.data-table td {
  padding: 16px;
  border-bottom: 1px solid #262a3d;
  font-size: 14px;
  vertical-align: middle;
}

.data-table tbody tr {
  border-left: 3px solid var(--row-color, transparent);
}

.data-table tbody tr:nth-child(even) {
  background: #181b2a;
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.data-table time,
.data-table .mono {
  font-family: ui-monospace, "SF Mono", "Courier New", monospace;
}

.data-table__actions {
  display: flex;
  gap: 8px;
}

.data-table__actions form {
  display: inline-block;
}

.data-table__empty {
  padding: 40px;
  text-align: center;
  color: #9297ab;
}

.alert {
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
}

.alert--success {
  background: rgba(0, 129, 79, 0.15);
  color: #4fd39a;
  border: 1px solid rgba(0, 129, 79, 0.4);
}

.alert--error {
  background: rgba(227, 5, 28, 0.15);
  color: #ff7a86;
  border: 1px solid rgba(227, 5, 28, 0.4);
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0c14;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: #12141f;
  border: 1px solid #262a3d;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.login-card__roundel {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffcd00;
  color: #0b0c14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Parisine", "Raleway", sans-serif;
  font-weight: 700;
  font-size: 26px;
  margin: 0 auto 16px;
}

.login-card h1 {
  font-family: "Parisine", "Raleway", sans-serif;
  font-size: 20px;
  margin-bottom: 4px;
}

.login-card__subtitle {
  color: #9297ab;
  font-size: 13px;
  margin-bottom: 24px;
}

.login-card .form__field {
  text-align: left;
}

.login-card .btn {
  width: 100%;
  margin-top: 8px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.stat-card {
  background: #12141f;
  border: 1px solid #262a3d;
  border-top: 3px solid var(--stat-color, #ffcd00);
  border-radius: 12px;
  padding: 24px;
}

.stat-card__value {
  font-family: "Parisine", "Raleway", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.stat-card__label {
  margin-top: 8px;
  color: #9297ab;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ffcd00;
}

.route {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #9297ab;
  font-size: 13px;
}

.route strong {
  color: #f4f5f7;
  font-weight: 600;
}

.motif-preview {
  display: inline-block;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.interrompu-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.interrompu-flag--yes {
  color: #e3051c;
}

.interrompu-flag--no {
  color: #9297ab;
}

body {
  margin: 0;
  background: #0b0c14;
  color: #f4f5f7;
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
}

/* ---------------------------------- header / nav ---------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  padding: 16px 24px;
  background: linear-gradient(rgba(11, 12, 20, 0.85), rgba(11, 12, 20, 0));
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand__roundel {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffcd00;
  color: #0b0c14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Parisine", "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.brand__text {
  font-family: "Parisine", "Raleway", sans-serif;
  color: #f4f5f7;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.brand__text em {
  font-style: normal;
  color: #9297ab;
}

.left-nav {
  position: fixed;
  z-index: 3000;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
}

.left-nav ul {
  position: relative;
  padding-left: 5px;
}

.left-nav ul::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(244, 245, 247, 0.2);
}

.left-nav li {
  margin-bottom: 16px;
}

.left-nav .stop {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #12141f;
  border: 2px solid rgba(244, 245, 247, 0.4);
  position: relative;
  z-index: 1;
  transition: all 0.2s;
}

.left-nav a:hover .stop {
  background: #ffcd00;
  border-color: #ffcd00;
  box-shadow: 0 0 0 4px rgba(255, 205, 0, 0.25);
}

/* ---------------------------------- animation flèche ---------------------------------- */
@-webkit-keyframes wobble {
  16.65% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
  33.3% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
  49.95% {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
  }
  66.6% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  83.25% {
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes wobble {
  16.65% {
    transform: translateY(8px);
  }
  33.3% {
    transform: translateY(-6px);
  }
  49.95% {
    transform: translateY(4px);
  }
  66.6% {
    transform: translateY(-2px);
  }
  83.25% {
    transform: translateY(1px);
  }
  100% {
    transform: translateY(0);
  }
}
.wobble {
  display: inline-block;
  transform: translateZ(0);
}

.wobble:hover {
  animation-name: wobble;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* ---------------------------------- page one (hero) ---------------------------------- */
.page-one {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-one video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  background-size: cover;
  z-index: 0;
}

.page-one__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(11, 12, 20, 0.55) 0%, rgba(11, 12, 20, 0.88) 100%);
  z-index: 1;
}

.page-one__content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.page-one h1 {
  font-family: "Parisine", "Raleway", sans-serif;
  text-transform: uppercase;
  font-size: 38px;
  font-weight: 700;
  max-width: 780px;
  margin: 0 auto 40px;
  line-height: 1.3;
  color: #f4f5f7;
}

.page-one h1 b {
  color: #ffcd00;
  font-weight: 700;
}

.bouton {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-one .btn--ghost {
  border-color: rgba(244, 245, 247, 0.4);
  color: #f4f5f7;
}

/* ---------------------------------- page two ---------------------------------- */
.page-two {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(11, 12, 20, 0.82), rgba(11, 12, 20, 0.92)), url("../img/back-2.jpg") center/cover no-repeat;
  padding: 40px 24px;
}

.page-two__content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.page-two h2 {
  font-family: "Parisine", "Raleway", sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #f4f5f7;
}

.page-two p {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #9297ab;
}

.arrow {
  margin-top: 40px;
}

.arrow img {
  width: 44px;
  margin: 0 auto;
  display: block;
}

/* ---------------------------------- page three ---------------------------------- */
.page-three {
  padding: 60px 24px;
  background: #0b0c14;
  text-align: center;
}

.page-three h2 {
  font-family: "Parisine", "Raleway", sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #f4f5f7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: #12141f;
  border: 1px solid #262a3d;
  border-top: 3px solid var(--feature-color, #ffcd00);
  border-radius: 12px;
  padding: 40px 16px;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--feature-color, #ffcd00);
  color: #fff;
  font-family: "Parisine", "Raleway", sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: "Parisine", "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #f4f5f7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------------------------------- page four ---------------------------------- */
.page-four {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(11, 12, 20, 0.85), rgba(11, 12, 20, 0.93)), url("../img/back-wait.jpg") center/cover no-repeat;
  padding: 40px 24px;
}

.page-four h2 {
  font-family: "Parisine", "Raleway", sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #f4f5f7;
}

/* ---------------------------------- responsive ---------------------------------- */
@media screen and (max-width: 991px) {
  .page-one h1 {
    font-size: 30px;
  }
}
@media screen and (max-width: 767px) {
  .left-nav {
    display: none;
  }
  .page-one h1 {
    font-size: 26px;
  }
  .bouton {
    flex-direction: column;
    align-items: center;
  }
  .page-two h2,
  .page-four h2 {
    font-size: 28px;
  }
  .page-two p {
    font-size: 16px;
  }
  .page-three h2 {
    font-size: 28px;
  }
}
@media screen and (max-width: 414px) {
  .page-one h1 {
    font-size: 22px;
  }
}
