/* Variables et style.css de base */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section{
    background-color: rgba(255, 240, 240, 0.322);
    padding: 20px;
}

.btn {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.btn:hover {
    background-color: var(--sombre-primary-color);
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}
/* Section principale (plein écran) */
.hero-section {
    height: 100vh;
    width: 100%;
    background-image: url('https://images.unsplash.com/photo-1566576721346-d4a3b4eaeb55?q=80&w=1965&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-dark);
    z-index: 1;
}


/* Contenu principal */
.hero-content {
    z-index: 5;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.hero-content .cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
    justify-content: center;

    
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--sombre-primary-color);;
    transform: translateY(-2px);
}

.cta-button2{
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button2:hover {
    background-color: rgb(232, 232, 232);
    transform: translateY(-2px);

}

.cta-button .cta-button2{
    margin: 10px 6px;
    width: 200px;
    height: 50px;
}

/* Fenêtre Modale */
.modal {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    color: #333;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 450px;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
}

/* Formulaire dans la modale */
.modal-content h2 {
    margin-bottom: 10px;
}
.modal-content p {
    margin-bottom: 20px;
    color: #666;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Styles pour le formulaire de devis Négoce */
#devis-negoce-form .form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

#devis-negoce-form .form-group-checkbox input[type="checkbox"] {
    width: auto;
    height: 18px;
    accent-color: var(--primary-color);
}

#devis-quality-options h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.quality-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.quality-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: normal;
}

.quality-group input[type="radio"] {
    accent-color: var(--primary-color);
}

.form-group input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.modal-content h2 {
    margin-bottom: 10px;
}
.modal-content p {
    margin-bottom: 20px;
    color: #666;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.LogoEntreprise{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    object-fit: cover;
}

.menu li {
    color: white;
}

.menu li a {
    text-decoration: none;
    cursor: pointer;
}


.menu li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.minibarre{
    background-color: white;
    height: 25px;
    width: 3px;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
}



/******************* chatbot *******************/
.chatbot_icon{
    position: absolute;
    width: 50px;
    height: 50px;
    cursor: pointer;
    bottom: 3vw;
    right: 3vw;
    z-index: 10;
    overflow: hidden;
}

.chatbot_icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color); /* Mise à jour */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 999;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.chatbot_icon:hover {
    transform: scale(1.1);
    background-color: var(--sombre-primary-color); /* Mise à jour */
}

.chatbot_icon img {
    width: 32px;
    height: 32px;
}

.chatbot-container {
    display: none; 
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 370px;
    max-width: 90vw;
    height: 500px;
    background-color: var(--accent-color); /* Mise à jour */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    font-family: var(--font-family); /* Mise à jour */
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
}

.chatbot-container.active {
    display: flex;
    transform: scale(1);
}

.chatbot-header {
    background-color: var(--primary-color); /* Mise à jour */
    color: var(--accent-color); /* Mise à jour */
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.close-chatbot {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-chatbot:hover {
    transform: scale(1.2);
}

.chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f4f7f9; /* Gardé neutre pour la lisibilité */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 80%;
    line-height: 1.4;
    font-size: 0.9rem;
}

.message.user {
    background-color: var(--primary-color); /* Mise à jour */
    color: var(--accent-color); /* Mise à jour */
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.message.bot {
    background-color: #e9e9eb; /* Gardé neutre pour le contraste */
    color: var(--secondary-color); /* Mise à jour */
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chatbot-input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: var(--accent-color); /* Mise à jour */
    max-width: 100%;
    overflow: hidden;
}

#user-input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 0.9rem;
    outline: none;
    color: var(--secondary-color); /* Mise à jour */
    font-family: var(--font-family); /* Mise à jour */
    width: 70%;
}

#send-btn {
    background-color: var(--primary-color); /* Mise à jour */
    color: var(--accent-color); /* Mise à jour */
    border: none;
    padding: 0 15px;
    margin-left: 10px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-family); /* Mise à jour */
    transition: background-color 0.2s;
}

#send-btn:hover {
    background-color: var(--sombre-primary-color); /* Mise à jour */
}

/**************************petiteDescription****************************/

.petiteDescription{
    width: 100dvw;
    padding: 5px;
    display:flex;
    justify-content: center;
    margin: 50px 0;
}

.petiteDescription h2{
    font-size: 1.5rem;
    max-width: 700px;
    font-weight: 900;
}

.petiteDescription .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    min-height: 300px;
    text-align: center;
    background-color: rgba(220, 220, 220, 0.267);
    padding: 10px 40px;
}

.petiteDescription .descrip1{
    margin: 10px;
}

.petiteDescription .more{
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 600;
}

.petiteDescription .more:hover{
    color: var(--sombre-primary-color);
}

