/* En général pour le site */
* {
    box-sizing: border-box; /* Pour inclure le padding et la bordure dans la largeur et la hauteur */
}

html, body { height: 100%; }

body:not(.app-body) {
    margin: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: transparent;
    display: flex;
    flex-direction: column;
}

.button:not([class^="app-"]):hover {
    background-color: var(--secondary-color); /* Changer la couleur au survol */
}

.button {
    padding: 10px 25px;
    background-color: var(--secondary-color); /* Bouton bleu */
    color: white; /* Couleur du texte en blanc */
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.siteweb-title-h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--titre-color);
    text-align: center;
}

.button:hover {
    background-color: #000066; /* Couleur bleu foncé au survol */
}

/* Classe pour rendre l'image responsive */
.responsive-image {
    max-width: 100%; /* Limite la largeur de l'image à 100% de la cellule */
    height: auto; /* Conserve les proportions de l'image */
}

/* ############################################################ */
header {
/*background-color: #9519e7;*/
    height: 170px; /* Hauteur de la bannière */
    background-image: url('https://3dprintservice.autonomie.ovh/images/banniere_sans_titre.png'); /* Remplacez par le chemin de votre image */
    background-size: 90% 100%; /* L'image s'adapte sans être coupée */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    display: flex; /* Utilise Flexbox pour le centrage du contenu */
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    color: white; /* Couleur du texte */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Ombre du texte pour la lisibilité */
    /*background-color: rgba(0, 0, 0, 0.5); *//* Couleur de fond optionnelle pour améliorer la lisibilité */
    text-align: center; /* Centre le texte dans le conteneur */
    z-index: 1000;
}

.logo {
    width: 50px; /* Largeur du logo */
    height: 50px; /* Hauteur automatique pour conserver le ratio d'aspect */
    margin-right: 20px; /* Espacement à droite du logo */
}

.text {
    display: flex;
    flex-direction: column;
    margin-right: 0;
    text-align: center;
    position: relative; /* Pour servir de référence au menu-primaire */
}

.text h1 {
    font-size: 3em; /* Taille de police pour le titre */
    margin: 0; /* Supprime les marges */
    color: var(--titre-color); /* Couleur des titres du header */
}

.text p {
    font-size: 1.2em; /* Taille de police pour le paragraphe */
    margin-top: 15px; /* Ajuste la marge pour le haut du paragraphe */
}

/* Overlay pour diminuer la visibilité de l'image */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Overlay transparent */
}

