@charset "utf-8";

/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


body {
    background: #ffffff;
    color: #0A0A0A;
}


/* ================= HEADER ================= */

header {
    background: #ffffff;
    padding: 15px 0;
	border-bottom: 3px solid #a2cc38;
}


.container {
    width: 90%;
    margin: auto;
	display: flex;
    justify-content: space-between;
    align-items: center;

    position: relative;
}


.logo {
    color:#173058;
    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:#173058;
    text-decoration:none;
    font-size:16px;

}


nav ul li a:hover,
nav ul li a:focus {

    background: #a2cc38;
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;

}



/* MENU ICON MOBILE */

.menu-toggle {

    display:none;

}



/* ================= HERO ================= */


.hero {

    height:50vh;
    position:relative;
    background:url("images/1.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}


/* légère protection texte */

.hero::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.25);
}



.hero-content {


    position:relative;

    z-index:2;


}



.hero h1 {

    font-size:50px;

}


.hero p {

    margin:20px 0;

    font-size:18px;

}



/* ================= BUTTON ================= */


.btn {


    display:inline-block;

    padding:12px 25px;

    margin:10px;

    border-radius:5px;

    text-decoration:none;

}


.primary {


    background:#a2cc38;

    color:white;

}


.primary:hover {

    background:#a2cc38;

}



.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: 5px;
    border: 1px solid #ddd;
    transition: 0.3s;
    text-align: center; /* Centers the image */
}

.card img {
    width: 60px;      /* Image width */
    height: 60px;     /* Image height */
    border-radius: 5px;
    object-fit: cover;
    display: block;
    margin: 0 auto 15px; /* Center image with space below */
}
.card:hover {
    transform:translateY(-5px);
    border-color:#EAECF0;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}



/* ================= FOOTER ================= */


footer {
    background:#173058;
    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;


}



.logo {

    font-size:22px;

}




/* ICON MENU */

.menu-toggle {


    display:block;


    color:white;


    font-size:30px;


    cursor:pointer;


    position:absolute;


    right:0;


    top:10px;


}



/* MENU CACHE */

nav ul {


    position:absolute;


    top:60px;


    left:0;



    width:250px;


    background:#FFFFFF;
	border-bottom: 1px solid #173058;
    

    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: #a2cc38;
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
}

.portal-btn a:hover {
    background: #173058;
    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:#173058;

    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:#173058;

    color:white;


    border:none;

    border-radius:6px;


    cursor:pointer;


    font-size:16px;

}



.popup-box button:hover {


    background:#173058;


}



/* 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(53,164,20,0.25); /* Gold transparent */
    color: white;
    padding: 12px 25px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    border: 1px solid rgba(71,138,17,0.80);
    backdrop-filter: blur(5px);
    transition: 0.3s;
}


.partner-btn:hover {
    background: rgba(55,130,36,0.80);
    color: white;
}



/* ================= PARTNER POPUP ================= */

.partner-popup{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    justify-content:center;
    align-items:center;
    z-index:99999;
    padding:25px;
}

.partner-box{
    width:1200px;
    max-width:200%;
    max-height:90vh;
    background:#fff;
    border-radius:10px;
    overflow:hidden;
 position:relative;
    display:grid;
    grid-template-columns:35% 65%;

    animation:partnerShow .4s ease;
}

