@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  background: #f5f5f5;
  color: #343A40;
}

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

ul {
  list-style: none;
}

h1 {
  margin-bottom: 1rem;
  color: #0C3F8C;
  font-size: 1.8rem;
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
}

h2 {
  margin: 1.5rem 0 0.5rem;
  color: #0C3F8C;
  font-size: 1.4rem;
  font-family: "Segoe UI", sans-serif;
}
@media (max-width: 768px) {
  h2 {
    margin: 0.3rem 0.1rem;
  }
}

h3 {
  margin: 1rem 0 0.5rem;
  color: #0C3F8C;
  font-size: 1.2rem;
  font-family: "Segoe UI", sans-serif;
}

p {
  line-height: 1.6;
  font-family: Arial, sans-serif;
  color: #343A40;
}

hr {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid #ddd;
}

header {
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 1rem;
}
header .header-top .header-logo {
  flex-shrink: 0;
}
header .header-top .header-logo img {
  height: 60px;
  width: auto;
}
header .header-top .header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
header .header-top .header-right .info-user {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  text-align: right;
  line-height: 1.6;
}
header .header-top .header-right .info-user .info-user-bienvenue {
  color: #6C757D;
}
header .header-top .header-right .info-user .info-user-bienvenue strong {
  color: #0C3F8C;
  font-weight: bold;
}
header .header-top .header-right .info-user .info-user-role {
  color: #A243F7;
  font-weight: bold;
}
header .header-top .header-right .info-user .info-user-role::before {
  content: "✦ ";
}
header .header-top .header-right .info-user .info-user-groupe {
  color: #6C757D;
}
header .header-top .header-right .info-user .info-user-groupe::before {
  content: "✦ ";
}
header .header-top .header-right .btn-inscription {
  display: inline-block;
  padding: 0.45rem 1.2rem;
  background: #4A5BFF;
  color: #ffffff;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
header .header-top .header-right .btn-inscription:hover {
  background: rgb(23, 44.7900552486, 255);
  transform: translateY(-1px);
}
header .header-top .header-right .btn-connexion {
  display: inline-block;
  padding: 0.45rem 1.2rem;
  background: #A243F7;
  color: #ffffff;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
header .header-top .header-right .btn-connexion:hover {
  background: rgb(137.8010204082, 18.0816326531, 244.9183673469);
  transform: translateY(-1px);
}
header .header-nav {
  background: #4A5BFF;
  position: relative;
}
header .header-nav .burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.8rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
}
header .header-nav .burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}
header .header-nav .nav-search-mobile {
  display: none;
}
header .header-nav .header-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
header .header-nav .header-nav-inner nav {
  flex: 1;
}
header .header-nav .header-nav-inner nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
}
header .header-nav .header-nav-inner nav ul li {
  position: relative;
}
header .header-nav .header-nav-inner nav ul li a {
  display: block;
  padding: 0.7rem 1rem;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}
header .header-nav .header-nav-inner nav ul li a:hover {
  background: rgba(255, 255, 255, 0.15);
}
header .header-nav .header-nav-inner nav ul li.has-submenu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 200;
  flex-direction: column;
  border-radius: 0 0 6px 6px;
  border-top: 3px solid #A243F7;
}
header .header-nav .header-nav-inner nav ul li.has-submenu .submenu li a {
  padding: 0.6rem 1.2rem;
  color: #343A40;
  font-size: 0.85rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
header .header-nav .header-nav-inner nav ul li.has-submenu .submenu li a:hover {
  background: rgb(253.956122449, 252.8897959184, 254.9102040816);
  color: #A243F7;
  padding-left: 1.5rem;
}
header .header-nav .header-nav-inner nav ul li.has-submenu:hover .submenu {
  display: flex;
}
header .header-nav .header-nav-inner .nav-search-desktop {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
header .header-nav .header-nav-inner .nav-search-desktop button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: #A243F7;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
header .header-nav .header-nav-inner .nav-search-desktop button:hover {
  background: rgb(137.8010204082, 18.0816326531, 244.9183673469);
}
header .header-search {
  background: #f0f0f0;
  border-top: 1px solid #e0e0e0;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: center;
}
header .header-search .search-form {
  width: 100%;
  max-width: 700px;
}
header .header-search .search-input-wrapper {
  display: flex;
  background: #ffffff;
  border-radius: 50px;
  border: 2px solid #4A5BFF;
  overflow: hidden;
  transition: border-color 0.2s;
}
header .header-search .search-input-wrapper:focus-within {
  border-color: #A243F7;
}
header .header-search .search-input-wrapper input {
  flex: 1;
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  color: #343A40;
}
header .header-search .search-input-wrapper button {
  padding: 0.5rem 1rem;
  background: #A243F7;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}
header .header-search .search-input-wrapper button:hover {
  background: rgb(137.8010204082, 18.0816326531, 244.9183673469);
}
@media (max-width: 768px) {
  header .header-top {
    flex-wrap: nowrap;
    align-items: center;
    padding: 0.4rem 1rem;
    gap: 0.5rem;
  }
  header .header-top .header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  header .header-top .header-logo img {
    height: 40px;
    width: auto;
  }
  header .header-top .header-right {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
  }
  header .header-top .header-right .info-user {
    font-size: 0.65rem;
    text-align: right;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
  }
  header .header-top .header-right .info-user .info-user-bienvenue,
  header .header-top .header-right .info-user .info-user-role,
  header .header-top .header-right .info-user .info-user-groupe {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  header .header-top .header-right .btn-inscription,
  header .header-top .header-right .btn-connexion {
    padding: 0.3rem 0.7rem;
    font-size: 0.65rem;
    white-space: nowrap;
  }
  header .btn-loupe-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #4A5BFF;
    cursor: pointer;
    padding: 0.3rem;
    flex-shrink: 0;
    transition: color 0.2s;
  }
  header .btn-loupe-mobile:hover {
    color: #A243F7;
  }
  header .header-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  header .header-nav .burger {
    display: none;
  }
  header .header-nav .nav-search-mobile {
    display: none;
  }
  header .header-nav .header-nav-inner {
    display: none;
    order: 3;
    width: 100%;
    padding: 0;
  }
  header .header-nav .header-nav-inner.open {
    display: flex;
    flex-direction: column;
  }
  header .header-nav .header-nav-inner .nav-search-desktop {
    display: none;
  }
  header .header-nav .header-nav-inner nav {
    width: 100%;
  }
  header .header-nav .header-nav-inner nav ul {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }
  header .header-nav .header-nav-inner nav ul li a {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: normal;
  }
  header .header-nav .header-nav-inner nav ul li.has-submenu .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.15);
  }
  header .header-nav .header-nav-inner nav ul li.has-submenu .submenu.open {
    display: flex;
  }
  header .header-nav .header-nav-inner nav ul li.has-submenu .submenu li a {
    color: #ffffff;
    padding-left: 2rem;
  }
  header .header-nav .header-nav-inner nav ul li.has-submenu .submenu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 2rem;
  }
  header .header-nav .header-nav-inner nav ul li.has-submenu:hover .submenu {
    display: none;
  }
  header .header-search {
    padding: 0.5rem 1rem;
  }
}

