/* PAGE ACCUEIL */
body.accueil, body.mybot, body.tarifs, body.contact, body.dashboard, body.statut {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #111, #125d74, #98c36a);
  color: white;
  overflow-x: hidden;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 50px;
  background-color: #111;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.burger-line {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 0;
}

.logo-text {
  font-size: 28px;
  font-weight: 600;
  color: #125d74;
}

.logo-img {
    margin-left: 120px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0 auto;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  text-align: center;
}

.nav-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #125d74;
  transition: width 0.3s ease-in-out;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 20vh;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 80px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(152, 195, 106, 0.25);
  letter-spacing: 1px;
  margin: 0;
  animation: fadeInDown 1s ease;
  z-index: 999;
}

.hero p {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: #d0d0d0;
  margin: 20px 0;
  animation: fadeInUp 1.5s ease;
  z-index: 999;
}



.hero-pp-wrapper {
  width: 110px;
  height: 110px;
  background-color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInDown 1s ease;
  z-index: 999;
}

.hero-pp {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: contain;
  z-index: 999;
}

html {
  scroll-behavior: smooth;
}


.background-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: white;
  border-radius: 50%;
  opacity: 0.6;
  animation: floatUp 10s linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-10vh) translateX(var(--drift));
    opacity: 0;
  }
}


.cta-button {
  background-color: #125d74;
  color: black;
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #98c36a;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #111;
  font-size: 14px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.features {
  padding: 80px 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
}

.features-title {
  font-size: 48px;
  font-weight: 600;
  color: #98c36a;
  margin-bottom: 40px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.feature-box {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(152, 195, 106, 0.4);
}

.feature-box .emoji {
  font-size: 36px;
  display: block;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 22px;
  margin: 10px 0;
  color: #fff;
}

.feature-box p {
  font-size: 16px;
  color: #ccc;
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

@keyframes breatheBox {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowTitle {
  0%, 100% {
    text-shadow: 0 0 10px rgba(152, 195, 106, 0.2);
  }
  50% {
    text-shadow: 0 0 25px rgba(152, 195, 106, 0.6);
  }
}

.features-title {
  animation: glowTitle 6s ease-in-out infinite;
}

.feature-box {
  animation: breatheBox 4s ease-in-out infinite;
}

.features-title {
  animation: glowTitle 3.5s ease-in-out infinite;
}


.features-button-wrapper {
  margin-top: 50px;
  text-align: center;
  animation: fadeInUp 1.5s ease;
}

.features-button {
  background-color: #125d74;
  color: white;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 10px rgba(152, 195, 106, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: breatheButton 5s ease-in-out infinite;
}

.features-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(152, 195, 106, 0.5);
}

@keyframes breatheButton {
  0%, 100% {
    box-shadow: 0 0 10px rgba(152, 195, 106, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(152, 195, 106, 0.5);
  }
}

.separator {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #125d74, #98c36a, #125d74);
  background-size: 200% auto;
  animation: moveGradient 5s linear infinite;
  margin-top: 0px;
}

@keyframes moveGradient {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.partners-section {
  padding: 70px 20px;
  text-align: center;
}

.partners-title {
  font-size: 42px;
  font-weight: 600;
  color: #98c36a;
  margin-bottom: 50px;
  animation: glowTitle 4s ease-in-out infinite;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.partner-box {
  background-color: #1a1a1a;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: breatheBox 6s ease-in-out infinite;
}

.partner-box:hover .led-bar {
  width: 120px;
}

.partner-box img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-top: 10px;
  padding: 5px;
}

.partner-box h3 {
  font-size: 18px;
  color: #ffffff;
  margin: 0;
}

.led-bar {
  height: 4px;
  width: 60px;
  margin: 12px auto;
  background: linear-gradient(90deg, #125d74, #98c36a, #125d74);
  background-size: 200% auto;
  animation: moveGradient 3s linear infinite;
  border-radius: 6px;
  transition: width 0.4s ease;
}

.more-partners {
  margin-top: 60px;
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  font-style: italic;
  animation: fadeInUp 1.2s ease;
}

.infos-end-section {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(4px);
  padding: 40px 20px;
  color: #cddccc;
  text-align: center;
  margin-top: 60px;
}

.infos-end-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.infos-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a0ff9d;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 6px 12px;
  border-radius: 8px;
}

.infos-link i {
  margin-right: 0px;
  color: #ffffff;
}

.infos-link:hover {
  color: #d3ffbd;
  background-color: rgba(160, 255, 157, 0.1);
  box-shadow: 0 0 6px rgba(160, 255, 157, 0.3);
  transform: translateY(-1px);
}

.infos-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  color: #b0b0b0;
}

.heart-icon {
  width: 22px;
  height: 22px;
  animation: pulseHeart 1.8s infinite;
}

@keyframes pulseHeart {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.5));
  }
  50% {
    transform: scale(1.25);
    filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.9));
  }
}









