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

/* On change l'apparence globale */
body {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-family: 'Tomorrow', sans-serif;
    /* On enlève display: flex ici pour que les éléments s'empilent normalement */
    line-height: 1.6;

    /* --- AJOUTS POUR LE CENTRAGE --- */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Force le body à prendre toute la hauteur */
}




/* 2. HERO BANNER : L'image de fond et le centrage */
.hero-banner {
    min-height: 80vh; /* S'adapte à l'écran */
    width: 100%;
    /* Utilisation de l'image IMG_0749.png spécifiée */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('images/IMG_7057.png') center/cover no-repeat;
    
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre verticalement */
    align-items: center;     /* Centre horizontalement */
    text-align: center;      /* Centre le texte du h1 */
    
    /* padding-left: 8%; */  /* SUPPRIMÉ : Cela empêchait le centrage horizontal */
    padding: 20px;          /* Un peu de padding pour les petits écrans */
}

/* Ajustement de l'image au dessus du H1 */
.workflow_diagram_bt {
    max-width: 40%;    /* L'image ne dépassera jamais de l'écran */
    height: auto;
    margin-bottom: 20px; /* Espace entre l'image et le H1 */
}

.hero-banner h1 {
    color: rgb(255, 255, 255);
    font-size: 2.2rem; /* Augmenté un peu pour l'impact */
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    max-width: 800px; /* Limite la largeur du texte pour la lisibilité */
    letter-spacing: 1px;
}

/* 3. WORKFLOW IMAGE : Pour qu'elle soit responsive */
.workflow_diagram {
    display: block;
    margin: 50px auto; /* Centre l'image horizontalement avec de l'espace autour */
    max-width: 90%;    /* L'image ne dépassera jamais de l'écran */
    height: auto;
}

.nav-links {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Logo à gauche, liens à droite */
    align-items: center;
    list-style: none;
    width: 100%;
}

.logo-item {
    justify-self: start;
    padding-left: 50px;
}



/* Style du lien */
a {
    color: hsl(0, 0%, 100%);
    text-decoration: none;
    font-size: 30px;
 
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px; /* Espace entre les liens de droite uniquement */
}

/* On nettoie l'ancien style qui pourrait interférer */
.logo-item {
    padding-left: 0; /* Plus besoin de padding manuel */
    display: flex;
    align-items: center;
}

a:hover {
    color: #a3a3a3; /* Change de couleur au survol ! */
}

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: rgb(0, 0, 0);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 5%; /* Padding latéral pour respirer */
}

/* On regroupe les liens dans une div ou on gère les marges */
.nav-links li {
    margin-left: 30px;
}

.nav-links li a {
    font-size: 14px; /* Plus petit et élégant */
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 20px;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.about-section {
    padding: 100px 5%;
    background-color: #f9f9f9; /* Fond légèrement gris pour démarquer la section */
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center; /* Centre verticalement le texte par rapport à l'image */
    gap: 50px; /* Espace entre l'image et le texte */
}

.about-image, .about-text {
    flex: 1; /* Les deux blocs prennent la même largeur */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* Optionnel : bords légèrement arrondis */
}

.about-text p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
}



#typed-dots {
    display: inline-block;
    min-width: 57px; /* Ajustez cette valeur pour que "illimitée" reste stable */
    text-align: left;
    color: #000; /* Garde la même couleur que le titre h2 */
}

.features-grid {
    display: grid;
    /* Force 3 colonnes de largeur égale */
    grid-template-columns: repeat(3, 1fr);
    /* Définit 2 lignes (pour 5 éléments, la 6ème case restera vide) */
    grid-template-rows: repeat(2, auto);
    gap: 30px; /* Espace entre les boîtes */
    max-width: 1100px;
    margin: 0 auto; /* Centre la grille sur la page */
}

.feature-card {
    background: rgb(255, 255, 255);
    padding: 30px;

}



.feature-card .icon {
    margin-bottom: 100px;
}

.feature-card h4 {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 10px;
    text-transform: uppercase; /* Pour le look pro du site FTS */
    letter-spacing: 1px;
    text-align: center;
}

.feature-card p {
    color: #494949;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
}

.icon-container {
    height: 80px; /* On définit une hauteur fixe pour que tout soit aligné */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    width: 60px; /* Taille de ton icône */
    height: auto; /* Garde les proportions */
    object-fit: contain; /* Évite que l'image ne soit déformée */
}

.whatsapp-button-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px; /* Ajuste l'espace avec la section suivante */
}

.whatsapp-prompt {
    font-family: 'Tomorrow', sans-serif;
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 20px; /* Espace entre le texte et le bouton */
    font-weight: 700;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background-color: #25D366; /* Couleur officielle WhatsApp */
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Tomorrow', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s, transform 0.2s;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-icon {
    width: 25px;
    height: 25px;
    margin-right: 15px;
}

/* Container global du branding */
.branding-container {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

/* Chaque ligne de branding */
.branding-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 100px; /* Espace entre les blocs */
    gap: 50px;
    text-align:right;
}

/* Inversion pour la deuxième ligne */
.branding-row.reverse {
    flex-direction: row-reverse;
    text-align: left;
}

/* Style des blocs de contenu */
.branding-text {
    flex: 1;
}

.branding-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.branding-image {
    flex: 1;
}

.branding-image img {
    width: 100%;
    height: auto;
    border-radius: 0px; /* Optionnel : pour des bords arrondis élégants */
    display: block;
}

