@charset "utf-8";

/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


body {
    background: #ffffff;
    color: #333;
}


/* ================= HEADER ================= */

header {
    background: #ffffff;
    padding: 15px 0;
	border-bottom: 2px solid #268801;
}


.container {
    width: 90%;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: relative;
}


.logo {
    color: white;
    font-size: 28px;
    font-weight: bold;
}


/* ================= MENU DESKTOP ================= */


nav ul {

    list-style: none;

    display: flex;
    align-items: center;

}


nav ul li {

    margin-left: 20px;

}


nav ul li a {

    color:#000000;
    text-decoration:none;
    font-size:16px;

}


nav ul li a:hover {

    color:#268801;

}



/* MENU ICON MOBILE */

.menu-toggle {

    display:none;

}



/* ================= HERO ================= */


/* ================= HERO ================= */

.hero {
    min-height: 100vh; /* 🔥 au lieu de 50vh */
    position: relative;
    background: url("images/bgimage.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;

    padding: 60px 20px;
}


/* overlay */
.hero::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.35);
}


/* content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}


/* titre */
.hero h1 {
    font-size: clamp(28px, 5vw, 50px); /* 🔥 responsive automatique */
    line-height: 1.2;
}


/* texte */
.hero p {
    margin: 20px 0;
    font-size: clamp(14px, 2.5vw, 18px);
}


/* boutons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons a {
    padding: 12px 18px;
    font-size: 14px;
    text-decoration: none;
}


/* ================= MOBILE ================= */

.hero h1 {
    font-size: 28px;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }
}

@media (min-width: 1200px) {
    .hero h1 {
        font-size: 50px;
    }
}

/* ================= BUTTON ================= */


.btn {


    display:inline-block;

    padding:12px 25px;

    margin:10px;

    border-radius:5px;

    text-decoration:none;

}


.primary {


    background:#ff3b3b;

    color:white;

}


.primary:hover {

    background:#d90000;

}



.secondary {


    border:1px solid white;

    color:white;

}



/* ================= SECTIONS ================= */


section {

    padding:60px 20px;

    text-align:center;

}



h2 {

    color:#0d6efd;

    margin-bottom:30px;

}



/* ================= GRID ================= */


.grid {


    width:90%;

    margin:auto;


    display:grid;


    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));


    gap:20px;


}




/* ================= CARDS ================= */


.card {


    background:white;


    padding:25px;


    border-radius:10px;


    border:1px solid #ddd;


    transition:0.3s;


}



.card:hover {


    transform:translateY(-5px);


    border-color:#0d6efd;


    box-shadow:0 5px 15px rgba(0,0,0,0.1);


}



/* ================= FOOTER ================= */


footer {


    background:#1A451C;


    color:white;


    padding:20px;


    text-align:center;


}



/* ================================================= */
/* ================= TABLET ======================== */
/* ================================================= */


@media(max-width:992px){


.hero h1 {

    font-size:38px;

}


}



/* ================================================= */
/* ================= MOBILE ======================== */
/* ================================================= */


@media(max-width:768px){



.container {


    width:90%;

    flex-direction:row;


}

/* ICON MENU */

.menu-toggle {


    display:block;


    color:#000000;


    font-size:30px;


    cursor:pointer;


    position:absolute;


    right:0;


    top:10px;


}



/* MENU CACHE */

nav ul {


    position:absolute;


    top:60px;


    left:0;



    width:250px;


    background:#0d6efd;
	border-bottom: 2px solid #BD0B10;
    

    display:none;


    flex-direction:column;



    padding:20px;



    z-index:9999;


}



/* MENU OUVERT */

nav ul.active {


    display:flex;


}




nav ul li {


    margin:15px 0;


    width:100%;


}




nav ul li a {


    font-size:18px;


    display:block;


}



/* HERO MOBILE */


.hero {


    height:50vh;


}



.hero h1 {


    font-size:28px;


}



.hero p {


    font-size:15px;


}



.btn {


    display:block;

    width:80%;

    margin:10px auto;


}



.grid {


    grid-template-columns:1fr;


}



}



/* ================================================= */
/* ================= SMALL PHONE =================== */
/* ================================================= */


@media(max-width:480px){


.hero h1 {


    font-size:22px;


}



.hero p {


    font-size:13px;


}



.logo {


    font-size:20px;


}

}

.logo {
    color: white;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    display: block;
}

.logo {
    font-size: 20px;
}

.logo img {
    width: 55px;
    height: 55px;
}

.portal-btn a {
    background: #268801;
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
}

.portal-btn a:hover {
    background: #E0B51E;
    color: white;
}