a.li-deconnexion {
  color: #DC3545 !important;
  font-weight: bold;
}
a.li-deconnexion:hover {
  background: #DC3545 !important;
  color: #ffffff !important;
  font-weight: 800;
  padding-left: 1.5rem !important;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #4A5BFF;
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .burger {
    display: flex;
  }
  .burger span {
    background: #4A5BFF;
  }
}

.btn-loupe-mobile {
  display: none;
}

main {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  main {
    padding: 0 0.3rem 0.3rem 0.3rem;
  }
}

.flash-container {
  padding: 0 2rem;
  max-width: 1200px;
  margin: 1rem auto 0;
}

footer {
  background: #0C3F8C;
  color: #cccccc;
  padding: 2rem;
  margin-top: 2rem;
}
footer .footer-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  text-align: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 1.5rem;
}
footer .footer-content .footer-col {
  flex: 1;
  min-width: 200px;
}
footer .footer-content .footer-col h4 {
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
footer .footer-content .footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
footer .footer-content .footer-col ul li a {
  color: #cccccc;
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  transition: color 0.2s;
}
footer .footer-content .footer-col ul li a:hover {
  color: #A243F7;
}
footer .footer-content .footer-col p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #cccccc;
}
footer .footer-content .footer-col .footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
}
footer .footer-content .footer-col .footer-contact a {
  color: #ffffff;
}
footer .footer-content .footer-col .footer-contact a:hover {
  font-weight: bold;
}
footer .footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1rem 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
footer .footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 1400px;
  margin: 0 auto;
}
footer .footer-bottom span {
  color: #ffffff;
  font-weight: bold;
}
@media (max-width: 768px) {
  footer {
    padding: 1rem 1rem 1rem 1rem;
    margin-top: 0;
  }
  footer .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  footer .footer-content .footer-col {
    min-width: 100%;
  }
  footer .footer-content .footer-col-infos,
  footer .footer-content .footer-col-contact {
    display: none;
  }
  footer .footer-content .footer-col ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  footer .footer-content .footer-col ul li a {
    font-size: 0.8rem;
  }
  footer .footer-content .footer-col h4 {
    text-align: center;
  }
}

.btn {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn:hover {
  opacity: 0.85;
}
.btn-sm {
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 0.6rem 1.2rem;
  font-size: 1.1rem;
}
.btn-primary {
  background: #A243F7;
  color: #ffffff;
}
.btn-secondary {
  background: #6C757D;
  color: #ffffff;
}
.btn-success {
  background: #39B739;
  color: #ffffff;
}
.btn-danger {
  background: #DC3545;
  color: #ffffff;
}
.btn-warning {
  background: #FFC107;
  color: #000;
}
.btn-info {
  background: #4A5BFF;
  color: #ffffff;
}

.btn-return {
  display: inline-block;
  margin: 0.3rem 0;
  padding: 0.6rem 1.5rem;
  background: #A243F7;
  color: #ffffff;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  transition: background 0.2s, transform 0.1s;
}
.btn-return:hover {
  background: #0C3F8C;
  transform: translateY(-1px);
}

.btn-retour-achat {
  margin-top: 10px;
}

.badge {
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}
.badge.bg-success {
  background: #39B739;
  color: #ffffff;
}
.badge.bg-danger {
  background: #DC3545;
  color: #ffffff;
}
.badge.bg-warning {
  background: #FFC107;
  color: #000;
}
.badge.bg-info {
  background: #4A5BFF;
  color: #ffffff;
}
.badge.bg-secondary {
  background: #6C757D;
  color: #ffffff;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}
.table th, .table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.table thead th {
  background: #0C3F8C;
  color: #ffffff;
  font-weight: 600;
}
.table tbody tr:hover {
  background: #f9f9f9;
}

input[type=text],
input[type=email],
input[type=password],
input[type=number],
select,
textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.2s;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=number]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #A243F7;
}

label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: bold;
  font-size: 0.85rem;
}

.form-group {
  margin-bottom: 1rem;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.alert-success {
  background: #d4edda;
  color: #155724;
}
.alert-warning {
  background: #fff3cd;
  color: #856404;
}
.alert-danger {
  background: #f8d7da;
  color: #721c24;
}
.alert-info {
  background: #d1ecf1;
  color: #0c5460;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-overlay.active {
  display: flex;
}
.modal-overlay .modal-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.modal-overlay .modal-content h5 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.modal-overlay .modal-content .modal-footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.profil-page {
  min-height: 70vh;
  background: #f5f5f5;
  padding: 2rem;
}

.profil-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profil-card {
  background: #ffffff;
  border: 2px solid #4A5BFF;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.profil-card__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #cccccc;
}
.profil-card__actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

.profil-titre {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #343A40;
  margin: 0;
}

.profil-toggle {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  font-family: "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #343A40;
  cursor: pointer;
  transition: background 0.2s;
}
.profil-toggle:hover {
  background: rgba(74, 91, 255, 0.06);
}
.profil-toggle__icon {
  font-size: 0.85rem;
  color: #A243F7;
  transition: transform 0.2s;
}

.profil-bloc {
  padding: 1.5rem 2rem;
  border-top: 1px solid #cccccc;
}
.profil-bloc--hidden {
  display: none;
}

.profil-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.profil-table thead tr {
  background: #4A5BFF;
  color: #ffffff;
}
.profil-table thead th {
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-align: left;
}
.profil-table tbody tr:nth-child(even) {
  background: rgba(74, 91, 255, 0.05);
}
.profil-table tbody td, .profil-table tbody th {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #cccccc;
  color: #343A40;
  vertical-align: middle;
}
.profil-table tbody th {
  font-weight: 600;
  width: 35%;
  color: #6C757D;
}

.profil-logo {
  max-height: 40px;
  object-fit: contain;
}

.profil-empty {
  color: #6C757D;
  font-style: italic;
  font-size: 0.85rem;
  margin: 0;
}

.profil-form-card {
  background: #ffffff;
  border: 2px solid #4A5BFF;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-top: 1.5rem;
}
.profil-form-card .auth-titre {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 1.5rem;
  text-align: center;
}
.profil-form-card .auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.profil-form-card .auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.profil-form-card .auth-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #343A40;
  font-family: Arial, sans-serif;
}
.profil-form-card .auth-field input {
  padding: 0.9rem 1.2rem;
  border: 1px solid #d0d0d0;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #343A40;
  background: #ffffff;
  transition: border-color 0.2s;
}
.profil-form-card .auth-field input::placeholder {
  color: #6C757D;
}
.profil-form-card .auth-field input:focus {
  outline: none;
  border-color: #4A5BFF;
}
.profil-form-card .btn-auth {
  width: 100%;
  padding: 1rem;
  background: #A243F7;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 0.5rem;
}
.profil-form-card .btn-auth:hover {
  background: rgb(137.8010204082, 18.0816326531, 244.9183673469);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .profil-page {
    padding: 1rem;
  }
  .profil-card {
    border-radius: 8px;
  }
  .profil-toggle,
  .profil-bloc,
  .profil-card__header {
    padding: 1rem;
  }
  .profil-form-card {
    padding: 1.5rem;
    border-radius: 8px;
  }
}
/* ===== Carte danger RGPD ===== */
.profil-card--danger {
  border-color: #dc3545;
}

