/* --------VARIABLES DE COULEURS -----------*/
:root {
    --bg-start: #000000;
    --bg-end: #111827;
    --text-main: #FFFFFF;
    --text-secondary: #D1D5DB;
    --text-tertiary: #9CA3AF;
    --accent-green: #19BAA2;
    --accent-blue: #6DDDFF;
    --accent-red: #EB584C;
    --card-bg: rgba(31, 41, 55, 0.5);
    --border: #374151;
}

/*------------ RÉGLAGES GÉNÉRAUX ------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
    background-attachment: fixed; /* Pour que le dégradé reste en place au scroll */
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------BARRE DE NAVIGATION et HERO----------- */
.navbar {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    margin-left: 25px;
    font-size: 0.95rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent-blue); /* Survol en bleu clair */
}

.hamburger {
    display: none; /* Caché sur ordinateur */
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.3s;
    border-radius: 2px;
}

.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.badge {
    background: rgba(25, 186, 162, 0.1);
    color: var(--accent-green);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid var(--accent-green);
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-size: 4.5rem;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(to right, #f1f6fc, #50cce2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.scroll-reveal {
    opacity: 0;
    transition: all 0.8s ease-out; 
    will-change: transform, opacity; 
}


.scroll-reveal.fade-down {
    transform: translateY(-20px);
}

.scroll-reveal.fade-up {
    transform: translateY(20px);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero h1.scroll-reveal {
    transition-delay: 0.2s;
}

.typewriter-effect {
    display: inline-block; 
    margin-right: 5px;
}

.typewriter-effect::after {
    content: '|'; 
    font-weight: normal;
    color: var(--accent-blue); 
    animation: clignotement 0.7s infinite;
}

@keyframes clignotement {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.h1 {
    font-size: 2rem;
}

@media (max-width: 768px) {

    .hamburger {
        display: flex; 
    }

    .navbar nav {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 70px; /* Hauteur de navbar */
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95); 
        backdrop-filter: blur(15px);
        padding: 30px;
        border-bottom: 1px solid var(--border);
        text-align: center;
    }
    .navbar nav.active {
        display: flex;
    }

    nav a {
        margin: 15px 0 !important; 
        margin-left: 0 !important;
        font-size: 1.2rem;
    }
    
    .hero h1 {
    font-size: 2.5rem !important;
    }
    .video h2 {
        font-size :1.8rem !important;
    }
    
    
    .about h2, 
    .trust-section h2,
    .services h2,
    .section-contact-title {
        font-size: 1.8rem !important;
    }

    .hero p {
        font-size: 1rem; /
    }
}


/*---------section vidéo-------------*/

.video h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(to left, #f487a4, #1ab3ce);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/*---------section Services--------------*/

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
}

.services h3 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--accent-blue);
}

.card svg {
    width: 35px;
    height: 35px;
    margin-bottom: 1.2em;
}

.card ul {
    height: 150px;
}

/*---------section About et Trust-------------*/

.about h2, 
.trust-section h2,
.contact-section h2{
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
}

.trust-section {
    background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
    margin-top:30px;
    padding-bottom: 50px;
}
.contact-section {
    padding-top: 20px;
    align-items: center;
    text-align:center;
}

.trust-logo{
    text-align: center ;
}

.about{
  padding:100px 10%;
  background:linear-gradient(180deg,#050a14,#0d1b2f);
}

.about-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.about-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  align-items:center;
}


.about-text p{
  color:#b8c0d0;
  line-height:1.6;
  margin-bottom:20px;
}

.stats{
  display:flex;
  gap:40px;
  margin-top:40px;
}

.stat h3{
  font-size:32px;
  margin:0;
}

.stat span{
  color:#9aa4b5;
  font-size:14px;
}

.about-cards{
  grid-template-columns:1fr 1fr;
  gap:30px;
}

.Acard{
  padding:30px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.08);
  background:linear-gradient(145deg,#0e1a2d,#0b1423);
}


.icon{
  font-size:26px;
  margin-bottom:15px;
}

