.bottom-buttons {
    position: fixed;
    width: 100vw;
    height: 65px;
    bottom: 0;
    left: 0!important;
    right: 0!important;
    background: transparent;
}

#mainNav {
    background: #2f3033;
}

#mainNav .navbar-nav .nav-item .nav-link {
    color: #ffffff;
}

#mainNav .navbar-nav .nav-item .nav-link.active {
    color: #ffffff!important;
}

.bg-mail {
    background-color: #2f3033 !important;
}

.bg-tel {
    background-color: #1d7c34 !important;
}

:-moz-placeholder,
::-moz-placeholder {
    color: #2f3033;
    opacity: 1;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #2f3033;
    opacity: 1;
}

@media (max-width: 992px) {
    .latest-element {
        margin-bottom: 3rem!important;
    }
}

.text-custom-white {
    color: #fcfcfc !important;
}

.text-custom-gold {
    color: #b5a465!important;
}

.btn-main {
    color: #b5a465;
    background-color: #2f3033;
    border: solid 3px #2f3033!important;
}
.btn-main:hover {
    color: #b5a465!important;
    background-color: transparent;
    border-color: #2f3033;
}
.btn-main:focus, .btn-main.focus {
    color: #b5a465;
    background-color: transparent;
    border-color: #2f3033;
    box-shadow: 0 0 0 0.2rem rgb(47, 48, 51);
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: transparent;
    border-color: #2f3033;
}
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: transparent;
    border-color: #2f3033;
}
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(34, 71, 94, 0.5);
}

.grey-color {
    color: #333;
}

.text-paragraph {
    font-size: 1rem!important;
}

.icon-bar {
    position: fixed;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    background: #ffffff;
    min-width: 72px;
    z-index: 9999;
}

.icon-bar-languages {
    position: fixed;
    top: 19%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    background: #ffffff;
    min-width: 72px;
    z-index: 9999;
}

.icon-bar-languages a {
    display: block;
    text-align: center;
    padding: 8px;
    transition: all 0.3s ease;
    color: white;
    font-size: 14px;
}

.icon-bar a {
    display: block;
    text-align: center;
    padding: 16px;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
}

.icon-bar a:hover {
    background-color: #333;
}

.icon-bar-languages a:hover {
    background-color: #333;
}

#button {
    display: flex;
    flex-wrap: wrap;
    background-color: #333;
    width: 50px;
    height: 50px;
    text-align: center;
    justify-content: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s,
    opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#button::after {
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}

#button:hover {
    cursor: pointer;
    background-color: #333;
}

#button:hover > .icon-up {
    color: #ffffff;
    cursor: pointer;
    background-color: #333;
}

#button:active {
    background-color: #555;
}

#button.show {
    opacity: 1;
    visibility: visible;
}

.icon-up {
    color: #b5a465;
    margin: auto 0;
}

/*Cookie Consent Begin*/
#cookieConsent {
    background-color: rgba(20,20,20,0.8);
    min-height: 26px;
    font-size: 14px;
    color: #ccc;
    line-height: 26px;
    padding: 8px 0 8px 30px;
    font-family: "Trebuchet MS",Helvetica,sans-serif;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 9999;
}
#cookieConsent a {
    color: #4B8EE7;
    text-decoration: none;
}
#closeCookieConsent {
    float: right;
    display: inline-block;
    cursor: pointer;
    height: 20px;
    width: 20px;
    margin: -15px 0 0 0;
    font-weight: bold;
}
#closeCookieConsent:hover {
    color: #FFF;
}
#cookieConsent a.cookieConsentOK {
    background-color: #b5a465;
    color: #FFFFFF;
    display: inline-block;
    border-radius: 5px;
    padding: 0 20px;
    cursor: pointer;
    float: right;
    margin: 0 60px 0 10px;
}
#cookieConsent a.cookieConsentOK:hover {
    background-color: #b5a465;
}
/*Cookie Consent End*/

@media only screen and (max-width: 600px) {
    .header.masthead {
        background-image: url("../assets/img/transport-vehicule-luxe-camion-ferme.webp")!important;
    }
}

/* TEST TEMPORAIRE : masquer la barre téléphone/email sur mobile */
@media (max-width: 768px) {
    .icon-bar {
        display: none !important;
    }
}

/* TEST TEMPORAIRE : masquer téléphone/email du bas sur mobile */
@media (max-width: 991px) {
    .bottom-buttons {
        display: none !important;
    }
}

/* Barre téléphone / email mobile définitive */
@media (max-width: 991px) {
    .bottom-buttons {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        z-index: 9999;
    }

    .bottom-buttons .call-button {
        background-color: #198754 !important;
    }

    .bottom-buttons .mail-button {
        background-color: #0d6efd !important;
    }

    body {
        padding-bottom: 90px !important;
    }
}


/* Accessibilite - contrastes 2026 */
#devis .text-white-50 {
    color: #ffffff !important;
}

#cookieConsent {
    background-color: #141414;
    color: #ffffff;
}

#cookieConsent a:not(.cookieConsentOK) {
    color: #a9d0ff;
    text-decoration: underline;
}

#cookieConsent a.cookieConsentOK,
#cookieConsent a.cookieConsentOK:hover {
    background-color: #b5a465;
    color: #171717;
}

/* Lisibilite des textes de presentation */
#services p.text-paragraph { font-size: 18px !important; line-height: 1.7; }