.contact-page-container {
    flex: 1;
    min-height: 80vh;   /* Pour que le footer reste en bas même si le texte est court */
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.contact-container h3 {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-container p {
    color: #666;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pupitrage {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
}

.desk-section {
    /* --- MODIFICATIONS --- */
    flex: 1; /* Prend tout l'espace disponible entre nav et footer */
    display: flex;
    align-items: center; /* Centre verticalement le contenu */
    
    /* Supprimer ou réduire les paddings qui créaient de l'espace */
    padding: 20px 5%; 
}

.desk-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center; /* Centre verticalement le texte par rapport à l'image */
    gap: 50px; /* Espace entre l'image et le texte */
}

.desk-image, .desk-text {
    flex: 1; /* Les deux blocs prennent la même largeur */
}

.desk-image img {
    width: 80%;
    height: auto;
}

.desk-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    
}

.desk-text p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 3%;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 0; /* Look industriel */
    font-family: 'Tomorrow', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #000; /* Devient noir quand on clique dessus */
}

.submit-button {
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    border: none;
    font-family: 'Tomorrow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.whatsapp-button-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366; /* Couleur officielle WhatsApp */
    color: white;
    padding: 15px 30px;
    border-radius: 0; /* Pour correspondre au style du formulaire */
    font-family: 'Tomorrow', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 20px; /* Espace au dessus du bouton */
}

.whatsapp-button-contact:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    color: white; /* Force la couleur du texte au survol */
}

.whatsapp-button-contact .whatsapp-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
}

.main-footer {
    background-color: #111; /* Noir profond */
    color: #fff;
    padding: 80px 5% 20px 5%;
    margin-top: 0px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Le logo prend plus de place */
    gap: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo span {
    font-family: 'Tomorrow', sans-serif;
    font-weight: 700; /* Ou 900 pour plus d'impact */
}

.footer-links h5, .footer-contact h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #888;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-email {
    color: #ccc;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-email:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
}

/* Quand l'écran fait moins de 768px (tablettes et mobiles) */
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
        width: 100%;
    }

    .navbar {                
        flex-direction: column;                
        padding: 10px;
        width: 100%; /* S'assure que la nav fait 100% */
        box-sizing: border-box; /* Inclut le padding dans la largeur */
    }                

   .nav-links {
        justify-content: space-between;
        width: 100%;
    }
    
    .hamburger {
        display: block; /* Afficher le bouton sur mobile */
    }

    .nav-menu {
        position: absolute;
        top: 70px; /* Ajustez selon la hauteur de votre navbar */
        right: -100%; /* Caché hors écran à droite */
        flex-direction: column;
        background-color: #000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        right: 0; /* Menu affiché */
    }

    .nav-links li {
        margin: 0 10px; /* On réduit l'espace entre les liens */
    }

    .features-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
    }

    .hero-banner {
        min-height: 60vh; /* Moins haut sur mobile */
        padding: 10px;
    }

    .workflow_diagram_bt {
        max-width: 90%; /* L'image s'adapte à l'écran */
        height: auto;
    }

    .hero-banner h1 {
        font-size: 1.5rem; /* Réduire la taille du titre */
        padding: 0 10px;
    }

    .features-grid {
        grid-template-columns: 1fr; /* 1 colonne */
        grid-template-rows: auto;    /* Lignes automatiques */
        gap: 20px;
    }

    .whatsapp-button {
        font-size: 0.95rem;
        padding: 12px 25px;
    }

    .branding-row, .branding-row.reverse {
        flex-direction: column; /* Tout en colonne */
        text-align: center;
        margin-bottom: 60px;
    }

    .branding-image {
        order: 2; /* L'image passe toujours en dessous du texte sur mobile */
    }

    .main-footer {
        padding: 40px 5% 20px 5%; /* Padding réduit pour mobile */
        width: 100%;
        box-sizing: border-box; /* Crucial pour ne pas dépasser à cause du padding */
        overflow: hidden; /* Empêche tout débordement */
    }

    .footer-logo {
        justify-content: center;
    }

    /* 2. Empilement vertical des sections du footer */
    .footer-content {                
        display: flex; /* Utilisation de flexbox pour empiler */
        flex-direction: column; /* Direction verticale */
        align-items: center; /* Centre le contenu horizontalement */
        text-align: center;                
        gap: 30px; /* Espace entre les éléments empilés */
        width: 100%;
        margin: 0;
    }

    /* 3. Ajustement de la largeur des sous-sections */
    .footer-logo, .footer-links, .footer-contact {
        width: 100%;
        justify-content: center; /* Centre le logo et les liens */
    }

    .footer-email {
        word-break: break-all; /* Force la coupure du mot si nécessaire */
        font-size: 1rem;      /* Réduit légèrement la taille pour éviter le débordement */
        display: inline-block;  /* Assure que la règle word-break s'applique bien */
    }

    .about-container {
        flex-direction: column; /* Empile image et texte */
        gap: 20px;
        padding: 20px;
    }

    .about-image img {
        max-width: 100%; /* L'image ne dépasse pas */
    }
    
    .desk-container {
        flex-direction: column;
        text-align: center;
        padding-bottom: 50px;
        gap: 0px;
    }

    .desk-section {
        /* Supprimer ou réduire les paddings qui créaient de l'espace */
        padding: 10px 3%; 
        padding-top: 20%;
    }


    .navbar {                
        flex-direction: column;                
        padding: 10px;
        width: 100%; /* S'assure que la nav fait 100% */
        box-sizing: border-box; /* Inclut le padding dans la largeur */
    }                

    .nav-links {                
        flex-direction: row;                
        justify-content: space-between;                
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-page-container {
        padding-top: 100px;
        min-height: 80vh;   /* Pour que le footer reste en bas même si le texte est court */
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 50px;
        padding-left: 10px;
        padding-right: 10px;
    }
}