	.special-form input {
	margin-bottom: 0px !important; 
	}

	input {
	font-weight: bold;
	}

	.placeholder-styled::placeholder {
	color: #B8B9BA; font-weight: bold;
	}
        
	body {
        font-family: 'Roboto', sans-serif;
        margin: 0;
        padding-top: 68px;
        background-color: #FEFFED;
        color: #071820;
        }

        .background-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1;
        }

        canvas.background {
        width: 100%;
        height: 100%;
        }

        .neon-grid {
            position: fixed;
            pointer-events: none !important;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-size: 50px 50px;
            background-image: linear-gradient(rgba(225, 133, 55, 0.15) 2px, transparent 2px),
                              linear-gradient(90deg, rgba(225, 133, 55, 0.15) 2px, transparent 2px);
            z-index: -1;
            mask-image: radial-gradient(circle 200px at var(--cursor-x, 50%) var(--cursor-y, 50%), rgba(0,0,0,0.2) 40%, rgba(0,0,0,1) 100%);
            -webkit-mask-image: radial-gradient(circle 200px at var(--cursor-x, 50%) var(--cursor-y, 50%), rgba(0,0,0,0.2) 40%, rgba(0,0,0,1) 100%);
            animation: gridFade 8s infinite alternate ease-in-out;
        }
    
        @keyframes gridFade {
            0% { opacity: 0.15; }
            50% { opacity: 0.10; }
            100% { opacity: 0.125; }
        }
        
           .selector-wrapper {
  background-color: #1a1a1d;
  border-radius: 14px;
  padding: 0 6px;
  display: inline-block;
}

.selector-container {
  position: relative;
  display: flex;
  background: #1a1a1d;
  border-radius: 12px;
  overflow: hidden;
  width: 420px;
  margin: 0 auto;
}

.selector-item {
  width: 33.33%;
  text-align: center;
  padding: 14px 0;
  cursor: pointer;
  z-index: 1;
  font-size: 1rem;
  color: #ffffff;
  position: relative;
}

.bubble {
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: calc(100% / 3);
  background: #FF7700;
  border-radius: 10px;
  z-index: 0;
  transition: left 0.3s ease-in-out;
}

.ghost {
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: calc(100% / 3);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  z-index: 0;
  transition: left 0.6s ease-in-out;
  pointer-events: none;
}

@media (max-width: 480px) {
  .selector-container {
    width: 100%;
    max-width: 100%;
    gap: 18px;
    padding: 0 6px;
  }

  .selector-item {
    flex: 1;
    font-size: clamp(1rem, 4vw, 1.1rem);
    padding: 16px 12px; /* ← padding horizontal pour aérer */
  }

  .bubble,
  .ghost {
    width: calc((100% - 36px) / 3); /* 2 gaps de 18px */
    border-radius: 10px;
    top: 6px;
    bottom: 6px;
  }
}

@media (max-width: 390px) {
  .selector-item {
    font-size: 0.95rem;
    padding: 14px 10px;
  }

  .bubble,
  .ghost {
    width: calc((100% - 36px) / 3);
    border-radius: 9px;
  }
}

