
@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: 'Asap', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.text-green {
    color: var(--bs-primary);
}

.btn {
padding: 12px 36px;
}

.btn-secondary {
    border: 1px solid var(--bs-primary);
    background-color: transparent;
}




.clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 4;
}

.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 3;
}

.tooltip-inner {
    background-color: #333;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    max-width: 300px;
    text-align: left;
}
.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #333;
}

.roboto {
    font-family: 'Roboto', sans-serif;
}

@media (min-width: 768px) {
    .highlighted-card {
        flex: 0 0 45%;
        max-width: 45%;
    }
}


.provider-scroll-wrapper {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    padding-left: 9rem !important;
}
.provider-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.provider-scroll-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.provider-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.provider-card {
    width: 400px !important;
    min-width: 400px !important;
    max-width: 450px !important;
    height: 210px; /* fixe la hauteur pour uniformiser */
}


.rotate-icon {
    transition: transform 0.3s ease;
}
.rotate-icon.rotate {
    transform: rotate(180deg);
}


.menu-editor-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.wysiwyg-editor {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    min-height: 400px;
    background: #fff;
}
.wysiwyg-editor:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.wysiwyg-toolbar {
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.wysiwyg-toolbar .btn-group {
    margin-right: 10px;
}
.CodeMirror {
    height: 300px;
    border: 1px solid #ddd;
}
.nav-tabs {
    margin-bottom: 15px;
}
.menu-item-select {
    cursor: pointer;
}
.menu-item-select:hover {
    background-color: #f1f1f1;
}

.btn-mobile-full-circled {
    border-radius: 99px;
}

.need-selector-form .dropdown-toggle::after {
    display: none;
}

.need-selector-form .form-select:focus {
    box-shadow: none;   
}

@media (min-width: 767.98px) and (max-width: 992px) {
    .need-selector-form{
        flex-wrap: wrap;
    }
    .need-selector-form .col-md-2{
        flex: 0 0 45%;
        max-width: 45%;
    }

    .need-selector-form .col-md-auto{
        width: 100% !important;
    }
    .need-selector-form .btn-mobile-full-circled{
        width: 100% !important;
        
    }
    .need-selector-form .btn-mobile-full-circled::after{
        width: 100% !important;
        margin-left: 10px;
        content: "Confirmer ma recherche";
        
    }
}

.bg-lightgray {
    background-color: #f9fafb;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 1.4rem;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1rem;
    pointer-events: none;
}

.search-input {
    border-radius: 0.5rem; /* bord arrondi comme sur ta capture */
    height: 48px;
}

.search-input::placeholder {
    font-size: 16px;
    padding: 12px 20px;
}

input[type="range"]::-webkit-slider-thumb{background-color:#016931}input[type="range"]::-moz-range-thumb{background-color:#016931}input[type="range"]::-ms-thumb{background-color:#016931}


/* Styles pour les range sliders */
.range-slider-container {
    position: relative;
    padding: 0 0 0 40px;
    margin: 5px 0;
}

.range-value {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    color: #495057;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
}

button#load-more:hover {
    text-decoration: underline;
}

.modal-lg {
    --bs-modal-width: 90% !important;
}

.form-select {
    transition: background-position 0.2s ease-in-out !important;
    background-position: right -0.05rem center !important;
}

.form-select:active {
    background-position: right -0.05rem bottom !important;
}

.dropdown button.form-select {
    overflow: hidden    ;
    text-overflow: ellipsis;
}

.cat-active {
    background-color: var(--bs-primary);
    color: #fff !important;
}
       
.card:hover {
    transition: all 0.2s ease;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.h2-seo {
    font-size: 2rem;
    color: var(--bs-primary-100);
}

.h3-seo {
    font-size: 1.5rem;
    color: var(--bs-primary-100);
}

.p-seo, .ul-seo {
    font-size: 1rem;
    color: var(--grayish-blue-100);
}

.quote, .reminder {
    padding-left: 1.2rem;
    border-left: 4px solid var(--bs-primary-100);
}

.reminder {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-color: var(--sunset);
    background-color: var(--sunset-10);
}


@media (max-width: 767.98px) {
    .provider-scroll-wrapper {
        padding-left: 6rem !important;
    }
    .btn-mobile-full,
    .btn-mobile-full-circled {
        width: 100% !important;
    }
    .need-selector-form {
        max-width: 500px !important;
    }
}

@media (min-width: 768px) {
    .btn-mobile-full {
        width: auto !important;
    }
    .cta-section {
        max-height: 530px;
        overflow: hidden;
    }
    .nav-logo {
        max-width: 240px;
    }
    
}

@media (max-width: 768px) {
    .cta-section {
        max-height: 800px;
        overflow: hidden;
    }

    .mobile-shift {
        margin-top: 60px; /* décalage vers le bas visible partiellement */
    }
    .nav-logo {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .is-mobile-hidden {
        display: none;
    }
    
    .is-mobile-shown {
        display: block;
    }
}

@media (min-width: 769px) {
    .cta-section {
        max-height: 530px;
        overflow: hidden;
    }

    .mobile-shift {
        margin-top: 0;
    }

    .is-mobile-shown {
        display: none;
    }
}


@media (max-width: 575.98px) {
    .provider-scroll-wrapper {
        padding-left: 2rem !important;
    }
}

@media (max-width: 450px) {
    .nav-logo {
        max-width: 110px !important;
    }
    
}


@media (min-width: 768px) and (max-width: 991px) {
    .featured-article-image {
        max-height: unset !important;
        height: 100% !important;
    }
}