/* PAGE CONTACT */
.contact-section {
  padding: 100px 20px 60px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  color: #fff;
  animation: fadeInUp 1.5s ease;
}

.contact-title {
  font-size: 48px;
  color: #98c36a;
  margin-bottom: 10px;
  animation: glowTitle 4s ease-in-out infinite;
}

.contact-subtitle {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 40px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  align-items: center;
}

.form-group input,
.form-group textarea {
  width: 95%;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: #1a1a1a;
  color: #fff;
  font-size: 16px;
  transition: box-shadow 0.3s ease;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(152, 195, 106, 0.4);
}

.contact-button {
  width: calc(100% - 30px);
  margin: 0 auto;
  display: block;
  background-color: #125d74;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(152, 195, 106, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(152, 195, 106, 0.5);
}

.contact-infos {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.contact-link {
  color: #a0ff9d;
  text-decoration: none;
  font-size: 17px;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: #d3ffbd;
  text-shadow: 0 0 5px rgba(152, 195, 106, 0.4);
}

.contact-link i {
  margin-right: 8px;
}

.form-feedback {
  width: calc(100% - 30px);
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  background-color: rgba(152, 195, 106, 0.1);
  border: 1px solid rgba(152, 195, 106, 0.3);
  color: #a0ff9d;
  box-shadow: 0 0 10px rgba(152, 195, 106, 0.2);
  transition: all 0.3s ease;
}









/* PAGE TARIFS */
.tarifs-section {
  padding: 100px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.tarifs-title {
  font-size: 42px;
  color: #00ffc3;
  margin-bottom: 10px;
  text-shadow: 0 0 10px #00ffc355;
}

.tarifs-subtitle {
  font-size: 20px;
  color: #b3f5e5;
  margin-bottom: 50px;
}

.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion-item {
  background: rgba(0, 255, 195, 0.05);
  border: 1px solid #00ffc340;
  border-radius: 15px;
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px #00ffc30f;
}

.accordion-button {
  background: none;
  border: none;
  color: #00ffc3;
  font-size: 20px;
  padding: 20px;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
}

.accordion-button:hover {
  background: rgba(0, 255, 195, 0.05);
}

.accordion-button::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 24px;
  transition: transform 0.3s;
}

.accordion-item.active .accordion-button::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #c5fff2;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.accordion-item.active .accordion-content {
  padding: 20px;
  max-height: 1500px;
}

.module-list {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.module-list li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed #00ffc322;
}

.tarif-note, .tarif-description {
  margin-top: 15px;
  color: #b2fce7;
  font-style: italic;
}

.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.accordion-button .icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

.cta-discord {
  margin-top: 20px;
  text-align: center;
}

.cta-button-discord {
  position: relative;
  display: inline-block;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  color: #00ffc3;
  background: rgba(0, 255, 195, 0.08);
  border: 1px solid #00ffc380;
  border-radius: 10px;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 255, 195, 0.2);
}

.cta-button-discord:hover {
  background: rgba(0, 255, 195, 0.15);
  border-color: #00ffc3;
  color: #b3f5e5;
  box-shadow: 0 0 20px rgba(0, 255, 195, 0.4);
}