@media (max-width: 350px) {
  .selector-item {
    font-size: 0.85rem;
    padding: 12px 6px;
  }

  .bubble,
  .ghost {
    width: calc((100% - 36px) / 3);
    border-radius: 8px;
  }
}

        #scrollToTopBtn {
          position: fixed;
          bottom: 30px;
          right: 30px;
          width: 50px;
          height: 50px;
          background-color: #FF7700;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          text-decoration: none;
          opacity: 0;
          pointer-events: none;
          transition: opacity 0.3s ease;
          z-index: 999;
        }
        
        #scrollToTopBtn svg {
          width: 24px;
          height: 24px;
          stroke: white;
        }
        
        #scrollToTopBtn.show {
          opacity: 1;
          pointer-events: auto;
        }
        
        #page-footer {
          display: flex; justify-content: space-between; align-items: center; padding: 30px; background: transparent;
        }

        #scrollToTopBtn.hide {
          opacity: 0 !important;
          pointer-events: none !important;
        }
        
        #portfolioChart {
          max-height: 350px;
          height: auto;
          margin: 0 auto;
        }

        .chart-container {
          position: relative; /* <-- important pour ancrer le cercle centré */
          display: flex;
          justify-content: center;
          align-items: center;
          flex-direction: column;
          margin-top: 0;
        }
        
        .center-label-container {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          background: #1A1A1D;
          color: white;
          border-radius: 50%;
          width: 150px;
          height: 150px;
          z-index: 10;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          pointer-events: none;
          text-align: center;
          font-size: 0.9rem;
          padding: 10px;
        }
        
        .center-label-container .center-label div {
          display: flex;
          justify-content: flex-start;
          align-items: center;
          gap: 4px;
          padding: 2px 8px;
          font-size: 0.85rem;
          color: white;
        }

        .dot {
          width: 12px;
          height: 12px;
          border-radius: 50%;
          display: inline-block;
          margin-right: 4px;
        }
        
        .dot.black {
          background-color: #071821;
        }
        
        .dot.orange {
          background-color: #FF7700;
        }

        .btn-outline.active {
          background-color: #FF7700;
          color: white;
          cursor: default;
          pointer-events: none;
        }
        
                #glossaire .textepadding {
          text-align: center;
          font-size: 1.1rem;
          color: #444;
          margin-bottom: 30px;
        }
        
        .glossary-tags {
          display: flex;
          flex-wrap: wrap;
          justify-content: center;
          gap: 12px;
          margin: 30px 0;
        }
        
        .glossary-tags a {
          background-color: #fff3e0;
          color: #071820;
          padding: 10px 14px;
          border-radius: 12px;
          font-weight: 600;
          font-size: 0.95rem;
          text-decoration: none;
          transition: background-color 0.3s;
        }
        
        .glossary-tags a:hover {
          background-color: #ffe5c4;
        }
        
        /* Bloc définitions */
        .glossary-definitions {
          margin-top: 60px;
          display: flex;
          flex-direction: column;
          gap: 40px;
        }
        
        .glossary-entry {
          scroll-margin-top: 100px; /* ajuste à la hauteur de ta navbar */
        }
        
        
        .glossary-entry h2 {
          font-size: 1.3rem;
          margin-bottom: 8px;
          color: #071820;
          position: relative;
          padding-left: 20px;
        }
        
        .glossary-entry h2::before {
          content: "";
          position: absolute;
          left: 0;
          top: 50%;                     /* ← centre verticalement */
          transform: translateY(-50%);  /* ← ajuste pour un vrai centrage */
          width: 6px;
          height: 1.2em;                /* ← suit mieux la hauteur du texte */
          background-color: #ff6600;
          border-radius: 20px;
        }
        
        
        .glossary-entry p {
          font-size: 1rem;
          line-height: 1.6;
          color: #333;
          margin: 0;
        }
        
        #xnav p {
          padding-bottom: 30px; /* ajuste la valeur à ta convenance */
        }
        
        
        #portfolio-display {
          display: flex;
          flex-wrap: wrap;
          flex-direction: row-reverse;
          justify-content: center;
          align-items: center!important;
          gap: 10px;
          margin-top: 40px;
        }
        

        .chart-container {
          flex: 1 1 300px;
          display: flex;
          justify-content: center;
          padding: 40px 0;
        }
        
        
        .indicateurs-container {
          flex: 1 1 300px;
          max-width: 300px;
          margin: 0 auto;
          display: flex;
          flex-direction: column;
          justify-content: center;
        }        


        #risque,
        #volatilite {
           margin-left: 8px;
        }
        
        .glossary-definitions #volatilite {
          margin-left: 0 !important;
        }

        /* Quand le bouton est visible */
        footer:hover ~ #scrollToTop,
        footer:focus-within ~ #scrollToTop {
          opacity: 1;
          pointer-events: auto;
        }

        .logo-slider-wrapper {
          overflow: hidden;
          width: 100%;
          padding: 30px 0;
          position: relative;
          mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
          -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
        }
        
        .logo-slider-scroll {
          display: flex;
          gap: 120px; /* plus d’espace entre les logos */
          align-items: center;
          flex-wrap: nowrap;
        }
        
        .logo-slider-scroll img {
          height: 50px;
          width: 220px;
          object-fit: contain;
          filter: grayscale(100%);
          opacity: 0.8;
          transition: filter 0.6s ease, opacity 0.6s ease;
          flex-shrink: 0;
        }
        
        .logo-slider-scroll img:hover {
          filter: grayscale(0%);
          opacity: 1;
        }

        .containarticle {
          margin: 0 auto;
          width: 90%;
          padding: 40px;
          max-width: 1200px;
    }

    .bloc-egal {
      flex: 1;
      min-width: 300px;
    }   

	.footext {
	flex: 1;
	padding: 12px;
	text-align: center;
	}

  #intro-section {
    background-color: #ffffff;
    padding: 6rem 1.5rem 5rem 1.5rem;
    text-align: center;
  }
  
  #intro-section .container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .keyword-tag {
    display: inline-block;
    background-color: #ff7700;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
  }
  
  .sectionh2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000b11;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  
  #intro-section p {
    color: #555d70;
    font-size: 1.05rem;
    margin-top: 20px;
    padding: 0px 40px;
    line-height: 1.6;
  }

  #categories-investissement .containarticle {
    text-align: center;
    padding-bottom: 110px;
  }

  #portefeuilles-investisseur .containarticle {
    text-align: center;
  }

  #portfolio-display .indicateurs-container {
    text-align: left;
  }
  
  .section-jaune {
    background-color: #fffaea00 !important;
    width: 100%;
    padding-top: 70px;
    padding-bottom: 30px;
  }
  
  .section-jaune .containarticle {
    background: none;
  }
  

  #partenaires-fiables {
    padding-top: 80px;
  }

  #supports-investissement .containarticle {
    text-align: center;
    margin-top: 70px;
  }
  
  .icon-orange {
    width: 40px;
    height: 40px;
  }

  .mini-icon-orange {
    width: 33px;
    height: 33px;
  }
  

  #bonus-parrainage .containarticle {
    text-align: center;
      margin-top: 100px;
      margin-bottom: 80px; 
  }
  
  .parrainage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* → 2 colonnes fixes */
    gap: 40px;
    margin-top: 60px;
    justify-content: center;
  }
  
  .bonus-card {
    border: 1px solid;
    color: rgba(135, 135, 135, 0.2);
    background: #fffdf8;
    padding: 25px 20px;
    border-radius: 16px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
  }
  
  .bonus-card h3 {
    color: #071820;
    margin-bottom: 10px;
  }
  
  .bonus-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin: 8px 0;
  }
  
  .code-bonus {
    font-family: monospace;
    background: #fff3e0;
    padding: 3px 8px;
    border-radius: 6px;
    color: #d35400;
    display: inline-block;
    margin-top: 4px;
  }
  
  

        .intro-container {
          display: flex;
          flex-wrap: wrap;
          align-items: flex-start;
          justify-content: space-between;
          gap: 30px;
        }

        .button-container {
          display: flex;
          gap: 12px;
          font-family: Arial, sans-serif;
          margin: 25px;
        }
    
        .btn {
          padding: 10px 20px;
          font-size: 15px;
          border-radius: 6px;
          cursor: pointer;
          font-weight: bold;
          display: inline-flex;
          align-items: center;
          text-decoration: none;
          transition: all 0.3s ease;
        }

        .hero-section > * {
          opacity: 0;
          transform: translateY(20px);
          animation: fadeInUp 0.6s ease-out forwards;
        }
        
        .hero-section > *:nth-child(1) { animation-delay: 0.2s; }
        .hero-section > *:nth-child(2) { animation-delay: 0.4s; }
        .hero-section > *:nth-child(3) { animation-delay: 0.6s; }
        .hero-section > *:nth-child(4) { animation-delay: 0.8s; }

        @keyframes fadeInUp {
          to {
            opacity: 1;
            transform: translateY(0);
          }
        }

        #detection-section {
          background-color: #ffffff;
          padding: 0 0 60px 0;
        }

        #detection-section .intro-container {
          align-items: center;
        }
        
        #detection-section .intro-container > div {
          min-height: 320px;
        }
        
        #detection-section .intro-container > div:last-child {
          display: flex;
          align-items: center;
          justify-content: center;
        }
        

        #detection-section .intro-container > div:last-child {
          display: flex;
          align-items: center;
          justify-content: center;
        }
        
        #detection-section .intro-container > div:last-child img {
          max-width: 100%;
          height: auto;
        }
        
        #detection-section p {
          font-size: 1.05rem;
          color: #555d70;
          line-height: 1.6;
          margin-bottom: 2rem;
        }

        .card-grid {
          display: flex;
          flex-wrap: wrap;
          align-items: flex-start;
          justify-content: center;
          gap: 60px;
          margin-top: 40px;
          margin-bottom: 0; /* Évite le gros vide en bas */
        }
        

        #pyramide-patrimoine {
          padding-top: 3rem;
          padding-bottom: 100px;
        }

        #pyramide-patrimoine .intro-container {
          align-items: center;
        }
        

        .btn-orange-outline {
          border: 1.8px solid #FF7700;
          color: #FF7700;
          background-color: transparent;
          padding: 10px 20px;
          font-size: 0.95rem;
          font-weight: bold;
          border-radius: 8px;
          cursor: pointer;
          display: inline-flex;
          align-items: center;
          gap: 8px;
          text-decoration: none;
          transition: all 0.3s ease;
        }
        
        .btn-orange-outline svg {
          width: 16px;
          height: 16px;
          stroke: currentColor;
        }
        
        .btn-orange-outline:hover {
          background-color: #FF7700;
          color: white;
        }
        
        .br-custom-range {
          display: none;
        }
        
        @media (min-width: 358px) and (max-width: 464px) {
          .br-custom-range {
            display: inline;
          }
        }
        
        @media (max-width: 768px) {

          #categories-investissement .card-grid {
            flex-direction: column !important;
            gap: 30px !important;
            align-items: center !important;
          }
        
          #categories-investissement .card-grid > div {
            flex: 1 1 100% !important;
            max-width: 100% !important;
            text-align: center;
          }

          #detection-section .intro-container {
            flex-direction: column;
            text-align: center;
          }

          #intro-section p {
            padding-left: 10px;
            padding-right: 10px;
          }
        
          #detection-section .button-container {
            justify-content: center;
          }

          .parrainage-grid {
            grid-template-columns: 1fr; /* 1 carte par ligne */
            gap: 30px;
            padding: 0 15px;
          }
        
          .bonus-card {
            padding: 20px 15px;
            font-size: 0.95rem;
          }
        
          .bonus-card h3 {
            font-size: 1.1rem;
          }
        
          .bonus-card p {
            font-size: 0.9rem;
          }
        
          .btn-orange-outline {
            font-size: 0.9rem;
            padding: 10px 16px;
          }

          .containarticle {
            padding: 20px 16px;
          }
        
        }
        
        .textepadding {
          font-size: 1.05rem;
          padding: 0 30px;
          line-height: 1.6;
        }
    
        .no-left-padding {
          padding-left: 0 !important;
          line-height: 1.6;
          font-size: 1.05rem;
        }

        .btn-outline {
          border: 1.5px solid #ffffff;
          background-color: rgba(0, 15, 25, 0.8);
          color: #ffffff;
          transition: background-color 0.3s ease, color 0.3s ease;
        }
        
        .btn-outline:hover {
          background-color: #000000;
        }
        
        .btn-filled {
          background-color: #ffffff;
          color: #000F19;
          border: none;
          transition: background-color 0.3s ease, color 0.3s ease;
        }
        
        .btn-filled:hover {
          background-color: #e9e9e9;
        }
        
        .btn-filled svg {
          margin-left: 8px;
          width: 14px;
          height: 14px;
          stroke: currentColor;
        }
        

        h1 {
	      text-align: center;
	      font-family: 'Raleway', sans-serif;
	      font-display: swap;
        color: #071820;
        margin-top: 46px;
	      margin-bottom: 46px;
        font-size: 2.3rem;
        }

        #titre_page {
            margin-top: 60px;
            margin-bottom: 60px;
        }

        .hero-section::before {
          content: "";
          position: absolute;
          top: 0; left: 0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.66);
          z-index: 1;
        }

        .hero-section {
          position: relative;
          z-index: 0;
          display: flex;
          flex-direction: column;
          align-items: center;
          margin-top: 0px;
          justify-content: center;
          text-align: center;
          color: white;
          height: auto;
          min-height: 600px;
          background: url('aigle-investissement.jpg') center center / cover no-repeat;
        }
        
        .hero-section > * {
          position: relative;
          z-index: 2;
        }
        
            .hero-section h1 {
              font-size: 3.5rem;
              color: #FFFFFF;
              margin: 0;
            }
            .hero-section h2 {
              font-size: 1.4rem;
              font-weight: 400;
              margin-top: 20px;
              margin-bottom: 25px;
            }

            .keywords {
              display: flex;
              gap: 15px;
              flex-wrap: wrap;
              backdrop-filter: blur(4px);
              margin-bottom: 35px;
              justify-content: center;
            }
            .keywords span {
              background: rgba(1, 13, 22, 0.5);
              border-radius: 30px;
              padding: 6px 15px;
              font-weight: 500;
              font-size: 0.9rem;
              border: 1px solid #ffffff;
            }

        .container {
        display: flex;
        gap: 50px; /* Increased gap between form and graph */
        background: rgba(255, 255, 255, 0.90); /* 90% opacity */
        padding: 50px 40px;
        border-radius: 15px;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        box-sizing: border-box;
        }

        .container-space {
          display: flex;
          gap: 50px; /* Increased gap between form and graph */
          background: rgba(255, 255, 255, 0.90); /* 90% opacity */
          padding: 15px 40px;
          border-radius: 15px;
          box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
          width: 90%;
          max-width: 1200px;
          margin: 0 auto;
          margin-bottom: 35px;
          box-sizing: border-box;
          }

        .form-container,
        .chart-container {
        flex: 1 1 50%;
        min-width: 250px;
        }

        form {
        display: flex;
        flex-direction: column;
        gap: 4px;
        }

	.orangebar {
	position: absolute;
	left: 20px;
	top: 5px;
	width: 2px;
	height: 90%;
	background-color: #FF7700;
	border-radius: 5px;
	}

        label {
        font-weight: bold;
        color: #1c343c;
	font-size: 0.9rem;
        }

        input {
	color: #676767;
        padding: 12px;
        border-radius: 8px;
        outline: none;
        transition: border-color 0.3s;
	margin-bottom: 30px;
	font-size: 1rem;
        }

        .chart-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0;
        }

        .summary {
        text-align: center;
        margin-bottom: 30px;
        }

        .summary .final-capital {
        font-size: 1.8rem;
        font-weight: bold;
        color: ##FF7700;
        }

        .summary .details {
        font-size: 1rem;
        color: #071820;
        }

        .summary .small {
        font-size: 0.9rem;
        color: #1D7284;
        }
        