/* ================= PORTAL POPUP ================= */


.popup {

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;


    background:rgba(0,0,0,0.45);


    justify-content:center;
    align-items:center;


    z-index:99999;

}


/* Animation box */

.popup-box {


    width:400px;

    background:white;

    padding:35px;

    border-radius:5px;


    position:relative;


    box-shadow:0 10px 30px rgba(0,0,0,0.2);


    animation:popupShow 0.4s ease;


}



@keyframes popupShow {

    from {

        opacity:0;
        transform:scale(0.7);

    }


    to {

        opacity:1;
        transform:scale(1);

    }

}



.popup-box h2 {

    color:#0d6efd;

    margin-bottom:25px;

    text-align:center;

}



.popup-box label {

    display:block;

    margin-top:15px;

    color:#333;

    font-weight:bold;

}



.popup-box input {


    width:100%;

    padding:12px;

    margin-top:8px;


    border:1px solid #ddd;

    border-radius:5px;


}



.popup-box button {


    width:100%;

    margin-top:25px;

    padding:12px;


    background:#0d6efd;

    color:white;


    border:none;

    border-radius:6px;


    cursor:pointer;


    font-size:16px;

}



.popup-box button:hover {


    background:#BD0B10;


}



/* CLOSE BUTTON */

.close {


    position:absolute;


    right:20px;

    top:10px;


    font-size:30px;

    color:#BD0B10;


    cursor:pointer;

}



/* MOBILE */

@media(max-width:600px){


.popup-box {

    width:90%;

}

}


.logoFlexy-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    display: block;
}


/* Responsive mobile */
@media (max-width:968px){

    .logoFlexy-img {
        width: 75px;
        height: 75px;
    }
	
	

}

/* PATNER */
.partner-btn {

    background: rgba(212, 175, 55, 0.25); /* Gold transparent */
    color: white;
    padding: 12px 25px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    border: 1px solid rgba(212, 175, 55, 0.8);
    backdrop-filter: blur(5px);
    transition: 0.3s;
}


.partner-btn:hover {
    background: rgba(212, 175, 55, 0.8);
    color: white;
}


/* ================= PARTNER POPUP ================= */

.partner-popup {
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
justify-content:center;
align-items:center;
z-index:99999;

}



.partner-box {


width:850px;

max-width:95%;


background:white;


border-radius:5px;


padding:40px;


display:grid;

grid-template-columns:1fr 1.2fr;


gap:40px;


position:relative;


animation:partnerShow .4s ease;


}



@keyframes partnerShow {


from{

opacity:0;

transform:translateY(-40px);

}


to{

opacity:1;

transform:translateY(0);

}


}




.partner-close {


position:absolute;


right:25px;

top:15px;


font-size:32px;

cursor:pointer;


color:#BD0B10;


}



.partner-logo {


width:100px;

margin-bottom:30px;


}



.partner-left h2 {


color:#111;

font-size:26px;


}



.partner-left p {


margin-top:20px;

line-height:1.7;

color:#555;

font-size:18px;


}



.partner-right label {


display:block;

margin-top:15px;


}



.partner-right input,
.partner-right textarea {


width:100%;


padding:13px;


margin-top:7px;


border:1px solid #ddd;


border-radius:5px;


}



.partner-right textarea {


height:120px;

resize:none;


}



.partner-right button {


width:100%;


margin-top:20px;


padding:14px;


background:#0d6efd;


color:white;


border:none;


border-radius:5px;


cursor:pointer;


}



.partner-right button:hover {


background:#BD0B10;


}



/* MOBILE */

@media(max-width:768px){


.partner-box {


grid-template-columns:1fr;


padding:25px;


max-height:90vh;


overflow-y:auto;


}



.partner-left p {

font-size:15px;

}



}



.investor-btn {
    background: rgba(0, 102, 255, 0.25); /* Bleu transparent */
    color: #fff;
    padding: 12px 25px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;

    border: 1px solid rgba(0, 102, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: 0.3s;
}

.investor-btn:hover {
    background: rgba(26,93,193,0.80);
    color: #fff;
}


.entrepreneur-btn {
    background: rgba(220, 53, 69, 0.25); /* Rouge transparent */
    color: #fff;
    padding: 12px 25px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;

    border: 1px solid rgba(189,8,25,0.80);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: 0.3s;
}

.entrepreneur-btn:hover {
    background: rgba(245,4,27,0.96);
    color: #fff;
}




/* ================= INVESTOR POPUP ================= */

.investor-popup {

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.45);

    justify-content:center;
    align-items:center;

    z-index:99999;
}