.cta-button-discord .sweep {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(0, 255, 195, 0.2) 50%, transparent 100%);
  transition: left 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.cta-button-discord:hover .sweep {
  left: 100%;
}














/* PAGE ADMIN DASH */ 
.admin-layout {
  display: flex;
  min-height: 85vh;
  gap: 20px;
}

.admin-sidebar {
  width: 260px;
  background: rgba(0, 255, 195, 0.05);
  border-right: 1px solid #00ffc3;
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.admin-menu {
  flex: 1; /* ✅ prend tout l’espace dispo */
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  overflow-y: auto; /* ✅ scrolle seulement si trop d’items */
  padding-right: 5px;
}

.admin-sidebar-footer {
  margin-top: 20px; /* espace entre menu et logout */
  flex-shrink: 0;   /* ✅ reste fixe, jamais poussé hors écran */
}

.admin-menu .btn {
  position: relative;
  text-align: left;
  background: rgba(0, 255, 195, 0.08);
  border: 1px solid #00ffc3;
  border-radius: 8px;
  padding: 12px 14px;
  color: #00ffc3;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, background 0.3s ease;
}

.admin-menu .btn:hover {
  background: rgba(0, 255, 195, 0.12);
  transform: translateX(3px);
}

.admin-menu .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0, 255, 195, 0.15) 50%,
    transparent 100%
  );
  transition: left 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.admin-menu .btn:hover::after {
  left: 100%;
}

.admin-content {
  flex: 1;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  color: #b2fce7;
  box-shadow: 0 0 15px rgba(0, 255, 195, 0.1);
}

.btn-logout-admin {
  background: rgba(255, 165, 0, 0.08);
  border: 1px solid #ffa500;
  border-radius: 8px;
  padding: 8px 18px;
  color: #ffa500;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
  transition: all 0.3s ease, transform 0.2s ease;
}

.btn-logout-admin:hover {
  background: rgba(255, 165, 0, 0.15);
  border-color: #ffb733;
  box-shadow: 0 0 25px rgba(255, 165, 0, 0.5), 0 0 35px rgba(255, 165, 0, 0.3) inset;
}

/* Stats Dashboard */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: linear-gradient(145deg, rgba(0, 15, 20, 0.95), rgba(0, 40, 35, 0.95));
  border: 1px solid #00ffc3;
  border-radius: 16px;
  padding: 25px 30px;
  width: 420px;
  color: #e0fff6;
  box-shadow: 0 0 25px rgba(0,255,195,0.25), inset 0 0 15px rgba(0,255,195,0.05);
  backdrop-filter: blur(8px);
  animation: popup-fade 0.3s ease;
}

.modal-content h3 {
  margin-bottom: 20px;
  color: #00ffc3;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 8px rgba(0,255,195,0.4);
  letter-spacing: 0.5px;
}

.modal-content label {
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #8cfce1;
}

.modal-content select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: rgba(0, 20, 25, 0.8);
  border: 1px solid rgba(0, 255, 195, 0.3);
  color: #e0fff6;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}

.modal-content input {
  width: 94%;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: rgba(0, 20, 25, 0.8);
  border: 1px solid rgba(0, 255, 195, 0.3);
  color: #e0fff6;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}

.modal-content input:focus,
.modal-content select:focus {
  border-color: #00ffc3;
  box-shadow: 0 0 10px rgba(0,255,195,0.4);
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.modal-actions button {
  flex: 1;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#cancel-project {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.7);
  color: #ff6666;
  margin-right: 10px;
  box-shadow: 0 0 10px rgba(255, 80, 80, 0.2);
}

#cancel-project:hover {
  background: rgba(255, 80, 80, 0.2);
  transform: translateY(-2px);
}

#save-project {
  background: rgba(0, 255, 195, 0.1);
  border: 1px solid #00ffc3;
  color: #00ffc3;
  box-shadow: 0 0 12px rgba(0, 255, 195, 0.25);
}

#save-project:hover {
  background: rgba(0, 255, 195, 0.2);
  transform: translateY(-2px);
}