.profil-toggle--danger {
  color: #dc3545;
}

.profil-danger-info {
  background: #fff5f5;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #721c24;
}

.profil-danger-info p {
  margin: 0.25rem 0;
}

/* ===== Modale ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  max-width: 460px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.modal-box h2 {
  margin-top: 0;
  color: #dc3545;
  font-size: 1.2rem;
}

.modal-box p {
  font-size: 0.95rem;
  color: #444;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.hero {
  background: linear-gradient(135deg, #0C3F8C 0%, #4A5BFF 100%);
  padding: 2rem 2rem;
  min-height: 400px;
}
.hero .hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.hero .hero-text {
  flex: 1;
  max-width: 700px;
}
.hero .hero-text h1 {
  color: #ffffff;
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero .hero-text .hero-subtitle {
  color: #ffffff;
  font-size: 1.1rem;
  font-family: Arial, sans-serif;
  margin-bottom: 0.5rem;
}
.hero .hero-text .hero-divider {
  border: none;
  border-top: 3px solid #A243F7;
  width: 200px;
  margin: 1rem 0;
}
.hero .hero-text .hero-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-family: Arial, sans-serif;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .hero .hero-text .hero-description {
    margin-bottom: 1rem;
  }
}
.hero .hero-text .hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero .hero-text .hero-buttons .btn-demo {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: #A243F7;
  color: #ffffff;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}
.hero .hero-text .hero-buttons .btn-demo:hover {
  background: rgb(137.8010204082, 18.0816326531, 244.9183673469);
  transform: translateY(-2px);
}
.hero .hero-text .hero-buttons .btn-offres {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}
.hero .hero-text .hero-buttons .btn-offres:hover {
  background: #ffffff;
  color: #0C3F8C;
  transform: translateY(-2px);
}
.hero .hero-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 260px;
}
.hero .hero-info .hero-info-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  color: #ffffff;
  text-align: center;
  backdrop-filter: blur(4px);
}
.hero .hero-info .hero-info-card .hero-info-title {
  font-family: "Segoe UI", sans-serif;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}
.hero .hero-info .hero-info-card p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}
.hero .hero-info .hero-info-card a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.hero .hero-info .hero-info-card a:hover {
  font-weight: bold;
}
@media (max-width: 768px) {
  .hero {
    padding: 1rem 0.5rem;
    margin-top: 10px;
  }
  .hero .hero-content {
    flex-direction: column;
    gap: 1rem;
  }
  .hero .hero-text {
    width: 100%;
  }
  .hero .hero-text h1 {
    font-size: 1.5rem;
  }
  .hero .hero-text .hero-subtitle,
  .hero .hero-text .hero-description {
    font-size: 0.8rem;
  }
  .hero .hero-text .hero-buttons {
    justify-content: center;
  }
  .hero .hero-info {
    flex-direction: row;
    width: 100%;
    min-width: unset;
    gap: 0.5rem;
  }
  .hero .hero-info .hero-info-card {
    flex: 1;
    padding: 0.5rem;
  }
  .hero .hero-info .hero-info-card .hero-info-title {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }
  .hero .hero-info .hero-info-card p,
  .hero .hero-info .hero-info-card a {
    font-size: 0.65rem;
    line-height: 1.5;
  }
}

.section-divider {
  display: none;
}

.offres {
  padding: 2rem 2rem;
  background: #ffffff;
  margin: 1rem 0.5rem;
}
.offres .offres-container {
  max-width: 1400px;
  margin: 0 auto;
}
.offres .offres-titre {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 2rem;
}
.offres .offres-titre span {
  color: #4A5BFF;
}
.offres .offres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .offres .offres-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .offres .offres-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
  }
}
.offres .offre-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #ffffff;
}
.offres .offre-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.offres .offre-card .offre-card-header {
  background: #343A40;
  color: #ffffff;
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  padding: 0.6rem 1rem;
  letter-spacing: 1px;
}
@media (max-width: 1105px) {
  .offres .offre-card .offre-card-header {
    font-size: 0.8rem;
  }
}
.offres .offre-card .offre-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.offres .offre-card .offre-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.offres .offre-card .offre-card-img:hover img {
  transform: scale(1.05);
}
.offres .offre-card .offre-card-body {
  padding: 1rem;
  text-align: center;
}
.offres .offre-card .offre-card-body .offre-card-promo {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #343A40;
  margin-bottom: 0.3rem;
}
.offres .offre-card .offre-card-body .offre-a-venir {
  color: #DC3545;
}
.offres .offre-card .offre-card-body p {
  font-size: 0.85rem;
  color: #6C757D;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .offres {
    padding: 0.5rem;
    margin: 0.3rem 0;
  }
  .offres .offres-titre {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .offres .offre-card .offre-card-header {
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
    letter-spacing: 0;
  }
  .offres .offre-card .offre-card-img {
    height: 100px;
  }
  .offres .offre-card .offre-card-body {
    padding: 0.5rem;
  }
  .offres .offre-card .offre-card-body .offre-card-promo {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
  }
  .offres .offre-card .offre-card-body p {
    font-size: 0.7rem;
    line-height: 1.3;
  }
}

.offre-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #ffffff;
}
.offre-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.offre-card .offre-card-header {
  background: #343A40;
  color: #ffffff;
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  padding: 0.6rem 1rem;
  letter-spacing: 1px;
}
.offre-card .offre-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.offre-card .offre-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.offre-card .offre-card-img:hover img {
  transform: scale(1.05);
}
.offre-card .offre-card-body {
  padding: 1rem;
  text-align: center;
}
.offre-card .offre-card-body .offre-card-promo {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #343A40;
  margin-bottom: 0.3rem;
}
.offre-card .offre-card-body p {
  font-size: 0.85rem;
  color: #6C757D;
  line-height: 1.5;
}

a.offre-card {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.offre-card-lock {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6C757D;
  background: #f0f0f0;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.avantages {
  padding: 4rem 2rem;
  background: #f5f5f5;
}
.avantages .avantages-container {
  max-width: 1400px;
  margin: 0 auto;
}
.avantages .avantages-titre {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 2rem;
}
.avantages .avantages-titre span {
  color: #4A5BFF;
}
.avantages .avantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .avantages .avantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .avantages .avantages-grid {
    grid-template-columns: 1fr;
  }
}
.avantages .avantage-card {
  border: 2px solid #4A5BFF;
  border-radius: 8px;
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.avantages .avantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.avantages .avantage-card .avantage-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.avantages .avantage-card .avantage-card-header .avantage-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.avantages .avantage-card .avantage-card-header h3 {
  font-family: "Segoe UI", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.1rem;
  color: #4A5BFF;
  margin: 0;
}
.avantages .avantage-card .avantage-card-body .avantage-bold {
  font-weight: 700;
  color: #343A40;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.avantages .avantage-card .avantage-card-body p {
  font-size: 0.85rem;
  color: #6C757D;
  line-height: 1.7;
}
.avantages .avantage-card .avantage-card-body p strong {
  color: #343A40;
  font-weight: 700;
}

hr {
  border: none;
  border-top: 2px solid #4A5BFF;
  width: 75%;
  margin: 0.1rem auto;
}

.nouveaute {
  padding: 4rem 2rem;
  background: #ffffff;
}
.nouveaute .nouveaute-container {
  max-width: 1400px;
  margin: 0 auto;
}
.nouveaute .nouveaute-titre {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 2rem;
}
.nouveaute .nouveaute-titre span {
  color: #A243F7;
}
.nouveaute .nouveaute-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}
@media (max-width: 1024px) {
  .nouveaute .nouveaute-content {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .nouveaute .nouveaute-content {
    flex-direction: column;
    gap: 1rem;
  }
}
.nouveaute .nouveaute-screen {
  flex: 1;
  max-width: 550px;
}
.nouveaute .nouveaute-screen img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .nouveaute .nouveaute-screen {
    max-width: 100%;
  }
}
.nouveaute .nouveaute-text {
  flex: 1;
  text-align: center;
}
.nouveaute .nouveaute-text h3 {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #A243F7;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}
.nouveaute .nouveaute-text .nouveaute-desc-bold {
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #343A40;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.nouveaute .nouveaute-text .nouveaute-divider {
  border: none;
  border-top: 3px solid #A243F7;
  width: 80%;
  margin: 0.5rem auto;
}
.nouveaute .nouveaute-text .nouveaute-desc {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #343A40;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.nouveaute .nouveaute-text .btn-devis {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: #A243F7;
  color: #ffffff;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}
.nouveaute .nouveaute-text .btn-devis:hover {
  background: rgb(137.8010204082, 18.0816326531, 244.9183673469);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .nouveaute {
    padding: 1rem 0.5rem;
  }
  .nouveaute .nouveaute-titre-suffix {
    display: none;
  }
  .nouveaute .nouveaute-titre {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }
  .nouveaute .nouveaute-screen {
    max-width: 100%;
  }
  .nouveaute .nouveaute-screen img {
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  }
  .nouveaute .nouveaute-text h3 {
    font-size: 1.2rem;
    margin: 0.3rem 0;
  }
  .nouveaute .nouveaute-text .nouveaute-desc-bold {
    font-size: 0.9rem;
  }
  .nouveaute .nouveaute-text .nouveaute-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  .nouveaute .nouveaute-text .btn-devis {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }
}

.contact {
  padding: 4rem 2rem;
  background: #f5f5f5;
}
.contact .contact-container {
  max-width: 1400px;
  margin: 0 auto;
}
.contact .contact-titre {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 2rem;
}
.contact .contact-titre span {
  color: #4A5BFF;
}
.contact .contact-card {
  background: #ffffff;
  border: 2px solid #4A5BFF;
  border-radius: 16px;
  padding: 3rem;
}
.contact .contact-card h3 {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 0.5rem;
}
.contact .contact-card .contact-subtitle {
  font-size: 1rem;
  color: #6C757D;
  margin-bottom: 2rem;
}
.contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .contact .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact .contact-field input,
.contact .contact-field textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid #d0d0d0;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #343A40;
  background: #ffffff;
  transition: border-color 0.2s;
}
.contact .contact-field input::placeholder,
.contact .contact-field textarea::placeholder {
  color: #6C757D;
}
.contact .contact-field input:focus,
.contact .contact-field textarea:focus {
  outline: none;
  border-color: #4A5BFF;
}
.contact .contact-field textarea {
  border-radius: 8px;
  resize: vertical;
}
.contact .contact-field-full {
  margin-bottom: 1rem;
}
.contact .btn-contact {
  display: block;
  width: 100%;
  padding: 1rem;
  background: #A243F7;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-bottom: 1rem;
}
.contact .btn-contact:hover {
  background: rgb(137.8010204082, 18.0816326531, 244.9183673469);
  transform: translateY(-1px);
}
.contact .contact-required {
  font-size: 0.85rem;
  color: #6C757D;
}
.contact .contact-required span {
  color: #DC3545;
  font-weight: bold;
}

.message-final {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.message-final p {
  text-transform: uppercase;
  font-weight: 900;
  text-align: center;
  font-family: "Segoe UI", sans-serif;
  font-size: 1.4rem;
}
@media (max-width: 768px) {
  .message-final p {
    font-size: 1rem;
  }
}
.message-final .titre-global {
  text-transform: uppercase;
  font-weight: 900;
  text-align: center;
  font-family: "Segoe UI", sans-serif;
  color: #4A5BFF;
}

.mentions {
  padding: 4rem 2rem;
  background: #f5f5f5;
}
.mentions .mentions-container {
  max-width: 900px;
  margin: 0 auto;
}
.mentions .mentions-container h1 {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 2rem;
  color: #0C3F8C;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #A243F7;
}
.mentions .mentions-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #4A5BFF;
}
.mentions .mentions-card h2 {
  font-family: "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #4A5BFF;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mentions .mentions-card p {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #343A40;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.mentions .mentions-card p:last-child {
  margin-bottom: 0;
}
.mentions .mentions-card a {
  color: #A243F7;
  transition: color 0.2s;
}
.mentions .mentions-card a:hover {
  color: #4A5BFF;
  text-decoration: underline;
}
.mentions .mentions-card em {
  color: #6C757D;
  font-size: 0.85rem;
}
.mentions .btn-retour {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  background: #4A5BFF;
  color: #ffffff;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  transition: background 0.2s, transform 0.1s;
}
.mentions .btn-retour:hover {
  background: #0C3F8C;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .mentions {
    padding: 2rem 1rem;
  }
  .mentions .mentions-card {
    padding: 1rem;
  }
}

.mentions-card h3 {
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #343A40;
  margin: 1rem 0 0.5rem;
}
.mentions-card ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.mentions-card ul li {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #343A40;
  line-height: 1.8;
}

.articles-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .articles-layout {
    flex-direction: column;
  }
}

.articles-sidebar {
  flex-shrink: 0;
  width: 220px;
  background: #ffffff;
  border: 2px solid #4A5BFF;
  border-radius: 8px;
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}
@media (max-width: 768px) {
  .articles-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 80vw;
    max-width: 320px;
    border-radius: 0 8px 8px 0;
    border: none;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    z-index: 300;
    overflow-y: auto;
    padding: 1rem;
    transform: translateX(-110%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .articles-sidebar.is-open {
    transform: translateX(0);
  }
}

.sidebar-mobile-header {
  display: none;
}
@media (max-width: 768px) {
  .sidebar-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4A5BFF;
  }
}

.sidebar-mobile-title {
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #343A40;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sidebar-mobile-title i {
  color: #A243F7;
  font-size: 1.2rem;
}

.sidebar-mobile-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #6C757D;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.sidebar-mobile-close:hover {
  color: #343A40;
  background: #f5f5f5;
}

.sidebar-bloc {
  margin-bottom: 0.3rem;
}

.sidebar-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.sidebar-accordion-toggle h3 {
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0C3F8C;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 0.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #A243F7;
  flex: 1;
}
.sidebar-accordion-toggle .sidebar-accordion-icon {
  font-size: 1rem;
  color: #A243F7;
  margin-left: 0.5rem;
  margin-bottom: 0.5rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.sidebar-accordion-toggle:hover h3 {
  color: #A243F7;
}

.sidebar-accordion-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.sidebar-accordion-content[hidden] {
  display: none;
}

.sidebar-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  color: #343A40;
  cursor: pointer;
  transition: background 0.2s;
}
.sidebar-checkbox-label:hover {
  background: rgb(253.956122449, 252.8897959184, 254.9102040816);
  color: #A243F7;
}
.sidebar-checkbox-label input[type=checkbox] {
  accent-color: #A243F7;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}
.sidebar-checkbox-label:has(input:checked) {
  background: rgb(253.956122449, 252.8897959184, 254.9102040816);
  color: #A243F7;
  font-weight: bold;
}

.sidebar-divider {
  border: none;
  border-top: 2px solid #4A5BFF;
  margin: 1rem 0;
  opacity: 0.4;
}

.sidebar-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebar-actions .btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.articles-main {
  flex: 1;
  min-width: 0;
}

.articles-filtres-actifs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(162, 67, 247, 0.06);
  border-left: 3px solid #A243F7;
  border-radius: 0 4px 4px 0;
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  color: #6C757D;
}
.articles-filtres-actifs .filtre-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #A243F7;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: bold;
  font-family: Arial, sans-serif;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}
@media (max-width: 768px) {
  .articles-filtres-actifs {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }
}

.articles-page {
  padding: 2rem 2rem;
  background: #f5f5f5;
  display: flow-root;
}
@media (max-width: 768px) {
  .articles-page {
    padding: 0 !important;
  }
}
.articles-page .articles-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}
.articles-page .articles-titre {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 2rem;
}
.articles-page .articles-titre span {
  color: #4A5BFF;
}
@media (max-width: 768px) {
  .articles-page .articles-titre {
    font-size: 0.8rem;
    margin: 0 !important;
    line-height: 1;
  }
}
.articles-page .articles-admin-bar {
  margin-bottom: 1.5rem;
}
.articles-page .articles-empty {
  text-align: center;
  padding: 4rem;
  color: #6C757D;
  font-size: 1.1rem;
}
.articles-page .articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .articles-page .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .articles-page .articles-grid {
    padding: 0;
    gap: 1.5rem 0.5rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 15px;
  }
}
.articles-page a.article-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.articles-page .article-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #4A5BFF;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.articles-page .article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.articles-page .article-card .article-card-badge {
  position: absolute;
  top: -15px;
  right: 15px;
  background: #A243F7;
  color: #ffffff;
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 10;
}
.articles-page .article-card .article-card-badge::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: #6C757D;
  border-radius: 2px;
}
.articles-page .article-card .article-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(to bottom, #f5f5f5, #222);
}
.articles-page .article-card .article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  transition: transform 0.3s;
}
.articles-page .article-card .article-card-img img:hover {
  transform: scale(1.05);
}
.articles-page .article-card .article-card-img .article-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #6C757D;
}
.articles-page .article-card .article-card-categorie {
  background: rgba(12, 63, 140, 0.85);
  color: #ffffff;
  font-size: 0.8rem;
  font-family: Arial, sans-serif;
  padding: 0.3rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
@media (max-width: 768px) {
  .articles-page .article-card .article-card-categorie {
    font-size: 0.7rem;
    padding: 0.3rem 0.1rem;
  }
}
.articles-page .article-card .article-card-departement {
  background: rgba(74, 91, 255, 0.85);
  color: #ffffff;
  font-size: 0.8rem;
  font-family: Arial, sans-serif;
  padding: 0.3rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
@media (max-width: 768px) {
  .articles-page .article-card .article-card-departement {
    font-size: 0.5rem;
    padding: 0.3rem 0.1rem;
  }
}
.articles-page .article-card .article-card-body {
  padding: 0.3rem;
}
.articles-page .article-card .article-card-body .article-card-titre {
  text-align: center;
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 0.8rem;
  color: #0C3F8C;
  margin: 0.3rem;
}
.articles-page .article-card .article-card-body .article-card-desc {
  text-align: center;
  font-size: 0.7rem;
  color: #6C757D;
  line-height: 1.5;
  margin-bottom: 0.1rem;
}
.articles-page .article-card .article-card-body .article-card-divider {
  border: none;
  border-top: 2px solid #4A5BFF;
  margin: 0.3rem auto;
  width: 60%;
}
.articles-page .article-card .article-card-body .article-card-link {
  display: block;
  text-align: center;
  color: #A243F7;
  font-family: "Segoe UI", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.articles-page .article-card .article-card-body .article-card-link:hover {
  color: rgb(137.8010204082, 18.0816326531, 244.9183673469);
  text-decoration: underline;
}
.articles-page .article-card .article-card-body .article-card-admin {
  margin-top: 0.5rem;
  text-align: center;
}
@media (max-width: 768px) {
  .articles-page .article-card .article-card-badge {
    width: 38px;
    height: 38px;
    font-size: 0.65rem;
    top: -10px;
    right: 8px;
  }
  .articles-page .article-card .article-card-img {
    height: 100px;
  }
  .articles-page .article-card .article-card-body {
    padding: 0.3rem;
  }
  .articles-page .article-card .article-card-body .article-card-titre {
    display: none;
  }
  .articles-page .article-card .article-card-body .article-card-desc {
    font-size: 0.6rem;
  }
  .articles-page .article-card .article-card-body .article-card-link {
    font-size: 0.6rem;
  }
}
@media (max-width: 768px) {
  .articles-page {
    padding: 0 1rem 1rem 1rem;
  }
}

.article-show {
  padding: 4rem 2rem;
  background: #f5f5f5;
  min-height: 60vh;
}
.article-show .article-show-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: 2rem;
  position: relative;
}
.article-show .article-show-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.article-show .article-show-close .btn-close-show {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #6C757D;
  cursor: pointer;
  transition: color 0.2s;
}
.article-show .article-show-close .btn-close-show:hover {
  color: #343A40;
}
.article-show .article-show-content {
  display: flex;
  gap: 0.3rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .article-show .article-show-content {
    flex-direction: column;
  }
}
.article-show .article-show-images {
  flex-shrink: 0;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
@media (max-width: 768px) {
  .article-show .article-show-images {
    width: 100%;
  }
}
.article-show .article-show-images .article-show-logo {
  height: 120px;
}
@media (max-width: 768px) {
  .article-show .article-show-images .article-show-logo {
    text-align: center;
  }
}
.article-show .article-show-images .article-show-logo img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .article-show .article-show-images .article-show-logo img {
    height: 100px;
  }
}
.article-show .article-show-images .article-show-logo .article-show-photo img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}
.article-show .article-show-infos {
  flex: 1;
}
.article-show .article-show-infos .article-show-titre {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .article-show .article-show-infos .article-show-titre {
    font-size: 1rem;
  }
}
.article-show .article-show-infos .article-show-gerant {
  font-size: 0.85rem;
  color: #6C757D;
  margin-bottom: 0.5rem;
}
.article-show .article-show-infos .article-show-details {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.article-show .article-show-infos .article-show-details li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.article-show .article-show-infos .article-show-details li .detail-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  color: #6C757D;
}
.article-show .article-show-infos .article-show-details li .detail-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: #343A40;
}
.article-show .article-show-infos .article-show-details li .detail-text strong {
  font-weight: 700;
}
.article-show .article-show-infos .article-show-details li .detail-text span {
  color: #6C757D;
  font-size: 0.8rem;
}
.article-show .article-show-infos .article-show-details li .detail-text .detail-hint {
  color: #6C757D;
  font-size: 0.8rem;
  font-style: italic;
}
.article-show .article-show-infos .article-show-details li .detail-link {
  font-size: 0.85rem;
  color: #4A5BFF;
  transition: color 0.2s;
}
.article-show .article-show-infos .article-show-details li .detail-link:hover {
  color: #A243F7;
  text-decoration: underline;
}
.article-show .article-show-infos .article-show-admin {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}
@media (max-width: 768px) {
  .article-show {
    padding: 1rem;
  }
  .article-show .article-show-container {
    padding: 1rem;
  }
}

.produit-prix {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0.3rem 0;
}
.produit-prix .produit-prix-public {
  font-size: 0.8rem;
  color: #6C757D;
  text-decoration: line-through;
}
.produit-prix .produit-prix-unitaire {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #A243F7;
}

.produit-form-panier {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
}
.produit-form-panier .produit-qty {
  width: 55px;
  padding: 0.3rem 0.4rem;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: center;
}
.produit-form-panier .btn-panier {
  padding: 0.4rem 0.8rem;
  background: #4A5BFF;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.produit-form-panier .btn-panier:hover {
  background: rgb(23, 44.7900552486, 255);
}

.btn-voir-commande {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: #4A5BFF;
  color: #ffffff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: bold;
  transition: background 0.2s;
}
.btn-voir-commande:hover {
  background: rgb(23, 44.7900552486, 255);
}

.produit-rupture {
  margin-top: 1rem;
  color: #dc3545;
  font-weight: bold;
  font-size: 0.85rem;
}

.btn-panier-green {
  display: block;
  width: fit-content;
  margin: 0.8rem auto;
  padding: 0.6rem 1.5rem;
  background: #28a745;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-panier-green:hover {
  background: rgb(30.1449275362, 125.8550724638, 52);
}

.sidebar-search-input {
  width: 100%;
  padding: 0.45rem 0.5rem;
  border: 1.5px solid #4A5BFF;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  color: #343A40;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.sidebar-search-input:focus {
  border-color: #A243F7;
}

.btn-filtre-mobile {
  display: none;
}
@media (max-width: 768px) {
  .btn-filtre-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    background: #A243F7;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
    font-family: Arial, sans-serif;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 0;
    transition: background 0.2s;
  }
  .btn-filtre-mobile i {
    font-size: 1.1rem;
  }
  .btn-filtre-mobile:hover {
    background: rgb(142.6408163265, 27.8653061224, 245.3346938776);
  }
}

.filtre-mobile-badge {
  background: #ffffff;
  color: #A243F7;
  font-size: 0.65rem;
  font-weight: 900;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
}

.sidebar-overlay {
  display: none;
}
@media (max-width: 768px) {
  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.25s;
  }
  .sidebar-overlay.is-active {
    display: block;
    opacity: 1;
  }
}

.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  padding: 2rem;
}
.auth-page .auth-container {
  width: 100%;
  max-width: 480px;
}
.auth-page .auth-card {
  background: #ffffff;
  border: 2px solid #4A5BFF;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-page .auth-titre {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 0.3rem;
  text-align: center;
}
.auth-page .auth-subtitle {
  font-size: 0.85rem;
  color: #6C757D;
  text-align: center;
  margin-bottom: 2rem;
}
.auth-page .auth-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.auth-page .auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
}
.auth-page .auth-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #343A40;
  font-family: Arial, sans-serif;
}
.auth-page .auth-field input {
  padding: 0.9rem 1.2rem;
  border: 1px solid #d0d0d0;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #343A40;
  background: #ffffff;
  transition: border-color 0.2s;
}
.auth-page .auth-field input::placeholder {
  color: #6C757D;
}
.auth-page .auth-field input:focus {
  outline: none;
  border-color: #4A5BFF;
}
.auth-page .auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.auth-page .auth-remember input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: #A243F7;
  cursor: pointer;
}
.auth-page .auth-remember label {
  font-size: 0.85rem;
  color: #6C757D;
  cursor: pointer;
}
.auth-page .btn-auth {
  width: 100%;
  padding: 1rem;
  background: #A243F7;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: auto;
}
.auth-page .btn-auth:hover {
  background: rgb(137.8010204082, 18.0816326531, 244.9183673469);
  transform: translateY(-1px);
}
.auth-page .auth-links {
  text-align: center;
  margin-top: 0.5rem;
}
.auth-page .auth-links a {
  font-size: 0.85rem;
  color: #4A5BFF;
  transition: color 0.2s;
}
.auth-page .auth-links a:hover {
  color: #A243F7;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .auth-page {
    padding: 1rem;
  }
  .auth-page .auth-card {
    padding: 1.5rem;
  }
  .auth-page .auth-titre {
    font-size: 1.4rem;
  }
}

.auth-container--lg {
  max-width: 860px;
}

.auth-back {
  display: inline-block;
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  color: #6C757D;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.auth-back:hover {
  color: #A243F7;
}

.auth-form--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}
@media (max-width: 768px) {
  .auth-form--grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.auth-form--grid .auth-field--full,
.auth-form--grid .auth-remember {
  grid-column: 1/-1;
}

.auth-field--full {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.auth-field--full button.btn-auth {
  margin-top: 0.5rem;
}

.auth-field select,
.auth-field textarea {
  padding: 0.9rem 1.2rem;
  border: 1px solid #d0d0d0;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #343A40;
  background: #ffffff;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.auth-field select:focus,
.auth-field textarea:focus {
  outline: none;
  border-color: #4A5BFF;
}
.auth-field textarea {
  border-radius: 8px;
  resize: vertical;
  min-height: 90px;
}
.auth-field input[type=file] {
  padding: 0.6rem 1rem;
  border: 1px dashed #d0d0d0;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: #6C757D;
  background: #f5f5f5;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.auth-divider {
  border: none;
  border-top: 2px solid #4A5BFF;
  opacity: 0.2;
  margin: 2rem 0 1.5rem;
}

.auth-danger {
  background: rgba(220, 53, 69, 0.05);
  border: 1.5px solid #dc3545;
  border-radius: 8px;
  padding: 1rem 1.5rem;
}

.auth-danger-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #dc3545;
  font-family: Arial, sans-serif;
  margin-bottom: 0.5rem;
}

.auth-warning {
  background: rgba(255, 193, 7, 0.15);
  border: 1.5px solid #ffc107;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  color: #856404;
}

.btn-delete {
  background: #dc3545;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-delete:hover {
  background: rgb(189.2151898734, 32.7848101266, 47.7721518987);
  transform: translateY(-1px);
}

@media print {
  nav, header, footer,
  .btn-imprimer, .btn-retour, .flash-container {
    display: none !important;
  }
  body {
    background: #ffffff !important;
  }
  .facture-wrapper {
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }
}
.btn-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto 1.5rem auto;
}

.facture-wrapper {
  max-width: 860px;
  margin: 2rem auto;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: 2rem 3rem;
  font-family: Arial, sans-serif;
  color: #343A40;
}

.facture-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  border-bottom: 3px solid #A243F7;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}
.facture-header .logo-bloc h2 {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  color: #A243F7;
  margin: 0;
}
.facture-header .logo-bloc p {
  margin: 2px 0;
  font-size: 0.85rem;
  color: #6C757D;
}
.facture-header .numero-bloc {
  text-align: right;
}
.facture-header .numero-bloc h3 {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: "Segoe UI", sans-serif;
  color: #343A40;
  margin: 0 0 0.3rem 0;
}
.facture-header .numero-bloc p {
  margin: 2px 0;
  font-size: 0.85rem;
  color: #6C757D;
}

.facture-parties {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .facture-parties {
    flex-direction: column;
  }
}

.facture-partie {
  flex: 1;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 1rem 1.5rem;
}
.facture-partie h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #A243F7;
  margin: 0 0 0.5rem 0;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 0.3rem;
  font-family: "Segoe UI", sans-serif;
}
.facture-partie p {
  margin: 3px 0;
  font-size: 1rem;
  color: #343A40;
}

.facture-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-family: Arial, sans-serif;
}
.facture-table .text-center {
  text-align: center;
}
.facture-table .text-right {
  text-align: right;
}
.facture-table thead tr {
  background: #A243F7;
  color: #ffffff;
}
.facture-table thead th {
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-align: left;
}
.facture-table thead th:last-child {
  text-align: right;
}
.facture-table tbody tr:nth-child(even) {
  background: rgba(162, 67, 247, 0.06);
}
.facture-table tbody td {
  padding: 0.3rem 1rem;
  border-bottom: 1px solid #cccccc;
  color: #343A40;
}
.facture-table tbody td:last-child {
  text-align: right;
}
.facture-table tfoot tr {
  font-weight: 700;
  font-size: 1.05rem;
}
.facture-table tfoot td {
  padding: 0.5rem 1rem;
  border-top: 2px solid #A243F7;
  background: #f5f5f5;
}
.facture-table tfoot td:last-child {
  text-align: right;
}

.statut-badge {
  display: inline-block;
  padding: 3px 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.statut-validee {
  background: rgba(57, 183, 57, 0.15);
  color: rgb(44.8875, 144.1125, 44.8875);
}

.statut-en_cours {
  background: rgba(255, 193, 7, 0.2);
  color: rgb(134.5, 100.875, 0);
}

.statut-annulee {
  background: rgba(220, 53, 69, 0.15);
  color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}

.facture-footer {
  text-align: center;
  font-size: 0.8rem;
  color: #6C757D;
  margin-top: 2rem;
  border-top: 1px solid #cccccc;
  padding-top: 1rem;
}
.facture-footer p {
  margin: 2px 0;
  color: #6C757D;
}

.utilisateurs-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  margin-top: 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.utilisateurs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  background: #ffffff;
}
.utilisateurs-table thead tr {
  background: #4A5BFF;
  color: #ffffff;
}
.utilisateurs-table thead tr th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.utilisateurs-table thead th:nth-child(1) {
  width: 40px;
}
.utilisateurs-table thead th:nth-child(2) {
  width: 200px;
}
.utilisateurs-table thead th:nth-child(3) {
  width: 100px;
}
.utilisateurs-table thead th:nth-child(4) {
  width: 100px;
}
.utilisateurs-table thead th:nth-child(5) {
  width: 100px;
}
.utilisateurs-table thead th:nth-child(6) {
  width: 100px;
}
.utilisateurs-table thead th:nth-child(7) {
  width: 300px;
}
.utilisateurs-table thead th:nth-child(8) {
  width: 200px;
}
.utilisateurs-table tbody tr {
  border-bottom: 1px solid rgba(74, 91, 255, 0.12);
  transition: background 0.15s;
}
.utilisateurs-table tbody tr:hover {
  background: rgba(162, 67, 247, 0.04);
}
.utilisateurs-table tbody tr:last-child {
  border-bottom: none;
}
.utilisateurs-table tbody tr td {
  padding: 1rem 1.5rem;
  color: #343A40;
  vertical-align: middle;
}

.utilisateurs-id {
  font-weight: 700;
  color: #6C757D;
  width: 40px;
}

.utilisateurs-email {
  font-weight: 600;
  color: #4A5BFF;
}

.utilisateurs-date {
  font-size: 0.85rem;
  color: #343A40;
  white-space: nowrap;
}
.utilisateurs-date small {
  color: #6C757D;
  font-size: 0.8rem;
}

.utilisateurs-groupe {
  display: inline-block;
  background: rgba(74, 91, 255, 0.1);
  color: #4A5BFF;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
}

.utilisateurs-no-groupe {
  color: #6C757D;
}

.utilisateurs-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  white-space: nowrap;
}

.utilisateurs-empty {
  text-align: center;
  padding: 2rem !important;
  color: #6C757D;
  font-style: italic;
}

.role-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.role-badge--admin {
  background: rgba(162, 67, 247, 0.15);
  color: #A243F7;
}
.role-badge--user {
  background: rgba(74, 91, 255, 0.12);
  color: #4A5BFF;
}

.groupes-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  margin-top: 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.groupes-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  background: #ffffff;
  table-layout: fixed;
}
.groupes-table thead tr {
  background: #4A5BFF;
  color: #ffffff;
}
.groupes-table thead tr th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.groupes-table thead th:nth-child(1) {
  width: 120px;
}
.groupes-table thead th:nth-child(2) {
  width: 150px;
}
.groupes-table thead th:nth-child(3) {
  width: 90px;
}
.groupes-table thead th:nth-child(4) {
  width: 150px;
}
.groupes-table thead th:nth-child(5) {
  width: 180px;
}
.groupes-table tbody tr {
  border-bottom: 1px solid rgba(74, 91, 255, 0.12);
  transition: background 0.15s;
  text-overflow: ellipsis;
}
.groupes-table tbody tr:hover {
  background: rgba(162, 67, 247, 0.04);
}
.groupes-table tbody tr:last-child {
  border-bottom: none;
}
.groupes-table tbody tr td {
  padding: 1rem 1.5rem;
  color: #343A40;
  vertical-align: middle;
}

.groupes-id {
  font-weight: 700;
  color: #6C757D;
}

.groupes-nom {
  font-weight: 600;
  color: #4A5BFF;
}

.groupes-ref {
  font-size: 0.8rem;
  color: #6C757D;
  font-style: italic;
}

.groupes-cp,
.groupes-tel {
  white-space: nowrap;
}

.groupes-email {
  font-weight: 600;
  color: #4A5BFF;
}

.groupes-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.groupes-empty {
  text-align: center;
  padding: 2rem !important;
  color: #6C757D;
  font-style: italic;
}

.articles-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: #f5f5f5;
}
@media (max-width: 768px) {
  .articles-topbar {
    position: sticky;
    top: 52px;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(74, 91, 255, 0.1);
    margin: 0 !important;
    padding: 0;
    margin-top: 0;
    backdrop-filter: blur(5px);
    background: rgba(245, 245, 245, 0.95);
  }
}

.articles-titre {
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 1rem;
}
.articles-titre span {
  color: #4A5BFF;
}
@media (max-width: 768px) {
  .articles-titre {
    font-size: 0.8rem;
    margin: 0;
    margin-bottom: 0.3rem;
    padding: 0;
  }
}

.btn-filtre-mobile {
  display: none;
}
@media (max-width: 768px) {
  .btn-filtre-mobile {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #A243F7;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.3rem 0.6rem;
    font-size: 0.6rem;
    font-family: Arial, sans-serif;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
  }
  .btn-filtre-mobile i {
    font-size: 0.85rem;
  }
  .btn-filtre-mobile:hover {
    background: rgb(142.6408163265, 27.8653061224, 245.3346938776);
  }
}

@media (max-width: 768px) {
  .articles-main {
    margin-top: 0;
    padding-top: 0;
  }
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
  }
}

@media (max-width: 768px) {
  .article-card .article-card-badge {
    width: 30px;
    height: 30px;
    font-size: 0.55rem;
    top: -8px;
    right: 6px;
  }
  .article-card .article-card-img {
    height: 70px;
  }
  .article-card .article-card-categorie,
  .article-card .article-card-departement {
    font-size: 0.55rem;
    padding: 0.2rem 0.3rem;
  }
  .article-card .article-card-body {
    padding: 0.3rem 4px;
  }
  .article-card .article-card-body .article-card-titre {
    font-size: 0.65rem;
    margin: 2px 0.3rem;
  }
  .article-card .article-card-body .article-card-desc {
    font-size: 0.6rem;
    margin-bottom: 4px;
  }
  .article-card .article-card-body .article-card-link {
    font-size: 0.65rem;
  }
}

.articles-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .articles-layout {
    flex-direction: column;
    gap: 0;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .articles-sidebar {
    top: 0;
    padding-top: 1rem;
  }
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-overlay.is-visible {
  display: flex;
}

.modal-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.modal-content h5 {
  margin-bottom: 1rem;
  font-family: "FreeSans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  color: #343A40;
}
.modal-content p {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}
.modal-content p.p-valider {
  color: #dc3545;
  font-weight: bold;
  margin-top: 1rem;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.modal-footer form {
  flex: 1;
}

.btn-modal-cancel {
  display: block;
  width: fit-content;
  margin: 0.8rem auto;
  padding: 0.6rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 50px;
  background: #dc3545;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-modal-cancel:hover {
  background: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}
.btn-modal-cancel:active {
  transform: scale(0.98);
}

/*# sourceMappingURL=app.css..map */