.petiteDescription .infoLogo{
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
/*************************************** Appropos Section ************************************/

.apropos{
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1900px;
}

.apropos h1{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

.apropos .description{
    text-align: center;
    margin-bottom: 80px;
    
}

.apropos .description span{
    text-align: center;
    font-size: 20px;
    color: rgb(54, 54, 54);
}

.poles{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

.Nospoles{
    font-weight:bold;
    font-size: 24px;
}

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

.pole{
    background-color: var(--accent-color);
    width: 100%;
    /* padding: 20px; */
    border-radius: 10px;
    border-left:3.5px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding:20px 30px;
    margin: 10px 15px;
    background-color: rgba(169, 5, 5, 0.015);

}

.pole ul{
    padding-left: 14px;
}

.pole ul li{
    /* font-family: 'Inter'; */
    font-style:normal;
    font-weight: 400;
    line-height: 30px;
    
}

.poles img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.prqwNous{
    background-color: var(--primary-color);
    padding: 15px;
    color: var(--accent-color);
    border-radius: 15px;
}

.prqwNous h3{
    margin-bottom: 10px;
}

.prqwNous p{
    margin-bottom: 10px;
}



/**************************************** Services Section ************************************/
.services{
    padding: 40px 20px;
    width: 100vw;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.services h1{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.bar1{
    display: block;
    margin-bottom: 30px;
    width: 200px;
    height: 5px;
    background-color: var(--primary-color);
}

.services .description{
    max-width: 900px;
}


/* bens transport */
.bensTransport{
    margin-bottom: 40px;
}

.bensTransport h3{
    text-align: left;
    text-decoration: underline;
    margin-bottom: 20px;
    margin-left: 20px;
}

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

.composants .cadreBT{
    width: 300px;
    height: 300px;
    position: relative;
}

.cadreBT img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.cadreBT p{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    font-weight: bold;
    border-radius: 10px;
}

.bensTransport h2{
    font-size: 2rem;
    margin: 50px 10px;
    color: var(--primary-color);
}

.etapes{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    width: 100vw;
    max-width: 1500px;
}

.etapes .imageetapes{
    max-width: 350px;
}

.etapes .imageetapes img{
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.etapesContenaires{
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    width: 600px;
    margin: 5px;
}

.etapesContenaires .trace{
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right:10px;
}
.etapesContenaires .trace img{
    height: 100%;
    object-fit: cover;
}

.etapesContenaires .enumeration{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.enumeration .p1{
    height: 140px;
}

.enumeration .p2{
    height: 150px;
}

/* Bens Negoce */
.bensNegoce h3{
    text-align: left;
    text-decoration: underline;
    margin-bottom: 20px;
    margin-left: 20px;
}

.bensNegoceDescript{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.bensNegoceDescript h3{
    font-size: 2rem;
    margin: 5px;
    color: var(--primary-color);
}

.bensNegoce{
    width: 100vw;
}

.bensNegoce .market{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.market .cadreM{
    width: 400px;
    height: 600px;
    position: relative;
    display: flex;
    justify-content: center;
}

.cadreM img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.cadreM .info{
    position: absolute;
    bottom: 8px;
    width: 95%;
    border-radius: 10px;
    padding: 20px;
    height: 290px;
    background-color: rgba(255, 255, 255, 1);
    color: rgb(0, 0, 0);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.info .caracteristiques{
    /* on aligne deux sur une meme ligne */
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    text-align: left;
}



.info .caracteristiques .block{
    min-width: 45%;
}

.info .caracteristiques .caracteristique{
    display: flex;
    align-items: center;
}

.pointsOption{
    width: 7px;
    height: 7px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 5px;
}

.cta-button-container{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
/******************************************** About Section ************************************/
.about-section {
    padding: var(--section-padding);
    color: black;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Why Choose Section */
.why-choose-section {
    padding: var(--section-padding);
    background: #f9f9f9;
        color: black;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.reason-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.reason-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Clients Section */
.clients-section {
    padding: var(--section-padding);
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    margin-top: 50px;
}

.client-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* filter: grayscale(100%); */
    opacity: 0.7;
    transition: all 0.3s;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.client-logo img {
    max-height: 100%;
    max-width: 100%;
}

/******************************************** Contact & Map Section ************************************/
.contact-section {
    padding: 80px 20px;
    background: #fff;
    color: black;
}

.contact-grid {
    display: grid;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
    align-items: flex-start;
}


.contact-form-container h3, .map-container h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}



.contact-form-container p, .map-container p {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.7;
}

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

.contact-form-container form input,
.contact-form-container form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Inria Sans', sans-serif;
    transition: border-color 0.3s;
}

.contact-form-container form input:focus,
.contact-form-container form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form-container form textarea {
    resize: vertical;
}

.contact-form-container form button {
    width: 100%;
}

#company-map {
    height: 450px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
    z-index: 0; /* Assure que la carte est derrière les contrôles de la carte */
}