@keyframes popup-fade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* grille */
.projects-grid-pretty {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 16px;
}

/* carte */
.project-card-pretty {
  background: #11353a;            /* teal sombre */
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
  color: #eaf4f4;
}

/* header */
.pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pc-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pc-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block;
}

.pc-titles {
  display: flex;
  flex-direction: column;
}

.pc-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.pc-sub {
  margin: 2px 0 0 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.pc-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

/* En cours */
.pc-badge-yellow {
  background: rgba(255, 165, 0, 0.15);
  color: #ffa500;
  border-color: #ffa500;
}

/* Planifié */
.pc-badge-blue {
  background: rgba(164, 12, 211, 0.15);
  color: #a40cd3;
  border-color: #a40cd3;
}

/* Terminé */
.pc-badge-green {
  background: rgba(11, 201, 87, 0.15);
  color: #0bc957;
  border-color: #0bc957;
}

/* Non payé */
.pc-badge-red {
  background: rgba(255, 57, 57, 0.15);
  color: #ff3939;
  border-color: #ff3939;
}



.pc-meta {
  margin-top: 6px;
}

.pc-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}

.pc-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.pc-label {
  color: #cde3e3;
  opacity: 0.9;
  font-size: 0.9rem;
}

.pc-value {
  text-align: right;
  font-weight: 600;
  font-size: 0.95rem;
}

.pc-row-progress {
  border-bottom: none !important;
}

.pc-progressbar {
  width: 100%;
  background: #0e2d31;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  margin: 0 0 10px 0;
  border: 1px solid rgba(255,255,255,0.06);
}

.pc-progressfill {
  height: 100%;
  background: linear-gradient(90deg, #22d3ee 0%, #34d399 60%, #22c55e 100%);
  box-shadow: inset 0 0 8px rgba(255,255,255,0.2);
  transition: width 300ms ease;
}

.pc-date {
  font-weight: 700;
}

.pc-empty {
  padding: 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  text-align: center;
  color: #cfe8e8;
}

.filter-icon {
  width: 22px;
  height: 22px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.filter-icon:hover {
  transform: scale(1.1);
}


.filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.filter-dropdown {
  position: relative;
}

#filter-toggle {
  cursor: pointer;
}

.filter-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: #11353a; /* même fond que tes cartes */
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  z-index: 10;
  min-width: 160px;
}

.filter-menu label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-size: 0.9rem;
  color: #eaf4f4;
  cursor: pointer;
  transition: color 0.2s ease;
}

.filter-menu label:hover {
  color: #34d399; /* vert clair au hover */
}

.filter-menu input[type="checkbox"] {
  accent-color: #34d399; /* couleur du check */
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.filter-menu.active {
  display: block;
}


/* === GRID STATS === */
.stats-grid-pretty {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* === CARD === */
.stat-card-pretty {
  background: #11353a;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between; /* icône à droite */
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card-pretty:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.stat-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.stat-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  margin: 0.2rem 0;
}

.stat-label {
  font-size: 1rem;
  color: #d1d5db;
  margin: 0;
}

.stat-info small {
  font-size: 0.85rem;
  font-weight: 500;
  color: #10b981;
}

.stat-info small.negative {
  color: #ef4444;
}

.evo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
}

.evo-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.evo-up {
  color: #22c55e;
}

.evo-down {
  color: #ef4444;
}

.evo-same {
  color: #10b981;
}

.search-input {
  background: #11353a;
  border: 1px solid #22d3ee;
  color: #f1f5f9;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 280px;
}

.search-input::placeholder {
  color: #94a3b8;
}

.search-input:focus {
  border-color: #00ffc3;
  box-shadow: 0 0 10px rgba(0,255,195,0.4);
}

.modal-content.large {
  width: 900px; /* plus large */
  max-width: 95%;
}

#edit-project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* caché par défaut */
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6); /* fond sombre semi-transparent */
  z-index: 1000;
}

/* Visible quand actif */
#edit-project-modal.active {
  display: flex;
}

