@font-face {
  font-family: "Special_Elite";
  src: url(../font/Special_Elite/SpecialElite-Regular.ttf);
}

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #f39c12;
  --success-color: #27ae60;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --info-color: #3498db;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --bg-color: #f5f7fa;
  --card-bg: #ffffff;
  --text-color: #333333;
  --text-muted: #666666;
  --border-color: #928f8f;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --bg-color: #1a1a1a;
  --card-bg: #2d2d2d;
  --text-color: #ffffff;
  --text-muted: #cccccc;
  --border-color: #404040;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
*,
*::before,
*::after {
  border: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: rgb(246, 244, 248);
  color: #000000;
  min-height: 100vh;
  font-family: "Roboto", sans-serif;
  font-style: 16px;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 960px;
  min-height: 90vh;
  background: white;
  margin: 0.6rem auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
}

.container header {
  width: 100%;
  background-color: #0c2a5c;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
  height: 112px;
  margin: 0.4rem 0 2rem 0;
}
header {
  display: grid;
  grid-template-columns: 2fr 10fr;
}
header img {
  max-height: 100px;
  margin: 6px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  text-transform: uppercase;
}

h1 {
  font-family: "Special_Elite";
  color: rgb(245, 245, 245);
  text-align: center;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 20px;
}

h2 {
  margin: 0.8rem 0 0.4rem;
}

h3,
h4 {
  margin: 1rem 0 0.4rem;
}

h3.essentiel {
  font-size: 1.5rem;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
  text-align: center;
}

p {
  /* font-family: 'Courier New', Courier, monospace; */
  font-family: "Special_Elite";
  color: #0e006a;
  text-align: justify;
  font-size: 26px;
  text-align: justify;
  margin-bottom: 0.6rem;
}

.sousTitre {
  font-family: "Special_Elite", cursive;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #faf5e8;
}

.sousTitre span {
  text-transform: none;
  color: #eab92d;
  font-style: italic;
  line-height: 1.3rem;
}

section {
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 2rem;
  min-height: 100vh;
  margin: 2rem auto;
  font-family: "Segoe UI", sans-serif;
  background: #fefefe;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.encart {
  border: 1px ridge #e1e1e1;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  padding: 1rem;
  background: #e8e8e8cb;
  margin: 0.5rem 0;
}

.cadre-bleu {
  border: thin solid rgb(110, 110, 255);
  border-radius: 10px;
  padding: 0.5em;
}

.titreFlex {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 1rem;
}

.text-orange {
  color: rgb(158, 97, 0);
}

.sectionN {
  width: 92%;
  height: 100%;
  margin: 0 auto;
  /*  background: #f2f2f2;transform: translateX(100%); */
  background: #fff;

  transition: transform 0.6s ease, opacity 0.6s ease;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.sectionN.active {
  display: block;
  opacity: 1;
  transform: translateX(0%);
  z-index: 1;
}

ul {
  margin-left: 1.5rem;
}

.text-center {
  text-align: center;
}

.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-center {
  display: flex;
  flex-direction: column;
  /* Pour empiler les éléments verticalement */
  justify-content: center;
  /* Pour centrer verticalement */
  align-items: center;
  /* Pour centrer horizontalement */
  text-align: center;
  /* Pour centrer le texte */
}

.float-left {
  float: left;
  margin: 0 1rem 1rem 0;
}

.float-right {
  float: right;
  margin: 0 0 1rem 1rem;
}

.strong-rouge {
  font-weight: 600;
  color: #d32f2f;
}

.warning {
  font-size: 1.4rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #d32f2f;
  margin: 1rem 0;
}

/* Styles de liens */
a {
  color: blue;
  cursor: pointer;
  text-decoration: none;
}

a:active,
a:focus,
a:hover {
  color: rgb(0, 0, 0);
  text-decoration: underline;
}

.noLink a:active,
.noLink a:focus,
.noLink a:hover {
  text-decoration: none;
}
.fondNoir {
  background: black;
}
.lien-custom {
  display: inline-flex;
  align-items: center;
  background: #292929;
  color: #77b2fc;
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #ffe188;
  border-radius: 8px;
  padding: 8px 18px;
  margin: 0.8rem 0 0.5rem 1.2rem;
  transition: background 0.3s, color 0.3s;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.lien-icone {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: #384782;
  border-radius: 7px;
  margin-right: 14px;
  position: relative;
}

.lien-icone::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #faad27 inset;
}

.lien-custom:hover {
  background-color: #f39c12;
  color: #121212;
}

.lien-custom:hover .lien-icone {
  background: #556bc9;
}

.elegant-link-with-icon {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #121212;
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
  border-left: 4px solid #f39c12;
  transition: background-color 0.3s ease;
}

.inv,
.hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
}

