:root {
    --ruban-height: 50px;
}

/* RESET MINIMAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY : décalage uniquement pour la navbar fixe */
body {
    padding-top: var(--navbar-height);
    font-family: Arial, sans-serif;
}

/* RUBAN juste sous la navbar */
.ruban {
    position: relative;
    width: 100%;
    height: var(--ruban-height);
    background-color: #006ba1;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 1;
}

/* Titre dans le ruban */
.ruban .title {
    font-family: Lato;
    color: white;
    font-size: 1.3rem;
    font-weight: 100;
    margin-left:20%;
}

/* SECTION AVEC IMAGE DE FOND */
.background-vali {
    position: relative; /* référence pour mission_container */
    min-height: calc(100svh - var(--navbar-height) - var(--ruban-height));
    background-image: url("/static/images/background-vali.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mission en bas à droite */
.background-vali .mission_container {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;

    max-width: 420px;
    padding: 1.5rem;

    background: rgba(255, 255, 255, 0.55);
    color: #266d95;
    border-radius: 6px;
}

/* Titre mission */
.mission_title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Texte mission */
.mission {
color: #58585b;
    font-size: 1rem;
    font-style: italic;  /* texte en italique */
    line-height: 1.4;
}
.expertise_container {
    min-height: calc(100svh - var(--navbar-height));          /* plein écran */
    width: 100%;
    background-color: white;

    display: flex;

    padding: 4rem 1.5rem;
}

/* COLONNE GAUCHE */
.left-box {
    flex: 1;
    background-color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 4rem;
}

/* TITRE */
.expertise_title {
    font-family: Lato;
    font-size: 2rem;
    font-weight: 300;
    color: #266d95;
    margin-bottom: 2rem;
}

/* TEXTE */
.expertise {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #58585b;
}

/* Conteneur global des expertises */
.expertise-description-container {
    display: flex;
    flex-direction: column; /* une expertise par ligne */
    gap: 1.5rem; /* espace entre chaque expertise */
    margin-top: 2rem;
}
/* Chaque élément d'expertise */
.expertise-description-container .container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
/* Logo de l'expertise */
.logo-expertise {
    width: 60px;
    height: 60px;
    border-radius: 12px; /* coins arrondis */
    background-color: #d9d9d9; /* couleur par défaut si pas d'image */
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* Conteneur texte (titre + description) */
.description-container {
    flex: 1; /* prend le reste de l'espace disponible */
}

/* Titre de l'expertise */
.description-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #266d95;
    margin-bottom: 0.25rem;
}

/* Texte descriptif */
.description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #58585b;
}

/* COLONNE DROITE */
.right-box {
    flex: 1;
    background-image: url("/static/images/lab1.jpg");
    background-size: cover;          /* remplit la section */
    background-position: center;     /* centre l’image */
    background-repeat: no-repeat;

}
.our_history_container {
    min-height: calc(80svh - var(--navbar-height));
    display: flex;
    width: 100%;

    background-color: white;
}

/* image / visuel */
.history_left-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #6e6e6e;
    padding: 4rem;
}

/* texte */
.history_right-box {
    flex: 1;
    background-image: url("/static/images/lab2.jpg");
    background-size: cover;          /* remplit la section */
    background-position: center;     /* centre l’image */
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.our_history_container:nth-child(even) {
    flex-direction: row-reverse;
}
.our_history_title{
    font-family: Lato;
    font-size: 2rem;
    font-weight: 300;
    color: white;
    margin-bottom: 2rem;
}

.our_history{
    font-size: 1.1rem;
    font-weight: 500; /* plus épais que normal */
    line-height: 1.6;
    color: white;
}
/* SECTION DIRIGEANTS */
.managers-container {
    min-height: 80svh;
    background-color: #ffffff;
    padding: 5rem 1.5rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TITRE */
.managers-title {
    font-size: 2rem;
    font-weight: 600;
    color: #266d95;
    margin-bottom: 3rem;
    text-align: center;
}

/* WRAPPER DES CARTES */
.managers-wrapper {
    width: 100%;
    max-width: 1200px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* CARTE DIRIGEANT */
.manager {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manager:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.manager-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-bottom: 1.5rem;

    background-color: #d9d9d9; /* placeholder */
    background-size: cover;
    background-position: center;
}

/* NOM */
.manager-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #121212;
    margin-bottom: 0.25rem;
}

/* TITRE POSTE */
.manager-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #266d95;
    margin-bottom: 1rem;
}

/* LINKEDIN */
.manager-linkedin {
    margin-bottom: 1rem;
}

.manager-linkedin a {
    color: #0077b5;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.manager-linkedin a:hover {
    text-decoration: underline;
}

/* DESCRIPTION */
.manager-description {
    font-size: 0.95rem;
    line-height: 1.1;
    color: #58585b;
}
/* SECTION CLIENTS */
.clients-container {
    min-height: 20svh;
    background-color: #ffffff;
    padding: 2.5rem 1.5rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* TITRE */
.clients-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #266d95;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* WRAPPER LOGOS */
.clients-logos {
    width: 100%;
    max-width: 1200px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

/* LOGOS */
.clients-logos img {
    max-height: 55px;
    max-width: 160px;
    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.75;

    transition: filter 0.3s ease, opacity 0.3s ease;
}
.clients-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
}
.clients-logos a:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* RESPONSIVE : sur mobile, logo au-dessus du texte */
@media (max-width: 768px) {
    .expertise-description-container .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .logo-expertise {
        margin-bottom: 0.5rem;
    }
}