.light-status {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.banner {
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.avatar-container {
    position: relative; /* Positionnement relatif pour l'élément parent */
    border-radius: 50%; /* Rend le conteneur circulaire */
    border: 5px solid var(--secondary-color);
    width: 110px; /* Largeur du conteneur */
    height: 110px; /* Hauteur du conteneur */
    display: flex; /* Utiliser flexbox */
    align-items: center; /* Centrer verticalement */
    justify-content: center; /* Centrer horizontalement */
    overflow: hidden; /* Masquer tout débordement */
}

.avatar-container img {
    width: 100%; /* Remplir le conteneur */
    height: auto; /* Conserver le ratio de l'image */
}

.avatar-container-logo {
    text-align: center;
    background: none;
}

.avatar-container-logo-container {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
}

.avatar-container-logo img {
    position: relative; /* Positionnement relatif pour l'élément parent */
    border-radius: 50%; /* Rend le conteneur circulaire */
    border: 1px solid var(--secondary-color);
    width: 40px; /* Largeur du conteneur */
    height: 40px; /* Hauteur du conteneur */
}

.avatar-container-logo h4 {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    margin-top: 0;
    margin-right: 0;
    color: white;
}

/* les menus */
.menu-primaire {
    background-color: var(--secondary-color);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-primaire ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.menu-primaire li {
    position: relative;
}

.menu-primaire a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

.menu-primaire a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    color: var(--secondary-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.menu-primaire li:hover .dropdown-menu {
    display: block;
}

.menu-secondaire {
    background-color: white;
    text-align: center;
    z-index: 1000;
    position: relative;
}

.menu-secondaire ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-secondaire li {
    display: inline-block;
    margin: 0 5px;
    position: relative;
    vertical-align: middle;
}

.menu-secondaire a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 10px 20px;
}

.menu-secondaire a:hover {
    background-color: var(--secondary-color);
    color: white;
}

.menu-secondaire .dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    top: 100%;
    right: 0;
}

.menu-secondaire .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid white;
}

.menu-secondaire .dropdown-menu li {
    list-style: none;
    margin: 0;
}

.menu-secondaire .dropdown-menu a {
    color: var(--secondary-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.menu-secondaire .dropdown-menu a:hover {
    background-color: var(--secondary-color);
    color: white;
}

.menu-secondaire li:hover .dropdown-menu {
    display: block;
}

.menu-secondaire .avatar-container-logo {
    text-align: center;
    background: none;
    display: inline-block;
    vertical-align: middle;
    padding: 5px;
}

.menu-secondaire .avatar-container-logo-container {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    cursor: pointer;
}

.menu-secondaire .avatar-container-logo img {
    position: relative;
    border-radius: 50%;
    border: 1px solid var(--secondary-color);
    width: 40px;
    height: 40px;
    vertical-align: middle;
}

.menu-secondaire .avatar-container-logo h4 {
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    color: var(--secondary-color);
}

/* Avatar et menu utilisateur */
.avatar-container-logo {
    position: relative;
}

.avatar-container-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.avatar-container-logo-container:hover {
    background: rgba(0,123,255,0.1);
}

.avatar-container-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

/* Menu déroulant */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    display: none;
    z-index: 1001;
}

.avatar-container-logo:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 0;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-menu a:hover {
    background: var(--secondary-color);
    color: white;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

/* Menu hamburger mobile */
.menu-hamburger {
    display: none; /* Masquer par défaut */
    cursor: pointer;
    font-size: 30px; /* Taille de l'icône du hamburger */
    text-align: center; /* Centrer le texte */
    width: 100%; /* Prendre toute la largeur */
    z-index: 1;
}

.menu-hamburger-content {
    display: none; /* Masquer par défaut */
    text-align: center;
    background-color: white; /* Couleur de fond du menu hamburger */
    position: absolute; /* Permet de le positionner sous le hamburger */
    width: 100%; /* Prendre toute la largeur*/  
    top: 50px; /* Positionner juste en dessous du hamburger */
    left: 0;
    z-index: 10; /* Assurer qu'il soit au-dessus d'autres éléments */
    height: 100%;
    z-index: 1000;
    padding-top: 60px;
}

.menu-hamburger-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-hamburger-content li {
    margin: 0;
}

.menu-hamburger-content a {
    color: var(--secondary-color); /* Couleur du texte */
    text-decoration: none;
    padding: 10px;
    display: block; /* Pour que l'espace soit cliquable */
}

.menu-hamburger-content a:hover {
    background-color: var(--secondary-color); /* Couleur de fond au survol */
    color: white; /* Couleur du texte au survol */
}

.separator {
    height: 1px; /* hauteur du séparateur */
    background-color: lightgray; /* couleur du séparateur */
    margin: 10px 0; /* espace autour du séparateur */
    width: 100%; /* s'étendre sur toute la largeur */
}

.content {
    flex: 1; /* Pour que le contenu prenne le maximum d'espace disponible */
    display: flex;
    justify-content: flex-start; /* Aligner à gauche */
    align-items: flex-start; /* Aligner le contenu en haut */
    margin-top: 20px; /* Espace en haut */
    max-width: 100%;
    position: relative; /* Assure que le carré est au-dessus de l'overlay */
    /*z-index: 1;*/ /* Z-index élevé pour que le carré soit au-dessus des overlays */
}

.career-section {
    /*height: calc(100vh - 0px - 20px);*/
    width: 100%; /* Largeur maximale */
    margin: 0;
    padding: 0;
}

.career-section h1 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
}

.career-section h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.career-section p,
.career-section ul {
    line-height: 1.6;
    margin-bottom: 15px;
}

.centered-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.centered-link:hover {
    text-decoration: underline;
}

.career-section ul {
    list-style: none;
    padding: 0;
}

.career-section ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.souligne {
    color: var(--secondary-color);
    text-decoration: underline;
}

.soulignegris {
    border-bottom: 2px solid #666;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.image-container-texte {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.image-container-texte-centre {
    position: relative;
    width: 100%;
    height: 300px;
}

.responsive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.bannergris {
    background-color: #d3d3d3;
    padding: 5px;
    text-align: center;
    margin-bottom: 100px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.bannergris h1 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 100px;
}

.bannergris h3 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 100px;
    font-weight: bold;
}

.image-bannergris {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 5px;
}

.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.item img {
    width: 300px;
    height: 200px;
    overflow: hidden;
}

.text-bannergris {
    margin: 5px 0;
}

.text-bannergris h4 {
    color: var(--secondary-color);
}

.configimp-section {
    margin: 20px 0;
    padding: 20px;
    background-color: transparent;
    border-radius: 8px;
    text-align: center;
}

.configimp-section h2 {
    font-size: 1.2em;
    margin: 10px 0;
}

.configimp-section h2 b {
    text-decoration: underline;
}



.button-bannergris {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

.button-bannergris:hover {
    background-color: #000066;
}

.qa-container {
    max-width: 800px;
    margin: 0 auto;
}

.question {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 20px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.question:hover {
    background-color: #000066;
}

.answer {
    background-color: #f9f9f9;
    padding: 15px 20px;
    margin: 0 0 10px 0;
    border-radius: 5px;
    display: none;
}

.bannerbleu {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 100px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.bannerbleu p {
    margin: 10px 0;
}

.bannerbleu h4 {
    margin: 15px 0;
}

.bannerbleu h2 {
    margin: 20px 0;
    font-size: 1.5em;
}

.small .contact-form, 
.small .map {
    flex: 1;
    margin: 10px;
}

.small .map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.container-contacth2 {
    text-align: center;
    margin: 20px 0;
}

.container-contacth2 h2 {
    color: var(--secondary-color);
    font-size: 2em;
}

.container-contacth2gris {
    text-align: center;
    margin: 20px 0;
}

.container-contacth2gris h2 {
    color: #666;
    font-size: 1.5em;
}

.container-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.contact-form, .map {
    flex: 1;
    min-width: 300px;
}

.map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

.containerplus {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.containerplus-reverse {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    flex-direction: row-reverse;
}

.containerplus-text h1 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.containerplus-text, .containerplus-text h1, .containerplus-text p {
    flex: 1;
    line-height: 1.6;
    margin-bottom: 15px;
}

.containerplus-image {
    flex: 1;
    text-align: center;
    max-width: 500px;
}

.containerplus-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nous-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.nous-image {
    flex: 1;
    text-align: center;
    max-width: 400px;
}

.nous-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nous-texte p, .nous-texte h2 {
    flex: 1;
    line-height: 1.6;
    margin-bottom: 15px;
}

.containerdevis {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.container-viewer {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.viewer {
    flex: 1;
    min-height: 400px;
    border: 2px dashed #ccc;
    border-radius: 8px;
}

.controls {
    flex: 1;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background: #f9f9f9;
    cursor: pointer;
    transition: border-color 0.3s;
}

.dimensions {
    margin: 20px 0;
}

.model-dimensions {
    font-weight: bold;
    color: var(--secondary-color);
}

.container-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.qpa-container {
    margin: 20px 0;
}

.erreur {
    background-color: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    border: 1px solid #ffcdd2;
}

.erreur:hover {
    background-color: #ffcdd2;
}

.erreur-answer {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    border: 1px solid #c8e6c9;
}

/* ===== FORMULAIRES ===== */
.centered-form {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--label-color);
    font-weight: 500;
}

.text-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.text-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

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

.register-button, .text-button {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 150px;
}

.register-button:hover, .text-button:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.centered-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.centered-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* ===== MESSAGES ===== */
.error-message, .error-message-contact {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin: 15px 0;
    font-weight: 500;
}

.success-message, .success-message-contact {
    background: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin: 15px 0;
    font-weight: 500;
}

/* ===== PROFIL UTILISATEUR ===== */
.profile-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.profile-avatar-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.profile-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.profile-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2em;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.profile-info p {
    margin: 8px 0;
    color: var(--text-color);
}

.profile-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.profile-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.profile-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ===== PANEL ADMIN ===== */
.admin-panel {
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.admin-panel h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 2em;
}

.admin-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.admin-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 150px;
}

.admin-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), #5a6268);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.admin-button i {
    font-size: 3em;
    margin-bottom: 15px;
}

/* ===== LISTE DES UTILISATEURS ===== */
.user-list {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.user-item:hover {
    background: #f8f9fa;
}

.user-info {
    flex: 1;
    color: var(--secondary-color);
}

.user-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.role-select {
    padding: 8px 12px;
    margin-right: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: white;
    font-size: 14px;
}

.delete-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220,53,69,0.3);
}

.save-btn {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.save-btn:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40,167,69,0.3);
}

/* ===== BADGES DE RÔLES ===== */
.netadmin-badge {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    margin-left: 10px;
}

.admin-badge {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    margin-left: 10px;
}

.user-badge {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    margin-left: 10px;
}

.supernetadmin-badge {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    margin-left: 10px;
}

.superadmin-badge {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    margin-left: 10px;
}

.pending-badge {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    margin-left: 10px;
}

/* ===== FORMULAIRES INLINE ===== */
.inline-form {
    display: inline-block;
    margin-right: 10px;
}

.inline-form-no-margin {
    display: inline-block;
}

.info-message {
    color: #666;
    font-style: italic;
    font-size: 0.9em;
}

/* ===== HEADER ACTIONS ===== */
.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.create-user-btn {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.create-user-btn:hover {
    background-color: #0056b3;
}

/* ===== UPLOAD D'AVATAR ===== */
.upload-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.upload-section, .gallery-section {
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.upload-section h3, .gallery-section h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.upload-form {
    margin: 20px 0;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group small {
    color: #6c757d;
    font-size: 0.875em;
}

.submit-button {
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

/* Galerie d'avatars */
.avatar-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.avatar-item {
    text-align: center;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.avatar-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.gallery-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    margin-bottom: 10px;
}

.avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.select-avatar-form, .delete-avatar-form {
    margin: 0;
}

.select-avatar-btn {
    width: 100%;
    padding: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.select-avatar-btn:hover {
    background: #0056b3;
}

.delete-avatar-btn {
    width: 100%;
    padding: 8px;
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.delete-avatar-btn:hover {
    background: #c82333;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.page-link {
    padding: 8px 16px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.page-info {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Avatar actuel */
.current-avatar {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.current-avatar h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.current-avatar-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    object-fit: cover;
}

/* Messages */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

/* Responsive pour upload avatar */
@media (max-width: 768px) {
    .avatar-gallery {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .gallery-avatar {
        width: 60px;
        height: 60px;
    }
    
    .pagination {
        flex-direction: column;
        gap: 10px;
    }
    
    .avatar-actions {
        flex-direction: row;
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
    text-align: center;
}

.footer p {
    margin: 10px 0;
}

.footer h4 {
    margin: 15px 0;
}

.footer h2 {
    margin: 20px 0;
    font-size: 1.5em;
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    color: white;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-title {
    color: var(--primary-color);
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.footer-subtitle {
    color: #bdc3c7;
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 10px;
}

.footer-description {
    color: #ecf0f1;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-link {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-link::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-link:hover::before {
    transform: translateX(5px);
}

.footer-contact {
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #ecf0f1;
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 30px;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #bdc3c7;
    font-size: 0.9em;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--primary-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .menu-secondaire ul {
        flex-direction: column;
        padding: 10px;
    }
    
    .menu-hamburger {
        display: block;
    }
    
    .menu-secondaire {
        display: none;
    }
    
    .profile-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .admin-buttons {
        grid-template-columns: 1fr;
    }
    
    .user-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .user-actions {
        justify-content: center;
    }
    
    .siteweb-title-h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .centered-form {
        margin: 20px;
        padding: 20px;
    }
    
    .profile-container {
        margin: 20px;
        padding: 20px;
    }
    
    .admin-panel {
        margin: 20px;
        padding: 20px;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ===== LIENS DE CONNEXION ===== */
.login-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.login-link:hover {
    color: white;
}

.login-link:hover h4 {
    color: white;
}

/* ===== STYLES POUR CONFIGURATION DU SITE ===== */
.config-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.config-form {
    margin-top: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
}

/* Onglets */
.nav-tabs {
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: 30px;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--secondary-color);
    font-weight: bold;
    padding: 12px 20px;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background: #f8f9fa;
    color: var(--secondary-color);
}

.nav-tabs .nav-link.active {
    background: var(--secondary-color);
    color: white;
}

/* Aperçu des couleurs */
.color-preview-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.color-preview-box h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.color-preview-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-preview-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.color-preview-item span {
    min-width: 150px;
    font-weight: bold;
    color: inherit;
}

.color-preview-item input[type="text"] {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    font-family: monospace;
    font-size: 14px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ===== STYLES POUR MOT DE PASSE OUBLIÉ ===== */
.forgot-title {
    color: var(--secondary-color);
}

.forgot-form input {
    border-color: var(--secondary-color);
}

/* ===== STYLES POUR CHANGEMENT DE MOT DE PASSE ===== */
.change-password-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.form-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}

.save-button, .cancel-button {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.save-button {
    background: darkblue;
    color: white;
    border: none;
}

.save-button:hover {
    background: #00008b;
    transform: translateY(-2px);
}

.cancel-button {
    background: #f8f9fa;
    color: darkblue;
    border: 2px solid darkblue;
}

.cancel-button:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.requirement-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: #dc3545; /* Rouge par défaut */
    transition: background-color 0.3s ease;
}

.requirement-dot.valid {
    background-color: #28a745; /* Vert quand valide */
}

#password-requirements {
    list-style: none;
    padding-left: 0;
}

#password-requirements li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.password-requirements {
    margin-top: 5px;
    margin-bottom: 15px;
}

.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    padding-right: 40px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: darkblue;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    z-index: 2;
}

.toggle-password i {
    font-size: 16px;
    pointer-events: none;
}

.toggle-password:hover {
    color: #00008b;
}

.toggle-password:active {
    color: #00008b;
}



/* ===== STYLES DYNAMIQUES POUR LA CONFIGURATION DU SITE ===== */

/* Configuration du site */
.config-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.config-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.color-preview-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-preview-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.color-preview-item span {
    min-width: 150px;
    font-weight: bold;
    color: inherit;
}

.color-preview-item input[type="text"] {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    font-family: monospace;
    font-size: 14px;
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Messages */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        height: 120px;
        background-size: 80% 100%;
    }
    
    .logo {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .text h1 {
        font-size: 2em;
    }
    
    .text p {
        font-size: 1em;
        margin-top: 10px;
    }
    
    .text-bannergris {
        font-size: 0.9em;
    }
    
    .bannergris h1 {
        font-size: 1.5em;
    }
    
    .item {
        min-width: 200px;
    }
    
    .containerplus, .containerplus-reverse {
        flex-direction: column;
        gap: 20px;
    }
    
    .containerplus-image {
        order: -1;
    }
    
    .nous-image {
        order: -1;
    }
    
    .responsive-image {
        height: 200px;
    }
    
    .overlay-text {
        font-size: 2em;
    }
    
    .container {
        padding: 10px;
    }
    
    .container-viewer {
        flex-direction: column;
    }
    
    .container-form {
        padding: 15px;
    }
    
    .viewer {
        min-height: 300px;
    }
    
    .menu-primaire li, .menu-secondaire li {
        margin: 2px;
    }
    
    .menu-hamburger {
        display: block;
    }
    
    .footer h2 {
        font-size: 1.2em;
    }
    
    .text-bannergris {
        font-size: 14px;
    }
    
    .text-bannergris {
        font-size: 14px;
    }
    
    .bannergris h1 {
        margin-bottom: 20px; /* Espace en dessous du titre */
    }
    
    .item {
        margin: 0 10px; /* Marges réduites sur mobile */
    }
    
    .config-container {
        margin: 10px;
        padding: 15px;
    }
    
    .color-preview-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .color-preview-item span {
        min-width: auto;
    }
}

@media (max-width: 600px) {
    header {
        height: 100px;
        background-size: 70% 100%;
    }
    
    .hamburger {
        display: block;
    }
    
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 20px;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .career-section {
        padding: 10px;
    }
    
    .career-section h1 {
        font-size: 1.5em;
    }
    
    .career-section h2 {
        font-size: 1.2em;
    }
    
    .career-section p,
    .career-section ul {
        font-size: 0.9em;
    }
    
    .responsive-image {
        height: 150px;
    }
    
    .avatar-container-logo h4 {
        font-size: 0.8em;
    }
    
    .text-button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .text-button:hover {
        transform: none;
    }
    
    .text-button:active {
        transform: scale(0.95);
    }
    
    .inactive-button {
        opacity: 0.6;
        cursor: not-allowed;
    }
    
    .item img {
        height: 150px;
    }
    
    .bannergris h1 {
        font-size: 1.3em;
    }
    
    .container-contact {
        flex-direction: column;
    }
    
    .contact-form, .map {
        min-width: 100%;
    }
    
    .map iframe {
        height: 300px;
    }
    
    .nous-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nous-image {
        order: -1;
    }
    
    .nous-texte p, .nous-texte h2 {
        font-size: 0.9em;
    }
    
    .container {
        padding: 5px;
    }
    
    .container-viewer {
        flex-direction: column;
    }
    
    .container-form {
        padding: 10px;
    }
    
    .viewer {
        min-height: 250px;
    }
    
    .footer h2 {
        font-size: 1em;
    }
}

.alert.success {
    color: var(--success-color);
    border-color: var(--success-color);
}

.alert.error {
    color: var(--error-color);
    border-color: var(--error-color);
}

.calculator-title-h1 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
}

.avatar-section {
    margin-left: 0;
}

.faq-section {
    text-align: center;
    width: 100%;
    display: block;
}

.faq-section h2 {
    text-align: center;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.qa-container {
    /* Pas de styles de bordure ou d'arrière-plan */
    width: 300px; /* Largeur fixe */
    margin: 0 auto; /* Centre le conteneur */
}

.question {
    background-color: var(--secondary-color); /* Fond bleu pour les questions */
    color: white; /* écriture blanche pour les questions */
    padding: 15px; /* Espacement intérieur */
    cursor: pointer; /* Change le curseur au survol */
    transition: background-color 0.3s;
    width: 100%; /* Largeur à 100% du conteneur */
    font-size: 16px; /* Taille de police */
    margin: 0; /* Pas de marge entre les questions */
}

.question:hover {
    background-color: var(--secondary-color); /* Change la couleur au survol */
}

.answer {
    display: none; /* Masque la réponse par défaut */
    background-color: #fff; /* Fond blanc pour les réponses */
    color: var(--secondary-color); /* écriture bleue pour les réponses */
}

.bannerbleu {
    background-color: var(--secondary-color); /* Couleur de fond gris */
    padding: 20px; /* Espacement intérieur */
    margin-top: 100px;
    text-align: center; /* Centre le contenu de la banderole */
    max-width: 1200px; /* Limite la largeur maximale */
    margin-left: auto; /* Centre horizontalement */
    margin-right: auto; /* Centre horizontalement */
}
.bannerbleu p {
    font-weight: normal !important; /* Retirer le gras dans le footer sur mobile */
}
.bannerbleu h4 {
    color: white;
    font-weight: normal !important; /* Retirer le gras dans le footer sur mobile */
}
.bannerbleu h2 {
    color: white; /* Couleur du texte */
    font-weight: normal;
    /*max-width: 800px;*/ /* Limite la largeur du texte */
}

/* ############################################################ */
/*  Accueil */
.bannergris {
    background-color: #d3d3d3; /* Couleur de fond gris */
    padding: 5px; /* Espacement intérieur */
    text-align: center; /* Centre le contenu de la banderole */
    margin-bottom: 100px;
    width: 100%; /* Largeur à 100% */
    margin-left: 0; /* Pas de centrage */
    margin-right: 0; /* Pas de centrage */
}

.bannergris h1 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 100px; /* Espace en dessous du titre */
}

.image-bannergris {
    display: flex; /* Utilise Flexbox pour agencer les images */
    justify-content: center; /* Centre horizontalement les images */
    gap: 5px; /* Espacement entre les images */
    margin-bottom: 5px; /* Espacement sous les images */
}

.item {
    display: flex; /* Utilise Flexbox pour le contenu de chaque item */
    flex-direction: column; /* Organise le contenu en colonne */
    align-items: center; /* Centre horizontalement */
    margin: 0 50px; /* Marges à droite et à gauche pour chaque texte */
}

.item img {
    width: 300px; /* Largeur du conteneur */
    height: 200px; /* Hauteur du conteneur */
    overflow: hidden; /* Masquer les parties qui débordent */
}

.text-bannergris {
    margin: 5px 0; /* Marges au-dessus et en dessous du texte */
}

/* ############################################################ */
/* ################  téléphone  ################ */
@media (max-width: 600px) {
    header {
        height: 150px; /* Hauteur de la bannière */
    }
    .hamburger {
        display: block; /* Afficher le bouton hamburger sur mobile */
    }

    .menu {
        display: none; /* Cacher le menu par défaut sur mobile */
        flex-direction: column; /* Disposer les éléments en colonne */
        width: 100%; /* Prendre toute la largeur */
        position: absolute;
        top: 60px; /* Ajustez en fonction de la hauteur de votre bannière */
        left: 0;
        background-color: #D0BBE3; /* Fond du menu sur mobile */
    }

    .menu.active {
        display: flex; /* Afficher le menu lorsqu'il est actif */
    }

    .menu li {
        margin-left: 0; /* Pas de marge sur mobile */
    }

    .career-section {
        padding: 15px; /* Ajustement des espacements pour les petits écrans */
    }

    .career-section h1 {
        font-size: 20px; /* Ajustement de la taille de la police */
    }

    .career-section h2 {
        font-size: 18px; /* Ajustement de la taille de la police */
    }

    .career-section p,
    .career-section ul {
        font-size: 14px; /* Ajustement de la taille de la police */
    }

    .responsive-image {
        max-width: 100%; /* Limite la largeur de l'image à 50% de la cellule */
        height: auto; /* Conserve les proportions de l'image */
        display: block; /* S'assure que l'image prend toute la largeur assignée */
        margin: 0 auto; /* Centre l'image horizontalement */
    }

    .avatar-container-logo h4 {
        display: none; /* Cache le texte sur les écrans mobiles */
    }

    .text-button {
        padding: 5px 10px; /* Espace interne autour du texte */
        font-size: 14px; /* Taille de la police */
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Ombre */
    }

    .text-button:hover {
        transform: translateY(-1px); /* Effet de levée au survol */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Ombre plus prononcée au survol */
    }

    .text-button:active {
        transform: translateY(7px); /* Effet d'enfoncement lors du clic */
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Réduire l'ombre lors du clic */
    }

    .inactive-button {
        padding: 5px 10px; /* Espace interne autour du texte */
        font-size: 14px; /* Taille de la police */
    }

/* Accueil */
    .item img {
        width: 110px; /* Largeur fixe pour les images */
        height: 110px; /* Hauteur fixe pour les images */
    }

    .bannergris h1 {
        margin-bottom: 20px; /* Espace en dessous du titre */
    }

/* Contact */
    .container-contact {
        flex-direction: column; /* Dispose les éléments en colonne */
    }
    
    .contact-form, .map {
        width: 100%; /* Largeur complète pour le formulaire et la carte */
        margin-bottom: 20px; /* Un peu d'espace entre le formulaire et la carte */
    }
    
    .map iframe {
        height: 200px; /* Ajustez la hauteur pour mobile si nécessaire */
    }

/* Nous */
    .nous-container {
        flex-direction: column; /* Change la direction pour empiler les éléments */
        align-items: flex-start; /* Aligne les éléments à gauche */
    }

    .nous-image {
        display: none; /* L'image ne sera pas affichée sur les petits écrans */
    }

    .nous-texte p, .nous-texte h2 {
        margin: 10px 10px;
    }

/* devis */
    .container {
        flex-direction: column; /* Passer à une disposition verticale sur mobile */
    }

    .container-viewer {
        margin-right: 0; /* Supprimer l'espacement à droite */
        margin-bottom: 20px; /* Ajouter un espacement en bas */
    }
    
    .container-form {
        width: 100%; /* Prendre toute la largeur disponible */
        max-width: 95%; /* Limiter la largeur maximale */
    }

    .viewer {
        width: 100%; /* Prendre toute la largeur disponible */
        max-width: 400px; /* Limiter la largeur maximale */
    }

/* Footer */
    .footer h2 {
        font-size: 1.2em;
        padding: 5px 0 !important;/* Espacement intérieur */
    }

}