.partner-left{
    background:#f8f9fb;
    padding:45px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.partner-logo{
    width:120px;
    margin:0 auto 25px;
    display:block;
}

.partner-left h2{
    font-size:34px;
    color:#173058;
    margin-bottom:20px;
    line-height:1.2;
}

.partner-left p{
    font-size:18px;
    line-height:1.8;
    color:#555;
}

.partner-right{
    padding:45px;
    overflow-y:auto;
}

.partner-right form{
    width:100%;
}

.partner-right label{
    display:block;
    margin:18px 0 8px;
    font-weight:600;
    color:#333;
}

.partner-right input,
.partner-right textarea{
    width:100%;
    padding:15px 18px;
    border:1px solid #d8d8d8;
    border-radius:6px;
    font-size:16px;
    box-sizing:border-box;
    transition:.3s;
}

.partner-right input:focus,
.partner-right textarea:focus{
    outline:none;
    border-color:#173058;
    box-shadow:0 0 6px rgba(23,48,88,.2);
}

.partner-right textarea{
    height:180px;
    resize:vertical;
}

.editor-note{
    display:block;
    margin-top:12px;
    color:#666;
    font-size:14px;
    line-height:1.6;
}

.partner-right button{
    width:100%;
    margin-top:25px;
    padding:16px;
    background:#173058;
    color:#fff;
    border:none;
    border-radius:6px;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.partner-right button:hover{
    background:#a2cc38;
}

.partner-close{
    position:absolute;
    top:15px;
    right:20px;
    width:35px;
    height:35px;
    display:flex;
    justify-content:center;
    align-items:center;

    font-size:28px;
    font-weight:bold;
    color:#c40000;
    cursor:pointer;

    border-radius:50%;
    z-index:1000;
}

.partner-close:hover{
    color:#173058;
}
@keyframes partnerShow{
    from{
        opacity:0;
        transform:translateY(-30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media (max-width:900px){
    .partner-box{
        grid-template-columns:1fr;
        width:95%;
        max-height:95vh;
    }

    .partner-left{
        text-align:center;
        padding:30px;
    }

    .partner-right{
        padding:30px;
    }
}


/* 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;
}


.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:#a2cc38;
    color:#fff;
    text-decoration:none;
    border-radius:3px;
}

.btn:hover{
    background:#173058;
}


/*REDMORE-DETAILS*/

/* ===========================
   NEWSLETTER
=========================== */

.newsletter{

    background:#173058;

    color:#fff;

    border:1px solid #009688;

}

.newsletter:hover{

    background:#a2cc38;

}

/*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: #173058;
    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 */
/* POPUP CONTAINER */
.newsletter-popup-content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:30px;
}

/* FORM */
#newsletterForm{
    width:100%;
    max-width:400px;
}

/* TITLE */
.newsletter-popup-content h2{
    margin-bottom:20px;
    font-size:22px;
    color:#173058;
}

/* INPUT */
#newsletterForm input[type="email"]{
    width:100%;
    height:55px;
    padding:0 18px;
    border:1px solid #d8d8d8;
    border-radius:6px;
    font-size:16px;
    box-sizing:border-box;
    text-align:center; /* center text inside input */
}

#newsletterForm input[type="email"]:focus{
    outline:none;
    border-color:#173058;
}

/* BUTTON */
.newsletter-popup-content button{
    width:100%;
    margin-top:18px;
    padding:14px;
    background:#173058;
    color:#fff;
    border:none;
    border-radius:6px;
    font-size:15px;
    cursor:pointer;
    transition:.3s;
}

.newsletter-popup-content button:hover{
    background:#0f2442;
}

.newsletter-popup-content button:hover{

    background:#a2cc38;

}


.newsletter-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    background:#173058;
    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:#a2cc38;

    transform:translateY(-2px);

}


.newsletter-btn:active{

    transform:translateY(0);

}

.main-grid {
    max-width: 1100px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    
    padding: 10px;
}

/* CARD */
.card {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* TITLES */
.card h2 {
    margin-top: 0;
    color: #173058;
    text-align: center;
}

.card h3 {
    color: #173058;
    margin-top: 10px;
}

/* MEDIA */
.card img,
.card video {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* TEXT */
.card p {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
}

/* MOBILE */
@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}


#mobileMenu .dropdown {
    position: relative;
}

/* Sous-menu caché */
#mobileMenu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: #fff;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 999;
}

/* Affichage au survol */
#mobileMenu .dropdown:hover .submenu {
    display: block;
}

/* Liens du sous-menu */
#mobileMenu .submenu li {
    width: 90%;
    padding: 20;
}

#mobileMenu .submenu li a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

/* Effet au passage */
#mobileMenu .submenu li a:hover {
    background: #a2cc38;
	color: #FFFFFF;
}


/* Version clic mobile */
#mobileMenu .submenu.show {
    display: block;
}