/* BOX */

.investor-box {

    width:400px;
    max-width:90%;

    background:white;

    padding:35px;

    border-radius:5px;

    text-align:center;

    position:relative;

    animation:fadeIn .4s ease;
}


/* ANIMATION */

@keyframes fadeIn {

    from {
        opacity:0;
        transform:translateY(-30px);
    }

    to {
        opacity:1;
        transform:translateY(0);
    }
}


/* CLOSE */

.investor-close {

    position:absolute;
    right:20px;
    top:10px;

    font-size:28px;
    cursor:pointer;

    color:#BD0B10;
}


/* TITLES */

.investor-box h2 {

    margin-bottom:10px;
}


.investor-sub {

    color:#28a745; /* vert */
    margin-bottom:20px;
    font-weight:bold;
}


/* INPUTS */

.investor-box input {

    width:100%;

    padding:14px;

    margin:10px 0;

    border:1px solid #ddd;

    border-radius:5px;

    font-size:15px;
}


/* BUTTON */

.investor-box button {

    width:100%;

    padding:14px;

    margin-top:15px;

    background:#0d6efd;

    color:white;

    border:none;

    border-radius:5px;

    font-size:16px;

    cursor:pointer;
}


.investor-box button:hover {

    background:#BD0B10;
}



/* ================= ENTREPRENEUR POPUP ================= */

.entrepreneur-popup {

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.45);

    justify-content:center;
    align-items:center;

    z-index:99999;
}


/* BOX */

.entrepreneur-box {

    width:420px;
    max-width:90%;

    background:white;

    padding:35px;

    border-radius:5px;

    text-align:center;

    position:relative;

    animation:fadeIn .4s ease;

    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}


/* LOGO */

.entrepreneur-logo {

    width:90px;
    margin-bottom:15px;
}


/* CLOSE */

.entrepreneur-close {

    position:absolute;

    right:20px;
    top:10px;

    font-size:28px;

    cursor:pointer;

    color:#BD0B10;
}


/* TITLES */

.entrepreneur-box h2 {

    margin-bottom:10px;
}


.entrepreneur-sub {

    color:#28a745;
    margin-bottom:20px;
    font-weight:bold;
}


/* INPUTS */

.entrepreneur-box input {

    width:100%;

    padding:14px;

    margin:10px 0;

    border:1px solid #ddd;

    border-radius:5px;

    font-size:15px;
}


/* BUTTON */

.entrepreneur-box button {

    width:100%;

    padding:14px;

    margin-top:15px;

    background:#0d6efd;

    color:white;

    border:none;

    border-radius:5px;

    font-size:16px;

    cursor:pointer;
}


.entrepreneur-box button:hover {

    background:#BD0B10;
}

.hero h1 {
  font-size: 48px;
  color: #fff;
  text-shadow: 
    2px 2px 10px rgba(0,0,0,0.8),
    0 0 20px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 18px;
  color: #ddd;
  text-shadow: 
    1px 1px 6px rgba(0,0,0,0.7);
}


/*SECTION-----SHADOW-INTERFACE---*/

.main-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  padding: 40px;
}

