@import "https://unpkg.com/open-props@1.6.17/easings.min.css";

body {
    font-family: "Inter", Arial, sans-serif;
    font-optical-sizing: auto;
    font-size: 1em;
}


.hubot-sans {
    font-family: "Hubot Sans", sans-serif;
    font-optical-sizing: auto;
}

.inter {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

.space {
    height: 6rem;
    display: block;
}

.main_nav {
    backdrop-filter: blur(14px);
}

.active_menu {
    color: #263039;
    background-color: #7B9BB8;
}

#nav-header .nav-item .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

#nav-header .nav-link:active,
#nav-header .active {
    background-color: var(--bs-light);
}

.modal {
    backdrop-filter: blur(5px);
}

.modal-backdrop {
    background-color: var(--bs-primary);
}

.modal-backdrop.show {
    opacity: 0.05;
}

.navmobile {
    height: 4.5rem;
    min-height: 4.5rem;
}

.titre-container {
    font-size: 6rem;
    letter-spacing: -0.3rem;
    line-height: 6rem;
}

.titre2-container {
    font-size: 4rem;
    letter-spacing: -0.2rem;
    line-height: 4rem;
}

.btn-with-arrow {
    position: relative;
    transition: background-color 0.3s ease;
}

.btn-with-arrow .btn-text,
.btn-with-arrow .btn-icon {
    display: inline-block;
    vertical-align: middle;
}

.btn-with-arrow .btn-icon {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.btn-with-arrow:hover .btn-icon {
    transform: translateX(4px);
}

.hero_minimum {
    min-height: 500px;
}


@media screen and (max-width: 80rem) {
    .space {
        height: 3rem;
    }

    .titre-container {
        font-size: 3.2rem;
        letter-spacing: -0.15rem;
        line-height: 3.4rem;
    }

    .titre2-container {
        font-size: 2.4rem;
        letter-spacing: -0.05rem;
        line-height: 2.6rem;
    }

    .hero_minimum {
        min-height: 315px;
    }

}

.grecaptcha-badge {
    display: none;
}

.bg-white-gradient {
    background: #ffffff;
    background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%);
    background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#FFFFFF", GradientType=0);
}

.bg-F1mediaPhoto-radial {
    background: #263039;
    background: radial-gradient(circle, rgba(38, 48, 57, 0) 0%, rgba(38, 48, 57, 1) 100%);
}

.bg-dark-gradient {
    background: #ffffff;
    background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 1) 90%);
    background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 1) 90%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 1) 90%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#FFFFFF", GradientType=0);
}

.bg-F1mediaPhoto {
    background-color: #263039;
}

.text-F1mediaPhoto {
    color: #263039;
}

.btn-F1mediaPhoto {
    background-color: #263039;
    border-color: #263039;
    color: #fff;
}

.btn-F1mediaPhoto:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.btn-outline-F1mediaPhoto {
    border-color: #263039;
    color: #263039;
}

.btn-outline-F1mediaPhoto:hover {
    border-color: #000;
    color: #000;
}

.btn-whatsapp {
    background-color: #25d366;
}

.hover-overlay {
    transition: opacity 0.3s ease;
}

.form-control:focus {
    -webkit-box-shadow: 0px 0px 18px 1px rgba(0, 0, 0, 0.12);
    box-shadow: 0px 0px 18px 1px rgba(0, 0, 0, 0.12);
    border: none;
}

.position-relative:hover .hover-overlay {
    opacity: 1 !important;
}

.search:focus {
    border: none !important;
    box-shadow: none !important;
}

#searchbar_nav {
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(-10px);
    display: none;
}

#searchbar_nav.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#nav-header .menu a:hover {
    background-color: var(--bs-light);
}

/* Container du menu autocomplete */
.ui-autocomplete {
    position: absolute;
    z-index: 1050;
    /* au-dessus des modals */
    display: block;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    /* .rounded */
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-top: 2px;
}

/* Chaque suggestion */
.ui-menu-item-wrapper {
    padding: .375rem .75rem;
    /* .py-2 .px-3 */
    cursor: pointer;
    font-size: 0.875rem;
    color: #212529;
}

/* Hover comme dans Bootstrap dropdown */
.ui-menu-item-wrapper:hover,
.ui-state-active {
    background-color: #f8f9fa;
    /* .bg-light */
    color: #000;
}

.search-preview {
    min-height: 300px;
    max-height: 400px;
    /* ajuste selon ton design */
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    /* Firefox */
}

/* Chrome, Edge, Safari */
.search-preview::-webkit-scrollbar {
    width: 6px;
}

.search-preview::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.search-preview::-webkit-scrollbar-track {
    background: transparent;
}

.search-item.selected {
    background-color: #f1f3f5;
}

.resultats_search>div {
    cursor: pointer;
}

.resultats_search>div:hover {
    cursor: pointer;
    background-color: #f1f3f5;
}

.text-sm {
    font-size: 85% !important;
}

.text-xs {
    font-size: 75% !important;
}

.text-xxs {
    font-size: 65% !important;
}

.zoom-hover {
    overflow: hidden;
}

.zoom-hover img {
    transition: transform 0.3s ease;
}

.zoom-hover:hover img {
    transform: scale(1.05);
}