.icon-x {
  width: 18px !important;
  height: 18px !important;
  padding-bottom: 3px!important;
}

	.divarticle {
	display: flex;
	align-items: center;
  	justify-content: center;
	background-color: white;
	}

	.articlecontentext {
	padding-left: 40px;
	padding-right: 40px;
	font-size: 1.05rem;
	line-height: 150%;
	margin-top: 0px;
	}

	.articletitle {
	padding-left: 40px;
	padding-right: 40px;
	font-size: 2.4rem;
	padding-top: 40px;
	}

	.articlecontentitle1 {
	padding-left: 40px;
	padding-right: 40px;
	font-size: 1.6rem;
	margin-bottom: 10px;
	}

	.articlecontentitle {
	padding-left: 40px;
	padding-right: 40px;
	font-size: 1.6rem;
	margin-bottom: 10px;
	}

    .link {
    color: #000000;
    display: inline-block;
    position: relative;
	text-decoration: none;
    }

    .link::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #e18537;
        transform: scaleX(0);
        transition: transform 0.3s ease-in-out;
    }

    .link:hover::after {
        transform: scaleX(1);
    }
    
    input {
	background-color: transparent;
        border: none; /* Remove the border */
        border-bottom: 2px solid #d3d3d3; /* Add straight underline */
        border-radius: 0; /* Ensure the underline is straight */
        padding: 12px 0; /* Increase top and bottom padding */
        outline: none;
        transition: border-color 0.3s;
    }

    input:hover {
        border-bottom: 2px solid #b5b5b5; /* Highlight underline on focus */
    }

    input:focus {
        border-bottom: 2px solid #676767; /* Highlight underline on focus */
    }

    span {
	top: 15%;
    }  

    input[type="number"] {
        -moz-appearance: textfield; /* Firefox */
    }

	.special-form input {
	margin-bottom: 0px !important;
	}

	input {
	font-weight: bold;
	}

	.placeholder-styled::placeholder {
	font-weight: bold;
	}

    body {
        background: linear-gradient(107deg, rgba(254,255,237,1) 0%, rgba(253,233,209,1) 100%);
    }

    canvas {
        background-color: transparent; /* White background for the graph in light mode */
    }

    /* Hide spinner arrows for number inputs */
    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    input[type="number"] {
        -moz-appearance: textfield; /* Firefox */
    }

    .custom-dropdown {
	position: fixed;
    display: none;
	top: 15px;
	right: 20px;
	z-index: 1100;
	}

    .in-text-label {
        font-family: 'Roboto', sans-serif;
        color: #071820;
        font-weight: 500;
        font-size: 1.2rem;

    }

    .dropdown-btn {
        background-color: white;
        padding: 8px 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        border-radius: 8px;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
        transition: background 0.3s, box-shadow 0.3s;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: white;
        width: auto;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
        padding: 5px 0;
        border-radius: 8px;
        overflow: hidden;
    }
    .dropdown-content div {
        display: flex;
        align-items: center;
        padding: 10px 12px;
        cursor: pointer;
        gap: 8px;
        transition: background 0.3s;
    }
    .dropdown-content div:hover {
        background-color: #f1f1f1;
    }

    .navbar {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      background-color: #FF7700;
      transition: background-color 0.4s, box-shadow 0.4s;
      z-index: 1000;
      font-family: 'Roboto', sans-serif;
    }
    
    .navbar-container {
      max-width: 1500px;
      margin: 0 auto;
      padding: 0.9rem 1.2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .navbar-logo img {
      height: 35px;
      transition: filter 0.4s;
    }
    
    .navbar-links {
      display: flex;
      gap: 2.5rem;
      align-items: center;
    }
    
    .navbar-links a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      font-size: 1.05rem;
      transition: color 0.3s ease-in-out;
    }
    
    .navbar-links a:hover {
      color: #f1f1f1;
    }
    
    .nav-btn {
      background-color: #071821;
      color: white;
      border: none;
      padding: 0.65rem 1.3rem;
      font-size: 1rem;
      border-radius: 6px;
      box-shadow: 0 1px 8px rgba(0,0,0,0.1);
      cursor: pointer;
      font-weight: bold;
      transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
    }
    
    /* Hover classique */
    .nav-btn:hover {
      background-color: #ffffff; /* Fond devient blanc au hover */
      color: #071821; /* Texte devient foncé */
    }
    
    
    .navbar-hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }
    
    .navbar-hamburger span {
      width: 30px;
      height: 3px;
      background: white;
      border-radius: 3px;
      transition: background-color 0.3s;
    }

    /* Hamburger normal */
    .navbar-hamburger.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
    }
    
    .navbar-hamburger.open span:nth-child(2) {
      opacity: 0;
    }
    
    .navbar-hamburger.open span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -6px);
    }
    
    