/* BOX STYLE */
.box {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* BIG BOX */
.big-box {
  min-height: 300px;
}

/* LEFT SIDE */
.left-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* SMALL BOX */
.small-box {
  min-height: 150px;
}

/* ADVANTAGES GRID */
.advantages {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.advantages div {
  text-align: center;
}

@media (max-width: 768px) {
  .main-section {
    grid-template-columns: 1fr;
  }
}


.box:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

/* ADVANTAGES PROJECTS-CONTAINER */

.projects{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
    gap:30px;
}

.project-card{
    background:#fff;
    border-radius:5px;
    box-shadow:0 5px 15px rgba(0,0,0,.12);
    overflow:hidden;
    text-align:center;
    transition:.3s;
}

.project-card:hover{
    transform:translateY(-5px);
}

.project-card video{
    width:100%;
    height:220px;
    object-fit:cover;
}

.project-card h3{
    margin:15px 0 10px;
    color:#0d47a1;
}

.description{
    padding:0 15px;
    color:#0A0A0A;
    min-height:70px;
	text-align: left;
}

.info{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin:20px;
    text-align:left;
}

.info div{
    background:#f5f5f5;
    padding:10px;
    border-radius:8px;
}

.btn{
    display:inline-block;
    margin:20px;
    padding:10px 25px;
    background:#1E520B;
    color:#fff;
    text-decoration:none;
    border-radius:3px;
}

.btn:hover{
    background:#DBA214;
}


/*REDMORE-DETAILS*/

/* ===========================
   NEWSLETTER
=========================== */

.newsletter{

    background:#009688;

    color:#fff;

    border:1px solid #009688;

}

.newsletter:hover{

    background:#00796B;

}

/*POPUP-NEWLETTER*/

	/* BACKGROUND */
.popup {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

/* POPUP BOX */
.popup-content {
    background: #fff;
    width: 420px;
    padding: 25px;
    margin: 12% auto;
    border-radius: 12px;
    text-align: center;

    /* animation entry */
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

/* OPEN STATE */
.popup.show .popup-content {
    transform: scale(1);
    opacity: 1;
}

/* CLOSE ANIMATION */
.popup.hide .popup-content {
    transform: scale(0.7);
    opacity: 0;
}

/* INPUT */
.popup-content input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
}

/* BUTTON */
.popup-content button {
    background: #c0392b;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 6px;
}

/* CLOSE BTN */
.close {
    float: right;
    cursor: pointer;
    font-size: 22px;
}


.vision-text {
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: normal;
    color: #000000;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    text-align: justify;
}

/*-------------------------------------ONLY-POPUP-NEWSLETTER---------------------------------------*/

/* POPUP BACKGROUND CORRIGÉ */
.newsletter-popup {
    display: none;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    /* ✅ léger fond sombre (très soft) */
    background: rgba(0, 0, 0, 0.08);

    z-index: 99999;

    justify-content: center;
    align-items: center;
}


/* POPUP OPEN */
.newsletter-popup.show{
    opacity:1;
}


/* POPUP BOX */
.newsletter-popup-content{

    position:relative;

    width:90%;
    max-width:420px;

    background:#ffffff;

    padding:30px 25px;

    border-radius:12px;

    text-align:center;

    font-family:Arial,sans-serif;

    /* Aucun shadow */
    box-shadow:none;

    transform:scale(.85) translateY(-20px);

    opacity:0;

    transition:
        transform .35s ease,
        opacity .35s ease;

}


/* BOX ANIMATION */
.newsletter-popup.show .newsletter-popup-content{

    transform:scale(1) translateY(0);

    opacity:1;

}


/* CLOSE ANIMATION */
.newsletter-close{

    position:absolute;

    top:10px;
    right:15px;

    font-size:28px;

    cursor:pointer;

    color:#777;

    transition:.25s;

}


.newsletter-close:hover{

    color:#000;

    transform:rotate(90deg);

}


/* LOGO */
.newsletter-logo{

    max-width:100px;

    width:50%;

    height:auto;

    margin-bottom:10px;

}


/* TITLE */
.newsletter-popup-content h3{

    font-family:Arial,sans-serif;

    font-size:20px;

    font-weight:normal;

    color:#222;

    margin:10px 0 20px;

}


/* INPUT */
.newsletter-popup-content input{

    width:100%;

    padding:12px;

    border:1px solid #ddd;

    border-radius:6px;

    font-size:14px;

    outline:none;

    box-sizing:border-box;

}


.newsletter-popup-content input:focus{

    border-color:#0E8FED;

}


/* SUBSCRIBE BUTTON */
.newsletter-popup-content button{

    width:100%;

    margin-top:22px;

    padding:12px;

    background:#0E8FED;

    color:#fff;

    border:none;

    border-radius:6px;

    font-size:14px;

    cursor:pointer;

    transition:.3s;

}


.newsletter-popup-content button:hover{

    background:#0B7BD0;

}


.newsletter-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    background:#0E8FED;
    color:#ffffff;

    border:none;

    padding:10px 18px;

    border-radius:5px;

    font-family:Arial, sans-serif;

    font-size:14px;

    font-weight:normal;

    cursor:pointer;

    transition:all .3s ease;

    position:relative;
    top:-5px; /* monte le bouton de 5px */

}


.newsletter-btn i{

    font-size:15px;

}


.newsletter-btn:hover{

    background:#0B7BD0;

    transform:translateY(-2px);

}


.newsletter-btn:active{

    transform:translateY(0);

}

/*CORRECTION-RESPONSIVE*/


.chart-container{
    display:flex;
    gap:20px;
}

.chart-container > div{
    width:50%;
}


@media(max-width:768px){

.chart-container{
    flex-direction:column;
}

.chart-container > div{
    width:100%;
}

}


.table-responsive{
    width:100%;
    overflow-x:auto;
}

.project-video{
    width:100%;
    max-width:100%;
    height:auto;
}

.logo img{
    max-width:100%;
    height:auto;
}

.logo{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
}