.space-10 {
  padding-top: 10px;
}

.space-20 {
  padding-top: 20px;
}

.space-30 {
  padding-top: 30px;
}

.space-50 {
  padding-top: 50px;
}

.space-100 {
  margin-top: 100px;
}
.w-30 {
  max-width: 30%;
}
.w-50 {
  max-width: 50%;
}

.w-60 {
  max-width: 60%;
}

.w-80 {
  max-width: 80%;
}

.w-100 {
  max-width: 100%;
}
.imgIcn {
  float: left;
  max-width: 72px;
  margin-right: 12px;
}
/* boutons  */
.btn {
  font-size: 1.8rem;
  text-transform: uppercase;
  border: none;
  border-radius: 20px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn.update {
  background-color: #28a745;
  color: white;
}

.btn.update:hover {
  background-color: #218838;
}

.btn.delete {
  background-color: #dc3545;
  color: white;
}

.btn.delete:hover {
  background-color: #c82333;
}

.btnLink {
  width: 100%;
  font-weight: 600;
  margin-top: 1em;
  padding: 0.5em 1em;
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
}

.btnLink:hover {
  background-color: #004999;
}

.barre-icones-IA {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 2rem;
  background: linear-gradient(0deg, #1c1c1c, #3a3a3a);
  border-radius: 12px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.barre-icones-IA img {
  max-width: 100px;
  height: auto;
  margin: 0 18px;
}

.icnSurvol img {
  transition: transform 0.2s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.icnSurvol img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.refresh-btn {
  background: linear-gradient(145deg, #4caf50, #45a049);
  border: none;
  border-radius: 15px;
  padding: 15px 30px;
  margin-top: 2rem;
  font-size: 16px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.refresh-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.refresh-btn:hover::before {
  left: 100%;
}

.refresh-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(76, 175, 80, 0.4);
  background: linear-gradient(145deg, #5cbf60, #4caf50);
}

.refresh-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

.refresh-btn a {
  color: black;
}

.round {
  border-radius: 10px;
}

.img-thumbnail {
  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
}

.chiffres {
  float: left;
  margin-right: 0.8rem;
  max-width: 50px;
}

.stat-card {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  background: var(--secondary-color);
  margin: 0.5rem;
  border-radius: 10px;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  color: #e0e0e0;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.stat-card:hover {
  transform: translateY(-4px);
  cursor: pointer;
}

/* Grilles */
.grid-2 {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr 1fr;
}

.grid-4 {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid-stat {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.4rem;
  height: 120px;
  /* Définissez une hauteur pour le conteneur de la grille */
}

.grid-container {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.grid-item-1,
.grid-item-2 {
  flex: 1;
  min-width: 0;
  gap: 0.8rem;
  word-wrap: break-word;
}

/* Intersection observer */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  max-width: 960px;
  margin-top: 1rem;
  width: 100%;
  flex-shrink: 0;
  color: rgb(95, 95, 95);
  font-family: "Roboto", sans-serif;
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.4;
}
.footerGrid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 2fr 4fr 2fr;
}
/* Ligne de séparation */
.hr-light {
  height: 1px;
  background-color: blue;
  border: none;
  margin: 5rem auto 0;
}