.navbar-hamburger span {
  transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.4s ease;
}

    
    .navbar.scrolled {
      background: rgba(255, 255, 255, 0.8); /* blanc mais avec opacité */
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px); /* pour Safari */
      box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
    }
    
    
    .navbar.scrolled .navbar-links a {
      color: black;
    }

    .navbar.scrolled .navbar-links a:hover {
      color: #3b3b3b;
    }

    .navbar.scrolled .nav-btn {
      background-color: #071821;
      color: #ffffff;
      position: relative;
      overflow: hidden;
    }
    
    .navbar.scrolled .nav-btn:hover {
      background-color: #ff7700;
    }
    
    .navbar.scrolled .navbar-hamburger span {
      background: black;
    }
    
    .navbar.scrolled .navbar-logo img {
      filter: brightness(0);
    }
    
    @media (max-width: 850px) {

      .navbar.scrolled {
        background: #ffffff; /* fond blanc pur */
        backdrop-filter: none; /* retire le flou */
        -webkit-backdrop-filter: none; /* retire le flou sur Safari */
      }

      .navbar-hamburger {
        display: flex;
      }
    
      .navbar-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        text-align: center;
        display: none;
        padding: 1.5rem 0 2rem 0; /* ici */
      }
      
    
      .navbar-links.open {
        display: flex;
      }
    
      .navbar-links a {
        color: black;
        padding: 0.8rem;
        font-size: 1rem;
        font-weight: 500;
      }

      .navbar-links a:hover {
        color: black;
      }
      
    
      .nav-btn {
        margin-top: 10px;
      }
    }

      .footext a img {
        width: 22px;
        height: 22px;
        padding-bottom: 1px;
        transform: translateY(6px);
        margin-right: 8px;
      }   

      .separator {
        display: inline-block;
  position: relative;
        margin: 0 8px;
        top: -1px;
      }
          
        @media (max-width: 1480px) {
            .container {
                flex-direction: column;
                padding: 30px 20px;
		gap: 20px;
            }

	    .articlecontent {
	    	padding-left: 20px;
	    	padding-right: 20px;
	    }

            .chart-container {
                margin-top: 20px;
            }

            .form-container,
            .chart-container {
                flex: 1 1 100%;
            }

	    #interestChart {
        	max-width: 600px;
		max-height: 300px;
    	    }
        }

          @media (max-width: 1038px) {
          #portefeuilles-investisseur .container-space {
            box-sizing: content-box !important;
          }

          #portefeuilles-investisseur .indicateurs-container {
            text-align: center;
          }
        
          #portefeuilles-investisseur #portfolio-indicators ul {
            display: inline-block;
            padding: 0;
            margin: 0 auto;
          }
        
          #portefeuilles-investisseur #portfolio-indicators li {
            text-align: center;
          }

          #portefeuilles-investisseur .container-space {
            gap: 0px !important; /* anciennement 60px */
          }

          #portfolio-description.textepadding {
            padding: 0 15px !important;
            text-align: center;
          }

          #portfolio-infos.indicateurs-container {
            padding: 0 !important;
          }
        
          #portfolio-display {
            flex-direction: column;
            gap: 30px;
            padding: 0 10px;
          }
        
          .indicateurs-container {
            max-width: 100%;
            text-align: center;
            padding: 0 20px;
          }
        
          .chart-container {
            flex: 1 1 100%;
            width: 100%;
            padding: 0;
          }
        
          .center-label-container {
            transform: translate(-50%, -50%);
            width: 130px;
            height: 130px;
            font-size: 0.85rem;
          }
        }


          @media (max-width: 850px) {

            #detection-section .intro-container > div {
              min-height: auto !important;
            }

            .bloc-egal {
              flex: none;
              width: 100%;
              min-width: unset;
            }

            .containarticle.intro-container {
              gap: 20px !important;
            }

            .br-mobile-hide {
              display: none;
            }

            .hero-section h1 {
              font-size: 2rem;
              padding: 0px 10px 0px 10px;

            }
            .hero-section h2 {
              font-size: 1rem;
              padding: 0px 25px 0px 25px;

            }
        
            .sectionh2 {
              font-size: 2rem;
            }

            #supports-investissement .intro-container {
              gap: 20px;
            }
          
            #supports-investissement .intro-container > div {
              flex: 1 1 100% !important;
              min-height: auto !important;
            }

            .intro-container {
              flex-direction: column;
              text-align: center;
            }
          
            .intro-container > div {
              width: 100%;
            }

            #detection-section .button-container {
              justify-content: center !important;
              margin-left: auto !important;
              margin-right: auto !important;
            }
          
            .intro-container img {
              max-width: 100%;
              height: auto;
              margin: 0 auto;
            }
          
          .intro-section p {
            font-size: 0.95rem;
          }

          #pyramide-patrimoine img {
            margin-left: 20px;
            margin-right: 20px; 
          }

          #pyramide-patrimoine .intro-container {
            flex-direction: column-reverse;
            text-align: center;
          }
        
          #pyramide-patrimoine .intro-container > div {
            width: 100%;
          }
        
          #pyramide-patrimoine img {
            max-width: 100%;
            height: auto;
            margin: 0 auto;
            box-sizing: border-box;
          }

            }

            

	@media (max-width: 630px) {

    .hero-section .button-container {
      flex-direction: column;
      align-items: center;
      gap: 12px;
      margin-top: 20px;
    }
  
    .hero-section .btn {
      width: 90%;
      max-width: 300px;
      text-align: center;
      justify-content: center;
    }

	.orangebar {
		position: absolute;
		left: -6px;
		top: 5px;
		width: 2px;
		height: 90%;
		background-color: #e18537;
		border-radius: 5px;
	}

	.articlecontentitle {
		padding-left: 10px;
		padding-right: 10px;
	}


	.articletitle {
        font-size: 1.8rem;
		padding-left: 10px;
		padding-right: 10px;
	}

	.articlecontentitle1 {
		padding-left: 10px;
		padding-right: 10px;
	}

	.articlecontentext {
		padding-left: 10px;
		padding-right: 10px;
	}

	.container {
		gap: 0px;
            }

	h1 {
        padding-left: 30px;
        padding-right: 30px;
        margin-top: 21px;
	    margin-bottom: 41px;
        font-size: 1.8rem;
        }

        .neon-grid {
            background-image: linear-gradient(rgba(225, 133, 55, 0.18) 2px, transparent 2px),
                              linear-gradient(90deg, rgba(225, 133, 55, 0.20) 2px, transparent 2px);
        }
    
        @keyframes gridFade {
            0% { opacity: 0.18; }
            50% { opacity: 0.13; }
            100% { opacity: 0.155; }
        }

        }
        
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-left: 80px !important;
  padding: 40px 20px;
  background: transparent;
  color: #071820;
  font-family: 'Roboto', sans-serif;
  max-width: 1500px;
  margin: 33px auto 63px auto;
}

