/* Modern Design Enhancements for Monie Capital */

/* Subtle animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bg-monie-capital {
  background-color: #4fd1c5;
}

.subtitle {
  display: block;
  color: #4fd1c5;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Enhanced section headers */
.section-header {
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  margin-bottom: 15px;
  font-size: 32px;
}

.shape {
  height: 2px;
  width: 80px;
  background: linear-gradient(to right, #1E3A5F, #4fd1c5);
  border-radius: 2px;
}

/* Modern service items */
.services-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  height: 100%;
}

.services-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: transparent;
}

.services-item .icon {
  background: rgba(79, 209, 197, 0.1);
  border: none;
  transition: all 0.3s ease;
}

.services-item:hover .icon {
  background: #4fd1c5;
  transform: scale(1.1);
}

.services-content h3 {
  font-size: 18px;
  margin-top: 20px;
}

.services-content h3 a {
  color: #1E3A5F;
  transition: all 0.3s ease;
}

/* Box items in features section */
.box-item {
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.box-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: transparent;
}

.box-item .icon {
  background: rgba(79, 209, 197, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.box-item:hover .icon {
  background: #4fd1c5;
}

.box-item:hover .icon i {
  color: #fff;
}

/* Team section */
.team-item {
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-img img {
  transition: all 0.3s ease;
  border: 5px solid rgba(79, 209, 197, 0.2);
}

.team-item:hover .team-img img {
  transform: scale(1.05);
}

.team-item .info-text h3 a {
  color: #1E3A5F;
  transition: all 0.3s ease;
}

.team-item .social-icons li a {
  background: rgba(79, 209, 197, 0.1);
  color: #1E3A5F;
  transition: all 0.3s ease;
}

.team-item .social-icons li a:hover {
  background: #4fd1c5;
  color: #fff;
  transform: translateY(-3px);
}

/* Pricing tables */
.table {
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.table:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

#active-tb {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border: 2px solid #4fd1c5;
  position: relative;
  z-index: 2;
}

#active-tb:hover {
  transform: scale(1.05) translateY(-10px);
}

.table .icon-box {
  background: rgba(79, 209, 197, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.table:hover .icon-box {
  background: #4fd1c5;
  transform: scale(1.1) rotate(10deg);
}

.table .icon-box i {
  color: #1E3A5F;
  font-size: 32px;
  transition: all 0.3s ease;
}

.table:hover .icon-box i {
  color: #fff;
}

.pricing-header .price-value {
  font-size: 36px;
  font-weight: 700;
  color: #1E3A5F;
}

.table .title h3 {
  background: linear-gradient(45deg, #1E3A5F, #4fd1c5);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.table .description li {
  padding: 8px 0;
  position: relative;
}

.table .description li:before {
  content: "✓";
  color: #4fd1c5;
  margin-right: 8px;
  font-weight: bold;
}

.table .btn {
  transition: all 0.3s ease;
}

/* Testimonials */
.testimonial-item {
  border-radius: 10px;
  background: #fff;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-item .content .description {
  font-style: italic;
  position: relative;
  padding: 0 20px;
}

.testimonial-item .content .description:before,
.testimonial-item .content .description:after {
  content: '"';
  font-size: 50px;
  color: rgba(79, 209, 197, 0.2);
  position: absolute;
}

.testimonial-item .content .description:before {
  top: -20px;
  left: -10px;
}

.testimonial-item .content .description:after {
  bottom: -40px;
  right: -10px;
}

.testimonial-item .star-icon i {
  color: #FFD700;
}

/* About section */
.about-wrapper .content p {
  line-height: 1.8;
}

.img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.img-wrapper:before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 70px;
  height: 70px;
  border-top: 5px solid #4fd1c5;
  border-left: 5px solid #4fd1c5;
  z-index: 1;
}

.img-wrapper:after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 70px;
  height: 70px;
  border-bottom: 5px solid #4fd1c5;
  border-right: 5px solid #4fd1c5;
  z-index: 1;
}

/* Buttons */
.btn-common {
  background: linear-gradient(45deg, #1E3A5F, #4fd1c5);
  border: none;
  box-shadow: 0 4px 15px rgba(79, 209, 197, 0.4);
  transition: all 0.3s ease;
}

.btn-common:hover {
  background: #fff;
  color: #1E3A5F;
  box-shadow: 0 6px 22px rgba(79, 209, 197, 0.6);
  transform: translateY(-3px);
}

/* Navigation: suppression du soulignement sur tous les états (spécificité renforcée) */
#header-wrap .navbar .nav-link,
#header-wrap .navbar .nav-link:hover,
#header-wrap .navbar .nav-link:focus,
#header-wrap .navbar .nav-link:active {
  text-decoration: none !important;
  box-shadow: none !important;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: inline;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4fd1c5 0%, #2d9c89 100%);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(79, 209, 197, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  opacity: 0;
  visibility: visible;
  z-index: 9999;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(79, 209, 197, 0.6);
  color: #fff;
  text-decoration: none;
}

.back-to-top i {
  font-size: 20px;
  line-height: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.back-to-top:hover i {
  animation: bounce 1s infinite;
}

/* Footer styling */
.footer-area {
  position: relative;
  margin-top: 60px;
}

.wave-separator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-separator svg {
  display: block;
  width: 100%;
  height: 140px;
  transform: translateY(-1px);
}

/* Responsive improvements */
@media (max-width: 768px) {
  .section-padding {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .services-item, .box-item, .table, .testimonial-item {
    margin-bottom: 20px;
  }
  
  #active-tb {
    transform: none;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }
  
  .back-to-top i {
    font-size: 16px;
  }
}

/* ===== Moved from templates (header/head/footer) ===== */
/* Header: Navbar and menu */
.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar-brand img {
  height: 40px;
  transition: all 0.3s ease;
}

.nav-item {
  margin: 0 5px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px !important;
  color: #1E3A5F !important;
  transition: all 0.3s ease;
  position: relative;
  border: none;
  border-radius: 0;
  background: transparent;
}

/* No underline anywhere on menu links */
.navbar .nav-link,
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link:active {
  text-decoration: none !important;
  box-shadow: none;
}

/* Only active menu item is pill-bordered */
.nav-item.active .nav-link {
  border: 2px solid #4fd1c5;
  border-radius: 9999px;
  background: transparent;
  color: #1E3A5F !important;
  box-shadow: none;
}

/* Minimal hover (no border) */
.nav-link:hover {
  color: #153b62 !important;
  text-decoration: none !important;
}

/* Ensure no underline with higher specificity inside header */
#header-wrap .navbar .nav-link,
#header-wrap .navbar .nav-link:hover,
#header-wrap .navbar .nav-link:focus,
#header-wrap .navbar .nav-link:active {
  text-decoration: none !important;
  box-shadow: none !important;
}

/* Keep buttons un-underlined */
#header-wrap .navbar .btn-nav-filled,
#header-wrap .navbar .btn-nav-filled:hover,
#header-wrap .navbar .btn-nav-filled:focus,
#header-wrap .navbar .btn-nav-filled:active {
  text-decoration: none !important;
  box-shadow: none !important;
}

/* Translate item alignment previously inline on span.nav-link.p-0 */
#header-wrap .navbar .nav-item .nav-link.p-0 {
  padding-top: 0.4rem !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
}

/* Buttons in navbar */
.btn-nav-outline {
  border: 2px solid #4fd1c5;
  border-radius: 30px;
  padding: 8px 20px !important;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.btn-nav-outline:hover {
  background: #4fd1c5;
  color: white !important;
}

.btn-nav-outline:hover:after {
  width: 0;
}

.btn-nav-filled {
  background: #4fd1c5 !important;
  color: #ffffff !important;
  border-radius: 30px;
  padding: 8px 20px !important;
  margin-left: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(79, 209, 197, 0.25);
}

.btn-nav-filled:hover {
  background: #3cb9ad !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(79, 209, 197, 0.35);
}

/* Hero section */
.hero-area-bg {
  padding: 120px 0 80px;
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
  overflow: hidden;
}

.hero-area-bg:before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(79, 209, 197, 0.1);
  z-index: 0;
}

.hero-area-bg:after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(30, 58, 95, 0.05);
  z-index: 0;
}

