/* ✅ Base.css : Styles globaux et reset */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #212529;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #0056b3;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}


/* === 🧠 Loader universel === */
/* === 🧠 Loader universel (unique, sans conflit) === */
#ai-loader{
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0,0,0,.85);
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}
#ai-loader.active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}



.loader-content{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    width:100%;

    max-width:700px;

    margin:0 auto;

}



.loader-icon{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #007BFF;
  padding: 10px;
  box-shadow: 0 0 1px rgba(0, 123, 255, 0.5);
  object-fit: contain;
  display: inline-block;
  animation: pulseBrain 1.2s infinite ease-in-out;
}

.loader-text{

    display:block;

    width:100%;

    max-width:700px;

    margin:18px auto 0;

    color:#fff;

    font-size:1.05rem;

    font-weight:500;

    text-align:center;

    line-height:1.45;

    white-space:normal;

    animation:pulse 1.5s infinite;

    opacity:.85;

}




@keyframes pulse{
  0%{ opacity:0.6; }
  50%{ opacity:1; }
  100%{ opacity:0.6; }
}

@keyframes pulseBrain{
  0%{ transform:scale(1); }
  50%{ transform:scale(1.08); }
  100%{ transform:scale(1); }
}

/* =======================================================
   INDEX PUBLIC SEO
   ======================================================= */

.hero-layout{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    flex-wrap:wrap;
}

.welcome-box{
    flex:1;
    min-width:350px;
}

.hero-image{
    flex:1;
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:650px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

/* =======================================================
   SECTIONS
   ======================================================= */

.onboard-section{
    margin:60px 0;
}

.onboard-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
}

.onboard-row.reverse{
    flex-direction:row-reverse;
}

.onboard-content{
    flex:1;
}

.onboard-content h2{
    margin-bottom:15px;
}

.onboard-content p{
    line-height:1.7;
    margin-bottom:15px;
}

.onboard-image{
    flex:1;
    text-align:center;
}

.onboard-image img{
    width:100%;
    max-width:600px;
    border-radius:14px;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
}

/* =======================================================
   CTA
   ======================================================= */

.beta-section{
    text-align:center;
    margin:80px 0;
    padding:40px;
    border-radius:16px;
}

.beta-section h2{
    margin-bottom:20px;
}

.beta-section p{
    max-width:900px;
    margin:auto;
    margin-bottom:25px;
    line-height:1.7;
}

/* =======================================================
   MOBILE
   ======================================================= */

@media (max-width: 992px){

    .hero-layout,
    .onboard-row,
    .onboard-row.reverse{
        flex-direction:column;
    }

    .welcome-box,
    .onboard-content,
    .onboard-image{
        width:100%;
    }

    .hero-image img,
    .onboard-image img{
        max-width:100%;
    }
}




/* =======================================================
   LOGO AINVESTOR
   ======================================================= */

.header-container-fluid{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:12px 0;
}

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

.ainvestor-logo{
    display:block;
    height:500px;      /* ← ajuste ici */
    width:auto;
}

/* =======================================================
   LOGOS DES COMPAGNIES
   ======================================================= */

.company-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #ffffff !important;

    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo-box-lg {
    width: 72px;
    height: 56px;
    padding: 4px;
}

.company-logo-box-sm {
    width: 32px;
    height: 32px;
    padding: 3px;
}

.company-logo-img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    background-color: #ffffff !important;

    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
}