.footer-info {
  font-size: 0.9rem;
  color: #071820;
  line-height: 1.4;
}

.footer-info p {
  margin: 0;
  text-align: left;
}


.footer-column {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-logo {
  width: 120px;
  filter: brightness(0);
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}

.footer-social a {
  background-color: #FF7700;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  transition: background-color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.footer-social a img {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.footer-social a img[alt="X"] {
  width: 16px;
  height: 16px;
}


.footer-social a:hover {
  background-color: #e56600;
  opacity: 1;
  transition: background-color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.footer-column h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #071820;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column ul a {
  text-decoration: none;
  color: #071820;
  font-weight: 300;
  transition: color 0.2s ease;
  position: relative;
}

.footer-column ul a:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        bottom: 0;
        left: 0;
        background-color: #071820;
        transform: scaleX(0);
        transition: transform 0.3s ease-in-out;
}

    .footer-column ul a:hover::after {
        transform: scaleX(1);
    }


.footer-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 0;
}

@media (max-width: 1100px) {
  .footer {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-column {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 688px) {
  .footer {
    flex-direction: column;
    gap: 30px;
    padding-left: 20px !important;
    align-items: center;
  }

  .footer-info p {
    text-align: center;
  }

  .footer-column {
    flex: 1 1 40px;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}