/* ==========================================================================
   CHARTE GRAPHIQUE NBK CONSEIL - COULEURS OFFICIELLES
   Orange  : #FBAA4C
   Bleu    : #41B6E6
   Rouge   : #EE2737
   Vert    : #009F4D
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 1. RESET & BASICS                                                          */
/* -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;

   background-image: url('image/cercles-charte.svg'), url('image/cercles-charte.svg');
    background-repeat: no-repeat, no-repeat;
    
    /* ON POUSSE DANS LES COINS : -90px sur les côtés pour masquer la moitié du rond */
    background-position: top 20px left -90px, bottom 20px right -90px; 
    
    /* TAILLE DES ARCS DE CERCLE */
    background-size: 300px, 300px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
h3 {
    color: #FBAA4C;
}

/* -------------------------------------------------------------------------- */
/* 2. HEADER & NAVIGATION                                                     */
/* -------------------------------------------------------------------------- */
.main-header {
    background-color: #000000;
    width: 100%; 
    padding: 20px 0; 
    position: sticky;  
    top: 0;            
    z-index: 1000;
}

.header-container {
    max-width: 1200px; 
    width: 100%;
    margin: 0 auto; 
    padding: 0 40px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-placeholder {
    background-color: black;
    padding: 0;
}

.logo-placeholder img {
    height: 100px;
    width: auto;
    display: block;
}

.main-nav a {
    color: #FBAA4C;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #ffffff;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #EE2737;
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.active {
    font-weight: 700;
    color: #ffffff;
}

.main-nav a.active::after {
    width: 100%;
    background-color: #FBAA4C;
}

/* -------------------------------------------------------------------------- */
/* 3. STRUCTURES DE TITRES & ACCUEIL                                          */
/* -------------------------------------------------------------------------- */
.page-intro {
    text-align: center;
    margin-bottom: 60px;
}
.page-intro-slogan {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #FBAA4C;
}

.page-intro h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FBAA4C;
}

.page-intro p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
}

.hero-section {
    background-color: transparent;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 20px;
    border: 1px solid #000000;
    overflow: hidden;
}