@media (max-width: 768px){

    .about {
        padding: 50px 20px;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .about-cards {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .stats {
        justify-content: center;
        gap: 20px;
    }

    
}


/*------------- BOUTONS -------------*/
.btn-main {
    background: var(--accent-green);
    color: var(--bg-end);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-main:hover {
    box-shadow: 0 0 20px rgba(25, 186, 162, 0.4);
    transform: translateY(-2px);
}

.btn-main-2 {
    color: #ffffff;
    padding: 8px 18px;
    margin-left: 20px;
    border-radius: 8px;
    border: 0.5px solid #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-main-2:hover {
    box-shadow: 0 0 20px rgba(149, 232, 219, 0.4);
    transform: translateY(-2px);
}

.btn-blanc {
    background: #ffffff;
    color: var(--bg-end);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
    width: 100%;
}

.btn-blanc:hover {
    box-shadow: 0 0 20px rgba(149, 232, 219, 0.4);
    transform: translateY(-2px);
}

.btn-alt {
    color: var(--accent-blue);
    text-decoration: none;
    margin-left: 15px;
    font-weight: 500;
    border-bottom: 1px dashed var(--accent-blue);
}

.btn-nav{color: #ffffff;
    padding: 8px 18px;
    border-radius: 8px;
    border: 0.5px solid #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-nav:hover {
    box-shadow: 0 0 20px rgba(149, 232, 219, 0.4);
    transform: translateY(-2px);
    border-color: var(--accent-blue);
}


@media (max-width: 768px){

    .btn-main, .btn-main-2 {
    font-size: 1em;
    margin:5px;
    }
}

/* ------------CARTES ET GRILLES -------------------*/
.services, .formations { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.2rem; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.grid-details {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 25px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 16px;
    transition: 0.3s;
}

.card:hover {
    background: rgba(31, 41, 55, 0.8);
    border-color: var(--accent-blue);
}

.card h3 {
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 1.5em;
}

.card p {
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

.card-formations h3 {
    color: var(--accent-blue);
    font-weight: 500;
    font-size: 1.5em;
    margin-bottom: 12px;
}

.card-formations {
    background: var(--bg-end);
    border: 1px solid #ffffff;
    padding: 30px;
    border-radius: 16px;
    transition: 0.3s;
}
.card-formations:hover {
    background: rgba(31, 41, 55, 0.8);
    border-color: var(--accent-blue);
}

.card-formations p {
    color: #ffffff;
    font-size: 0.95rem;
}

.card-full {
    grid-column: span 2;
}

.title-red { color: var(--accent-red); }
.title-white { color: #ffffff; }
.link-red { color: #e05a47; text-decoration: none; font-weight: 500; }
.link-white { color: #ffffff; text-decoration: underline; }

.objectifs-list { 
    color: var(--text-secondary); 
    margin-top: 15px; 
    list-style: none;
}

@media (max-width: 768px) {
    .grid-details {
    grid-template-columns: 1fr;
    }
    .card-wide, .card-full {
        grid-column: span 1 !important;
    }
}

.point-formation {
    margin-top : 30px;
    margin-bottom: 50px;
}

/*---------------- FOOTER --------------------*/

#footer-placeholder {
    margin-top: 80px;
}

footer {
    border-top: 1px solid var(--border);
    padding: 50px 0;
    text-align: center;
    background: var(--bg-start);
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover { color: var(--accent-red); } 

.copyright {
    margin-top: 20px;
    color: var(--text-tertiary);
    font-size: 0.8rem;
}
.site-footer {
    background-color: #05070a;
    color: #ffffff;
    padding: 60px 5%;
    font-family: sans-serif;
}


.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    max-width: 100%;
    margin: 0 auto;
}

.footer-logo {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.footer-logo span { font-weight: 300; }

.footer-logo-link {
    text-decoration: none; 
    color: inherit;        
    display: inline-block; 
}

.footer-logo-link:hover {
    opacity: 0.8;          
    transition: 0.3s;
}

.contact-info {
    font-size: 0.85em;
    line-height: 1.6;
    color: #d1d1d1;
}
.contact-info a { color: inherit; text-decoration: none; }

.footer-nav {
    display: flex;
    flex-direction: column;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85em; 
    opacity: 0.8;
    transition: opacity 0.3s;
    line-height: 1.2;
    padding: 4px 0;
}
.footer-nav a:hover { opacity: 1; }

.qualio-col {
    display: flex;
    justify-content: flex-end; 
}

.qualiopi-link {
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.qualiopi-img {
    height: 80px; /*  */
    display: block;
    margin-bottom: 8px;
}

.download-text {
    font-size: 0.7em;
    color: #a0a0a0;
    display: block;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-left: 50px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1); 
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2); 
}

.social-icon-f {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1); 
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
}

.social-icon-f:hover {
    background-color: rgba(255, 255, 255, 0.2); 
}

.site-header {
  padding: 20px;
  background-color: #ffffff;
}

.logo {
  height: 50px;
}

.footer-links-container {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Espace précis entre les blocs de liens */

}

.footer-link-compact {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85em;
    opacity: 0.8;
    line-height: 1.2;  /* Resserre la hauteur de la ligne de texte */
    margin: 0;         /* Aucune marge parasite */
    transition: opacity 0.3s;
}

.footer-link-compact:hover {
    opacity: 1;
    color: var(--accent-green); /* Garde votre effet de survol existant */
}

@media (max-width: 768px) {

    .grid {
    gap: 10px;

    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items:center;
        text-align: center;
        gap: 12px;
    }
    .footer-links-container {
        display:flex;
        flex-direction:column;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    .social-links {
        margin-left: 0;
        justify-content: center;
        margin-bottom: 15px;
    }
    .social-icon {
        margin-left: 0;
        justify-content: center;
    }
    .qualiopi-img {
        margin-bottom: 5px;
    }
}

/*------------ Mise en page du slider -----------*/
.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.logo-card {
    background-color: var(--card-bg);
    width: 240px;
    height: 140px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-card:hover {
    transform: translateY(-5px);
    background-color: #252932; 
}

.logo-card img {
    max-width: 70%;
    max-height: 50%;
    filter: grayscale(1) brightness(1.5); 
    opacity: 0.8;
}

.nav-dot {
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.9;
}

    
.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo span {
    color: var(--accent-green);
}


@media (max-width: 768px) {

    .nav-dot {
    display : none;
       }

    .logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    justify-items: center;
    }

    .logo-card {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .logo-card img {
    max-width: 60%;
    height: auto;
    }
}

/*-----------Equipe---------------*/

.equipe-container {
    margin-top: 80px;
    margin-bottom : 80px;
}

.equipe {
    text-align: center ;

}

.equipe h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 500;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(to left, #f487a4, #1ab3ce);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.team-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.team-image img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
  }

.equipe-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 16px;
    transition: 0.3s;
    grid-template-columns:1fr 1fr 1fr 1fr;
    gap:30px;
}

.equipe-card:hover {
    background: rgba(31, 41, 55, 0.8);
    border-color: var(--accent-blue);
}

.equipe-card h3 {
    color: var(--accent-green);
    font-size : 1.3em;
    font-weight: 600;
    margin-bottom: 20px;
}

.equipe-card p {
    font-size: 1em;
}

.card-blockchain{
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 16px;
    transition: 0.3s;

}

.card-blockchain:hover {
    background: rgba(31, 41, 55, 0.8);
    border-color: var(--border);
}

.card-blockchain h3 {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 1.5em;
}

.card-blockchain p {
    color: var(--text-tertiary);
    font-size: 0.95rem;
}


.formations-Rubi {
    display: flex;
    align-items: center;
    font-size: 1em;

}

@media (max-width: 768px) {
    .formations-Rubi {
    font-size: 1em;
}
}


    /* --- SECTION FINANCEMENT --- */
.financement-section {
    background-color: #0b1120; /* Bleu très sombre comme sur l'image */
    background-image: linear-gradient(rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.8)), url('ton-image-de-fond.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 40px;
    border: 1px solid #149793;
    border-radius: 8px;
    margin-top:80px;

}

@media (max-width: 768px) {

    .financement-section {
        display: flex;
        flex-direction: column;
        padding: 40px 30px;
    }

    .content-flex {
    display: flex;
    align-items: center;
    flex-direction: column;
    }
    
    .title-main {
        font-size: 1.6rem;
    }
}


/* Titre principal */
.title-main {
    font-size: 2.5rem;
    font-weight: 400; 
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Alignement Logo + Texte */
.content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo-box img {
    max-width: 200px;
    padding: 10px;
}

.description-text {
    font-size: 1.25rem;
    line-height: 1.5;
    max-width: 700px;
}

.CTA {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 80px
}

.CTA p{
    font-size: 0.8em;
    font-style: italic;
    padding-top: 1rem;
}

.btn-CTA {
    background: var(--accent-green);
    border :solid 2px; 
    border-color: var(--accent-green);
    color: var(--bg-end);
    padding: 8px 18px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-size: 1.5em;
    font-weight: 500;
    transition: 0.3s;
}

.btn-CTA:hover {
    box-shadow: 0 0 20px rgba(25, 186, 162, 0.4);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .contact-header {
    padding-bottom: 25px;
    }
}


/*---------Les points et selections------------*/

li {
  font-size: 0.85em;
  font-style: italic;
  margin-left: 40px;
}

.ia-menu select {
  width: 420px;
  max-width: 100%;
  padding: 7px 12px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #0f1c2e;
  color: #e6edf3;
  outline: none;
  transition: all 0.2s ease;
}

.ia-menu select:hover {
  border-color: #28c7b7;
}

/* Focus */
.ia-menu select:focus {
  border-color: #28c7b7;
  box-shadow: 0 0 0 2px rgba(40,199,183,0.2);
}

/* Options */
.ia-menu option {
  background: #0f1c2e;
  color: #e6edf3;
}