#edit-project-modal .modal-content.large {
  background: #11353a; /* même fond que tes autres modals */
  color: #f1f5f9;
  padding: 25px;
  border-radius: 16px;
  width: 900px; /* plus large */
  max-width: 95%;
  max-height: 90%;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.25s ease;
  border: 1px solid #22d3ee; /* même style que le reste de ton dashboard */
}

/* Layout interne */
.modal-body {
  display: flex;
  gap: 20px;
}

.modal-left, .modal-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-right textarea {
  flex: 1;
  resize: vertical;
  min-height: 200px;
  background: rgba(0, 20, 25, 0.8);
  border: 1px solid rgba(0, 255, 195, 0.3);
  color: #f8fafc;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-right textarea:focus {
  border-color: #00ffc3;
  box-shadow: 0 0 10px rgba(0,255,195,0.4);
}

/* Conteneur des boutons */
.modal-actions {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  gap: 16px; /* plus d’espace entre les deux */
}

/* Boutons génériques */
.modal-actions button {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px; /* taille uniforme */
}

/* Bouton annuler */
.modal-actions .btn-cancel {
  background: transparent;
  border-color: #ef4444;
  color: #ef4444;
}

.modal-actions .btn-cancel:hover {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

/* Bouton sauvegarder */
.modal-actions .btn-save {
  background: transparent;
  border-color: rgba(0, 255, 195, 0.3);
  color: rgba(0, 255, 195, 0.3);
}

.modal-actions .btn-save:hover {
  background: #00ffc3;
  color: #fff;
  box-shadow: 0 0 10px rgba(0,255,195,0.4);
}




@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}






















/* DASHBOARD & SECU+ EN DEV*/
.discord-login-section {
  padding: 150px 20px;
  text-align: center;
  color: #00ffc3;
  animation: fadeInUp 1.5s ease;
  height: 50vh;
}

.discord-login-title {
  font-size: 36px;
  margin-bottom: 30px;
  color: #00ffc3;
  text-shadow: 0 0 12px rgba(0, 255, 195, 0.4);
}

.discord-login-btn {
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 600;
  background-color: #5865F2;
  color: white;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.4);
}

.discord-login-btn:hover {
  background-color: #4752c4;
}

.dashboard-container {
  padding: 150px 20px;
  text-align: center;
  color: #00ffc3;
  animation: fadeInUp 1.5s ease;
  min-height: 50vh;
}

.dashboard-title {
  font-size: 30px;
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(0, 255, 195, 0.4);
}

.dashboard-text {
  font-size: 20px;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0, 255, 195, 0.2);
}



/* Accès non client */
.non-client-section {
  min-height: calc(80vh - 180px);
  padding: 100px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.non-client-title {
  font-size: 42px;
  color: #00ffc3;
  margin-bottom: 15px;
  text-shadow: 0 0 15px #00ffc377;
}

.non-client-subtitle {
  font-size: 18px;
  color: #b3f5e5;
  margin-bottom: 40px;
}

.non-client-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: rgba(0, 255, 195, 0.08);
  border: 1px solid #00ffc3;
  border-radius: 12px;
  padding: 12px 25px;
  color: #00ffc3;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 15px #00ffc333;
  transition: all 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: rgba(0, 255, 195, 0.15);
  border-color: #00ffd5;
  box-shadow: 0 0 25px #00ffc377, 0 0 35px #00ffc344 inset;
  transform: scale(1.03);
}

/* Bouton logout NON CLIENT (orange) */
.btn-logout-non-client {
  background: rgba(255, 165, 0, 0.08);
  border: 1px solid #ffa500;
  border-radius: 12px;
  padding: 12px 25px;
  color: #ffa500;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
  transition: all 0.3s ease, transform 0.2s ease;
}

.btn-logout-non-client:hover {
  background: rgba(255, 165, 0, 0.15);
  border-color: #ffb733;
  box-shadow: 0 0 25px rgba(255, 165, 0, 0.5), 0 0 35px rgba(255, 165, 0, 0.3) inset;
  transform: scale(1.03);
}