.hero-section img {
    max-height: 80%;
    width: auto;
    display: block;
    object-fit: contain;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-card {
    background-color: #2f3538;
    border: 1px solid #222222;
    padding: 40px 30px;
    text-align: center;
    border-radius: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.grid-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FBAA4C;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.grid-card:hover {
    transform: scale(1.03);
    border-color: #41B6E6;
}

/* -------------------------------------------------------------------------- */
/* 4. BANDEAU CLIENTS                                                         */
/* -------------------------------------------------------------------------- */
.clients-banner {
    background-color: #ffffff;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
    padding: 50px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.clients-banner h2 {
    color: #000000 !important;
    font-size: 32px;
    font-weight: 400;
    margin: 0;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.logos-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scrollInfinite 45s linear infinite;
}

.client-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 60px;
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

@keyframes scrollInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------------- */
/* 5. PAGE FORMATIONS                                                         */
/* -------------------------------------------------------------------------- */
.formations-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.formation-card {
    background-color: #2f3538;
    border: 1px solid #222222;
    border-radius: 24px;
    width: 100%;
    max-width: 850px;
    padding: 50px 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    scroll-margin-top: 100px;
}

.formation-card:hover {
    transform: translateY(-5px);
    border-color: #41B6E6;
}

.formation-card h2 {
    font-size: 32px;
    font-weight: 700;
    color: #FBAA4C;
    margin-bottom: 20px;
}

.formation-card p {
    font-size: 16px;
    color: #dddddd;
    margin-bottom: 30px;
}

.btn-contact {
    display: inline-block;
    background-color: #41B6E6;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 50px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-contact:hover {
    background-color: #2da1d0;
    box-shadow: 0 0 15px rgba(65, 182, 230, 0.4);
}

/* -------------------------------------------------------------------------- */
/* 6. PAGE À PROPOS                                                           */
/* -------------------------------------------------------------------------- */
.about-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.about-image-block { 

    border-radius: 16px;
    width: 50%;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 24px;
    color: #555555;
}
.about-image-block img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.about-text-block {
    width: 50%;
}

.about-text-block h2 {
    font-size: 36px;
    font-weight: 700;
    color: #FBAA4C;
    margin-bottom: 20px;
}
.about-text-block h4 {
    color: #FBAA4C !important; /* Met les titres de paragraphes en jaune */
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.actions-section {
    margin-top: 100px;
    text-align: center;
}

.actions-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.action-item {
    background-color: #2f3538;
    border: 1px solid #222222;
    color: #ffffff;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    border-radius: 12px;
}

.expertises-section {
    margin-top: 80px;
    text-align: center;
    padding-bottom: 60px;
}

.expertises-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.expertises-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.expertise-bubble {
    background-color: #111111;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 400;
    border: 1px solid #222222;
    transition: all 0.3s ease;
    cursor: default;
}

.expertise-bubble:hover {
    border-color: #FBAA4C;
    background-color: #1a1a1a;
    transform: translateY(-2px);
}

/* -------------------------------------------------------------------------- */
/* 7. PAGE CONTACT                                                            */
/* -------------------------------------------------------------------------- */
.contact-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-info-column {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: #2f3538;
    border: 1px solid #222222;
    color: #ffffff;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #FBAA4C;
}

.contact-form {
    width: 65%;
    background-color: #2f3538;
    border: 1px solid #222222;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #ffffff;
    width: 100%;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.form-submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-submit {
    background-color: #009F4D;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 14px 50px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
    background-color: #008541;
    box-shadow: 0 0 15px rgba(0, 159, 77, 0.4);
}

/* -------------------------------------------------------------------------- */
/* 8. FOOTER                                                                  */
/* -------------------------------------------------------------------------- */
.main-footer {
    background-color: #0b0b0b;
    border-top: 1px solid #222222;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 50px 40px;
    margin-top: 100px;
    text-align: center;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FBAA4C;
}

.footer-column p {
    font-size: 14px;
    color: #aaaaaa;
}

/* -------------------------------------------------------------------------- */
/* 9. RESPONSIVE */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .container {
        padding: 40px 15px;
    }
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        text-align: center;
    }
    .logo-placeholder img {
        height: 55px;
    }
    .main-nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    .main-nav a {
        margin-left: 0 !important;
        font-size: 14px;
        padding: 6px 10px;
    }
    .formation-content-wrapper {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .contact-wrapper {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .contact-info-column, 
    .contact-form {
        width: 100% !important;
    }
    .form-row {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .formations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .human-approach {
        padding: 30px 20px;
        margin-top: 50px;
    }

    .human-approach h2 {
        font-size: 24px;
    }
}
/* -------------------------------------------------------------------------- */
/* 10. NOUVELLES RÈGLES EXCLUSIVES POUR CHIFFRES, ACCROCHES ET BLOCS COURS     */
/* -------------------------------------------------------------------------- */
.home-intro {
    max-width: 1000px;
    margin-bottom: 60px;
}
.home-intro h2 {
    color: #FBAA4C;
    margin-bottom: 20px;
    font-size: 28px;
}
.home-intro p {
    padding-left: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
}

.key-figures {
    margin-bottom: 80px;
    text-align: center;
}
.key-figures h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #ffffff;
}
.key-figures .grid-card {
    cursor: default;
    transform: none !important;
}
.key-figures .grid-card h3 {
    font-size: 36px;
    margin-bottom: 10px;
}
.key-figures .grid-card p {
    color: #ffffff;
}
.key-figures-subtext {
    margin-top: 20px;
    color: #cccccc;
    font-style: italic;
}

.formation-subtitle {
    font-size: 18px;
    font-style: italic;
    color: #cccccc;
    margin-bottom: 35px;
}

.formation-content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    text-align: left;
    margin-bottom: 30px;
}
.formation-col {
    flex: 1;
}
.formation-col h4 {
    color: #41B6E6;
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
}
.formation-col ul {
    list-style: none;
    padding: 0;
}
.formation-col ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: #dddddd;
}
.formation-col ul li::before {
    content: "•";
    color: #FBAA4C;
    position: absolute;
    left: 0;
    font-size: 18px;
    top: -2px;
}

.human-approach {
    margin-top: 100px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    background-color: #0b0b0b;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid #222222;
}
.human-approach h2 {
    color: #FBAA4C;
    text-align: center;
    font-size: 30px;
    margin-bottom: 25px;
}
.human-approach p {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}
.human-approach p.lead {
    color: #dddddd;
    margin-bottom: 30px;
}
.human-approach h3 {
    color: #41B6E6;
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.human-approach ul {
    list-style: none;
    padding: 0;
}
.human-approach ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #dddddd;
    text-align: left;
}
.human-approach ul li .check-icon {
    color: #009F4D;
    position: absolute;
    left: 0;
}
.human-approach-footer {
    margin-top: 35px;
    padding: 20px;
    background-color: #161a1d;
    border-radius: 12px;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    border-left: 4px solid #009F4D;
}
/* ==========================================================================
   ANIMATIONS DES CHIFFRES CLÉS
   ========================================================================== */
.anim-card {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.anim-card.visible {
    opacity: 1;
    transform: scale(1);
}
.formations-grid .anim-card:nth-child(1) { transition-delay: 0.1s; }
.formations-grid .anim-card:nth-child(2) { transition-delay: 0.3s; }
.formations-grid .anim-card:nth-child(3) { transition-delay: 0.5s; }
.formations-grid .anim-card:nth-child(4) { transition-delay: 0.7s; }