/* ==========================================================================
   base.css — styles extraits des blocs <style> inline de base.html (Phase 2).
   Chargé APRES design-system.css (et le bloc extra_css enfant) pour preserver
   exactement la cascade d'origine. Ne pas reordonner le <link> dans base.html.
   ========================================================================== */

.footer-newsletter {
  max-width: 360px;
}

.newsletter-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.newsletter-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  line-height: 1.5;
}

.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-input:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.14);
}

.newsletter-btn {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.newsletter-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,102,204,0.45);
}

.newsletter-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.newsletter-privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  margin-bottom: 0;
}

.newsletter-error {
  font-size: 0.82rem;
  color: #fca5a5;
  margin-top: 6px;
  margin-bottom: 0;
}

/* Bloc succès */
.newsletter-success-block {
  text-align: center;
  padding: 20px 10px;
  animation: fadeInUp 0.4s ease;
}

.newsletter-success-icon {
  font-size: 2.5rem;
  color: #34d399;
  margin-bottom: 10px;
}

.newsletter-success-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- bloc suivant ---------- */

    /* ============================================================================
   FOOTER MODERNE MAHRASOFT ACADEMIA
   ============================================================================ */

.footer {
  background: linear-gradient(135deg, #1a1f35 0%, #2c3e50 50%, #1a1f35 100%);
  color: #ffffff;
  padding-top: 4rem;
  position: relative;
  overflow: hidden;
  margin-top: 5rem;
}

/* Effet de vagues en haut du footer */
.footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%231a1f35'/%3E%3C/svg%3E") no-repeat center;
  background-size: cover;
  z-index: 1;
}