/* DASH GESTION ADMIN */
  .sidebar {
    width: 240px;
    background-color: #202225;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }
  .sidebar h2 {
    color: #7289da;
    margin-bottom: 30px;
  }
  .sidebar a {
    text-decoration: none;
    color: #b9bbbe;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: background-color 0.2s, color 0.2s;
  }
  .sidebar a.active, .sidebar a:hover {
    background-color: #36393f;
    color: #ffffff;
  }
  .main {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
  }
  .heading {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #7289da;
  }
  .form-section {
    background: #36393f;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
  }
  .form-group {
    margin-bottom: 15px;
  }
  .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #dcddde;
  }
  .form-group input[type="text"],
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #2f3136;
    color: #dcddde;
  }
  .form-group select {
    cursor: pointer;
  }
  .form-group textarea {
    resize: vertical;
  }
  button {
    background-color: #7289da;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s;
  }
  button:hover {
    background-color: #5b6eae;
  }
  .panel-list {
    margin-bottom: 20px;
  }
  .panel-item {
    background: #2f3136;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .panel-item .panel-name {
    flex-grow: 1;
    color: #ffffff;
  }
  .panel-item button {
    margin-left: 10px;
    font-size: 0.9em;
  }




























/* PAGE STATUT*/
.status-section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.status-title {
  font-size: 42px;
  color: #00ffc3;
  margin-bottom: 10px;
  text-shadow: 0 0 15px #00ffc377;
}

.status-subtitle {
  font-size: 20px;
  color: #b3f5e5;
  margin-bottom: 50px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.status-card {
  background: rgba(0, 255, 195, 0.04);
  border: 1px solid #00ffc340;
  border-radius: 15px;
  backdrop-filter: blur(8px);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px #00ffc30f;
  color: #c5fff2;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.status-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0, 255, 195, 0.12) 50%,
    transparent 100%
  );
  transition: left 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.status-card:hover::after {
  left: 100%;
}

.status-card h3 {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 10px;
}

.status-card p {
  font-size: 16px;
  color: #b2fce7;
}

.status-card.up {
  border-left: 5px solid #00ff88;
  box-shadow: 0 0 15px #00ff8844;
}

.status-card.down {
  border-left: 5px solid #ff4f4f;
  box-shadow: 0 0 15px #ff4f4f44;
}

.status-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px #00ffc355;
}

.status-card.warning {
  background: rgba(255, 174, 0, 0.05);
  border: 1px solid #f39c1244;
  border-left: 5px solid #f39c12;
  border-radius: 15px;
  backdrop-filter: blur(8px);
  padding: 30px;
  box-shadow: 0 0 20px #f39c1222;
  color: #ffe6bf;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.status-card.warning h3 {
  color: #fff3d0;
}

.status-card.warning p {
  color: #ffe6bf;
}

.status-card.warning:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px #f39c1255;
}
































/* ============================ VERSION TEL ========================== */

/* ================== PAGE DASHBOARD ET Sécu + ==================== */
@media (max-width: 1000px) {
  .coming-soon-section {
    padding: 150px 20px;
    height: 50vh;
  }

  .coming-soon-title {
    font-size: 30px;
    text-shadow: 0 0 12px rgba(0, 255, 195, 0.4);
    margin-bottom: 20px;
  }

  .coming-soon-subtitle {
    font-size: 18px;
    text-shadow: 0 0 6px rgba(0, 255, 195, 0.2);
  }
}






/* ================== PAGE TARIFS ==================== */
@media (max-width: 1000px) {
  .tarifs-section {
    padding: 60px 15px;
  }

  .tarifs-title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .tarifs-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .accordion-button {
    font-size: 18px;
    padding: 16px;
  }

  .accordion-button::after {
    font-size: 20px;
    right: 16px;
  }

  .accordion-content {
    padding: 0 15px;
  }

  .accordion-item.active .accordion-content {
    padding: 15px;
  }

  .module-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .tarif-note,
  .tarif-description {
    font-size: 14px;
    margin-top: 10px;
  }

  .accordion-button .icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  }

  .cta-button-discord {
    padding: 12px 28px;
    font-size: 0.9rem;
    border-radius: 8px;
  }
}