.text-gradient {
  background: linear-gradient(45deg, #1E3A5F, #4fd1c5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.head-title {
  font-size: 42px;
  margin-bottom: 25px;
  line-height: 1.2;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.feature-list li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.feature-list li i {
  color: #4fd1c5;
  margin-right: 10px;
  font-size: 18px;
}

.form-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Specific gradient previously inline on the hero form-card */
#header-wrap .intro-img .form-card {
  background: linear-gradient(135deg, #4fd1c5 0%, #065e56 100%);
}

.form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.form-control {
  border-radius: 8px;
  padding: 12px 15px;
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.form-control:focus {
  box-shadow: none;
  border-color: #4fd1c5;
}

.btn-effect {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-effect:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.5s ease-out;
  z-index: -1;
}

.btn-effect:hover:after {
  transform: scale(2);
}

/* Responsive (header) */
@media (max-width: 992px) {
  .head-title { font-size: 36px; }
  .navbar-collapse {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 15px;
  }
  .nav-link { padding: 12px 15px !important; }
  .btn-nav-outline { display: inline-block; margin: 10px 0; }
}

@media (max-width: 768px) {
  .head-title { font-size: 30px; }
  .hero-area-bg { padding: 100px 0 50px; }
  .intro-img { margin-top: 40px; }
}

/* Head: Base fonts and Google Translate tweaks */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6, .section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

#google_translate_element select {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 0.875rem;
  font-family: inherit;
  padding: 0;
  margin: 0;
  box-shadow: none;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.goog-te-combo {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: transparent !important;
  color: inherit !important;
}

#google_translate_element { border: none !important; }
.goog-logo-link, .goog-te-gadget span { display: none !important; }

/* Footer (moved) - keep modern gradient and elements overriding earlier minimal rules */
.footer-area {
  background: linear-gradient(135deg, #1e3a5f 0%, #153b62 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.wave-separator { position: absolute; top: 0; left: 0; width: 100%; line-height: 0; overflow: hidden; }
.wave-separator svg { display: block; width: 100%; height: 140px; transform: translateY(-1px); }

.footer-shapes .shape-1 { position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; border-radius: 50%; background: linear-gradient(135deg, rgba(30, 58, 95, 0.05) 0%, rgba(30, 58, 95, 0.02) 100%); z-index: 0; animation: float 15s ease-in-out infinite alternate; }
.footer-shapes .shape-2 { position: absolute; bottom: -150px; left: -150px; width: 400px; height: 400px; border-radius: 50%; background: linear-gradient(135deg, rgba(30, 58, 95, 0.03) 0%, rgba(30, 58, 95, 0.01) 100%); z-index: 0; animation: float 20s ease-in-out infinite alternate-reverse; }
.footer-shapes .shape-3 { position: absolute; top: 40%; left: 20%; width: 100px; height: 100px; border-radius: 50%; background: rgba(255, 255, 255, 0.02); z-index: 0; animation: float 10s ease-in-out infinite; }
.footer-shapes .shape-4 { position: absolute; bottom: 30%; right: 10%; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, 0.02); z-index: 0; animation: float 12s ease-in-out infinite alternate; }

@keyframes float { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } 100% { transform: translateY(0) rotate(0deg); } }

.footer-top { position: relative; z-index: 1; margin-bottom: 30px; }
.footer-widget { margin-bottom: 40px; position: relative; z-index: 1; }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { max-height: 50px; filter: brightness(0) invert(1); transition: all 0.3s ease; }
.footer-logo img:hover { transform: scale(1.05); }
.footer-text { font-size: 14px; line-height: 1.8; margin-bottom: 20px; color: rgba(255, 255, 255, 0.7); }
.footer-title { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 25px; position: relative; padding-bottom: 15px; }
.footer-title:after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background: linear-gradient(90deg, #1e3a5f, transparent); border-radius: 2px; }
.footer-links { padding: 0; margin: 0; list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links li a { color: rgba(255, 255, 255, 0.7); font-size: 14px; transition: all 0.3s ease; position: relative; padding-left: 15px; display: block; }
.footer-links li a:before { content: '›'; position: absolute; left: 0; top: 0; font-size: 16px; color: #1e3a5f; transition: all 0.3s ease; }
.footer-links li a:hover { color: #fff; padding-left: 20px; text-decoration: none; }
.footer-links li a:hover:before { left: 5px; color: #fff; }
.contact-widget { padding-left: 15px; }
.contact-card { background: rgba(255, 255, 255, 0.03); border-radius: 10px; padding: 20px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.05); }
.footer-contact { padding: 0; margin: 0 0 20px; list-style: none; }
.footer-contact li { display: flex; margin-bottom: 15px; }
.contact-icon { width: 40px; height: 40px; background: rgba(30, 58, 95, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; transition: all 0.3s ease; }
.footer-contact li:hover .contact-icon { background: #1e3a5f; transform: translateY(-3px) rotate(10deg); }
.contact-icon i { color: #1e3a5f; font-size: 18px; transition: all 0.3s ease; }
.footer-contact li:hover .contact-icon i { color: #fff; }
.contact-text { font-size: 14px; }
.newsletter { margin-top: 25px; }
.newsletter h4 { font-size: 16px; color: #fff; margin-bottom: 15px; }
.newsletter-form .form-group { position: relative; margin-bottom: 0; }
.newsletter-form .form-control { height: 46px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 30px; padding: 0 60px 0 20px; color: #fff; font-size: 14px; }
.newsletter-form .form-control:focus { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.2); box-shadow: none; }
.newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form .btn-submit { position: absolute; top: 3px; right: 3px; width: 40px; height: 40px; background: linear-gradient(135deg, #1e3a5f 0%, #153b62 100%); border: none; border-radius: 50%; color: #fff; transition: all 0.3s ease; }
.newsletter-form .btn-submit:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(30, 58, 95, 0.4); }
.social-icons { display: flex; margin-top: 20px; }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; margin-right: 10px; color: #fff; transition: all 0.3s ease; position: relative; overflow: hidden; z-index: 1; }
.social-icons a:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #1e3a5f 0%, #153b62 100%); opacity: 0; z-index: -1; transition: all 0.3s ease; }
.social-icons a:hover:before { opacity: 1; }
.social-icons a:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); }
.copyright-area { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 20px; position: relative; z-index: 1; }
.copyright-text { font-size: 14px; }
.copyright-text a { color: #1e3a5f; transition: all 0.3s ease; }
.copyright-text a:hover { color: #fff; text-decoration: none; }
.copyright-links { display: flex; justify-content: flex-end; align-items: center; }
.copyright-links a, .copyright-links span { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-left: 20px; transition: all 0.3s ease; }
.copyright-links a:hover { color: #1e3a5f; text-decoration: none; }
.lni-heart-filled { color: #ff5e5e; font-size: 16px; animation: heartbeat 1.5s infinite; }
@keyframes heartbeat { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* Footer responsive overrides */
@media (max-width: 991px) {
  .contact-widget { padding-left: 0; }
  .copyright-links { justify-content: flex-start; margin-top: 10px; }
  .copyright-links a, .copyright-links span { margin-left: 0; margin-right: 20px; }
}

@media (max-width: 768px) {
  .footer-area { padding: 60px 0 20px; }
  .footer-widget { margin-bottom: 30px; }
  .copyright-text, .copyright-links { text-align: center; justify-content: center; }
  .back-to-top { width: 40px; height: 40px; bottom: 15px; right: 15px; }
  .back-to-top i { font-size: 16px; }
}

/* Intro paragraph styling moved from header inline */
.intro-text {
  text-align: justify;
  font-size: 15px;
  margin-bottom: 30px;
  min-height: 100px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ===== STYLES POUR INDEX.HTML - TABLEAU DE BORD ===== */

/* Variables personnalisées pour le tableau de bord */
:root {
  --gradient-1: linear-gradient(135deg, #4fd1c5 0%, #4fd1c5 100%);
  --gradient-2: linear-gradient(135deg, #4fd1c5 0%, #2d9c89 100%);
  --gradient-dark: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  --shadow-soft: 0 4px 20px rgba(79, 209, 197, 0.08);
  --shadow-medium: 0 10px 40px rgba(79, 209, 197, 0.12);
  --shadow-large: 0 20px 60px rgba(79, 209, 197, 0.15);
}

/* Reset et styles de base pour le tableau de bord */
.container-fluid {
  max-width: 1400px;
}

/* Cards Modernes */
.modern-card {
  background: white;
  border-radius: 20px;
  border: none;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
}

.modern-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

.modern-card:hover::before {
  transform: scaleX(1);
}

/* Stats Cards avec nouveau design */
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(79, 209, 197, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(79, 209, 197, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(79, 209, 197, 0.2);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.stat-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s ease;
}

.stat-card:hover .stat-icon::after {
  transform: scale(2);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}

.stat-label {
  color: #6c757d;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Section Cards */
.section-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.section-card:hover {
  box-shadow: var(--shadow-medium);
  border-color: rgba(79, 209, 197, 0.3);
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f8f9fa;
}

.section-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

/* Liste Items Modernes */
.list-item-modern {
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.list-item-modern:hover {
  background: white;
  border-color: rgba(79, 209, 197, 0.3);
  box-shadow: 0 4px 12px rgba(79, 209, 197, 0.1);
  transform: translateX(5px);
}

.rank-badge {
  width: 28px;
  height: 28px;
  background: var(--gradient-1);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

/* Boutons Modernes */
.btn-modern {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.btn-modern-primary {
  background: var(--gradient-1);
  color: white;
}

.btn-modern-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 209, 197, 0.3);
}

.btn-modern-outline {
  background: transparent;
  border: 2px solid rgba(79, 209, 197, 0.3);
  color: #4fd1c5;
}

.btn-modern-outline:hover {
  background: rgba(79, 209, 197, 0.1);
  border-color: #4fd1c5;
}

/* Admin Cards Nouveau Style */
.admin-card {
  background: white;
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.admin-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-1);
  opacity: 0.05;
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.admin-card:hover::before {
  top: -25%;
  right: -25%;
}

.admin-card:hover {
  border-color: rgba(79, 209, 197, 0.3);
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.admin-icon {
  width: 40px;
  height: 40px;
  background: rgba(79, 209, 197, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.admin-card:hover .admin-icon {
  background: var(--gradient-1);
  color: white;
}

/* Animations d'entrée */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideInUp 0.6s ease forwards;
}

/* Empty State Moderne */
.empty-state {
  text-align: center;
  padding: 1.5rem;
}

.empty-icon {
  width: 50px;
  height: 50px;
  background: rgba(79, 209, 197, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #4fd1c5;
}

.empty-text {
  color: #6c757d;
  font-size: 1rem;
}

/* Responsive pour le tableau de bord */
@media (max-width: 768px) {
  .stat-value {
    font-size: 2rem;
  }
}

/* ===== STYLES POUR PAGES LÉGALES ===== */

/* Hero section pour pages légales */
.legal-hero {
  background: linear-gradient(135deg, rgba(79, 209, 197, 0.1) 0%, rgba(30, 58, 95, 0.05) 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.legal-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(79, 209, 197, 0.1);
  z-index: 0;
}

.legal-hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(30, 58, 95, 0.05);
  z-index: 0;
}

.legal-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.legal-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #1E3A5F;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #1E3A5F, #4fd1c5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-hero p {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Container pour le contenu légal */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cards pour sections légales */
.legal-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(79, 209, 197, 0.08);
  border: 1px solid rgba(79, 209, 197, 0.1);
  transition: all 0.3s ease;
}

.legal-section:hover {
  box-shadow: 0 10px 40px rgba(79, 209, 197, 0.12);
  transform: translateY(-2px);
}

.legal-section h2 {
  color: #1E3A5F;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #4fd1c5;
  position: relative;
}

.legal-section h2::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #4fd1c5, transparent);
  border-radius: 2px;
}

.legal-section h3 {
  color: #4fd1c5;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  position: relative;
  padding-left: 20px;
}

.legal-section h3::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: #4fd1c5;
  font-size: 0.8rem;
}

.legal-section h4 {
  color: #1E3A5F;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
  padding-left: 15px;
  border-left: 3px solid rgba(79, 209, 197, 0.3);
}

.legal-section p {
  color: #495057;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.legal-section ul {
  margin-bottom: 1.5rem;
  padding-left: 0;
  list-style: none;
}

.legal-section li {
  color: #495057;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  padding-left: 25px;
  position: relative;
}

.legal-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #4fd1c5;
  font-weight: bold;
  font-size: 1.1rem;
}

.legal-section a {
  color: #4fd1c5;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.legal-section a:hover {
  color: #3cb9ad;
  border-bottom-color: #3cb9ad;
  text-decoration: none;
}

/* Badge pour les dates importantes */
.legal-badge {
  display: inline-block;
  background: linear-gradient(135deg, #4fd1c5, #2d9c89);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(79, 209, 197, 0.3);
}

/* Contact info styling */
.contact-info {
  background: linear-gradient(135deg, rgba(79, 209, 197, 0.05), rgba(30, 58, 95, 0.02));
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid #4fd1c5;
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-info a {
  color: #4fd1c5;
  font-weight: 600;
}

/* Responsive pour pages légales */
@media (max-width: 768px) {
  .legal-hero h1 {
    font-size: 2.2rem;
  }
  
  .legal-hero p {
    font-size: 1rem;
  }
  
  .legal-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .legal-section h2 {
    font-size: 1.5rem;
  }
  
  .legal-section h3 {
    font-size: 1.2rem;
  }
  
  .legal-container {
    padding: 0 15px;
  }
}