/* Effet de particules animées en arrière-plan */
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(91, 163, 224, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Container principal */
.footer-top {
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================================
   SECTION À PROPOS
   ============================================================================ */

.footer-about .logo img {
  /* max-height: 60px; */
  margin-bottom: 1.5rem;
  filter: brightness(1.1);
  transition: all 0.3s ease;
  /* background-color: var(--surface-color); */
}

.footer-about .logo:hover img {
  filter: brightness(1.3);
  transform: scale(1.05);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-description strong {
  color: #3b82f6;
  font-weight: 600;
}

/* Contact Info */
.footer-contact {
  margin: 1.5rem 0;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.footer-contact p:hover {
  color: #3b82f6;
  transform: translateX(5px);
}

.footer-contact i {
  color: #2563eb;
  font-size: 1.2rem;
  min-width: 20px;
  margin-top: 2px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  color: white;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
  border-color: #2563eb;
}

.social-links a:hover::before {
  left: 0;
}

.social-links a i {
  position: relative;
  z-index: 1;
}

/* ============================================================================
   LIENS ET SECTIONS
   ============================================================================ */

.footer-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
  border-radius: 2px;
  animation: expandLine 3s ease-in-out infinite;
}

@keyframes expandLine {
  0%, 100% { width: 50px; }
  50% { width: 70px; }
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.3rem 0;
}

.footer-links a i {
  color: #2563eb;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6;
  transform: translateX(5px);
}

.footer-links a:hover i {
  color: #3b82f6;
  transform: translateX(3px);
}

/* ============================================================================
   NEWSLETTER
   ============================================================================ */

.footer-newsletter {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.footer-newsletter:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.newsletter-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]:focus {
  border-color: #2563eb;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
}

.newsletter-form button {
  padding: 0.9rem 1.8rem;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.newsletter-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

.newsletter-form button:hover::before {
  left: 100%;
}

.newsletter-form button:active {
  transform: translateY(0);
}

/* Newsletter Benefits */
.newsletter-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter-benefit {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.newsletter-benefit i {
  color: #10b981;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================================
   STATISTIQUES FOOTER
   ============================================================================ */

.footer-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.footer-stat {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.footer-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.2) 0%, rgba(91, 163, 224, 0.2) 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.footer-stat:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.3);
  border-color: #2563eb;
}

.footer-stat:hover::before {
  left: 0;
}

.footer-stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.footer-stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================================
   FOOTER BOTTOM
   ============================================================================ */

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.copyright strong {
  color: #3b82f6;
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-bottom-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
  transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #3b82f6;
}

.footer-bottom-links a:hover::after {
  width: 100%;
}

/* Badge Tchad */
.chad-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  animation: heartbeat 2s ease-in-out infinite;
}

.chad-badge i {
  color: #ef4444;
  font-size: 1.2rem;
}

.chad-badge span:last-child {
  font-size: 1.5rem;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.05); }
  20%, 40% { transform: scale(1); }
}

.credits {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

.credits a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.credits a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

/* Tablettes - 768px à 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .footer {
    padding-top: 3rem;
    margin-top: 4rem;
  }

  .footer-top {
    padding-bottom: 2.5rem;
  }

  .footer-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2.5rem 0;
  }

  .footer-stat {
    padding: 1.5rem 1rem;
  }

  .footer-stat-number {
    font-size: 2.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile - Moins de 768px */
@media (max-width: 767px) {
  .footer {
    padding-top: 2.5rem;
    margin-top: 3rem;
  }

  .footer::before {
    top: -50px;
    height: 50px;
  }

  .footer-top {
    padding-bottom: 2rem;
  }

  .footer-about {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer-about .logo {
    justify-content: center;
  }

  .footer-about .logo img {
    max-height: 50px;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-contact p {
    font-size: 0.85rem;
  }

  .social-links {
    justify-content: center;
  }

  .social-links a {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .footer-section-title {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    text-align: center;
  }

  .footer-section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .footer-links a {
    justify-content: center;
    font-size: 0.85rem;
  }

  .footer-newsletter {
    padding: 1.5rem;
    border-radius: 15px;
  }

  .newsletter-description {
    font-size: 0.85rem;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.6rem;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
  }

  .newsletter-form button {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.5rem;
  }

  .newsletter-benefits {
    gap: 0.6rem;
  }

  .newsletter-benefit {
    font-size: 0.8rem;
  }

  .footer-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }

  .footer-stat {
    padding: 1.5rem 1rem;
  }

  .footer-stat-number {
    font-size: 2.5rem;
  }

  .footer-stat-label {
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding: 1.5rem 0;
  }

  .copyright {
    font-size: 0.85rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .footer-bottom-links a {
    font-size: 0.8rem;
  }

  .chad-badge {
    font-size: 0.85rem;
  }

  .credits {
    font-size: 0.8rem;
  }
}

/* Mobile Petit - Moins de 480px */
@media (max-width: 479px) {
  .footer {
    padding-top: 2rem;
  }

  .footer-about .logo img {
    max-height: 45px;
  }

  .footer-section-title {
    font-size: 1rem;
  }

  .footer-stats {
    padding: 1.5rem 0;
  }

  .footer-stat {
    padding: 1.2rem 0.8rem;
  }

  .footer-stat-number {
    font-size: 2rem;
  }

  .footer-stat-label {
    font-size: 0.8rem;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
  }
}

/* ============================================================================
   ANIMATIONS ET EFFETS SUPPLÉMENTAIRES
   ============================================================================ */

/* Animation au scroll */
@media (prefers-reduced-motion: no-preference) {
  .footer-about,
  .footer-links,
  .footer-newsletter,
  .footer-stat {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
  }

  .footer-about { animation-delay: 0.1s; }
  .footer-links { animation-delay: 0.2s; }
  .footer-newsletter { animation-delay: 0.3s; }
  .footer-stat:nth-child(1) { animation-delay: 0.1s; }
  .footer-stat:nth-child(2) { animation-delay: 0.2s; }
  .footer-stat:nth-child(3) { animation-delay: 0.3s; }
  .footer-stat:nth-child(4) { animation-delay: 0.4s; }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Effet de brillance sur les liens */
@keyframes shine {
  0% { background-position: -200%; }
  100% { background-position: 200%; }
}

.footer-links a:hover,
.footer-bottom-links a:hover {
  background: linear-gradient(90deg, transparent, rgba(91, 163, 224, 0.2), transparent);
  background-size: 200% 100%;
  animation: shine 1.5s ease-in-out;
}

/* Pulse sur les icônes sociales */
.social-links a:hover i {
  animation: pulse-icon 0.6s ease-in-out;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
  

/* ---------- bloc suivant ---------- */

    /* ============================================================================
       VARIABLES CSS MODERNES
       ============================================================================ */
    :root {
      --primary-color: #2563eb;
      --primary-dark: #1d4ed8;
      --primary-light: #3b82f6;
      --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
      --gradient-secondary: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
      --text-dark: #2c3e50;
      --text-light: #6b7280;
      --bg-light: #f8fafc;
      --border-light: #e2e8f0;
      --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
      --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
      --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
      --border-radius: 12px;
      --border-radius-lg: 20px;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      
      /* Surcharge des variables du template */
      --accent-color: #2563eb;
      --nav-color: #2c3e50;
      --nav-hover-color: #2563eb;
      --nav-dropdown-color: #2c3e50;
      --nav-dropdown-hover-color: #2563eb;
    }

    /* Thème sombre : bascule des variables locales définies ci-dessus. Nécessaire
       car base.css est chargé APRÈS design-system.css : sans ce bloc, ce :root
       clair surchargerait les tokens sombres (texte/nav resteraient sombres). */
    [data-theme="dark"] {
      --text-dark: #f1f5f9;
      --text-light: #94a3b8;
      --bg-light: #131c2e;
      --border-light: #273449;
      --nav-color: #cbd5e1;
      --nav-dropdown-color: #cbd5e1;
      --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.45);
      --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.55);
      --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.65);
    }

    /* ============================================================================
       STYLES GÉNÉRAUX
       ============================================================================ */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      padding-top: 100px;
      overflow-x: hidden;
    }

    /* ============================================================================
       HEADER MODERNE ET RESPONSIVE
       ============================================================================ */
    .header {
      background: rgba(255, 255, 255, 0.95) !important;
      backdrop-filter: blur(20px) !important;
      -webkit-backdrop-filter: blur(20px) !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
      box-shadow: var(--shadow-sm) !important;
      padding: 1rem 0 !important;
      transition: var(--transition) !important;
      position: fixed !important;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      width: 100%;
    }

    .header.scrolled {
      background: rgba(255, 255, 255, 0.98) !important;
      box-shadow: var(--shadow-md) !important;
      padding: 0.75rem 0 !important;
    }

    .header .container-fluid {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 0 2rem;
    }

    /* ============================================================================
       LOGO RESPONSIVE
       ============================================================================ */
    .logo {
      flex-shrink: 0;
      margin-right: 2rem;
      z-index: 1002;
    }

    .logo img {
      max-height: 80px;
      width: auto;
      transition: var(--transition);
    }

    .header.scrolled .logo img {
      max-height: 60px;
    }

    /* ============================================================================
       NAVIGATION DESKTOP
       ============================================================================ */
    .navmenu {
      flex: 1;
      display: flex;
      justify-content: right;
      margin-right: 1.5rem;
      min-width: 0;
    }

    .navmenu ul {
      display: flex;
      align-items: center;
      gap: 0.1rem;
      margin: 0;
      padding: 0;
      list-style: none;
      flex-wrap: nowrap;
      min-width: 0;
    }

    .navmenu > ul > li {
      position: relative;
      flex-shrink: 0;
    }

    .navmenu a {
      color: var(--text-dark) !important;
      text-decoration: none;
      padding: 0.5rem 0.8rem !important;
      border-radius: 20px !important;
      font-weight: 500;
      font-size: 0.8rem;
      transition: var(--transition) !important;
      display: flex;
      align-items: center;
      gap: 0.3rem;
      white-space: nowrap;
    }

    .navmenu a:hover,
    .navmenu a:focus,
    .navmenu .active > a {
      background: var(--gradient-primary) !important;
      color: white !important;
      transform: translateY(-1px);
      box-shadow: var(--shadow-sm);
    }

    /* ============================================================================
       DROPDOWN DESKTOP
       ============================================================================ */
    .navmenu .dropdown ul {
      position: absolute;
      top: 100%;
      left: 0;
      background: var(--surface-color);
      min-width: 200px;
      border-radius: var(--border-radius) !important;
      box-shadow: var(--shadow-lg) !important;
      border: 1px solid var(--border-light) !important;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: var(--transition);
      z-index: 1001;
      margin-top: 0.5rem;
      padding: 0.5rem 0;
        /* FORCER L'AFFICHAGE EN BLOC */
      display: block !important;
    }

    .navmenu .dropdown:hover > ul {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .navmenu .dropdown ul li {
      position: relative;
        /* FORCER CHAQUE LI EN BLOC */
  display: block !important;
  width: 100% !important;
    }

    .navmenu .dropdown ul a {
      padding: 0.6rem 1rem !important;
      border-radius: 0 !important;
      color: var(--text-dark) !important;
      border-bottom: 1px solid var(--border-light);
      font-size: 0.8rem;
        /* FORCER LES LIENS EN BLOC */
      display: block !important;
      width: 100% !important;
      box-sizing: border-box;
    }

    .navmenu .dropdown ul li:last-child a {
      border-bottom: none;
    }

    .navmenu .dropdown ul a:hover {
      background: var(--bg-light) !important;
      color: var(--primary-color) !important;
      transform: none !important;
      box-shadow: none !important;
    }

    .navmenu .dropdown ul .dropdown ul {
      top: 0;
      left: 100%;
      margin-top: 0;
      margin-left: 0.2rem;
      display: block !important;
    }

    .navmenu .dropdown ul .dropdown ul li {
  display: block !important;
  width: 100% !important;
}

.navmenu .dropdown ul .dropdown ul a {
  display: block !important;
  width: 100% !important;
}

    .toggle-dropdown {
      transition: var(--transition);
      font-size: 0.7rem;
    }

    .dropdown:hover .toggle-dropdown {
      transform: rotate(180deg);
    }

    /* ============================================================================
       SECTION UTILISATEUR
       ============================================================================ */
    .user-section {
      flex-shrink: 0;
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      z-index: 1002;
    }

    /* ============================================================================
       BOUTONS MODERNES
       ============================================================================ */
    .btn-getstarted, .btn-signup {
      color: white !important;
      padding: 0.6rem 1.2rem !important;
      border-radius: 20px !important;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.8rem;
      transition: var(--transition) !important;
      border: none;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      box-shadow: var(--shadow-sm) !important;
      white-space: nowrap;
      cursor: pointer;
    }

    .btn-getstarted {
      background: var(--gradient-primary) !important;
    }

    .btn-getstarted:hover {
      transform: translateY(-2px) !important;
      box-shadow: var(--shadow-md) !important;
      color: white !important;
      background: var(--gradient-primary) !important;
    }

    .btn-signup {
      background: var(--gradient-secondary) !important;
      position: relative;
      overflow: hidden;
      animation: pulse 2s infinite;
    }

    .btn-signup:hover {
      transform: translateY(-2px) !important;
      box-shadow: var(--shadow-md) !important;
      color: white !important;
      background: var(--gradient-secondary) !important;
      animation: none;
    }

    .btn-signup::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: left 0.7s;
    }

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

    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
      }
      70% {
        box-shadow: 0 0 0 8px rgba(102, 126, 234, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
      }
    }

    /* ============================================================================
       DROPDOWN D'INSCRIPTION
       ============================================================================ */
    .signup-dropdown {
      position: relative;
      display: inline-block;
    }

    .signup-dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      background: var(--surface-color);
      min-width: 220px;
      border-radius: var(--border-radius);
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border-light);
      z-index: 1001;
      margin-top: 0.5rem;
      overflow: hidden;
    }

    .signup-dropdown-content.show {
      display: block;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .signup-dropdown-content a {
      display: flex;
      align-items: center;
      padding: 0.8rem 1rem;
      color: var(--text-dark);
      text-decoration: none;
      transition: var(--transition);
      border-bottom: 1px solid var(--border-light);
      gap: 0.6rem;
      font-size: 0.85rem;
    }

    .signup-dropdown-content a:last-child {
      border-bottom: none;
    }

    .signup-dropdown-content a:hover {
      background: var(--bg-light);
      color: var(--primary-color);
      transform: translateX(3px);
    }

    .signup-dropdown-content a i {
      width: 18px;
      text-align: center;
      font-size: 1rem;
    }

    /* ============================================================================
       MENU UTILISATEUR
       ============================================================================ */
    .user-menu {
      position: relative;
    }

    .user-toggle {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.4rem 0.8rem;
      border-radius: 20px;
      background: var(--bg-light);
      border: 1px solid var(--border-light);
      transition: var(--transition);
      cursor: pointer;
    }

    .user-toggle:hover {
      background: var(--surface-color);
      box-shadow: var(--shadow-sm);
      transform: translateY(-1px);
    }

    .user-avatar {
      width: 35px;
      height: 35px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid transparent;
      transition: var(--transition);
    }

    .user-toggle:hover .user-avatar {
      border-color: var(--primary-color);
      transform: scale(1.05);
    }

    .user-greeting {
      font-weight: 500;
      color: var(--text-dark);
      font-size: 0.8rem;
    }

    .user-caret {
      transition: var(--transition);
      font-size: 0.7rem;
      color: var(--text-light);
    }

    .user-toggle.active .user-caret {
      transform: rotate(180deg);
      color: var(--primary-color);
    }

    /* ============================================================================
       DROPDOWN UTILISATEUR
       ============================================================================ */
    .user-dropdown {
      position: absolute;
      top: 100%;
      right: 0;
      background: var(--surface-color);
      min-width: 250px;
      border-radius: var(--border-radius);
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border-light);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: var(--transition);
      z-index: 1001;
      margin-top: 0.5rem;
      overflow: hidden;
    }

    .user-dropdown.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .user-dropdown::before {
      content: '';
      position: absolute;
      top: -6px;
      right: 15px;
      width: 12px;
      height: 12px;
      background: var(--surface-color);
      transform: rotate(45deg);
      border-left: 1px solid var(--border-light);
      border-top: 1px solid var(--border-light);
    }

    .user-info {
      padding: 1.2rem;
      background: var(--gradient-primary);
      color: white;
    }

    .user-name {
      font-weight: 600;
      font-size: 1rem;
      margin-bottom: 0.2rem;
    }

    .user-email {
      font-size: 0.8rem;
      opacity: 0.9;
      margin-bottom: 0.6rem;
    }

    .user-role {
      display: inline-block;
      background: rgba(255, 255, 255, 0.2);
      padding: 0.2rem 0.6rem;
      border-radius: 15px;
      font-size: 0.7rem;
      font-weight: 500;
      text-transform: capitalize;
    }

    .dropdown-menu-items {
      padding: 0.4rem 0;
    }

    .dropdown-item {
      display: flex;
      align-items: center;
      padding: 0.6rem 1.2rem;
      color: var(--text-dark);
      text-decoration: none;
      transition: var(--transition);
      border: none;
      background: none;
      width: 100%;
      text-align: left;
      font-size: 0.85rem;
      gap: 0.6rem;
      cursor: pointer;
    }

    .dropdown-item:hover {
      background: var(--bg-light);
      color: var(--primary-color);
      transform: translateX(3px);
    }

    .dropdown-item i {
      width: 18px;
      text-align: center;
      font-size: 0.9rem;
    }

    .dropdown-divider {
      margin: 0.4rem 0;
      border-top: 1px solid var(--border-light);
    }

    .dropdown-item.text-danger:hover {
      color: #dc2626 !important;
      background: #fef2f2;
    }

    /* ============================================================================
       MOBILE NAVIGATION TOGGLE
       ============================================================================ */
    .mobile-nav-toggle {
      display: none;
      font-size: 1.5rem;
      color: var(--text-dark);
      cursor: pointer;
      transition: var(--transition);
      margin-left: 1rem;
      z-index: 1002;
      background: none;
      border: none;
      padding: 0.5rem;
      width: 45px;
      height: 45px;
      border-radius: 8px;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .mobile-nav-toggle:hover {
      color: var(--primary-color);
      background: var(--bg-light);
    }

    .mobile-nav-toggle i {
      font-size: 1.5rem;
      display: block;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Forcer une seule icône à la fois */
    .mobile-nav-toggle i.bi-x::before {
      content: "\f62a" !important;
    }

    .mobile-nav-toggle i.bi-list::before {
      content: "\f479" !important;
    }

    /* S'assurer qu'une seule classe est active */
    .mobile-nav-toggle i.bi-x.bi-list::before {
      content: "\f62a" !important;
    }

    /* ============================================================================
       OVERLAY POUR MENU MOBILE
       ============================================================================ */
    .navmenu-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 998;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .navmenu-overlay.active {
      display: block;
      opacity: 1;
    }

    /* ============================================================================
       SCROLL TOP BUTTON
       ============================================================================ */
    .scroll-top {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 45px;
      height: 45px;
      background: var(--gradient-primary) !important;
      color: white !important;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      box-shadow: var(--shadow-md);
      transition: var(--transition);
      z-index: 999;
      opacity: 0;
      visibility: hidden;
    }

    .scroll-top.show {
      opacity: 1;
      visibility: visible;
    }

    .scroll-top:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-lg);
      color: white !important;
    }

    /* ============================================================================
       PRELOADER
       ============================================================================ */
    #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--surface-color);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: opacity 0.5s ease;
    }

    #preloader:before {
      content: '';
      width: 45px;
      height: 45px;
      border: 3px solid var(--border-light);
      border-top: 3px solid var(--primary-color);
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* ============================================================================
       MEDIA QUERIES - RESPONSIVE DESIGN
       ============================================================================ */

    /* Desktop Extra Large - 1600px+ */
    @media (min-width: 1600px) {
      .header .container-fluid {
        padding: 0 3rem;
      }

      .logo img {
        max-height: 90px;
      }

      .navmenu a {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem;
      }
      
      .btn-getstarted, .btn-signup {
        padding: 0.7rem 1.4rem !important;
        font-size: 0.85rem;
      }
    }

    /* Desktop Large - 1200px à 1599px */
    @media (min-width: 1200px) and (max-width: 1599px) {
      .header .container-fluid {
        padding: 0 2rem;
      }

      .logo img {
        max-height: 75px;
      }

      .navmenu a {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem;
      }

      .btn-getstarted, .btn-signup {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.8rem;
      }
    }

    /* Desktop Standard - 992px à 1199px */
    @media (min-width: 992px) and (max-width: 1199px) {
      body {
        padding-top: 90px;
      }

      .header .container-fluid {
        padding: 0 1.5rem;
      }

      .logo {
        margin-right: 1rem;
      }

      .logo img {
        max-height: 70px;
      }

      .header.scrolled .logo img {
        max-height: 55px;
      }

      .navmenu a {
        padding: 0.45rem 0.65rem !important;
        font-size: 0.75rem;
        gap: 0.2rem;
      }

      .navmenu a i {
        font-size: 0.9rem;
      }

      .btn-getstarted, .btn-signup {
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem;
      }

      .user-greeting {
        display: none;
      }

      .user-avatar {
        width: 32px;
        height: 32px;
      }
    }

    /* Tablette et Mobile - Moins de 992px */
    @media (max-width: 991px) {
      body {
        padding-top: 80px;
      }

      /* Header mobile */
      .header {
        padding: 0.75rem 0 !important;
      }

      .header.scrolled {
        padding: 0.6rem 0 !important;
      }

      .header .container-fluid {
        padding: 0 1rem;
      }

      /* Logo mobile */
      .logo {
        margin-right: auto;
      }

      .logo img {
        max-height: 60px;
      }

      .header.scrolled .logo img {
        max-height: 50px;
      }

      /* Afficher le bouton hamburger */
      .mobile-nav-toggle {
        display: flex !important;
      }

      /* Navigation mobile */
      .navmenu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: var(--surface-color);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        margin-right: 0;
        padding: 6rem 0 2rem 0;
        display: block !important;
      }

      .navmenu.active {
        right: 0;
      }

      .navmenu ul {
        flex-direction: column;
        padding: 0;
        gap: 0;
        align-items: stretch;
      }

      .navmenu > ul > li {
        border-bottom: 1px solid var(--border-light);
      }

      .navmenu > ul > li:last-child {
        border-bottom: none;
      }

      .navmenu a {
        padding: 1rem 1.5rem !important;
        border-radius: 0 !important;
        width: 100%;
        justify-content: flex-start;
        font-size: 0.95rem;
        gap: 0.8rem;
      }

      .navmenu a i {
        font-size: 1.1rem;
        width: 24px;
      }

      .navmenu a:hover,
      .navmenu .active > a {
        background: var(--bg-light) !important;
        color: var(--primary-color) !important;
        transform: none !important;
        border-left: 4px solid var(--primary-color);
        padding-left: calc(1.5rem - 4px) !important;
      }

      /* Dropdown mobile */
      .navmenu .dropdown > a {
        justify-content: space-between;
      }

      .navmenu .dropdown ul {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--bg-light);
        margin: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        padding: 0;
      }

      .navmenu .dropdown.active > ul {
        max-height: 2000px;
        padding: 0.5rem 0;
      }

      .navmenu .dropdown ul a {
        padding: 0.8rem 1.5rem 0.8rem 3rem !important;
        font-size: 0.9rem;
        border-left: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
      }

      .navmenu .dropdown ul li:last-child a {
        border-bottom: none;
      }

      .navmenu .dropdown ul .dropdown ul a {
        padding-left: 4rem !important;
        font-size: 0.85rem;
      }

      .toggle-dropdown {
        font-size: 1rem;
        transition: var(--transition);
      }

      .dropdown.active > a .toggle-dropdown {
        transform: rotate(180deg);
      }

      /* Section utilisateur mobile */
      .user-section {
        flex-direction: row;
        gap: 0.5rem;
        margin-left: 0.5rem;
      }

      .btn-getstarted, .btn-signup {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.8rem;
      }

      .btn-getstarted span,
      .btn-signup span {
        display: none;
      }

      .btn-getstarted i,
      .btn-signup i {
        margin: 0 !important;
        font-size: 1.1rem;
      }

      .user-greeting {
        display: none;
      }

      .user-avatar {
        width: 32px;
        height: 32px;
      }

      .user-toggle {
        padding: 0.3rem 0.6rem;
      }

      /* Dropdowns sur mobile - en bas de l'écran */
      .user-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        transform: translateY(100%);
      margin: 0;
      }

      .user-dropdown.show {
        transform: translateY(100%);

      }

      .user-dropdown::before {
        display: none;
      }

      .signup-dropdown-content {
        position: fixed;
        top: 1;
        bottom: auto;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        margin: 0;
      }

      .signup-dropdown-content.show {
        animation: slideDown 0.3s ease;
      }

      @keyframes slideDown{
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
      }

      /* Scroll top mobile */
      .scroll-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 42px;
        height: 42px;
      }
    }

    /* Tablette - 768px à 991px */
    @media (min-width: 768px) and (max-width: 991px) {
      .navmenu {
        width: 350px;
      }

      .logo img {
        max-height: 65px;
      }

      .user-section {
        gap: 0.8rem;
      }

      .btn-getstarted span,
      .btn-signup span {
        display: inline;
      }

      .btn-getstarted, .btn-signup {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem;
      }
    }

    /* Mobile Large - 576px à 767px */
    @media (min-width: 576px) and (max-width: 767px) {
      .logo img {
        max-height: 55px;
      }

      .header.scrolled .logo img {
        max-height: 45px;
      }

      .navmenu {
        width: 300px;
      }

      .mobile-nav-toggle {
        width: 42px;
        height: 42px;
      }

      .mobile-nav-toggle i {
        font-size: 1.4rem;
      }
    }

    /* Mobile Standard - 480px à 575px */
    @media (min-width: 480px) and (max-width: 575px) {
      body {
        padding-top: 75px;
      }

      .header .container-fluid {
        padding: 0 0.8rem;
      }

      .logo img {
        max-height: 50px;
      }

      .header.scrolled .logo img {
        max-height: 42px;
      }

      .navmenu {
        width: 280px;
      }

      .mobile-nav-toggle {
        width: 40px;
        height: 40px;
        margin-left: 0.6rem;
      }

      .mobile-nav-toggle i {
        font-size: 1.3rem;
      }

      .scroll-top {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 40px;
        height: 40px;
      }
    }

    /* Mobile Petit - Moins de 480px */
    @media (max-width: 479px) {
      body {
        padding-top: 70px;
      }

      .header {
        padding: 0.6rem 0 !important;
      }

      .header.scrolled {
        padding: 0.5rem 0 !important;
      }

      .header .container-fluid {
        padding: 0 0.5rem;
      }

      .logo {
        margin-right: 0.5rem;
      }

      .logo img {
        max-height: 45px;
      }

      .header.scrolled .logo img {
        max-height: 38px;
      }

      .navmenu {
        width: 100%;
        max-width: 100%;
        padding-top: 5rem;
      }

      .navmenu a {
        padding: 0.9rem 1.2rem !important;
        font-size: 0.9rem;
      }

      .mobile-nav-toggle {
        width: 38px;
        height: 38px;
        margin-left: 0.4rem;
        padding: 0.3rem;
      }

      .mobile-nav-toggle i {
        font-size: 1.2rem;
      }

      .user-section {
        gap: 0.4rem;
        margin-left: 0.4rem;
      }

      .btn-getstarted, .btn-signup {
        padding: 0.45rem 0.7rem !important;
        font-size: 0.75rem;
      }

      .btn-getstarted i,
      .btn-signup i {
        font-size: 1rem;
      }

      .user-avatar {
        width: 30px;
        height: 30px;
      }

      .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
      }

      .scroll-top i {
        font-size: 1.2rem;
      }
    }

    /* Mobile Extra Petit - Moins de 360px */
    @media (max-width: 359px) {
      body {
        padding-top: 65px;
      }

      .logo img {
        max-height: 40px;
      }

      .header.scrolled .logo img {
        max-height: 35px;
      }

      .navmenu a {
        padding: 0.8rem 1rem !important;
        font-size: 0.85rem;
      }

      .mobile-nav-toggle {
        width: 35px;
        height: 35px;
      }

      .mobile-nav-toggle i {
        font-size: 1.1rem;
      }

      .btn-getstarted, .btn-signup {
        padding: 0.4rem 0.6rem !important;
      }
    }

    /* Mode paysage mobile */
    @media (max-height: 500px) and (orientation: landscape) {
      .navmenu {
        padding-top: 4rem;
      }

      .navmenu a {
        padding: 0.6rem 1.2rem !important;
      }

      .navmenu .dropdown ul a {
        padding: 0.5rem 1.2rem 0.5rem 2.5rem !important;
      }
    }

    /* Amélioration du smooth scrolling */
    @media (prefers-reduced-motion: no-preference) {
      html {
        scroll-behavior: smooth;
      }
    }

    /* Animation d'entrée */
    [data-aos] {
      opacity: 0;
      transition: all 0.6s ease;
    }

    [data-aos].aos-animate {
      opacity: 1;
    }
  


/* DARK-OVERRIDES-APPENDED */
/* ==========================================================================
   THEME SOMBRE — surcharges des surfaces a fond clair en dur (header/nav).
   Place en fin de fichier pour battre les regles !important ci-dessus.
   ========================================================================== */
[data-theme="dark"] .header {
  background: rgba(15, 23, 42, 0.92) !important;
  border-bottom: 1px solid #273449 !important;
}
[data-theme="dark"] .header.scrolled {
  background: rgba(11, 18, 32, 0.96) !important;
}