/* ================== PAGE CONTACT ==================== */
@media (max-width: 1000px) {
  .contact-section {
    padding: 60px 15px 40px;
  }

  .contact-title {
    font-size: 30px;
    margin-bottom: 8px;
  }

  .contact-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .contact-form {
    gap: 15px;
  }

  .form-group input,
  .form-group textarea {
    width: 92%;
    padding: 12px;
    font-size: 15px;
  }

  .contact-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 25px;
  }

  .contact-infos {
    margin-top: 40px;
    gap: 12px;
  }

  .contact-link {
    font-size: 15px;
  }

  .form-feedback {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }
}








/* ================== PAGE STATUT ==================== */
@media (max-width: 1000px) {
  .status-section {
    padding: 60px 15px;
  }

  .status-title {
    font-size: 30px;
    text-shadow: 0 0 10px #00ffc355;
  }

  .status-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .status-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .status-card {
    padding: 20px;
    font-size: 14px;
  }

  .status-card h3 {
    font-size: 20px;
  }

  .status-card p {
    font-size: 14px;
  }

  .status-card.warning,
  .status-card.up,
  .status-card.down {
    padding: 20px;
  }
}










/* ================== PAGE ACCUEIL ==================== */
@media (max-width: 1000px) {
  .partners-section {
    padding: 50px 15px;
  }

  .partners-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .partners-grid {
    gap: 25px;
  }

  .partner-box {
    padding: 15px;
  }

  .partner-box img {
    width: 70px;
    height: 70px;
    margin-top: 8px;
  }

  .partner-box h3 {
    font-size: 18px;
  }

  .led-bar {
    width: 50px;
    height: 3px;
    margin: 10px auto;
  }

  .more-partners {
    font-size: 16px;
    margin-top: 40px;
  }

  .infos-end-section {
    padding: 30px 15px;
    margin-top: 40px;
  }

  .infos-end-content {
    gap: 20px;
  }

  .infos-link {
    font-size: 15px;
    gap: 8px;
    padding: 5px 10px;
  }

  .infos-credit {
    font-size: 15px;
    gap: 6px;
    text-align: center;
  }

  .heart-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 1000px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    position: relative;
    z-index: 999;
  }

  .logo-container {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    margin-left: 5px;
  }

  .logo-img {
    margin-left: 0;
    width: 35px;
    height: 35px;
    z-index: 0;
    position: relative;
  }

  .logo-text {
    font-size: 22px;
  }

  .burger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
    padding: 5px;
    align-items: center;
    justify-content: center;
  }

  .burger-line {
    width: 24px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .nav-links {
    overflow: hidden;
    position: fixed;
    max-height: 0;
    top: 0;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    background-color: #111;
    padding: 0;
    z-index: 2000;
  }

  .nav-links.active {
    max-height: 600px;
    padding: 35px 0;
  }


  .nav-links a {
    font-size: 15px;
  }

  .hero {
    height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 50px;
    line-height: 1.2;
    margin: 0 10px;
    z-index: 1;
  }

  .hero p {
    font-size: 20px;
    margin: 15px 10px;
    z-index: 1;
  }

  .hero-pp-wrapper {
    width: 85px;
    height: 85px;
    z-index: 0;
  }

  .hero-pp {
    width: 60px;
    height: 60px;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 18px;
    z-index: 1;
  }

  .features {
    padding: 50px 15px;
  }

  .features-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-box {
    padding: 20px;
  }

  .feature-box h3 {
    font-size: 18px;
  }

  .feature-box p {
    font-size: 14px;
  }

  .feature-icon {
    width: 30px;
    height: 30px;
  }

  .features-button-wrapper {
    margin-top: 30px;
  }

  .features-button {
    padding: 12px 26px;
    font-size: 16px;
  }

  footer {
    font-size: 12px;
    padding: 15px;
  }
}
