main{
    display: flex;
    width: calc(100% - 60px);
    padding: 25px 30px;
    gap: 2rem;
    transition: gap 0.4s ease;
}

main.remove_gap{
    gap: 0;
    transition: gap 0.4s ease;
}

.project-info-actions input{
    width: 100%;
    height: 44px;
    border-radius: 15px;
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    padding: 0 1rem;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    color: #fff;
    background: #073A7A;
}

main .sidebar{
    /* État initial : ouvert par défaut (sans animation) */
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    width: 20%;
    pointer-events: all;
    z-index: 1000;
    transition: none; /* Pas de transition par défaut */
}

/* État fermé */
main .sidebar:not(.is-open) {
    transform: translateX(-100%);
    opacity: 0;
    width: 0%;
    pointer-events: none;
    transition: width 0.4s ease, transform 0.4s ease, opacity 0.2s ease;
}

/* Désactiver les transitions au chargement initial */
main .sidebar.no-transition,
main .sidebar.no-transition.is-open {
    transition: none !important;
}

/* État ouvert avec transitions activées */
.sidebar.is-open:not(.no-transition) {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease, width 0.4s ease;
    width: 20%;
    pointer-events: all;
}


/* Main section quand sidebar fermé */
#main-section.full {
    width: 100%;
    transition: width 0.4s ease;
}

main .sidebar nav{
    margin-top: 1.5rem;
}

main .sidebar nav .nav-link{
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    border-radius: 15px;
    height: 44px;
    padding: 0 1rem;
    margin-bottom: 10px;
}

main .sidebar nav .nav-link.active{
    border: 1px solid var(--Color-2, rgba(10, 88, 165, 1));
    background: rgba(10, 88, 165, 0.08);

}

main .sidebar nav .nav-link.active span{
    color: var(--Color-2, rgba(10, 88, 165, 1));
}

main .sidebar nav .nav-link span, .project-link span{
    font-family: Open Sans;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

main .sidebar nav .nav-link img{
    width: 25px;
    height: 30px;
}

main .sidebar nav .projets{
    margin-bottom: 10px;
    margin-top: 2rem;
}


.project-link{
    display: flex;
    align-items: center;
    gap: 1rem;
}

main .sidebar nav .projets h1{
    font-family: Open Sans;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

main .sidebar nav .projets h2{
    font-family: Open Sans;
    font-weight: 700;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Variable-texte-3, rgba(132, 148, 167, 1));
    margin: .5rem 0;
}

main .sidebar nav .projets .projects-container{
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    border-radius: 20px;
    border-width: 1px;
    padding: 30px 1rem;
    margin-top: .5rem

}

main .sidebar nav .projets .projects-container p{
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;
}

main .sidebar nav .projets .projects-container a{
    background: rgba(10, 88, 165, 1);
    width: 100%;
    display: flex;
    height: 44px;
    border-radius: 15px;
    margin-top: 1.5rem;
    align-items: center;
    justify-content: center;
    font-family: Open Sans;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    color: #fff;
}

main .sidebar nav .projets ul{
    display: flex;
    flex-direction: column;
    gap: .7rem;
    list-style-type: none;
    margin-top: .5rem;   
}

main .sidebar nav .projets ul li a{
    display: flex;
    border-radius: 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.regenerate-button{
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: transparent;
    border: 1px solid rgba(10, 88, 165, 1);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    color: rgba(10, 88, 165, 1);
}

div#projections-financieres-content{
    padding-bottom: 4rem;
}

main .sidebar nav .projets ul li a{
    padding: .5rem;
}

main .sidebar nav .projets ul li a.active{
    color: var(--Bleu, rgba(10, 88, 165, 1));
    background-color: rgba(10, 88, 165, 0.08);
    
}

.project-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
    color: #ffffff;
}

.project-nav__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
}

.project-nav__progress {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: #073d75;
    backdrop-filter: blur(12px);
}

.project-nav__progress-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.project-nav__progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.project-nav__progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #fff;
    transition: width 0.3s ease;
}

.project-nav__progress-text {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}

.project-nav__progress-text strong{
    color: #fff;
}

.project-nav__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-nav__item--locked a {
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    gap: 1rem;
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    border-radius: 15px;
    padding: 0px 1rem;
    opacity: 0.6;
    pointer-events: none;
    background: transparent;
    cursor: not-allowed;
}

.project-nav__lock-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
    color: currentColor;
}


.project-nav__item--available a {
    color: #333;
    display: flex;
    align-items: center;
    height: 44px;
    gap: 1rem;
    border: 1.5px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    border-radius: 15px;
    padding: 0px 1rem;
}


.project-nav__item--locked a:hover {
    border-color: transparent;
    color: rgba(255, 255, 255, 0.45);
}

.project-nav__footer {
    margin-top: auto;
}

.project-nav__exit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    width: 87%;
    margin-top: 5rem;
}

.project-nav__item--active a{
    background: rgba(10, 88, 165, 0.08);
    color: rgba(10, 88, 165, 1);
    border: 1px solid rgba(10, 88, 165, 1);
    font-weight: 700;
}

.project-nav__exit:hover {
    background: rgba(10, 88, 165, 0.3);
    transform: translateY(-1px);
}

/* --- Projects page --- */

.projects-page {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.projects-page__intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.projects-page__title {
    font-family: "Open Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
    margin-bottom: .5rem;
}

.projects-page__subtitle {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: rgba(110, 127, 147, 1);
    max-width: 520px;
}

.projects-page__cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: 16px;
    background: rgba(10, 88, 165, 1);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
    border: none;
}

.projects-page__cta:hover {
    background: rgba(8, 72, 134, 1);
    transform: translateY(-1px);
}

.projects-page__cta--disabled,
.projects-page__cta--disabled:hover {
    background: rgba(10, 88, 165, 0.25);
    cursor: not-allowed;
    transform: none;
}

.projects-page__list-title {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
    margin-bottom: 1rem;
    margin-top: 4rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: #fff;
    border: 1px solid rgba(223, 229, 236, 1);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(34, 54, 77, 0.05);
    min-height: 260px;
}

.project-card__header {
    display: flex;
    align-items: center;
    gap: .75rem;
    background-color: #073d75;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    
}

.project-card__action.project-card__action--icon{
    border: none;
    background-color: transparent;
}

.project-card__action.project-card__action--icon i{
    color: #fff;
    font-size: 16px;
}

.project-card__dropdown{
    position: absolute;
    top: 120%;
    width: 170px;
    background: #FFF;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 22px 0;
    z-index: 9999;
    right: 0;
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    display: flex;
    flex-direction: column;
    padding: 15px 30px;
    gap: 10px;
}

.project-card__header h3{
    color: #fff;
}

.project-card__labels {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.project-card__stage,
.project-card__status {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    border-radius: 999px;
}

.project-card__stage {
    background: rgba(10, 88, 165, 0.08);
    color: rgba(10, 88, 165, 1);
}

.project-card__status {
    background: rgba(223, 229, 236, 0.6);
    color: rgba(110, 127, 147, 1);
}

.project-card__status--active {
    background: rgba(37, 190, 110, 0.18);
    color: rgba(22, 141, 81, 1);
}

.project-card__status--planning,
.project-card__status--draft {
    background: rgba(255, 205, 86, 0.2);
    color: rgba(191, 128, 0, 1);
}

.project-card__status--paused {
    background: rgba(45, 113, 215, 0.12);
    color: rgba(30, 78, 147, 1);
}

.project-card__status--completed {
    background: rgba(76, 175, 80, 0.2);
    color: rgba(46, 125, 50, 1);
}

.project-card__status--archived {
    background: rgba(120, 120, 120, 0.12);
    color: rgba(90, 90, 90, 1);
}

.project-card__title {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
    margin: 0;
}

.project-card__summary {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: rgba(76, 89, 104, 1);
    flex-grow: 1;
    line-height: 1.6;
}

.project-card__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
}

.project-card__meta dt {
    color: rgba(132, 148, 167, 1);
    font-weight: 600;
    margin-bottom: .35rem;
}

.project-card__meta dd {
    margin: 0;
    color: rgba(34, 54, 77, 1);
    font-weight: 600;
}

.project-card__link {
    color: rgba(10, 88, 165, 1);
    text-decoration: none;
    font-weight: 600;
}

.project-card__link:hover {
    text-decoration: underline;
}

.project-card__placeholder {
    color: rgba(132, 148, 167, 1);
}

.projects-empty-state {
    border: 1px dashed rgba(10, 88, 165, 0.3);
    border-radius: 24px;
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 2rem;
}

.projects-empty-state__content {
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.projects-empty-state__icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: rgba(10, 88, 165, 0.12);
    color: rgba(10, 88, 165, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.projects-empty-state h2 {
    font-family: "Open Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
    margin: 0;
}

.projects-empty-state p {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    color: rgba(76, 89, 104, 1);
    margin: 0;
}

.projects-empty-state__cta {
    margin-top: .5rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: 16px;
    background: rgba(10, 88, 165, 1);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.projects-empty-state__cta:hover {
    background: rgba(8, 72, 134, 1);
}

.projects-page__cta--disabled.projects-empty-state__cta,
.projects-page__cta--disabled.projects-empty-state__cta:hover {
    background: rgba(10, 88, 165, 0.25);
    cursor: not-allowed;
}

.projects-page__cta--secondary {
    background: rgba(223, 229, 236, 1);
    color: rgba(34, 54, 77, 1);
}

.projects-page__cta--secondary:hover {
    background: rgba(200, 210, 221, 1);
    color: rgba(34, 54, 77, 1);
}

.projects-page__cta.is-loading {
    position: relative;
    color: transparent !important;
    cursor: progress;
    pointer-events: none;
}

.projects-page__cta.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top-color: rgba(255, 255, 255, 1);
    animation: projectsButtonSpin 0.75s linear infinite;
}

.projects-page__cta.is-loading.projects-page__cta--secondary::after {
    border: 2px solid rgba(37, 99, 235, 0.18);
    border-top-color: rgba(37, 99, 235, 1);
}

@keyframes projectsButtonSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.projects-section .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.projects-section .header .left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.projects-section .header .left .logo {
    width: 64px;
    height: 64px;
    background: rgba(10, 88, 165, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-section .header .title-section h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
}

.projects-section .header .title-section p {
    margin-top: .35rem;
    color: rgba(110, 127, 147, 1);
}

.projects-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    background: rgba(10, 88, 165, 1);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.projects-header__cta:hover {
    background: rgba(8, 72, 134, 1);
    transform: translateY(-1px);
}

.projects-header__cta.secondary {
    background: rgba(223, 229, 236, 1);
    color: rgba(34, 54, 77, 1);
}

.projects-header__cta.secondary:hover {
    background: rgba(200, 210, 221, 1);
    color: rgba(34, 54, 77, 1);
}

.projects-section .header .right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.projects-search-form {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    background: #fff;
    border: 1px solid rgba(223, 229, 236, 1);
    border-radius: 14px;
}

.projects-search-form input {
    border: none;
    outline: none;
    background: transparent;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: rgba(110, 127, 147, 1);
}

.projects-section .filters {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border: 1px solid rgba(223, 229, 236, 1);
    border-radius: 14px;
    background: #fff;
    font-weight: 600;
    color: rgba(110, 127, 147, 1);
}

.projects-section .filters .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(10, 88, 165, 0.1);
    color: rgba(10, 88, 165, 1);
    font-size: 12px;
    font-weight: 700;
}

.projects-section .filters[disabled],
.projects-search-form input[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.project-form-section {
    padding: 2rem 2.5rem 3rem;
}

.project-form-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
    align-items: flex-start;
    padding: 2rem;
}

.project-form-wrapper--single {
    grid-template-columns: minmax(0, 1fr);
}
.project-form-card {
    margin-top: 1rem;
}

.project-form-card textarea{
    resize: vertical;
}

.project-form-wra {
    padding-bottom: 7rem;
}

.project-info-wrapper {
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.project-info-card {
    background: #fff;
    border: 1px solid rgba(223, 229, 236, 0.9);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.project-info-card--display {
    gap: 1rem;
}

.project-info-card--form {
    gap: 1.25rem;
}

.project-info-card--form input, .project-info-card--form textarea {
    width: auto;
}

.project-info-card--form input.submit{
    width: 100%;
}

.modal-content.project-info-modal {
    height: fit-content;
}

.project-info-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.project-info-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.project-info-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(110, 127, 147, 1);
}

.project-info-header-text h4,
.project-info-header-text h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
}

.project-info-edit {
    border: none;
    background: rgba(10, 88, 165, 0.12);
    color: rgba(10, 88, 165, 1);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.project-info-edit:hover {
    background: rgba(10, 88, 165, 0.2);
    transform: translateY(-1px);
}

.project-info-summary {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(34, 54, 77, 1);
}

.project-info-summary--empty {
    font-style: italic;
    color: rgba(132, 148, 167, 1);
}

.project-info-feedback {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
}

.project-info-feedback--success {
    background: rgba(219, 244, 228, 1);
    color: rgba(34, 102, 61, 1);
}

.project-info-feedback--error {
    background: rgba(255, 230, 230, 1);
    color: rgba(163, 33, 33, 1);
}

.project-info-alert {
    margin: 0;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.project-info-alert--success {
    background: rgba(219, 244, 228, 1);
    color: rgba(34, 102, 61, 1);
}

.project-info-alert--error {
    background: rgba(255, 230, 230, 1);
    color: rgba(163, 33, 33, 1);
}

.project-info-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.project-info-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-info-field label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(34, 54, 77, 1);
}

.project-info-input,
.project-info-textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(223, 229, 236, 1);
    background: rgba(249, 251, 253, 1);
    padding: 0.8rem 1rem;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
    color: rgba(34, 54, 77, 1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-info-input:focus,
.project-info-textarea:focus {
    outline: none;
    border-color: rgba(10, 88, 165, 0.6);
    box-shadow: 0 0 0 3px rgba(10, 88, 165, 0.15);
}

.project-info-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-info-submit {
    border: none;
    border-radius: 14px;
    background: rgba(10, 88, 165, 1);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.project-info-submit:hover {
    background: rgba(8, 72, 134, 1);
    transform: translateY(-1px);
}

.project-info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 14px;
    font-weight: 600;
    color: rgba(10, 88, 165, 1);
    text-decoration: none;
}

.project-info-link:hover {
    text-decoration: underline;
}

.project-form-errors {
    background: rgba(255, 234, 230, 1);
    border: 1px solid rgba(255, 144, 102, 0.8);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.project-form-errors h2 {
    margin: 0 0 .75rem;
    font-size: 16px;
    font-weight: 700;
    color: rgba(176, 75, 47, 1);
}
.project-form-errors ul {
    margin: 0;
    padding-left: 1.25rem;
    color: rgba(176, 75, 47, 1);
    font-size: 14px;
}

.project-form label {
    font-weight: 600;
    color: rgba(34, 54, 77, 1);
    margin-bottom: .35rem;
    display: inline-block;
}

.project-form input[type="text"],
.project-form textarea {
    border: 1px solid rgba(223, 229, 236, 1);
    border-radius: 14px;
    padding: .75rem 1rem;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: rgba(34, 54, 77, 1);
    background: rgba(248, 250, 252, 1);
}

.project-form textarea {
    resize: none;
}
.project-form__group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.project-form__group--split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.project-form__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.project-form__actions .projects-page__cta {
    border: none;
    cursor: pointer;
}

.project-form-sidebar {
    background: #fff;
    border-radius: 24px;
    padding: 1.75rem;
    border: 1px solid rgba(223, 229, 236, 0.7);
    box-shadow: 0 12px 32px rgba(34, 54, 77, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-suggestions-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-suggestions-card {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.project-suggestions-card__header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: rgba(17, 24, 39, 1);
}

.project-suggestions-card__header p {
    margin: .5rem 0 0;
    color: rgba(107, 114, 128, 1);
    font-size: .95rem;
}

.project-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

.project-suggestion-card,
.project-create-card {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, #fff 100%);
    border-radius: 22px;
    border: 1px solid rgba(223, 229, 236, 0.7);
    box-shadow: 0 16px 36px rgba(34, 54, 77, 0.08);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 280px;
}

.project-suggestion-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.project-suggestion-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .3rem .85rem;
    border-radius: 999px;
    background: rgba(10, 88, 165, 0.12);
    color: rgba(10, 88, 165, 1);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.project-suggestion-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .3rem .85rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.project-suggestion-card__status--draft {
    background: rgba(156, 163, 175, 0.2);
    color: rgba(75, 85, 99, 1);
}

.project-suggestion-card__status--planning {
    background: rgba(245, 158, 11, 0.18);
    color: rgba(180, 83, 9, 1);
}

.project-suggestion-card__status--active {
    background: rgba(34, 197, 94, 0.18);
    color: rgba(22, 101, 52, 1);
}

.project-suggestion-card h3 {
    margin: 0;
    font-size: 1.25rem;
    color: rgba(17, 24, 39, 1);
}

.project-suggestion-card__category span,
.project-suggestion-card__summary span,
.project-suggestion-card__objectives span {
    font-size: .8rem;
    font-weight: 600;
    color: rgba(107, 114, 128, 1);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.project-suggestion-card__category strong {
    display: block;
    margin-top: .35rem;
    font-size: 1rem;
    color: rgba(17, 24, 39, 1);
}

.project-suggestion-card__summary p {
    margin: .5rem 0 0;
    color: rgba(55, 65, 81, 1);
    font-size: .95rem;
    line-height: 1.5;
}

.project-suggestion-card__objectives ul {
    margin: .75rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: .5rem;
    color: rgba(55, 65, 81, 1);
    font-size: .9rem;
}

.project-suggestion-card__actions {
    margin-top: auto;
}

.project-suggestion-card__button {
    width: 100%;
    justify-content: center;
    border: none;
}

.project-suggestion-card--empty {
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    border-style: dashed;
    border-color: rgba(156, 163, 175, 0.6);
    background: rgba(248, 250, 252, 0.85);
}

.project-suggestion-card__empty-text {
    margin: 0;
    color: rgba(107, 114, 128, 1);
    font-size: .95rem;
    line-height: 1.5;
}

.project-suggestion-card__empty-link {
    color: rgba(10, 88, 165, 1);
    font-weight: 600;
    text-decoration: none;
}

.project-suggestion-card__empty-link:hover {
    text-decoration: underline;
}

.project-create-card__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.project-create-card h3 {
    margin: 0;
    font-size: 1.3rem;
    color: rgba(17, 24, 39, 1);
}

.project-create-card p {
    margin: 0;
    color: rgba(55, 65, 81, 1);
    font-size: .95rem;
    line-height: 1.5;
}

.project-create-card__button {
    justify-content: center;
    width: fit-content;
}

.modal-open {
    overflow: hidden;
}

.modal-body__description {
    margin: 0 0 1.5rem;
    color: rgba(107, 114, 128, 1);
    font-size: .95rem;
    line-height: 1.5;
}

.project-form-errors--modal {
    margin-bottom: 1.5rem;
}

.project-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.project-modal-form__group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.project-modal-form__group label {
    font-weight: 600;
    color: rgba(34, 54, 77, 1);
}

.project-modal-form__group input[type="text"],
.project-modal-form__group select,
.project-modal-form__group textarea {
    border: 1px solid rgba(223, 229, 236, 1);
    border-radius: 14px;
    padding: .75rem 1rem;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    background: rgba(248, 250, 252, 1);
    color: rgba(34, 54, 77, 1);
}

.project-modal-form__group textarea {
    resize: vertical;
}

.project-modal-form__button {
    justify-content: center;
}

@media (max-width: 1024px) {
    .project-suggestions-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .project-suggestions-card {
        padding: 1.5rem;
    }

    .project-suggestion-card,
    .project-create-card {
        padding: 1.5rem;
    }
}

.project-form-sidebar h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
}
.project-form-sidebar p {
    margin: 0;
    color: rgba(110, 127, 147, 1);
    font-size: 14px;
}

.project-form-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.project-form-sidebar li {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 600;
    color: rgba(34, 54, 77, 1);
}

.project-form__source {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem;
    margin-top: .75rem;
    border-radius: 999px;
    background: rgba(10, 88, 165, 0.12);
    color: rgba(10, 88, 165, 1);
    font-weight: 600;
    font-size: 13px;
}
.project-workspace {
    padding: 0 2.5rem;
    display: flex;
    flex-direction: column;
    overflow: scroll;
}

.workspace-header {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.workspace-header__left {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workspace-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(10, 88, 165, 1);
    text-decoration: none;
    font-weight: 600;
}

.workspace-back:hover {
    text-decoration: underline;
}

.workspace-title {
    font-size: 32px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
    margin: 0;
}

.workspace-subtitle {
    font-size: 16px;
    color: rgba(110, 127, 147, 1);
    margin: 0;
}

.workspace-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.workspace-tag {
    display: inline-flex;
    align-items: center;
    padding: .4rem .9rem;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.workspace-tag--stage {
    background: rgba(10, 88, 165, 0.1);
    color: rgba(10, 88, 165, 1);
}

.workspace-tag--status {
    background: rgba(223, 229, 236, 1);
    color: rgba(76, 89, 104, 1);
}

.workspace-tag--category {
    background: rgba(37, 190, 110, 0.15);
    color: rgba(22, 141, 81, 1);
}
.workspace-header__right {
    flex: 1 1 260px;
    display: flex;
    justify-content: flex-end;
}

.workspace-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.75rem;
    border: 1px solid rgba(223, 229, 236, 0.7);
    box-shadow: 0 12px 32px rgba(34, 54, 77, 0.08);
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workspace-card h2,
.workspace-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
}

.workspace-card p {
    margin: 0;
    color: rgba(110, 127, 147, 1);
    font-size: 14px;
    line-height: 1.5;
}

.workspace-card--muted {
    background: rgba(248, 250, 252, 1);
}

.workspace-progress {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.workspace-progress__bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(223, 229, 236, 1);
    overflow: hidden;
}

.workspace-progress__bar span {
    display: block;
    height: 100%;
    background: rgba(10, 88, 165, 1);
    border-radius: 999px;
}

.workspace-progress__text {
    margin: 0;
    font-size: 14px;
    color: rgba(76, 89, 104, 1);
}

.workspace-body {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: flex-start;
}
.workspace-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.workspace-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    background: #fff;
    border-radius: 24px;
    padding: 1.75rem;
    border: 1px solid rgba(223, 229, 236, 0.6);
    box-shadow: 0 8px 24px rgba(34, 54, 77, 0.06);
    margin-top: 2rem;
}

.workspace-overview h3 {
    margin: 0 0 .75rem;
    font-size: 16px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
}
.workspace-overview p {
    margin: 0;
    color: rgba(76, 89, 104, 1);
    font-size: 14px;
    line-height: 1.6;
}

.workspace-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.workspace-step__index span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: rgba(10, 88, 165, 0.1);
    color: rgba(10, 88, 165, 1);
    font-weight: 700;
}

.workspace-step__content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
}

.workspace-step__status {
    margin: .35rem 0 0;
    color: rgba(110, 127, 147, 1);
    font-size: 14px;
}
.workspace-step__actions {
    display: flex;
    align-items: center;
}

.workspace-step__cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 0 1.4rem;
    height: 44PX;
    border-radius: 14px;
    background: rgba(10, 88, 165, 1);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.workspace-step__cta span{
    color: #fff;
}


.workspace-step__cta:hover {
    background: rgba(8, 72, 134, 1);
    transform: translateY(-1px);
}

.workspace-step__cta--primary {
    background: rgba(10, 88, 165, 1);
    color: #fff;
}

.workspace-step__cta--completed {
    background: rgba(34, 54, 77, 0.08);
    color: rgba(34, 54, 77, 1);
}

.workspace-step__cta--disabled {
    pointer-events: none;
    background: #f0f0f0;
    color: #9d9d9d;
}

.workspace-step--locked {
    opacity: 0.75;
}

.workspace-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .project-form-wrapper {
        grid-template-columns: 1fr;
    }

    .project-form-sidebar {
        order: -1;
    }

    .workspace-body {
        grid-template-columns: 1fr;
    }

    .workspace-header__right {
        justify-content: flex-start;
    }
}

.message-form .form-validated-buttons{
    width: 69%;
}

.message-form .form-validated-buttons input{
    display: flex;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 52px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    width: 50%;
    background: #0A58A5;
    color: #fff;
    border: none;
}

.message-form .form-validated-buttons a{
    background: #fff;
    color: #0A58A5;
    border: 1px solid #0A58A5;
    width: 39%;
}

@media (max-width: 1024px) {
    .project-form-wrapper {
        grid-template-columns: 1fr;
    }

    .project-form-sidebar {
        order: -1;
    }
}

.project-module {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.project-module__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(223, 229, 236, 0.7);
    box-shadow: 0 12px 28px rgba(34, 54, 77, 0.06);
}

.project-module__intro {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.project-module__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: rgba(10, 88, 165, 0.12);
    color: rgba(10, 88, 165, 1);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.project-module__title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: rgba(34, 54, 77, 1);
}

.project-module__subtitle {
    margin: 0;
    font-size: 16px;
    color: rgba(76, 89, 104, 1);
    max-width: 640px;
    line-height: 1.6;
}

.project-module__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .75rem;
    flex: 0 0 auto;
}

.segments-generate-btn {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1.6rem;
    background: rgba(10, 88, 165, 1);
    color: #fff;
    border-radius: 16px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(10, 88, 165, 0.25);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    width: 300px;
    justify-content: center;
}

.segments-generate-btn span{
    color: #fff;
}



.segments-generate-btn i {
    font-size: 18px;
}

.segments-generate-btn:hover {
    transform: translateY(-1px);
    background: rgba(8, 72, 134, 1);
    box-shadow: 0 10px 26px rgba(10, 88, 165, 0.28);
}

.segments-generate-btn:active {
    transform: translateY(0);
}

.segments-generate-btn--loading {
    cursor: wait;
    background: rgba(10, 88, 165, 0.8);
    box-shadow: none;
}

.segments-generate-btn--loading i {
    animation: segments-spin 1s linear infinite;
}

.segments-generate-form {
    margin: 0;
}

.segments-generate-hint {
    margin: 0;
    font-size: 13px;
    color: rgba(110, 127, 147, 1);
    max-width: 240px;
    text-align: right;
}

.project-module__body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.segments-flash {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.segments-flash__item {
    margin: 0;
    padding: .85rem 1.2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
}

.segments-flash__item--error {
    background: rgba(255, 235, 234, 1);
    color: rgba(186, 45, 31, 1);
    border: 1px solid rgba(245, 205, 199, 1);
}

.segments-flash__item--success {
    background: rgba(231, 247, 239, 1);
    color: rgba(20, 124, 70, 1);
    border: 1px solid rgba(185, 230, 204, 1);
}

.segments-flash__item--warning {
    background: rgba(255, 248, 235, 1);
    color: rgba(174, 110, 0, 1);
    border: 1px solid rgba(251, 220, 167, 1);
}

.segments-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    background: #fff;
    border-radius: 24px;
    padding: 4rem 2.5rem;
    border: 1px dashed rgba(10, 88, 165, 0.25);
    color: rgba(76, 89, 104, 1);
}

.segments-empty-state__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 88, 165, 0.12);
    color: rgba(10, 88, 165, 1);
    font-size: 28px;
}

.segments-empty-state__icon--animate {
    animation: segments-pulse 1.6s ease-in-out infinite;
}

.segments-empty-state__icon--animate i {
    animation: segments-spin 1s linear infinite;
}

.segments-empty-state h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
}

.segments-empty-state__hint {
    max-width: 420px;
    font-size: 14px;
    color: rgba(110, 127, 147, 1);
}

.segments-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.segments-form__intro {
    margin: 0;
    font-size: 15px;
    color: rgba(76, 89, 104, 1);
}
.segment-card__selector {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-weight: 600;
    color: rgba(34, 54, 77, 1);
    cursor: pointer;
}

.segment-card__selector input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.segment-card__checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(10, 88, 165, 0.3);
    position: relative;
    transition: background .2s ease, border-color .2s ease;
}

.segment-card--selected .segment-card__checkbox {
    background: rgba(10, 88, 165, 1);
    border-color: rgba(10, 88, 165, 1);
}

.segment-card--selected .segment-card__checkbox::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.segment-card__selector-label {
    font-size: 13px;
    color: rgba(110, 127, 147, 1);
}

.segment-card__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.segment-card__header {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.segment-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(10, 88, 165, 0.12);
    color: rgba(10, 88, 165, 1);
    font-weight: 700;
}

.segment-card__header h3 {
    margin: 0;
    font-size: 18px;
    color: rgba(34, 54, 77, 1);
}

.segment-card__description {
    margin: 0;
    color: rgba(76, 89, 104, 1);
    line-height: 1.6;
    font-size: 14px;
}

.segment-card__section {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.segment-card__section h4 {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(110, 127, 147, 1);
}

.segment-card__section ul {
    margin: 0;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    color: rgba(34, 54, 77, 1);
    font-size: 14px;
}

.segment-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    padding-left: 0;
    list-style: none;
}

.segment-card__tags li span {
    display: inline-flex;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(10, 88, 165, 0.12);
    color: rgba(10, 88, 165, 1);
    font-size: 13px;
    font-weight: 600;
}

.segment-card__score {
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
    color: rgba(10, 88, 165, 1);
    background: rgba(10, 88, 165, 0.12);
    padding: .25rem .6rem;
    border-radius: 999px;
}

.segments-last-update {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: .5rem 0 0;
    font-size: 13px;
    color: rgba(110, 127, 147, 1);
}

.segments-last-update i {
    color: rgba(10, 88, 165, 1);
}

.segments-form__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    margin-top: 1rem;
}

.segments-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .85rem 1.8rem;
    border-radius: 16px;
    background: rgba(37, 190, 110, 1);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 8px 22px rgba(37, 190, 110, 0.22);
}

.segments-save-btn:hover {
    transform: translateY(-1px);
    background: rgba(29, 158, 91, 1);
    box-shadow: 0 10px 26px rgba(37, 190, 110, 0.28);
}

.segments-save-btn:active {
    transform: translateY(0);
}

.segments-save-btn--disabled,
.segments-save-btn--disabled:hover,
.segments-save-btn--disabled:active,
.segments-save-btn[disabled] {
    background: #d6dfe8;
    color: #7891ab;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.segments-form__hint {
    margin: 0;
    font-size: 13px;
    color: rgba(110, 127, 147, 1);
}

.gone form {
    background: #fff !important;
    border: 1px solid #0A58A5 !important;
    width: 50% !important;
    font-weight: 700;
    height: 48px !important;
    padding: 1px !important;
  }
  
  .gone form button{
    background-color: #fff !important;
    width: 100% !important;
    font-weight: 700;
    color: #073A7A;
  }
  
@media (max-width: 1024px) {
    .project-module__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-module__actions {
        width: 100%;
        align-items: flex-start;
    }

    .segments-generate-hint {
        text-align: left;
    }
}
@media (max-width: 768px) {
    .segments-grid {
        grid-template-columns: 1fr;
    }

    .project-module__header {
        padding: 1.75rem;
    }
}

@keyframes segments-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes segments-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.85;
    }
}

@media (max-width: 768px) {
    .projects-page {
        padding: 1.5rem;
    }

    .projects-page__intro {
        flex-direction: column;
        align-items: stretch;
    }

    .projects-page__cta {
        width: 100%;
        justify-content: center;
    }

    .projects-section .header {
        flex-direction: column;
        align-items: stretch;
    }

    .projects-section .header .left {
        align-items: flex-start;
    }

    .projects-section .header .right {
        flex-direction: column;
        align-items: stretch;
    }

    .projects-header__cta,
    .projects-section .filters,
    .projects-search-form {
        width: 100%;
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-workspace {
        padding: 1.5rem;
    }

    .workspace-header {
        flex-direction: column;
    }

    .workspace-header__right {
        width: 100%;
    }

    .workspace-step {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .workspace-step__actions {
        justify-content: flex-start;
    }
}

.main-section {
    width: 80%;
    transition: width 0.4s ease;
}

.main-section header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
}

.main-section header .left{
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-handler, #menu-toggle{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 12px;
    width: 44px;
    height: 44px;
    background-color: transparent;
}

.sidebar-handler .arrow, #menu-toggle .arrow{
    width: 19px;
    border-right: 1px solid rgba(223, 229, 236, 1);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-handler .arrow i{
    color: rgba(10, 88, 165, 1)
}

.button_to{
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: #fff;
    border-radius: 100%;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    width:70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
}

.button_to button{
    background: transparent;
    border: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button_to button img{
    width: 30px;
    height: 30px;

}

.main-section header .right{
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-section header .right .wtsp{
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 15px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 15px;
}

.main-section header .right .wtsp span{
    font-weight: 700;
    font-size: 14px;
    color: rgba(49, 74, 33, 1);
}

.main-section header .right .login{
    height: 44px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    background: rgba(10, 88, 165, 1);
    border-radius: 15px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.main-section header .right .lang{
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    height: 44px;
    width: 44px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.user-drop{
    position: relative;
}

.main-section header .right .lang .current{
    font-weight: 700;
    font-size: 14px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.user-drop .current{
    display: flex;
    align-items: center;
    gap: 40px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(143.83deg, #DFE5EC 11.42%, #FFFFFF 75.57%);
    padding: 0 10px;
}

.user-drop .current div{
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-drop .current span{
    font-weight: 700;
    font-size: 14px;
    line-height: 12px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.user-drop .current i{
    color:  rgba(10, 88, 165, 1)
}

.lang-list.hidden, .user-list.hidden{
    display: none;
}

.lang-list, .user-list{
    position: absolute;
    top: 120%;
    width: 170px;
    background: #FFF;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 22px 0;
    z-index: 9999;
    right: 0;
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    display: flex;
    flex-direction: column;
    padding:  15px 30px;
    gap: 10px;
}

.lang-list a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.main-section .content{
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    border-radius: 25px;
    background: rgba(255, 255, 255, 1);
    margin-top: 1.5rem;
    height: calc(100vh - 120px);
    border-radius: 25px;
    position: relative;
}

.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 77px;
    background: linear-gradient(180deg, #E6ECF5 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    border-radius: 25px 25px 0 0;
    padding: 0 15px;
    position: sticky;
    top: 0;left: 0;right: 0;
}

.header .left{
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .left .logo{
    width: 46px;
    height: 46px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1))
}

.header .left .logo img{
    width: 21.870731353759766px;
    height: 25.99973487854004px;
}

.header .left .title-section h1{
    font-weight: 700;
    font-size: 16px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.header .left .title-section h1 span{
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.header .left .title-section p{
    font-size: 12px;
    font-weight: 600;
    color: var(--Color-vert, rgba(89, 178, 36, 1));
}

.header .right .pers{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border-radius: 15px;
    height: 39px;
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1))
}

.header .right .pers span{
    font-size: 14px;
    font-weight: 700;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));

}

.main-section.full{

}

.chevron {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
    cursor: pointer;
}
  
.chevron.rotated {
    transform: rotate(180deg);
}

/*----------------------ACCUEIL------------------*/

.home-content{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 70px;
    height: calc(100% - 160px);
    overflow: scroll;
}

.home-content section.first, .opps{
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.home-content section .left, .home-content section.first .right, .opps .left, .opps .right{
    width: 50%;
}

.home-content section.first .left, .opps .left{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 25px;
    padding: 15px 22px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
}

.home-content section.first .left h2{
    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.home-content section.first .left img{
    width: 100%;
    height: 183px;
    border-radius: 15px;
    margin-top: 10px;
}

.home-content section.first .left h3{
    margin: 15px 0;
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.home-content section.first .left p{
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.explore-idea-link, .explore-recherche-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 12px 24px;
    background: rgba(10, 88, 165, 1);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.explore-idea-link span, .explore-recherche-link span{
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

.explore-idea-link:hover, .explore-recherche-link:hover{
    background: rgba(10, 88, 165, 0.9);
    box-shadow: 0px 4px 12px 0px rgba(10, 88, 165, 0.3);
}

.home-content section.first .right .redirect-links{
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.home-content section.first .right .redirect-links .link{
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid #DFE5EC; /* épaisseur de la bordure */
    border-radius: 25px;
    padding: 42px 34px;
    height: 50%;
}

.home-content section.first .right .redirect-links .link .image-container{
    width: 113px;
    height: 113px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 38.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.home-content section.first .right .redirect-links .link .image-container img{
    width: 60px;
}

.home-content section.first .right .redirect-links .link span{
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0%;
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    width: 50%;
}
.home-content section .head{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.home-content section .head h2{
    display: flex;
    align-items: center;
    font-size: 32px;
    font-weight: 700;
    gap: 10px;
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.home-content section .head .navigation{
    display: flex;
    align-items: center;
    gap: 10Px;
}

.home-content section.second .head .navigation button{
    background: rgba(246, 247, 248, 1);
    border: 1px solid rgba(223, 229, 236, 1);
    width: 43px;
    height: 34px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transition: all .2s ease;
}

.home-content section.second .head .navigation button i{
    color: rgba(10, 88, 165, 1);
}

.home-content section.second .head .navigation button:hover{
    background-color: #0A58A5;
}

.home-content section.second .head .navigation button:hover i{
    color: #fff;
}

.home-content section.second .tendances{
    margin-top: 15px;
}
.home-content section.second .tendances .tendance{
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid #fff;
    background: rgba(246, 247, 248, 1);
    border-radius: 25px;
    padding: 26px 25px;
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.home-content .recherche{
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid #fff;
    background: rgba(246, 247, 248, 1);
    border-radius: 25px;
    padding: 26px 25px;
    margin-top: 15px;
}

.home-content section.second .tendances .tendance img{
    width: 40%;
    height: 336px;
    border-radius: 25px;
}
.home-content section.second .tendances .tendance h3{
    font-family: Open Sans;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.home-content section.second .tendances .tendance .tendance-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-content section.second .tendances .tendance p{
    margin: 15px 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.tags{
    display: flex;
    align-items: center;
    gap: 10px;
}

.tag{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    background: rgba(255, 255, 255, 1);
    border-radius: 10px;
    padding: 5px 16px;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--Color0, rgba(68, 89, 114, 1));
}

.home-content .chiffres{
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.scoring {
    padding-bottom: 2rem;
}

.home-content .chiffres .chiffre{
    width: 33%;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 10px;
    padding: 14px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}
.home-content .chiffres .chiffre h4{
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0%;
    background: linear-gradient(
    168.92deg,
    #E8F5E1 -1.09%,
    #EFE3D2 47.74%,
    #DDE9F5 100.12%
    );
    -webkit-background-clip: text; /* clippe le dégradé sur le texte */
    -webkit-text-fill-color: transparent; /* texte transparent pour voir le dégradé */
    background-clip: text;
    color: transparent; /* fallback */
    /* bordure (contour) autour des lettres */
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1); /* support partiel hors WebKit */
    line-height: 30px;
    text-align: center;
}

.home-content .chiffres .chiffre p{
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 20px !important;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
    margin: 0 !important;

}
a.going-throught{
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(246, 247, 248, 1);
    padding: 6px 27px;
    border-radius: 20px;
    border: 1px solid rgba(211, 224, 237, 1);
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
}

a.going-throught span, a.going-throught i{
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color-2, rgba(10, 88, 165, 1));
}

.opps{
    margin-top: 15px;
}
.opps .left img{
    width: 100%;
    height: 222px;
    border-radius: 15px;
}

.opps .left h3{
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
    margin: 10px 0;
}

.opps .left div, .opp-text div{
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    padding: 9px 16px;
    border-radius: 8px;
    width: fit-content;
}
.opps .left div span, .opp-text div span{
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.other-opps{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.other-opps .opp{
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(223, 229, 236, 1);
    padding: 23px 21px;
    display: flex;
    gap: 15px;
}

.other-opps .opp img{
    width: 30%;
    height: 144px;
    border-radius: 15px;
}

.opp-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.opp-text h4{
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.home-content .recherche .top{
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.home-content .recherche .top img{
    width: 25%;
    height: 218px;
}



.home-content .recherche .top .recherche-content .title{
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-content .recherche .top .recherche-content .title h3{
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 0%;
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1);
    line-height: 18px;
}
.home-content .recherche .top .recherche-content .title h4{
    font-weight: 700;
    font-size: 16px;
    line-height: 12px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}
.home-content .recherche .top .recherche-content h5{
    margin: 25px 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}
.home-content .recherche .top .recherche-content p{
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.home-content .recherche .top .recherche-content .tags{
    margin-top: 15px;
}
.home-content .recherche .bottom{
    margin-top: 20px;
    display: flex;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 15px;
    padding: 15px 20px;
}

.home-content .recherche .bottom h6{
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}




.home-content .recherche .bottom .left .collabos, .home-content .recherche .bottom .right .teams, .ins-top .collabos, .ins-top .teams, .search-content .left .collabos{
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.ins-top .bottom{
    margin-top: 20px;
}

.home-content .recherche .bottom .left .collabos .collabo, .ins-top .collabos .collabo, .search-content .left .collabos .collabo{
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-content .recherche .bottom .left .collabos .collabo img{
    width: 24px;
    height: 24px;
}

.home-content .recherche .bottom .left .collabos .collabo span, .ins-top .collabos .collabo span, .search-content .left .collabos .collabo span{
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.home-content .recherche .bottom .right{
    padding-left: 1rem;
    border-left: 1px solid var(--stroke-1, rgba(223, 229, 236, 1))
}

.home-content .recherche .bottom .right .teams .team, .ins-top .teams .team{
    padding: 7px 20px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    background: rgba(255, 255, 255, 1);
    border-radius: 5px;
    text-align: center;
}

.home-content .recherche .bottom .right .teams .team span, .ins-top .teams .team span{
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 12px;
}

section.second .double{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

section.second .double .block, section.second .double .block2{
    width: 50%;
    background: rgba(246, 247, 248, 1);
    padding: 19px 23px;
    border-radius: 20px;
    border: 1px solid #fff;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
}

section.second .double .block .top{
    display: flex;
    justify-content: space-between;
}

section.second .double .block2 .top{
    display: flex;
    align-items: center;
    gap: 20px;
}

section.second .double .block2 .top img{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 10px;
}

section.second .double .block .top img{
    width: 149px;
    height: 132px;
    border-radius: 15px;
}

section.second .double .block .top .title{
    width: 104px;
    height: 40px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.second .double .block .top .title h3{
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    font-size: 20px;
}

section.second .double .block2 .top h3{
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

section.second .double .block2 p{
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
    margin-top: 15px;
}

section.second .double .block2 .chiffres{
    margin-top: 3rem
}

section.second .double .block2 .chiffres .chiffre h4{
    font-size: 24px;
}

section.second .double .block2 .chiffres .chiffre p{
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

section.second .double .block h4{
    font-weight: 700;
    font-size: 24px;
    line-height: 38px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
    margin-top: 30px;
}

.tendance-details .free{
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.tendance-details .free h3{
    font-weight: 700;
    font-size: 18px;
    line-height: 31px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.tendance-details .free .free-word{
    background: rgba(89, 178, 36, 0.1);
    border: 1px solid rgba(89, 178, 36, 1);
    padding: 9px 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 12px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.tendance-details .avis {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    padding: 9px 18px;
    border-radius: 10px;
    margin-top: 15px;
    width: 70%;
}

.tendance-details .avis  .stars{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 50%;
}

.tendance-details .avis  .stars img{
    width: 14px !important;
    height: 14px !important;
}

.tendance-details .avis  .stars span{
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0%;
    color: var(--Color0, rgba(68, 89, 114, 1));
}

.tendance-details .avis  .stars:last-child{
    border-left: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    padding-left: 1rem;
    width: 50%;
}
.tendance-details .people{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.tendance-details .people img{
    width: 30px !important;
    height: 30px !important;
}

.tendance-details .people h5{
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.tendance-details .people .status{
    border: 1px solid rgba(89, 178, 36, 1);
    padding: 9px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tendance-details .people .status span, .tendance-details .people .status i{
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0%;
    color: rgba(89, 178, 36, 1);
}






/*----------------------END------------------*/


/*----------------------chat------------------*/


.chat-body{
    width: 69%;
    margin: 0 auto;
    height: calc(100% - 210px);
    overflow: scroll;
    padding-top: 2rem;
}

.chat-body .date{
    display: flex;
    align-items: center;
    gap: 2rem;
}

.chat-body .date h2{
    font-weight: 700;
    font-size: 12px;
    color: var(--Variable-texte-3, rgba(132, 148, 167, 1));
}

.chat-body .date .line{
    border: .5px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    width: 80%;
}

.chat-body h3{
    font-weight: 700;
    font-size: 20px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
    line-height: 32px;
    margin-top: 1rem;
}

.suggestions{
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}

.suggestion-item{
    border: 1px solid #fff;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    background: rgba(246, 247, 248, 1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    height: 54px;
    cursor: pointer;
}

.suggestion-item.active{
    background: rgba(10, 88, 165, 0.08);
    border: 1px solid var(--Bleu, rgba(10, 88, 165, 1))
}

.suggestion-item .image{
    background: rgba(255, 255, 255, 1);
    width: 34px;
    height: 34px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggestion-item span{
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: var(--Variable-texte-3, rgba(132, 148, 167, 1));
}

.suggestion-item.active span{
    color: var(--Bleu, rgba(10, 88, 165, 1));
}

.messages{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-bottom: 2rem;
}

.message{  
    width: 100%;
}

.message p{
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
    max-width: 74%;
}

.user{
    display: flex;
    align-items: center;
    justify-content: end;
    width: fit-content;
    width: 100%;
}

.user p{
    background: rgba(235, 243, 250, 1);
    border: 1px solid #fff;
    padding: 13px 26px;
    border-radius: 15px 15px 2px 15px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
}

.message-form{
    height: 101px;
    background: linear-gradient(0deg, #E6ECF5 -37.62%, #FFFFFF 100%);
    border-top: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.message-form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 0 0 25px 25px;
}

.message-form .image{
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    width: 54px;
    height: 54px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-form form{
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    height: 54px;
    background-color: #fff;
    width: 80%;
    border-radius: 20px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.message-form form input{
    width: 90%;
    height: 100%;
    border: none;
    border-radius: 20px;
    margin-left: 20px;
}

.message-form form button{
    width: 46px;
    height: 46px;
    background: rgba(10, 88, 165, 1);
    border: none;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-msg{
    background: rgba(235, 243, 250, 1);
    border: 1px solid #fff;
    padding: 13px 26px;
    border-radius: 15px 15px 2px 15px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    width: 40%;
    display: flex;
    gap: .5rem;
    align-items: center;
}

.voice-msg button{
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
}
.voice-track {
    flex: 1;
    height: 1.5px;
    background: #fff;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.voice-progress {
    height: 100%;
    width: 0%;
    background: rgba(10, 88, 165, 1);
    border-radius: 3px;
}

.voice-msg span{
    font-weight: 600;
    font-size: 12px;
    color: var(--Variable-Texte-1, rgba(56, 77, 100, 1));
}

.multi-messages{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.multi-messages .message{
    margin-bottom: 0;
}

.scoring h4{
    font-weight: 700;
    font-size: 28px;
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* pour compatibilité Firefox */
    background-clip: text;
    color: transparent;
}

.scoring .scoring-content{
    margin-top: 1rem;
}
.scoring .scoring-content .head .score{
    border: 2px solid #fff; 
    background: rgba(246, 247, 248, 1);
    height: 108px;
    display: flex;
    justify-content: center;
    border-radius: 25px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    font-size: 24px;
    color: var(--Color-vert, rgba(89, 178, 36, 1));
    display: flex;
    align-items:center;
    line-height: 150%;
    padding: 0 1.5rem;
}

.scoring .scoring-content .head .score div{
    display: flex;
    align-items: last baseline;
    justify-content: center;
    color: var(--Color-vert, rgba(89, 178, 36, 1));

}

.scoring .scoring-content .head .score span{
    font-size: 48px;
    color: var(--Color-vert, rgba(89, 178, 36, 1));
    line-height: 100%;
}

.scoring .scoring-content .head p{
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.scoring .scoring-content .stats{
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.scoring .scoring-content .stats .stat{
    background: rgba(246, 247, 248, 1);
    border: 1px solid #fff;
    border-radius: 20px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    padding: 17px 21px;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.scoring .scoring-content .stats .stat h5{
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
}

.scoring .scoring-content .stats .stat .progression{
    display: flex;
    align-items: center;
    gap: 1rem;

}

.scoring .scoring-content .stats .stat .progression .progress-bar{
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    background-color: #fff;
    height: 8px;
    width: 100%;
    border-radius: 20px;
}
.scoring .scoring-content .stats .stat .progression .progress-bar .progress{
    background: rgba(89, 178, 36, 1);
    height: 100%;
    border-radius: 20px;
}

.scoring .scoring-content .stats .stat .progression .progress-bar .progress.mid{
    background: var(--Orange, rgba(255, 153, 0, 1));

}

.scoring .scoring-content .stats .stat .progression .progress-bar .progress.weak{
    background: rgba(252, 18, 27, 1);
}

.scoring .scoring-content .stats .stat .progression span{
    color: var(--Variable-texte-2, rgba(88, 109, 133, 1));
    font-size: 12px;
    font-weight: 500;
}

.recommandations{
    margin-top: 3rem;
}

.recommandations h5{
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}
.recommandations .reco-items{
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.recommandations .reco-items .reco-item{
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    border-radius: 20px;
    padding: 15px 25px;
}

.recommandations .reco-items .reco-item h6{
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}
.recommandations .reco-items .reco-item p{
    font-size: 14px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
    font-weight: 400;
}

.message-form__button i{
    color: #fff;
}
/*----------------------END------------------*/


/*----------------------recherches------------------*/

.research-section{
    margin-top: 1.5rem;
    height: calc(100vh - 120px);
}

.research-section .title{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .title a{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .title a span{
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.research-section .title h2{
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.research-section .body{
    background: linear-gradient(180deg, #DFE5EC -0.64%, #FFFFFF 16.83%);
    margin-top: 20px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 20px;
    height: calc(100vh - 250px);
    padding: 40px 70px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    overflow: scroll;
}

.research-section .body h3{
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0%;
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.research-section .body .stats{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.research-section .body .stats .stat{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .body .stats .stat h4{
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0%;
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1);
    line-height: 18px;
}

.research-section .body .stats .stat span{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: var(--Color0, rgba(68, 89, 114, 1));
}

.research-section .body .filters{
    margin-top: 40px;
}

.research-section .body .filters .top{
    display: flex;
    align-items: center;
    gap: 20px;
}
.research-section .body .filters .top .search{
    width: 60%;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    height: 44px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
}
.research-section .body .filters .top .search input{
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;

}
.research-section .body .filters .top .filter-tabs{
    width: 40%;
    padding-left: 20px;
    border-left: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    display: flex;
    align-items: center;
    height: 44px;
}

.research-section .body .filters .top .filter-tabs .tabs{
    height: 44px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 10px;
    width: 100%;
    display: flex;
    padding: 5px;

}

.research-section .body .filters .top .filter-tabs .tabs .tab{
    width: 33%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
    border-radius: 5px;

}

.research-section .body .filters .top .filter-tabs .tabs .tab.active{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    background: rgba(255, 255, 255, 1);
    color: var(--Color-2, rgba(10, 88, 165, 1));
}

.research-section .body .filters .bottom{
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.research-section .body .filters .bottom .left{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .body .filters .bottom .left .filter{
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    height: 38px;
    padding: 0 18px;
    border-radius: 10px;
}

.research-section .body .filters .bottom .left .filter span{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: var(--Color0, rgba(68, 89, 114, 1));
}

.research-section .body .filters .bottom .left .filter .filter-count{
    background: var(--Color1, rgba(34, 50, 69, 1));
    width: 20px;
    height: 20px;
    border-radius: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.research-section .body .filters .bottom .left .filtered{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .body .filters .bottom .left .filtered .item{
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(246, 247, 248, 1);
    padding: 0 12px;
    height: 38px;
    border-radius: 20px;
}

.research-section .body .filters .bottom .left .filtered .item span{
    font-weight: 500;
    font-size: 14px;
}

.research-section .body .filters .bottom .right button{
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    height: 38px;
    padding: 0 20px;
    border-radius: 10px;
    background-color: transparent;
}

.research-section .body .filters .bottom .right button span{
    font-weight: 700;
    font-size: 14px;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.research-section .recherches{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-top: 30px;
}

.research-section .recherches .recherche{
    background: rgba(246, 247, 248, 1);
    border: 1px solid #fff;
    padding: 15px 20px;
    border-radius: 20px;
}

.research-section .recherches .recherche .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.research-section .recherches .recherche .top .title{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .recherches .recherche .top .title h4{
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 0%;
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1);
    line-height: 18px;
}

.research-section .recherches .recherche .top .title p{
    color: var(--Color1, rgba(34, 50, 69, 1));
    font-weight: 700;
    font-size: 14px;
}

.research-section .recherches .recherche .top  a{
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    height: 32Px;
    padding: 0 14px;
    border-radius: 10px;
}

.research-section .recherches .recherche .top  a span{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: var(--Color-2, rgba(10, 88, 165, 1));
}

.search-body{
    margin-top: 20px;
}

.search-body h5{
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.search-body p{
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
    margin-top: 15px;
}

.search-body .tags{
    margin-top: 15px;
}

.search-bottom{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 15px;
    margin-top: 15px;
    padding: 20px;
}

.search-bottom h6{
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));

}

.recherche-resume{
    margin-top: 20px;
    padding: 9px 0 9px 0;
    border-radius: 15px;
    border: 1px solid var(--stroke-1, #DFE5EC);
}

.recherche-resume .head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 53px;
    border-bottom: 1px solid var(--stroke-1, #DFE5EC);
    padding: 0 20px;
}

.recherche-resume .head h4{
    color: var(--Color1, #223245);
    font-size: 14px;
    font-weight: 700;
    line-height: 23px; /* 164.286% */
}

.recherche-resume .head a{
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 6px 14px;
}

.recherche-resume .head a span{
    color: var(--Color-2, #0A58A5);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
}

.recherche-resume .body {
    padding: 24px 29px;
}

.recherche-resume .body .search-content {
    display: flex;
    gap: 16px;
    align-items: stretch;
    margin-top: 20px;
}

.recherche-resume .body h5{
    color: var(--Color1, #223245);
    font-size: 14px;
    font-weight: 700;
    line-height: 24px; /* 171.429% */
}

.recherche-resume .body .left{
    padding: 14px 19px;
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    width: 80%;
}

.recherche-resume .body .left h6{
    color: var(--Color2, #6E7F93);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
}

.recherche-resume .body .left .publish{
    color: var(--Color0, #445972);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px; /* 150% */
    margin-top: 31px;
}

.recherche-resume .body .right{
    padding: 27px 22px;
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.recherche-resume .body .right h6{
    font-weight: 700;
    font-size: 48px;
    letter-spacing: 0%;
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1);
    line-height: 35px;
    text-align: center;
}

.recherche-resume .body .right span{
    color: var(--Color1, #223245);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px; /* 100% */
    text-align: center;
}

.trend-body{
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 25px 27px;
}

.trend-body .ressources-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 13px;
    grid-row-gap: 13px;
    margin-top: 5px;

}

.trend-body .left{
    width: 70%;
}

.trend-body .left h5{
    color: var(--Color-Texte, #22364D);
    font-size: 20px;
    font-weight: 700;
    line-height: 36px; /* 180% */
}

.trend-body .left p{
    color: var(--Color2, #6E7F93);
    font-size: 14px;
    font-weight: 500;
    line-height: 26px; /* 185.714% */
    margin: 15px 0;
}

.trend-body .right{
    width: 50% !important;
}

.trend-body .right .chiffres{
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 100%;
}

.trend-body .right .chiffres .chiffre{
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 0 20px;
    height: fit-content !important;
    display: flex;
    gap: 10px;
    justify-content: start;
    align-items: center;
    padding: 10px !important;
}

.trend-body .right .chiffres .chiffre h4{
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0%;
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1);
    line-height: 27px;
}

.trend-body .right .chiffres .chiffre p{
    color: var(--Color2, #6E7F93);
    font-size: 12px;
    font-weight: 700;
    line-height: 20px; /* 166.667% */
}

.cartographie .header .right .tabs{
    display: flex;
    align-items: center;
    height: 40px;
    width: 248px;
    border-radius: 10px;
    background: #F6F7F8;
    padding: 5px;
}

.cartographie .header .right .tabs .tab{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    cursor: pointer;
}

.cartographie .header .right .tabs .tab.active{
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
}


.cartographie .header .right .tabs .tab span{
    color: var(--Color2, #6E7F93);
    font-size: 14px;
    font-weight: 700;
    line-height: 16px; /* 114.286% */
}


.cartographie .header .right .tabs .tab.active span{
    color: var(--Color-2, #0A58A5);
}

.cartographie-content{
    padding: 22px;
    height: calc(100% - 120px);
    overflow: scroll;
}

.cartographie-content .cart-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cartographie-content .cart-title h2{
    color: var(--Color2, #6E7F93);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
}
.cartographie-content .cart-title h2 span{
    color: var(--Color-2, #0A58A5);
}

.cart-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.generate-btn {
    border-radius: 10px;
    border: 1px solid #0A58A5;
    background: linear-gradient(135deg, #0A58A5 0%, #1e88e5 100%);
    padding: 9px 21px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 88, 165, 0.3);
}

.generate-btn i {
    color: white;
    font-size: 14px;
}

.generate-btn span {
    color: white;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
}
.cartographie-content .cart-title .filtre{
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 9px 21px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cartographie-content .cart-title .filtre span{
    color: var(--Color2, #6E7F93);
    font-size: 14px;
    font-weight: 700;
    line-height: 22px; /* 157.143% */
}
.carte-container {
    display: flex;
    height: 590px;
    overflow: hidden;
    background: #f9fafb;
    border-radius: 20px;
    margin-top: 20px;
  }
  
#map {
    flex: 2;
    border-radius: 20px;
    background: #F6F7F8;
    border: 1px solid var(--stroke-1, #DFE5EC);
}
  
  .liste-opportunites {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fff;
    border-left: 1px solid #eee;
    display: none;
  }
  
  .liste-opportunites h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .card-opportunite {
    background: #f8fafc;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
  }
  
  .card-opportunite:hover {
    transform: scale(1.02);
  }

  .custom-marker .dot {
    border-radius: 12.5px;
    border: 1px solid var(--Color1, #223245);
    background: var(--gr9, linear-gradient(169deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%));
    /* gr1 */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
    width: 25px;
    height: 25px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .leaflet-container {
    background-color: #dbeafe; /* bleu clair océan */
  }

  .leaflet-bottom.leaflet-right, .leaflet-bottom {
    display: none !important;
}
/* --- Marqueurs --- */
.custom-marker {
    background: none;
    border: none;
  }
  
  .custom-marker .dot img {
    object-fit: contain;
    transition: transform 0.2s ease;
  }
  
  .custom-marker .dot img:hover {
    transform: scale(1.15);
  }
  
  /* --- Popup général --- */
  .leaflet-popup-content-wrapper {
    border-radius: 14px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15) !important;
    background: #ffffff;
    border: none;
  }
  
  .leaflet-popup-tip {
    background: white !important;
  }
  
  /* --- Marqueur inchangé --- */
.custom-marker {
    background: none;
    border: none;
  }
  .custom-marker img {
    transition: transform 0.2s ease;
  }
  .custom-marker img:hover {
    transform: scale(1.15);
  }
  
  /* --- Overlay & Modal --- */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-in-out;
  }
  
  .modal-overlay.hidden {
    display: none;
  }

  .modal-header{
    border: 1px solid var(--stroke-1, #DFE5EC);
    background: var(--Linear, linear-gradient(144deg, #DFE5EC 11.42%, #FFF 75.57%));
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-header h1{
    color: var(--Color1, #223245);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
  }
  
  .modal-content {
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.3s ease;
    height: 65vh;
    overflow-y: auto;
    position: relative;
  }

  .modal-footer {
    height: 77px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--stroke-1, #DFE5EC);
  }

  .modal-footer a{
    border-radius: 15px;
    background: #0A58A5;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 80%;
  }

  .modal-footer a span{
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px; /* 125% */
    }
  
  .modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #374151;
    cursor: pointer;
    font-size: 22px;
  }

  .modal-body{
    height: calc(65vh - 51px - 77px - 60px);
    overflow-y: auto;
    padding: 30px;
  }
  
  /* --- Contenu --- */
  .modal-body h2 {
    color: var(--Color-2, #0A58A5);
    font-size: 18px;
    font-weight: 700;
    line-height: 24px; /* 133.333% */
  }
  
  .modal-body .description {
    color: var(--Color2, #6E7F93);
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    margin-top: 10px;
  }
  
  .modal-section h3 {
    margin-top: 20px;
    color: var(--Color1, #223245);
    font-size: 14px;
    font-weight: 700;
    line-height: 22px; /* 157.143% */
  }
  
  .ressources-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 13px;
    grid-row-gap: 13px;
    margin-top: 5px;
  }
  
  .ressources-list li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    background: #F6F7F8;
    text-align: center;
    height: 52px;
    gap: 10px;
    padding: 15px;
  }

  .ressources-list li span:first-child{
    color: var(--Color1, #223245);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px; /* 133.333% */
  }

  .ressources-list li span:last-child{
    font-size: 10px;
    font-weight: 500;
    line-height: 16px;
  }

  
  .marche-grid {
    margin-top: 5px;
  }

  .marche-grid .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    background: #F6F7F8;
    padding: 11px 27px;
    height: 80px;
    gap: 28px;
  }

  .marche-grid .top .separator{
    border: .5px solid var(--stroke-1, #DFE5EC);
    height: 100%;
    width: 0;
  }

  .marche-grid .top div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 33%;
  }

  .marche-grid .top div h4{
    color: var(--Color1, #223245);
    font-size: 16px;
    font-weight: 700;
    line-height: 16px; /* 100% */
    text-align: center;
    margin-top: 0;
  }

  .marche-grid .top div span{
    color: var(--Color2, #6E7F93);
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    line-height: 14px; /* 140% */
  }

  .marche-grid .bottom{
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 13px;
  }

  .marche-grid .bottom div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 33%;
    border-radius: 8px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    background: #F6F7F8;
    height: 63px;
  }

  .marche-grid .bottom div h4{
    text-align: center;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px; /* 100% */
  }

  .marche-grid .bottom div span{
    color: var(--Color2, #6E7F93);
    font-size: 10px;
    font-weight: 500;
    line-height: 12px; /* 120% */
  }

  .status-high {
    color: #16a34a; /* vert pour faible */

  }
  
  .status-medium {
    color: #f59e0b; /* orange / doré pour moyenne */
  }
  
  .status-low {
    color: #dc2626; /* rouge pour forte */
  }

  .status-excellent {
    color: #16a34a; /* vert pour faible */

  }
  
  .status-stable {
    color: #2563eb; /* bleu */
  }
  
  .status-moderate {
    color: #f59e0b; /* orange */
  }
  
  .status-low {
    color: #dc2626; /* rouge pour forte */
  }

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

.opportunites{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.opportunites .opportunite{
    border-radius: 15px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 18px 20px;
    height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.opportunites .opportunite:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #0A58A5;
}

.opportunites .opportunite h3{
    color: var(--Color1, #223245);
    font-size: 16px;
    font-weight: 700;
    line-height: 28px; /* 175% */
}

.opportunites .opportunite .location{
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 9px 16px;
    margin-top: 25px;
    width: fit-content;

}

.opportunites .opportunite .location i{
    color: var(--Color1, #0A58A5);
}

.opportunites .opportunite .location span{
    color: var(--Color1, #223245);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
}

/* --- Bouton Charger plus --- */
.opportunites .opportunite.hidden {
    display: none;
}

/* --- Message de chargement --- */
.loading-message {
    height: 73%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0f2fe;
    border-top-color: #0A58A5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-message p {
    color: #0A58A5;
    font-size: 16px;
    font-weight: 700;
    margin: 10px 0;
}

.loading-message p.sub {
    color: #6E7F93;
    font-size: 14px;
    font-weight: 500;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Simple Loader */
.simple-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

/* Typing Indicator (ChatGPT style) */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  background: rgba(246, 247, 248, 1);
  border-radius: 20px;
  animation: fade-in 0.3s ease;
}

.typing-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.typing-dots .dot {
  width: 8px;
  height: 8px;
  background: #9ca3af;
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dots .dot:nth-child(1) {
  animation-delay: 0s;
}

.typing-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation d'apparition des messages IA */
.message .assistant {
  animation: message-appear 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes message-appear {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.load-more-container {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
}

.load-more-btn {
    cursor: pointer;
    border-radius: 20px;
    border: 1px solid var(--Linear, #DFE5EC);
    background: #F6F7F8;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
    height: 34px;
    padding: 0 27px;

}

.load-more-btn span{
    color: var(--Color-2, #0A58A5);
    font-size: 12px;
    font-weight: 700;
    line-height: 22px; /* 183.333% */
}


.load-more-btn:hover i {
    transform: translateY(3px);
}
  

.form-validated-buttons{
    display: flex;
    align-items: center;
    gap: 21px;
    width: 69%;
}

.message-container {
    padding-bottom: 1rem;
}

.form-validated-buttons a{
    display: flex;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 52px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    width: 50%;
}

.form-validated-buttons a.create-projects{
    background: #0A58A5;
    color: #fff;
}

.form-validated-buttons a.create-projects span  {
    color: #fff;
}

.form-validated-buttons a.share-idea{
    background: #fff;
    color: #0A58A5;
    border: 1px solid #0A58A5;
}

.fiches-section .header .right{
    display: flex;
    align-items: center;
    gap: 10px;
}

.fiches-section .header .right form{
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    background: #F6F7F8;
    height: 38px;
    width: 324px;
    padding: 0 16px;
}

.fiches-section .header .right form input{
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
}

.fiches-section .header .right .filters{
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    height: 38px;
    display: flex;
    align-items: center;
    gap: 10Px;
    padding: 0 18px;
}

.fiches-section .header .right .filters span{
    color: var(--Color0, #445972);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
}

.fiches-section .header .right .filters .filter-count{
    border-radius: 100%;
    background: var(--Color1, #223245);
    width: 20px;
    height: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    padding: 5px;
}

.home-content .fiches-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-content .fiches-head h2{
    color: var(--Color2, #6E7F93);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
}

.home-content .fiches-head h2 span{
    color: var(--Color-2, #0A58A5);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
}

.home-content .fiches-head .trier{
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-content .fiches-head .trier .tri{
    border-radius: 20px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 3px 19px;
    color: var(--Color2, #6E7F93);
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
}

.fiches-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 22px;
    grid-row-gap: 22px;
}

.fiches-list .fiche{
    border-radius: 15px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    background: #FFF;
    padding: 20px 22px;
}
.fiches-list .fiche .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fiches-list .fiche .top .left{
    display: flex;
    align-items: center;
    gap: 10px;
}
.fiches-list .fiche .top .left img{
    width: 36px;
    height: 36px;
    border-radius: 100%;
}

.fiches-list .fiche .top .left h3{
    color: var(--Color1, #223245);
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
}

.fiches-list .fiche .top .left img:last-child{
    width: 25px;
    height: 25px;
}

.fiches-list .fiche .top .status{
    border-radius: 8px;
    border: 1px solid #59B224;
    background: rgba(89, 178, 36, 0.10);
    padding: 9px 15px;
}
.fiches-list .fiche .top .status span{
    color: var(--Color1, #223245);
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
}
.fiches-list .fiche .body h4{
    color: var(--Color1, #223245);
    font-size: 18px;
    font-weight: 700;
    line-height: 31px;
    margin-top: 17px;
    width: 85%;
}
.fiches-list .fiche .body p{
    color: var(--Color2, #6E7F93);
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    margin-top: 10px;
    margin-top: 8px;
}

.fiches-list .fiche .body .tags{
    margin-top: 18px;
}

.fiches-list .fiche .body .details{
    display: flex;
    width: calc(100% - 54px);
    border-radius: 8px;
    background: #F6F7F8;
    margin-top: 20px;
    padding: 11px 27px;
}

.fiches-list .fiche .body .details .line{
    border: .5px solid var(--stroke-1, #DFE5EC);
}

.fiches-list .fiche .body .details .item{
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fiches-list .fiche .body .details .item h5{
    color: var(--Color1, #223245);
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
}

.fiches-list .fiche .body .details .item p{
    color: var(--Color2, #6E7F93);
    font-size: 10px;
    font-weight: 500;
    line-height: 14px; /* 140% */
}

.fiches-list .fiche .bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 9px 18px;
}

.fiches-list .fiche .bottom .notes{
    display: flex;
    align-items: center;
    gap: 10px;
    width: 50%;
    justify-content: center;
    border-right: 1px solid var(--stroke-1, #DFE5EC);
}
.fiches-list .fiche .bottom .notes span{
    color: var(--Color0, #445972);
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
}
.fiches-list .fiche .bottom .download{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fiches-list .fiche .bottom .download span{
    color: var(--Color0, #445972);
    font-size: 14px;
    font-weight: 500;
    line-height: 16px; /* 114.286% */
}



@media (max-width: 640px){
    main{
        padding: 20px;
        width: calc(100% - 40px);
    }

    .sidebar.is-open{
        display: none;
    }

    .main-section header .left .new-chat span{
        display: none;
    }

    .main-section header .right .login{
        display: none;
    }

    .main-section{
        width: 100%;
    }

    .header .right .pers{
        display: none;
    }

    .chat-body{
        width: 90%;
    }

    .chat-body .date{
        gap: 1rem;
    }

    .suggestions{
        display: flex;
        flex-direction: column;
    }

    .received p{
        max-width: 91% !important;
    }

    .message p{
        max-width: 60%;
    }

    .message-form{
        padding: 0 15px;
    }

    .message-form form input{
        width: 74%;
    }

    .voice-msg{
        width: 60%;
    }

    .scoring .scoring-content .head{
        flex-direction: column;
    }

    .scoring .scoring-content .head .score{
        width: 80%;
    }

    .scoring .scoring-content .stats{
        display: flex;
        flex-direction: column;
    }

    .message-form .image{
        display: none;
    }
    
    .message-form form{
        width: 100%;
    }

    .home-content{
        padding: 20px;
    }

    .home-content section.first, .opps{
        flex-direction: column;
        gap: 30px;
    }


    .home-content section .left, .home-content section.first .right, .opps .left, .opps .right{
        width: calc(100% - 40px);
    }

    .home-content section.first .right{
        width: 100% !important;
    }

    .home-content section.first .right .redirect-links .link{
        padding: 20px;
    }

    .home-content section.first .right .redirect-links .link .image-container {
        width: 50px;
        height: 50px;
        border-radius: 20px;
        padding: 0 10px;
    }

    .home-content section.first .right .redirect-links .link .image-container img{
        width: 35px;
    }

    .home-content section.first .right .redirect-links .link span{
        width: 100%;
        font-size: 18px;
    }

    .home-content section .head{
        flex-direction: column;
        align-items: start;
    }

    .home-content section .head h2, .home-content section.second .tendances .tendance h3{
        font-size: 20px;
    }

    .home-content section .head h2 img{
        width: 30px;
        height: 30px;
    }

    .home-content section .head .navigation{
        margin-top: 20px;
    }

    .home-content section.second .tendances .tendance{
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .home-content section.second .tendances .tendance img{
        width: 100%;
        object-fit: cover;
    }

    .home-content .tags{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }

    .home-content .chiffres{
        flex-direction: column;
        margin-top: 20px;
    }

    .home-content .chiffres .chiffre{
        width: calc(100% - 40px);
    }

    a.going-throught{
        margin-top: 20px;
        justify-content: space-between;
        width: calc(100% - 60px);
    }

    .tendance-details .free{
        flex-direction: column-reverse;
        gap: 20px;
    }

    .tendance-details .avis{
        width: calc(100% - 40px);
    }

    .opps .left, .opps .right{
        width: 100%;
    }

    .home-content .recherche .top{
        flex-direction: column;
    }

    .home-content .recherche .top img{
        width: 100%;
    }

    .home-content .recherche .bottom .left .collabos, .home-content .recherche .bottom .right .teams, .search-content .left .collabos{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .home-content section .recherche .left{
        width: 50% !important;
    }

    section.second .double{
        flex-direction: column;
    }

    section.second .double .block, section.second .double .block2{
        width: calc(100% - 40px);
    }

    section.second .double .block h4{
        font-size: 18px;
    }

    .home-content{
        height: calc(100% - 124px);
    }

    .home-content .recherche .bottom, .tendance-details .avis{
        flex-direction: column;
    }

    .home-content section .recherche .left, .tendance-details .avis .stars{
        width: 100% !important;
    }


    .home-content .recherche .bottom .right, .tendance-details .avis .stars:last-child {
        padding-top: 1rem;
        border-top: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
        padding-left: 0;
        border-left: none;
        margin-top: 20px;
    }

    .tendance-details .avis .stars:last-child{
        margin-top: 0;
    }

    .opp-text {
        gap: 15px;
    }

    .home-content section.second .tendances .tendance h3, .opps .left h3, .home-content .recherche .top .recherche-content h5, section.second .double .block h4{
        font-size: 18px !important;
        line-height: 26px  !important;

    }

    .home-content section.second .tendances .tendance img{
        height: 250px;
    }

    .other-opps .opp{
        flex-direction: column;
    }

    .other-opps .opp img{
        width: 100%;
        height: 200px;
    }

    .content.cartographie  .header {
        flex-direction: column;
        height: fit-content;
        padding: 20px 0;
        gap: 15px;
    }

    .content.cartographie  .header .right{
        width: calc(100% - 50px);
    }

    .cartographie .header .right .tabs{
        width: calc(100% - 10px); 
    }

    .carte-container{
        height: 400px;
    }

    .ressources-list li{
        height: 81px;
    }

    .opportunites{
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .skeleton-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .generation-header {
        padding: 20px;
    }
    
    .status-icon {
        width: 36px;
        height: 36px;
    }
    
    .status-text h3 {
        font-size: 16px;
    }
    
    .status-text p {
        font-size: 13px;
    }
    
    .progress-count {
        font-size: 14px;
    }

    .cartographie-content{
        height: calc(100% - 199px);
    }

    .main-section header .right .wtsp span{
        display: none;
    }
}

/* ===== ANIMATIONS CHAT IA (ChatGPT style) ===== */

/* Typing Indicator (3 dots animés) */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  background: rgba(246, 247, 248, 1);
  border-radius: 20px;
  animation: fade-in 0.3s ease;
}

.typing-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.typing-dots .dot {
  width: 8px;
  height: 8px;
  background: #9ca3af;
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dots .dot:nth-child(1) {
  animation-delay: 0s;
}

.typing-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

/* Animation d'apparition des messages IA */
.message .assistant {
  animation: message-appear 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes message-appear {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================== */
/* Styles pour le contenu Markdown dans l'IA     */
/* ============================================== */

.message .assistant h1,
.message .assistant h2,
.message .assistant h3,
.message .assistant h4,
.message .assistant h5,
.message .assistant h6 {
  font-weight: 700;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  line-height: 1.3;
  color: #1a1a1a;
}

.message .assistant h1 { font-size: 1.6em; }
.message .assistant h2 { font-size: 1.4em; }
.message .assistant h3 { font-size: 1.2em; }
.message .assistant h4 { font-size: 1.05em; }

.message .assistant p {
  margin-bottom: 0.8em;
  line-height: 1.7;
  max-width: 100%;
}

.message .assistant strong {
  font-weight: 700;
}

.message .assistant em {
  font-style: italic;
}

.message .assistant ul,
.message .assistant ol {
  margin: 0.8em 0;
  padding-left: 1.5em;
  line-height: 1.7;
}

.message .assistant ul {
  list-style-type: disc;
}

.message .assistant ol {
  list-style-type: decimal;
}

.message .assistant li {
  margin-bottom: 0.5em;
  padding-left: 0.3em;
}

.message .assistant li::marker {
  color: #0A58A5;
  font-weight: 700;
}

.message .assistant ul ul,
.message .assistant ol ul,
.message .assistant ul ol,
.message .assistant ol ol {
  margin: 0.4em 0;
  padding-left: 1.5em;
}

.message .assistant blockquote {
  border-left: 4px solid #0A58A5;
  padding-left: 1em;
  margin: 1em 0;
  color: #555;
  font-style: italic;
  background: rgba(10, 88, 165, 0.05);
  padding: 0.8em 1em;
  border-radius: 0 8px 8px 0;
}

.message .assistant code {
  background: rgba(10, 88, 165, 0.08);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #0A58A5;
}

.message .assistant pre {
  background: #f5f7fa;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  padding: 1em;
  overflow-x: auto;
  margin: 1em 0;
}

.message .assistant pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

.message .assistant a {
  color: #0A58A5;
  text-decoration: underline;
  transition: color 0.2s;
}

.message .assistant a:hover {
  color: #073d75;
}

.message .assistant hr {
  border: none;
  border-top: 2px solid #dfe5ec;
  margin: 1.5em 0;
}

.message .assistant table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  overflow: hidden;
}

.message .assistant table th,
.message .assistant table td {
  padding: 0.75em 1em;
  text-align: left;
  border-bottom: 1px solid #dfe5ec;
}

.message .assistant table th {
  background: rgba(10, 88, 165, 0.08);
  font-weight: 700;
  color: #0A58A5;
}

.message .assistant table tr:last-child td {
  border-bottom: none;
}

.message .assistant table tr:hover {
  background: rgba(10, 88, 165, 0.03);
}

.projects-section .filters[disabled],
.projects-search-form input[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.projects-dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    overflow: scroll;
}

.projects-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.projects-stats__card {
    background: #fff;
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(223, 229, 236, 0.7);
    box-shadow: 0 8px 20px rgba(34, 54, 77, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.projects-stats__label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(110, 127, 147, 1);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.projects-stats__value {
    font-size: 28px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
}

.project-form-section {
    padding: 2rem 2.5rem 3rem;
}

.project-form-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
    align-items: flex-start;
}

.project-form-wrapper--single {
    grid-template-columns: minmax(0, 1fr);
}

.project-form-card {
    margin-top: 1rem;
}

.project-form-card textarea{
    resize: vertical;
}

.project-form-errors {
    background: rgba(255, 234, 230, 1);
    border: 1px solid rgba(255, 144, 102, 0.8);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.project-form-errors h2 {
    margin: 0 0 .75rem;
    font-size: 16px;
    font-weight: 700;
    color: rgba(176, 75, 47, 1);
}

.project-form-errors ul {
    margin: 0;
    padding-left: 1.25rem;
    color: rgba(176, 75, 47, 1);
    font-size: 14px;
}

.project-form label {
    font-weight: 600;
    color: rgba(34, 54, 77, 1);
    margin-bottom: .35rem;
    display: inline-block;
}

.project-form input[type="text"],
.project-form textarea {
    border: 1px solid rgba(223, 229, 236, 1);
    border-radius: 14px;
    padding: .75rem 1rem;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: rgba(34, 54, 77, 1);
    background: rgba(248, 250, 252, 1);
}

.project-form textarea {
    resize: none;
}
.project-form__group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.project-form__group--split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.project-form__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.project-form__actions .projects-page__cta {
    border: none;
    cursor: pointer;
}

.project-form-sidebar {
    background: #fff;
    border-radius: 24px;
    padding: 1.75rem;
    border: 1px solid rgba(223, 229, 236, 0.7);
    box-shadow: 0 12px 32px rgba(34, 54, 77, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-form-sidebar h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
}
.project-form-sidebar p {
    margin: 0;
    color: rgba(110, 127, 147, 1);
    font-size: 14px;
}

.project-form-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.project-form-sidebar li {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 600;
    color: rgba(34, 54, 77, 1);
}

.project-form__source {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem;
    margin-top: .75rem;
    border-radius: 999px;
    background: rgba(10, 88, 165, 0.12);
    color: rgba(10, 88, 165, 1);
    font-weight: 600;
    font-size: 13px;
}

.project-workspace {
    padding: 0 2.5rem;
    display: flex;
    flex-direction: column;
    overflow: scroll;
}

.workspace-header {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.workspace-header__left {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workspace-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(10, 88, 165, 1);
    text-decoration: none;
    font-weight: 600;
}

.workspace-back:hover {
    text-decoration: underline;
}

.workspace-title {
    font-size: 32px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
    margin: 0;
}
.workspace-subtitle {
    font-size: 16px;
    color: rgba(110, 127, 147, 1);
    margin: 0;
}
.workspace-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.workspace-tag {
    display: inline-flex;
    align-items: center;
    padding: .4rem .9rem;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.workspace-tag--stage {
    background: rgba(10, 88, 165, 0.1);
    color: rgba(10, 88, 165, 1);
}

.workspace-tag--status {
    background: rgba(223, 229, 236, 1);
    color: rgba(76, 89, 104, 1);
}

.workspace-tag--category {
    background: rgba(37, 190, 110, 0.15);
    color: rgba(22, 141, 81, 1);
}

.workspace-header__right {
    flex: 1 1 260px;
    display: flex;
    justify-content: flex-end;
}

.workspace-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.75rem;
    border: 1px solid rgba(223, 229, 236, 0.7);
    box-shadow: 0 12px 32px rgba(34, 54, 77, 0.08);
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workspace-card h2,
.workspace-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
}

.workspace-card p {
    margin: 0;
    color: rgba(110, 127, 147, 1);
    font-size: 14px;
    line-height: 1.5;
}

.workspace-card--muted {
    background: rgba(248, 250, 252, 1);
}

.workspace-progress {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.workspace-progress__bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(223, 229, 236, 1);
    overflow: hidden;
}

.workspace-progress__bar span {
    display: block;
    height: 100%;
    background: rgba(10, 88, 165, 1);
    border-radius: 999px;
}

.workspace-progress__text {
    margin: 0;
    font-size: 14px;
    color: rgba(76, 89, 104, 1);
}

.workspace-body {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: flex-start;
}

.workspace-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.workspace-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    background: #fff;
    border-radius: 24px;
    padding: 1.75rem;
    border: 1px solid rgba(223, 229, 236, 0.6);
    box-shadow: 0 8px 24px rgba(34, 54, 77, 0.06);
    margin-top: 2rem;
}

.workspace-overview h3 {
    margin: 0 0 .75rem;
    font-size: 16px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
}

.workspace-overview p {
    margin: 0;
    color: rgba(76, 89, 104, 1);
    font-size: 14px;
    line-height: 1.6;
}


.workspace-step {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    border: 2px solid rgba(223, 229, 236, 0.6);
    box-shadow: 0 4px 16px rgba(34, 54, 77, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.workspace-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 54, 77, 0.12);
}

/* Module complété - Style noir */
.workspace-step--completed {
    border-color: rgba(34, 54, 77, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(248, 250, 252, 0.5) 100%);
}

.workspace-step--completed .workspace-step__index {
    background: linear-gradient(135deg, #22364D 0%, #1A202C 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(34, 54, 77, 0.25);
}

.workspace-step--completed .workspace-step__index svg {
    color: #fff;
}

.workspace-step--completed .workspace-step__content h3 {
    color: rgba(34, 54, 77, 1);
}

/* Module en cours - Style bleu */
.workspace-step--in-progress {
    border-color: rgba(10, 88, 165, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, rgba(235, 245, 255, 0.4) 100%);
    box-shadow: 0 6px 20px rgba(10, 88, 165, 0.15);
}

.workspace-step--in-progress::before {
    background: linear-gradient(90deg, #0A58A5 0%, #084A8A 100%);
}

.workspace-step--in-progress .workspace-step__index span {
    background: linear-gradient(135deg, #0A58A5 0%, #084A8A 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(10, 88, 165, 0.3);
}

.workspace-step--in-progress .workspace-step__content h3 {
    color: rgba(10, 88, 165, 1);
}

/* Module bloqué - Style gris */
.workspace-step--locked {
    border-color: rgba(209, 213, 219, 0.6);
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    opacity: 0.85;
    cursor: not-allowed;
}

.workspace-step--locked::before {
    background: linear-gradient(90deg, #D1D5DB 0%, #9CA3AF 100%);
}

.workspace-step--locked:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(34, 54, 77, 0.08);
}

.workspace-step--locked .workspace-step__index {
    background: rgba(209, 213, 219, 0.3);
    color: rgba(156, 163, 175, 1);
}

.workspace-step--locked .workspace-step__index svg {
    color: rgba(156, 163, 175, 1);
}

.workspace-step--locked .workspace-step__content h3 {
    color: rgba(107, 114, 128, 1);
}

.workspace-step--locked .workspace-step__status {
    color: rgba(156, 163, 175, 1);
}

/* Header avec index et badge */
.workspace-step__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.workspace-step__index {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: rgba(10, 88, 165, 0.1);
    color: rgba(10, 88, 165, 1);
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.workspace-step__index span {
    font-weight: 700;
    font-size: 16px;
}

.workspace-step__index svg {
    width: 20px;
    height: 20px;
    color: currentColor;
}

.workspace-step__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.workspace-step__badge--in-progress {
    background: rgba(10, 88, 165, 0.15);
    color: rgba(10, 88, 165, 1);
}

.workspace-step__badge--completed {
    background: rgba(16, 185, 129, 0.15);
    color: rgba(5, 150, 105, 1);
}

.workspace-step__content {
    flex: 1;
}

.workspace-step__content h3 {
    margin: 0 0 0.5rem;
    font-size: 18px;
    font-weight: 700;
    color: rgba(34, 54, 77, 1);
    transition: color 0.3s ease;
}

.workspace-step__status {
    margin: 0.5rem 0 0;
    color: rgba(110, 127, 147, 1);
    font-size: 13px;
    font-weight: 500;
}

.workspace-step__description {
    margin: 0.75rem 0 0;
    color: rgba(76, 89, 104, 1);
    font-size: 14px;
    line-height: 1.6;
}

.workspace-step__actions {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.workspace-step__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
    height: 44px;
    border-radius: 12px;
    background: rgba(10, 88, 165, 1);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.workspace-step__cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.workspace-step__cta span {
    color: inherit;
}

.workspace-step__cta:hover {
    background: rgba(8, 72, 134, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 88, 165, 0.3);
}

.workspace-step__cta--primary {
    background: rgba(10, 88, 165, 1);
    color: #fff;
}

.workspace-step__cta--completed {
    background: rgba(34, 54, 77, 0.08);
    color: rgba(34, 54, 77, 1);
    border: 1.5px solid rgba(34, 54, 77, 0.2);
}

.workspace-step__cta--completed:hover {
    background: rgba(34, 54, 77, 0.15);
    border-color: rgba(34, 54, 77, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 54, 77, 0.15);
}

.workspace-step__cta--completed svg {
    color: rgba(34, 54, 77, 1);
}

.workspace-step__cta--disabled {
    pointer-events: none;
    background: rgba(243, 244, 246, 1);
    color: rgba(156, 163, 175, 1);
    border: 1.5px solid rgba(229, 231, 235, 1);
    cursor: not-allowed;
}

.workspace-step__cta--disabled svg {
    color: rgba(156, 163, 175, 1);
}

.workspace-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .project-form-wrapper {
        grid-template-columns: 1fr;
    }

    .project-form-sidebar {
        order: -1;
    }

    .workspace-body {
        grid-template-columns: 1fr;
    }

    .workspace-header__right {
        justify-content: flex-start;
    }
}

.message-form .form-validated-buttons{
    width: 69%;
}

.message-form .form-validated-buttons input{
    display: flex;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 52px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    width: 50%;
    background: #0A58A5;
    color: #fff;
    border: none;
}

.message-form .form-validated-buttons a{
    background: #fff;
    color: #0A58A5;
    border: 1px solid #0A58A5;
    width: 39%;
}

@media (max-width: 1024px) {
    .project-form-wrapper {
        grid-template-columns: 1fr;
    }

    .project-form-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .projects-page {
        padding: 1.5rem;
    }

    .projects-page__intro {
        flex-direction: column;
        align-items: stretch;
    }

    .projects-page__cta {
        width: 100%;
        justify-content: center;
    }

    .projects-section .header {
        flex-direction: column;
        align-items: stretch;
    }

    .projects-section .header .left {
        align-items: flex-start;
    }

    .projects-section .header .right {
        flex-direction: column;
        align-items: stretch;
    }

    .projects-header__cta,
    .projects-section .filters,
    .projects-search-form {
        width: 100%;
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-workspace {
        padding: 1.5rem;
    }

    .workspace-header {
        flex-direction: column;
    }

    .workspace-header__right {
        width: 100%;
    }

    .workspace-step {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .workspace-step__actions {
        justify-content: flex-start;
    }

    .trend-body{
        flex-direction: column;
    }

    .trend-body .left{
        width: 100% !important;
    }

    .trend-body .right{
        width: 100% !important;
    }

    .message p{
        width: 100% !important;
        max-width: 100% !important;
    }
}

.print-qr-button{
    background: #0A58A5;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 90%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px auto;
    margin-bottom: 40px;
}

.share-idea{
    background: #0A58A5;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 90%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px auto;
    margin-bottom: 40px;
}

.share-idea span{
    color: #fff;
}

.main-section {
    width: 80%;
    transition: width 0.4s ease;
}

.main-section header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
}

.main-section header .left{
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-handler, #menu-toggle{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 12px;
    width: 44px;
    height: 44px;
    background-color: transparent;
}

.sidebar-handler .arrow, #menu-toggle .arrow{
    width: 19px;
    border-right: 1px solid rgba(223, 229, 236, 1);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-handler .arrow i{
    color: rgba(10, 88, 165, 1)
}

.main-section header .left .new-chat{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 15px;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 10px;
    background-color: transparent;
}

.main-section header .left .new-chat span{
    font-family: Open Sans;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.main-section header .right{
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-section header .right .wtsp{
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 15px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 15px;
}

.main-section header .right .wtsp span{
    font-weight: 700;
    font-size: 14px;
    color: rgba(49, 74, 33, 1);
}

.main-section header .right .login{
    height: 44px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    background: rgba(10, 88, 165, 1);
    border-radius: 15px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.main-section header .right .lang{
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    height: 44px;
    width: 44px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.user-drop{
    position: relative;
}

.main-section header .right .lang .current{
    font-weight: 700;
    font-size: 14px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.user-drop .current{
    display: flex;
    align-items: center;
    gap: 40px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(143.83deg, #DFE5EC 11.42%, #FFFFFF 75.57%);
    padding: 0 10px;
}

.user-drop .current div{
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-drop .current span{
    font-weight: 700;
    font-size: 14px;
    line-height: 12px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.user-drop .current i{
    color:  rgba(10, 88, 165, 1)
}

.lang-list.hidden, .user-list.hidden{
    display: none;
}

.lang-list, .user-list{
    position: absolute;
    top: 120%;
    width: 170px;
    background: #FFF;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 22px 0;
    z-index: 9999;
    right: 0;
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    display: flex;
    flex-direction: column;
    padding:  15px 30px;
    gap: 10px;
}

.lang-list a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.main-section .content{
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    border-radius: 25px;
    background: rgba(255, 255, 255, 1);
    margin-top: 1.5rem;
    height: calc(100vh - 120px);
    border-radius: 25px;
    position: relative;
}

.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 77px;
    background: linear-gradient(180deg, #E6ECF5 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    border-radius: 25px 25px 0 0;
    padding: 0 15px;
    position: sticky;
    top: 0;left: 0;right: 0;
}

.header .left{
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .left .logo{
    width: 46px;
    height: 46px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1))
}

.header .left .logo img{
    width: 21.870731353759766px;
    height: 25.99973487854004px;
}

.header .left .title-section h1{
    font-weight: 700;
    font-size: 16px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.header .left .title-section h1 span{
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.header .left .title-section p{
    font-size: 12px;
    font-weight: 600;
    color: var(--Color-vert, rgba(89, 178, 36, 1));
}

.header .right .pers{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border-radius: 15px;
    height: 39px;
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1))
}

.header .right .pers span{
    font-size: 14px;
    font-weight: 700;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));

}

.main-section.full{

}

.chevron {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
    cursor: pointer;
}
  
.chevron.rotated {
    transform: rotate(180deg);
}

/*----------------------ACCUEIL------------------*/

.home-content{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 70px;
    height: calc(100% - 160px);
    overflow: scroll;
}

.home-content section.first, .opps{
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.home-content section .left, .home-content section.first .right, .opps .left, .opps .right{
    width: 50%;
}

.home-content section.first .left, .opps .left{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 25px;
    padding: 15px 22px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
}

.home-content section.first .left h2{
    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.home-content section.first .left img{
    width: 100%;
    height: 183px;
    border-radius: 15px;
    margin-top: 10px;
}
.home-content section.first .left h3{
    margin: 15px 0;
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.home-content section.first .left p{
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}
.explore-idea-link, .explore-recherche-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 12px 24px;
    background: rgba(10, 88, 165, 1);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.explore-idea-link span, .explore-recherche-link span{
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

.explore-idea-link:hover, .explore-recherche-link:hover{
    background: rgba(10, 88, 165, 0.9);
    box-shadow: 0px 4px 12px 0px rgba(10, 88, 165, 0.3);
}

.home-content section.first .right .redirect-links{
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}
.home-content section.first .right .redirect-links .link{
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid #DFE5EC; /* épaisseur de la bordure */
    border-radius: 25px;
    padding: 42px 34px;
    height: 50%;
}

.home-content section.first .right .redirect-links .link .image-container{
    width: 113px;
    height: 113px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 38.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}
.home-content section.first .right .redirect-links .link .image-container img{
    width: 60px;
}

.home-content section.first .right .redirect-links .link span{
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0%;
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    width: 50%;
}

.home-content section .head{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-content section .head h2{
    display: flex;
    align-items: center;
    font-size: 32px;
    font-weight: 700;
    gap: 10px;
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.home-content section .head .navigation{
    display: flex;
    align-items: center;
    gap: 10Px;
}

.home-content section.second .head .navigation button{
    background: rgba(246, 247, 248, 1);
    border: 1px solid rgba(223, 229, 236, 1);
    width: 43px;
    height: 34px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transition: all .2s ease;
}

.home-content section.second .head .navigation button i{
    color: rgba(10, 88, 165, 1);
}

.home-content section.second .head .navigation button:hover{
    background-color: #0A58A5;
}
.home-content section.second .tendances .tendance{
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid #fff;
    background: rgba(246, 247, 248, 1);
    border-radius: 25px;
    padding: 26px 25px;
    display: flex;
    align-items: stretch;
    gap: 40px;
}
.home-content .recherche{
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid #fff;
    background: rgba(246, 247, 248, 1);
    border-radius: 25px;
    padding: 26px 25px;
    margin-top: 15px;
}
.home-content section.second .tendances .tendance img{
    width: 40%;
    height: 336px;
    border-radius: 25px;
}

.home-content section.second .tendances .tendance h3{
    font-family: Open Sans;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.home-content section.second .tendances .tendance .tendance-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-content section.second .tendances .tendance p{
    margin: 15px 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.tags{
    display: flex;
    align-items: center;
    gap: 10px;
}

.tag{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    background: rgba(255, 255, 255, 1);
    border-radius: 10px;
    padding: 5px 16px;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--Color0, rgba(68, 89, 114, 1));
}

.home-content .chiffres{
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.scoring {
    padding-bottom: 2rem;
}

.home-content .chiffres .chiffre{
    width: 33%;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 10px;
    padding: 14px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.home-content .chiffres .chiffre h4{
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0%;
    background: linear-gradient(
    168.92deg,
    #E8F5E1 -1.09%,
    #EFE3D2 47.74%,
    #DDE9F5 100.12%
    );
    -webkit-background-clip: text; /* clippe le dégradé sur le texte */
    -webkit-text-fill-color: transparent; /* texte transparent pour voir le dégradé */
    background-clip: text;
    color: transparent; /* fallback */
    /* bordure (contour) autour des lettres */
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1); /* support partiel hors WebKit */
    line-height: 30px;
    text-align: center;
}

.home-content .chiffres .chiffre p{
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 20px !important;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
    margin: 0 !important;

}

a.going-throught{
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(246, 247, 248, 1);
    padding: 6px 27px;
    border-radius: 20px;
    border: 1px solid rgba(211, 224, 237, 1);
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
}

a.going-throught span, a.going-throught i{
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color-2, rgba(10, 88, 165, 1));
}

.opps{
    margin-top: 15px;
}

.opps .left img{
    width: 100%;
    height: 222px;
    border-radius: 15px;
}

.opps .left h3{
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
    margin: 10px 0;
}

.opps .left div, .opp-text div{
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    padding: 9px 16px;
    border-radius: 8px;
    width: fit-content;
}

.opps .left div span, .opp-text div span{
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.other-opps{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.other-opps .opp{
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(223, 229, 236, 1);
    padding: 23px 21px;
    display: flex;
    gap: 15px;
}

.other-opps .opp img{
    width: 30%;
    height: 144px;
    border-radius: 15px;
}

.opp-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.opp-text h4{
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.home-content .recherche .top{
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.home-content .recherche .top img{
    width: 25%;
    height: 218px;
}



.home-content .recherche .top .recherche-content .title{
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-content .recherche .top .recherche-content .title h3{
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 0%;
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1);
    line-height: 18px;
}
.home-content .recherche .top .recherche-content .title h4{
    font-weight: 700;
    font-size: 16px;
    line-height: 12px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.home-content .recherche .top .recherche-content h5{
    margin: 25px 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.home-content .recherche .top .recherche-content p{
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.home-content .recherche .top .recherche-content .tags{
    margin-top: 15px;
}

.home-content .recherche .bottom{
    margin-top: 20px;
    display: flex;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 15px;
    padding: 15px 20px;
}

.home-content .recherche .bottom h6{
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}




.home-content .recherche .bottom .left .collabos, .home-content .recherche .bottom .right .teams, .ins-top .collabos, .ins-top .teams, .search-content .left .collabos{
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.ins-top .bottom{
    margin-top: 20px;
}

.home-content .recherche .bottom .left .collabos .collabo, .ins-top .collabos .collabo, .search-content .left .collabos .collabo{
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-content .recherche .bottom .left .collabos .collabo img{
    width: 24px;
    height: 24px;
}

.home-content .recherche .bottom .left .collabos .collabo span, .ins-top .collabos .collabo span, .search-content .left .collabos .collabo span{
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.home-content .recherche .bottom .right{
    padding-left: 1rem;
    border-left: 1px solid var(--stroke-1, rgba(223, 229, 236, 1))
}

.home-content .recherche .bottom .right .teams .team, .ins-top .teams .team{
    padding: 7px 20px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    background: rgba(255, 255, 255, 1);
    border-radius: 5px;
    text-align: center;
}

.home-content .recherche .bottom .right .teams .team span, .ins-top .teams .team span{
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 12px;
}

section.second .double{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

section.second .double .block, section.second .double .block2{
    width: 50%;
    background: rgba(246, 247, 248, 1);
    padding: 19px 23px;
    border-radius: 20px;
    border: 1px solid #fff;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
}

section.second .double .block .top{
    display: flex;
    justify-content: space-between;
}

section.second .double .block2 .top{
    display: flex;
    align-items: center;
    gap: 20px;
}

section.second .double .block2 .top img{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 10px;
}

section.second .double .block .top img{
    width: 149px;
    height: 132px;
    border-radius: 15px;
}

section.second .double .block .top .title{
    width: 104px;
    height: 40px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.second .double .block .top .title h3{
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    font-size: 20px;
}

section.second .double .block2 .top h3{
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

section.second .double .block2 p{
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
    margin-top: 15px;
}

section.second .double .block2 .chiffres{
    margin-top: 3rem
}

section.second .double .block2 .chiffres .chiffre h4{
    font-size: 24px;
}

section.second .double .block2 .chiffres .chiffre p{
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

section.second .double .block h4{
    font-weight: 700;
    font-size: 24px;
    line-height: 38px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
    margin-top: 30px;
}

.tendance-details .free{
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.tendance-details .free h3{
    font-weight: 700;
    font-size: 18px;
    line-height: 31px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.tendance-details .free .free-word{
    background: rgba(89, 178, 36, 0.1);
    border: 1px solid rgba(89, 178, 36, 1);
    padding: 9px 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 12px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.tendance-details .avis {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    padding: 9px 18px;
    border-radius: 10px;
    margin-top: 15px;
    width: 70%;
}

.tendance-details .avis  .stars{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 50%;
}

.tendance-details .avis  .stars img{
    width: 14px !important;
    height: 14px !important;
}

.tendance-details .avis  .stars span{
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0%;
    color: var(--Color0, rgba(68, 89, 114, 1));
}

.tendance-details .avis  .stars:last-child{
    border-left: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    padding-left: 1rem;
    width: 50%;
}
.tendance-details .people{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.tendance-details .people img{
    width: 30px !important;
    height: 30px !important;
}

.tendance-details .people h5{
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.tendance-details .people .status{
    border: 1px solid rgba(89, 178, 36, 1);
    padding: 9px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tendance-details .people .status span, .tendance-details .people .status i{
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0%;
    color: rgba(89, 178, 36, 1);
}






/*----------------------END------------------*/


/*----------------------chat------------------*/


.chat-body{
    width: 69%;
    margin: 0 auto;
    height: calc(100% - 210px);
    overflow: scroll;
    padding-top: 2rem;
}

.chat-body .date{
    display: flex;
    align-items: center;
    gap: 2rem;
}

.chat-body .date h2{
    font-weight: 700;
    font-size: 12px;
    color: var(--Variable-texte-3, rgba(132, 148, 167, 1));
}

.chat-body .date .line{
    border: .5px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    width: 80%;
}

.chat-body h3{
    font-weight: 700;
    font-size: 20px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
    line-height: 32px;
    margin-top: 1rem;
}

.suggestions{
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}

.suggestion-item{
    border: 1px solid #fff;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    background: rgba(246, 247, 248, 1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    height: 54px;
    cursor: pointer;
}

.suggestion-item.active{
    background: rgba(10, 88, 165, 0.08);
    border: 1px solid var(--Bleu, rgba(10, 88, 165, 1))
}

.suggestion-item .image{
    background: rgba(255, 255, 255, 1);
    width: 34px;
    height: 34px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggestion-item span{
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: var(--Variable-texte-3, rgba(132, 148, 167, 1));
}

.suggestion-item.active span{
    color: var(--Bleu, rgba(10, 88, 165, 1));
}

.messages{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-bottom: 2rem;
}

.message{  
    width: 100%;
}

.message p{
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
    max-width: 74%;
}

.user{
    display: flex;
    align-items: center;
    justify-content: end;
    width: fit-content;
    width: 100%;
}
.user p{
    background: rgba(235, 243, 250, 1);
    border: 1px solid #fff;
    padding: 13px 26px;
    border-radius: 15px 15px 2px 15px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
}

.message-form{
    height: 101px;
    background: linear-gradient(0deg, #E6ECF5 -37.62%, #FFFFFF 100%);
    border-top: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.message-form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 0 0 25px 25px;
}

.message-form .image{
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    width: 54px;
    height: 54px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.message-form form{
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    height: 54px;
    background-color: #fff;
    width: 80%;
    border-radius: 20px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.message-form form input{
    width: 90%;
    height: 100%;
    border: none;
    border-radius: 20px;
    margin-left: 20px;
}

.message-form form button{
    width: 46px;
    height: 46px;
    background: rgba(10, 88, 165, 1);
    border: none;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.voice-msg{
    background: rgba(235, 243, 250, 1);
    border: 1px solid #fff;
    padding: 13px 26px;
    border-radius: 15px 15px 2px 15px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    width: 40%;
    display: flex;
    gap: .5rem;
    align-items: center;
}

.voice-msg button{
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
}

.voice-track {
    flex: 1;
    height: 1.5px;
    background: #fff;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.voice-progress {
    height: 100%;
    width: 0%;
    background: rgba(10, 88, 165, 1);
    border-radius: 3px;
}

.voice-msg span{
    font-weight: 600;
    font-size: 12px;
    color: var(--Variable-Texte-1, rgba(56, 77, 100, 1));
}

.multi-messages{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.multi-messages .message{
    margin-bottom: 0;
}
.scoring h4{
    font-weight: 700;
    font-size: 28px;
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* pour compatibilité Firefox */
    background-clip: text;
    color: transparent;
}
.scoring .scoring-content .head{
    display: flex;
    align-items: center;
    gap: 2rem;
}
.scoring .scoring-content .head .score{
    border: 2px solid #fff; 
    background: rgba(246, 247, 248, 1);
    height: 108px;
    display: flex;
    justify-content: center;
    border-radius: 25px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    font-size: 24px;
    color: var(--Color-vert, rgba(89, 178, 36, 1));
    display: flex;
    align-items:center;
    line-height: 150%;
    padding: 0 1.5rem;
}
.scoring .scoring-content .head .score div{
    display: flex;
    align-items: last baseline;
    justify-content: center;
    color: var(--Color-vert, rgba(89, 178, 36, 1));

}
.scoring .scoring-content .head .score span{
    font-size: 48px;
    color: var(--Color-vert, rgba(89, 178, 36, 1));
    line-height: 100%;
}

.scoring .scoring-content .head p{
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.scoring .scoring-content .stats{
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.scoring .scoring-content .stats .stat{
    background: rgba(246, 247, 248, 1);
    border: 1px solid #fff;
    border-radius: 20px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    padding: 17px 21px;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.scoring .scoring-content .stats .stat h5{
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
}

.scoring .scoring-content .stats .stat .progression{
    display: flex;
    align-items: center;
    gap: 1rem;

}

.scoring .scoring-content .stats .stat .progression .progress-bar{
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    background-color: #fff;
    height: 8px;
    width: 100%;
    border-radius: 20px;
}

.scoring .scoring-content .stats .stat .progression .progress-bar .progress{
    background: rgba(89, 178, 36, 1);
    height: 100%;
    border-radius: 20px;
}

.scoring .scoring-content .stats .stat .progression .progress-bar .progress.mid{
    background: var(--Orange, rgba(255, 153, 0, 1));

}

.scoring .scoring-content .stats .stat .progression .progress-bar .progress.weak{
    background: rgba(252, 18, 27, 1);
}

.scoring .scoring-content .stats .stat .progression span{
    color: var(--Variable-texte-2, rgba(88, 109, 133, 1));
    font-size: 12px;
    font-weight: 500;
}

.recommandations{
    margin-top: 3rem;
}

.recommandations h5{
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.recommandations .reco-items{
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recommandations .reco-items .reco-item{
    border: 1px solid var(--Contour-Color, rgba(223, 229, 236, 1));
    border-radius: 20px;
    padding: 15px 25px;
}

.recommandations .reco-items .reco-item h6{
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0%;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
}

.recommandations .reco-items .reco-item p{
    font-size: 14px;
    color: var(--Color-Texte, rgba(34, 54, 77, 1));
    font-weight: 400;
}

.message-form__button i{
    color: #fff;
}








/*----------------------END------------------*/


/*----------------------recherches------------------*/

.research-section{
    margin-top: 1.5rem;
    height: calc(100vh - 120px);
}

.research-section .title{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .title a{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .title a span{
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.research-section .title h2{
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.research-section .body{
    background: linear-gradient(180deg, #DFE5EC -0.64%, #FFFFFF 16.83%);
    margin-top: 20px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 20px;
    height: calc(100vh - 250px);
    padding: 40px 70px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
    overflow: scroll;
}

.research-section .body h3{
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0%;
    background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.research-section .body .stats{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.research-section .body .stats .stat{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .body .stats .stat h4{
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0%;
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1);
    line-height: 18px;
}

.research-section .body .stats .stat span{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: var(--Color0, rgba(68, 89, 114, 1));
}

.research-section .body .filters{
    margin-top: 40px;
}

.research-section .body .filters .top{
    display: flex;
    align-items: center;
    gap: 20px;
}

.research-section .body .filters .top .search{
    width: 60%;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    height: 44px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
}

.research-section .body .filters .top .search input{
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;

}

.research-section .body .filters .top .filter-tabs{
    width: 40%;
    padding-left: 20px;
    border-left: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    display: flex;
    align-items: center;
    height: 44px;
}

.research-section .body .filters .top .filter-tabs .tabs{
    height: 44px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 10px;
    width: 100%;
    display: flex;
    padding: 5px;

}

.research-section .body .filters .top .filter-tabs .tabs .tab{
    width: 33%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
    border-radius: 5px;

}

.research-section .body .filters .top .filter-tabs .tabs .tab.active{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    background: rgba(255, 255, 255, 1);
    color: var(--Color-2, rgba(10, 88, 165, 1));
}

.research-section .body .filters .bottom{
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.research-section .body .filters .bottom .left{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .body .filters .bottom .left .filter{
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    height: 38px;
    padding: 0 18px;
    border-radius: 10px;
}

.research-section .body .filters .bottom .left .filter span{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: var(--Color0, rgba(68, 89, 114, 1));
}

.research-section .body .filters .bottom .left .filter .filter-count{
    background: var(--Color1, rgba(34, 50, 69, 1));
    width: 20px;
    height: 20px;
    border-radius: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.research-section .body .filters .bottom .left .filtered{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .body .filters .bottom .left .filtered .item{
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(246, 247, 248, 1);
    padding: 0 12px;
    height: 38px;
    border-radius: 20px;
}

.research-section .body .filters .bottom .left .filtered .item span{
    font-weight: 500;
    font-size: 14px;
}

.research-section .body .filters .bottom .right button{
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    height: 38px;
    padding: 0 20px;
    border-radius: 10px;
    background-color: transparent;
}

.research-section .body .filters .bottom .right button span{
    font-weight: 700;
    font-size: 14px;
    color: var(--Color2, rgba(110, 127, 147, 1));
}

.research-section .recherches{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-top: 30px;
}

.research-section .recherches .recherche{
    background: rgba(246, 247, 248, 1);
    border: 1px solid #fff;
    padding: 15px 20px;
    border-radius: 20px;
}

.research-section .recherches .recherche .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.research-section .recherches .recherche .top .title{
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-section .recherches .recherche .top .title h4{
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 0%;
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1);
    line-height: 18px;
}

.research-section .recherches .recherche .top .title p{
    color: var(--Color1, rgba(34, 50, 69, 1));
    font-weight: 700;
    font-size: 14px;
}

.research-section .recherches .recherche .top  a{
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    height: 32Px;
    padding: 0 14px;
    border-radius: 10px;
}

.research-section .recherches .recherche .top  a span{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: var(--Color-2, rgba(10, 88, 165, 1));
}

.search-body{
    margin-top: 20px;
}

.search-body h5{
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0%;
    color: var(--Color1, rgba(34, 50, 69, 1));
}

.search-body p{
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));
    margin-top: 15px;
}

.search-body .tags{
    margin-top: 15px;
}

.search-bottom{
    border: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
    border-radius: 15px;
    margin-top: 15px;
    padding: 20px;
}

.search-bottom h6{
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0%;
    color: var(--Color2, rgba(110, 127, 147, 1));

}

.recherche-resume{
    margin-top: 20px;
    padding: 9px 0 9px 0;
    border-radius: 15px;
    border: 1px solid var(--stroke-1, #DFE5EC);
}

.recherche-resume .head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 53px;
    border-bottom: 1px solid var(--stroke-1, #DFE5EC);
    padding: 0 20px;
}

.recherche-resume .head h4{
    color: var(--Color1, #223245);
    font-size: 14px;
    font-weight: 700;
    line-height: 23px; /* 164.286% */
}

.recherche-resume .head a{
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 6px 14px;
}

.recherche-resume .head a span{
    color: var(--Color-2, #0A58A5);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
}

.recherche-resume .body {
    padding: 24px 29px;
}

.recherche-resume .body .search-content {
    display: flex;
    gap: 16px;
    align-items: stretch;
    margin-top: 20px;
}

.recherche-resume .body h5{
    color: var(--Color1, #223245);
    font-size: 14px;
    font-weight: 700;
    line-height: 24px; /* 171.429% */
}

.recherche-resume .body .left{
    padding: 14px 19px;
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    width: 80%;
}

.recherche-resume .body .left h6{
    color: var(--Color2, #6E7F93);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
}

.recherche-resume .body .left .publish{
    color: var(--Color0, #445972);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px; /* 150% */
    margin-top: 31px;
}

.recherche-resume .body .right{
    padding: 27px 22px;
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.recherche-resume .body .right h6{
    font-weight: 700;
    font-size: 48px;
    letter-spacing: 0%;
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1);
    line-height: 35px;
    text-align: center;
}

.recherche-resume .body .right span{
    color: var(--Color1, #223245);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px; /* 100% */
    text-align: center;
}

.trend-body{
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 25px 27px;
}

.trend-body .ressources-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 13px;
    grid-row-gap: 13px;
    margin-top: 5px;

}

.trend-body .left{
    width: 70%;
}

.trend-body .left h5{
    color: var(--Color-Texte, #22364D);
    font-size: 20px;
    font-weight: 700;
    line-height: 36px; /* 180% */
}

.trend-body .left p{
    color: var(--Color2, #6E7F93);
    font-size: 14px;
    font-weight: 500;
    line-height: 26px; /* 185.714% */
    margin: 15px 0;
}

.trend-body .right{
    width: 30%;
}

.trend-body .right .chiffres{
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 100%;
}
.trend-body .right .chiffres .chiffre{
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 0 20px;
    height: 60px;
    display: flex;
    gap: 10px;
    justify-content: start;
    align-items: center;
}
.trend-body .right .chiffres .chiffre h4{
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0%;
    background: linear-gradient(168.92deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 50, 69, 1);
    text-stroke: 1px rgba(34, 50, 69, 1);
    line-height: 27px;
}
.trend-body .right .chiffres .chiffre p{
    color: var(--Color2, #6E7F93);
    font-size: 12px;
    font-weight: 700;
    line-height: 20px; /* 166.667% */
}

.cartographie .header .right .tabs{
    display: flex;
    align-items: center;
    height: 40px;
    width: 248px;
    border-radius: 10px;
    background: #F6F7F8;
    padding: 5px;
}
.cartographie .header .right .tabs .tab{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    cursor: pointer;
}

.cartographie .header .right .tabs .tab.active{
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
}


.cartographie .header .right .tabs .tab span{
    color: var(--Color2, #6E7F93);
    font-size: 14px;
    font-weight: 700;
    line-height: 16px; /* 114.286% */
}


.cartographie .header .right .tabs .tab.active span{
    color: var(--Color-2, #0A58A5);
}
.cartographie-content{
    padding: 22px;
    height: calc(100% - 120px);
    overflow: scroll;
}

.cartographie-content .cart-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cartographie-content .cart-title h2{
    color: var(--Color2, #6E7F93);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
}

.cartographie-content .cart-title h2 span{
    color: var(--Color-2, #0A58A5);
}

.cart-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.generate-btn {
    border-radius: 10px;
    border: 1px solid #0A58A5;
    background: linear-gradient(135deg, #0A58A5 0%, #1e88e5 100%);
    padding: 9px 21px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 88, 165, 0.3);
}

.generate-btn i {
    color: white;
    font-size: 14px;
}
.generate-btn span {
    color: white;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
}
.cartographie-content .cart-title .filtre{
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 9px 21px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cartographie-content .cart-title .filtre span{
    color: var(--Color2, #6E7F93);
    font-size: 14px;
    font-weight: 700;
    line-height: 22px; /* 157.143% */
}
.carte-container {
    display: flex;
    height: 590px;
    overflow: hidden;
    background: #f9fafb;
    border-radius: 20px;
    margin-top: 20px;
  }
  
#map {
    flex: 2;
    border-radius: 20px;
    background: #F6F7F8;
    border: 1px solid var(--stroke-1, #DFE5EC);
}
  .liste-opportunites {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fff;
    border-left: 1px solid #eee;
    display: none;
  }
  
  .liste-opportunites h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .card-opportunite {
    background: #f8fafc;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
  }
  
  .card-opportunite:hover {
    transform: scale(1.02);
  }

  .custom-marker .dot {
    border-radius: 12.5px;
    border: 1px solid var(--Color1, #223245);
    background: var(--gr9, linear-gradient(169deg, #E8F5E1 -1.09%, #EFE3D2 47.74%, #DDE9F5 100.12%));
    /* gr1 */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
    width: 25px;
    height: 25px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .leaflet-container {
    background-color: #dbeafe; /* bleu clair océan */
  }

  .leaflet-bottom.leaflet-right, .leaflet-bottom {
    display: none !important;
}

/* --- Marqueurs --- */
.custom-marker {
    background: none;
    border: none;
  }
  
  .custom-marker .dot img {
    object-fit: contain;
    transition: transform 0.2s ease;
  }
  
  .custom-marker .dot img:hover {
    transform: scale(1.15);
  }
  
  /* --- Popup général --- */
  .leaflet-popup-content-wrapper {
    border-radius: 14px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15) !important;
    background: #ffffff;
    border: none;
  }
  
  .leaflet-popup-tip {
    background: white !important;
  }
  
  /* --- Marqueur inchangé --- */
.custom-marker {
    background: none;
    border: none;
  }
  .custom-marker img {
    transition: transform 0.2s ease;
  }
  .custom-marker img:hover {
    transform: scale(1.15);
  }
  
  /* --- Overlay & Modal --- */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-in-out;
  }
  
  .modal-overlay.hidden {
    display: none;
  }

  .modal-header{
    border: 1px solid var(--stroke-1, #DFE5EC);
    background: var(--Linear, linear-gradient(144deg, #DFE5EC 11.42%, #FFF 75.57%));
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-header h1{
    color: var(--Color1, #223245);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
  }
  
  .modal-content {
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.3s ease;
    height: 65vh;
    overflow-y: auto;
    position: relative;
  }

  .modal-footer {
    height: 77px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--stroke-1, #DFE5EC);
  }

  .modal-footer a{
    border-radius: 15px;
    background: #0A58A5;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 80%;
  }

  .modal-footer a span{
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px; /* 125% */
    }
  
  .modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #374151;
    cursor: pointer;
    font-size: 22px;
  }

  .modal-body{
    height: calc(65vh - 51px - 77px - 60px);
    overflow-y: auto;
    padding: 30px;
  }
  
  /* --- Contenu --- */
  .modal-body h2 {
    color: var(--Color-2, #0A58A5);
    font-size: 18px;
    font-weight: 700;
    line-height: 24px; /* 133.333% */
  }
  
  .modal-body .description {
    color: var(--Color2, #6E7F93);
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    margin-top: 10px;
  }
  
  .modal-section h3 {
    margin-top: 20px;
    color: var(--Color1, #223245);
    font-size: 14px;
    font-weight: 700;
    line-height: 22px; /* 157.143% */
  }
  
  .ressources-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 13px;
    grid-row-gap: 13px;
    margin-top: 5px;
  }
  
  .ressources-list li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    background: #F6F7F8;
    text-align: center;
    height: 52px;
    gap: 10px;
  }

  .ressources-list li span:first-child{
    color: var(--Color1, #223245);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px; /* 133.333% */
  }

  .ressources-list li span:last-child{
    font-size: 10px;
    font-weight: 500;
    line-height: 16px;
  }

  
  .marche-grid {
    margin-top: 5px;
  }

  .marche-grid .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    background: #F6F7F8;
    padding: 11px 27px;
    height: 80px;
    gap: 28px;
  }

  .marche-grid .top .separator{
    border: .5px solid var(--stroke-1, #DFE5EC);
    height: 100%;
    width: 0;
  }

  .marche-grid .top div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 33%;
  }

  .marche-grid .top div h4{
    color: var(--Color1, #223245);
    font-size: 16px;
    font-weight: 700;
    line-height: 16px; /* 100% */
    text-align: center;
    margin-top: 0;
  }

  .marche-grid .top div span{
    color: var(--Color2, #6E7F93);
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    line-height: 14px; /* 140% */
  }

  .marche-grid .bottom{
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 13px;
  }

  .marche-grid .bottom div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 33%;
    border-radius: 8px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    background: #F6F7F8;
    height: 63px;
  }

  .marche-grid .bottom div h4{
    text-align: center;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px; /* 100% */
  }

  .marche-grid .bottom div span{
    color: var(--Color2, #6E7F93);
    font-size: 10px;
    font-weight: 500;
    line-height: 12px; /* 120% */
  }

  .status-high {
    color: #16a34a; /* vert pour faible */

  }
  
  .status-medium {
    color: #f59e0b; /* orange / doré pour moyenne */
  }
  
  .status-low {
    color: #dc2626; /* rouge pour forte */
  }

  .status-excellent {
    color: #16a34a; /* vert pour faible */

  }
  
  .status-stable {
    color: #2563eb; /* bleu */
  }
  
  .status-moderate {
    color: #f59e0b; /* orange */
  }
  
  .status-low {
    color: #dc2626; /* rouge pour forte */
  }

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

.opportunites{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.opportunites .opportunite{
    border-radius: 15px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 18px 20px;
    height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.opportunites .opportunite:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #0A58A5;
}

.opportunites .opportunite h3{
    color: var(--Color1, #223245);
    font-size: 16px;
    font-weight: 700;
    line-height: 28px; /* 175% */
}

.opportunites .opportunite .location{
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 9px 16px;
    margin-top: 25px;
    width: fit-content;

}

.opportunites .opportunite .location i{
    color: var(--Color1, #0A58A5);
}

.opportunites .opportunite .location span{
    color: var(--Color1, #223245);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
}

.hidden{
    display: none;
}

/* --- Bouton Charger plus --- */
.opportunites .opportunite.hidden {
    display: none;
}

/* --- Message de chargement --- */
.loading-message {
    height: 73%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0f2fe;
    border-top-color: #0A58A5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-message p {
    color: #0A58A5;
    font-size: 16px;
    font-weight: 700;
    margin: 10px 0;
}

.loading-message p.sub {
    color: #6E7F93;
    font-size: 14px;
    font-weight: 500;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Simple Loader */
.simple-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

/* Typing Indicator (ChatGPT style) */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  background: rgba(246, 247, 248, 1);
  border-radius: 20px;
  animation: fade-in 0.3s ease;
}

.typing-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.typing-dots .dot {
  width: 8px;
  height: 8px;
  background: #9ca3af;
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dots .dot:nth-child(1) {
  animation-delay: 0s;
}

.typing-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation d'apparition des messages IA */
.message .assistant {
  animation: message-appear 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes message-appear {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.load-more-container {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
}

.load-more-btn {
    cursor: pointer;
    border-radius: 20px;
    border: 1px solid var(--Linear, #DFE5EC);
    background: #F6F7F8;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
    height: 34px;
    padding: 0 27px;

}

.load-more-btn span{
    color: var(--Color-2, #0A58A5);
    font-size: 12px;
    font-weight: 700;
    line-height: 22px; /* 183.333% */
}


.load-more-btn:hover i {
    transform: translateY(3px);
}
  

.form-validated-buttons{
    display: flex;
    align-items: center;
    gap: 21px;
    width: 69%;
}

.message-container {
    padding-bottom: 1rem;
}

.form-validated-buttons a{
    display: flex;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 52px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    width: 50%;
}

.form-validated-buttons a.create-projects{
    background: #0A58A5;
    color: #fff;
}

.form-validated-buttons a.create-projects span  {
    color: #fff;
}

.form-validated-buttons a.share-idea{
    background: #fff;
    color: #0A58A5;
    border: 1px solid #0A58A5;
}

.fiches-section .header .right{
    display: flex;
    align-items: center;
    gap: 10px;
}
.fiches-section .header .right form{
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    background: #F6F7F8;
    height: 38px;
    width: 324px;
    padding: 0 16px;
}

.fiches-section .header .right form input{
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
}
.fiches-section .header .right .filters{
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    height: 38px;
    display: flex;
    align-items: center;
    gap: 10Px;
    padding: 0 18px;
}
.fiches-section .header .right .filters span{
    color: var(--Color0, #445972);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
}

.fiches-section .header .right .filters .filter-count{
    border-radius: 100%;
    background: var(--Color1, #223245);
    width: 20px;
    height: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    padding: 5px;
}
.home-content .fiches-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-content .fiches-head h2{
    color: var(--Color2, #6E7F93);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
}

.home-content .fiches-head h2 span{
    color: var(--Color-2, #0A58A5);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
}

.home-content .fiches-head .trier{
    display: flex;
    align-items: center;
    gap: 10px;
}
.home-content .fiches-head .trier .tri{
    border-radius: 20px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 3px 19px;
    color: var(--Color2, #6E7F93);
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
}

.fiches-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 22px;
    grid-row-gap: 22px;
}

.fiches-list .fiche{
    border-radius: 15px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    background: #FFF;
    padding: 20px 22px;
}

.fiches-list .fiche .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fiches-list .fiche .top .left{
    display: flex;
    align-items: center;
    gap: 10px;
}
.fiches-list .fiche .top .left img{
    width: 36px;
    height: 36px;
    border-radius: 100%;
}

.fiches-list .fiche .top .left h3{
    color: var(--Color1, #223245);
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
}
.fiches-list .fiche .top .status{
    border-radius: 8px;
    border: 1px solid #59B224;
    background: rgba(89, 178, 36, 0.10);
    padding: 9px 15px;
}
.fiches-list .fiche .top .status span{
    color: var(--Color1, #223245);
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
}

.fiches-list .fiche .body h4{
    color: var(--Color1, #223245);
    font-size: 18px;
    font-weight: 700;
    line-height: 31px;
    margin-top: 17px;
    width: 85%;
}
.fiches-list .fiche .body p{
    color: var(--Color2, #6E7F93);
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    margin-top: 10px;
    margin-top: 8px;
}
.fiches-list .fiche .body .details{
    display: flex;
    width: calc(100% - 54px);
    border-radius: 8px;
    background: #F6F7F8;
    margin-top: 20px;
    padding: 11px 27px;
}

.fiches-list .fiche .body .details .line{
    border: .5px solid var(--stroke-1, #DFE5EC);
}
.fiches-list .fiche .body .details .item{
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fiches-list .fiche .body .details .item h5{
    color: var(--Color1, #223245);
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
}

.fiches-list .fiche .body .details .item p{
    color: var(--Color2, #6E7F93);
    font-size: 10px;
    font-weight: 500;
    line-height: 14px; /* 140% */
}

.fiches-list .fiche .bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    border-radius: 10px;
    border: 1px solid var(--stroke-1, #DFE5EC);
    padding: 9px 18px;
}

.fiches-list .fiche .bottom .notes{
    display: flex;
    align-items: center;
    gap: 10px;
    width: 50%;
    justify-content: center;
    border-right: 1px solid var(--stroke-1, #DFE5EC);
}

.fiches-list .fiche .bottom .notes span{
    color: var(--Color0, #445972);
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
}

.fiches-list .fiche .bottom .download{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fiches-list .fiche .bottom .download span{
    color: var(--Color0, #445972);
    font-size: 14px;
    font-weight: 500;
    line-height: 16px; /* 114.286% */
}



@media (max-width: 640px){
    main{
        padding: 20px;
        width: calc(100% - 40px);
    }

    .sidebar.is-open{
        display: none;
    }

    .main-section header .left .new-chat span{
        display: none;
    }

    .main-section header .right .login{
        display: none;
    }

    .main-section{
        width: 100%;
    }

    .header .right .pers{
        display: none;
    }

    .chat-body{
        width: 90%;
    }

    .chat-body .date{
        gap: 1rem;
    }

    .suggestions{
        display: flex;
        flex-direction: column;
    }

    .received p{
        max-width: 91% !important;
    }

    .message p{
        max-width: 60%;
    }

    .message-form{
        padding: 0 15px;
    }

    .message-form form input{
        width: 74%;
    }

    .voice-msg{
        width: 60%;
    }

    .scoring .scoring-content .head{
        flex-direction: column;
    }

    .scoring .scoring-content .head .score{
        width: 80%;
    }

    .scoring .scoring-content .stats{
        display: flex;
        flex-direction: column;
    }

    .message-form .image{
        display: none;
    }
    
    .message-form form{
        width: 100%;
    }

    .home-content{
        padding: 20px;
    }

    .home-content section.first, .opps{
        flex-direction: column;
        gap: 30px;
    }


    .home-content section .left, .home-content section.first .right, .opps .left, .opps .right{
        width: calc(100% - 40px);
    }

    .home-content section.first .right{
        width: 100% !important;
    }

    .home-content section.first .right .redirect-links .link{
        padding: 20px;
    }

    .home-content section.first .right .redirect-links .link .image-container {
        width: 50px;
        height: 50px;
        border-radius: 20px;
        padding: 0 10px;
    }

    .home-content section.first .right .redirect-links .link .image-container img{
        width: 35px;
    }

    .home-content section.first .right .redirect-links .link span{
        width: 100%;
        font-size: 18px;
    }

    .home-content section .head{
        flex-direction: column;
        align-items: start;
    }

    .home-content section .head h2, .home-content section.second .tendances .tendance h3{
        font-size: 20px;
    }

    .home-content section .head h2 img{
        width: 30px;
        height: 30px;
    }

    .home-content section .head .navigation{
        margin-top: 20px;
    }

    .home-content section.second .tendances .tendance{
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .home-content section.second .tendances .tendance img{
        width: 100%;
        object-fit: cover;
    }

    .home-content .tags{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }

    .home-content .chiffres{
        flex-direction: column;
        margin-top: 20px;
    }

    .home-content .chiffres .chiffre{
        width: calc(100% - 40px);
    }

    a.going-throught{
        margin-top: 20px;
        justify-content: space-between;
        width: calc(100% - 60px);
    }

    .tendance-details .free{
        flex-direction: column-reverse;
        gap: 20px;
    }

    .tendance-details .avis{
        width: calc(100% - 40px);
    }

    .opps .left, .opps .right{
        width: 100%;
    }

    .home-content .recherche .top{
        flex-direction: column;
    }

    .home-content .recherche .top img{
        width: 100%;
    }

    .home-content .recherche .bottom .left .collabos, .home-content .recherche .bottom .right .teams, .search-content .left .collabos{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .home-content section .recherche .left{
        width: 50% !important;
    }

    section.second .double{
        flex-direction: column;
    }

    section.second .double .block, section.second .double .block2{
        width: calc(100% - 40px);
    }

    section.second .double .block h4{
        font-size: 18px;
    }

    .home-content{
        height: calc(100% - 124px);
    }

    .home-content .recherche .bottom, .tendance-details .avis{
        flex-direction: column;
    }

    .home-content section .recherche .left, .tendance-details .avis .stars{
        width: 100% !important;
    }


    .home-content .recherche .bottom .right, .tendance-details .avis .stars:last-child {
        padding-top: 1rem;
        border-top: 1px solid var(--stroke-1, rgba(223, 229, 236, 1));
        padding-left: 0;
        border-left: none;
        margin-top: 20px;
    }

    .tendance-details .avis .stars:last-child{
        margin-top: 0;
    }

    .opp-text {
        gap: 15px;
    }

    .home-content section.second .tendances .tendance h3, .opps .left h3, .home-content .recherche .top .recherche-content h5, section.second .double .block h4{
        font-size: 18px !important;
        line-height: 26px  !important;

    }

    .home-content section.second .tendances .tendance img{
        height: 250px;
    }

    .other-opps .opp{
        flex-direction: column;
    }

    .other-opps .opp img{
        width: 100%;
        height: 200px;
    }

    .content.cartographie  .header {
        flex-direction: column;
        height: fit-content;
        padding: 20px 0;
        gap: 15px;
    }

    .content.cartographie  .header .right{
        width: calc(100% - 50px);
    }

    .cartographie .header .right .tabs{
        width: calc(100% - 10px); 
    }

    .carte-container{
        height: 400px;
    }

    .ressources-list li{
        height: 81px;
    }

    .opportunites{
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .skeleton-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .generation-header {
        padding: 20px;
    }
    
    .status-icon {
        width: 36px;
        height: 36px;
    }
    
    .status-text h3 {
        font-size: 16px;
    }
    
    .status-text p {
        font-size: 13px;
    }
    
    .progress-count {
        font-size: 14px;
    }

    .cartographie-content{
        height: calc(100% - 199px);
    }

    .main-section header .right .wtsp span{
        display: none;
    }
}

/* ===== ANIMATIONS CHAT IA (ChatGPT style) ===== */

/* Typing Indicator (3 dots animés) */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  background: rgba(246, 247, 248, 1);
  border-radius: 20px;
  animation: fade-in 0.3s ease;
}

.typing-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.typing-dots .dot {
  width: 8px;
  height: 8px;
  background: #9ca3af;
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dots .dot:nth-child(1) {
  animation-delay: 0s;
}

.typing-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

/* Animation d'apparition des messages IA */
.message .assistant {
  animation: message-appear 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes message-appear {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================== */
/* Styles pour le contenu Markdown dans l'IA     */
/* ============================================== */

.message .assistant h1,
.message .assistant h2,
.message .assistant h3,
.message .assistant h4,
.message .assistant h5,
.message .assistant h6 {
  font-weight: 700;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  line-height: 1.3;
  color: #1a1a1a;
}

.message .assistant h1 { font-size: 1.6em; }
.message .assistant h2 { font-size: 1.4em; }
.message .assistant h3 { font-size: 1.2em; }
.message .assistant h4 { font-size: 1.05em; }

.message .assistant p {
  margin-bottom: 0.8em;
  line-height: 1.7;
  max-width: 100%;
}

.message .assistant strong {
  font-weight: 700;
}

.message .assistant em {
  font-style: italic;
}

.message .assistant ul,
.message .assistant ol {
  margin: 0.8em 0;
  padding-left: 1.5em;
  line-height: 1.7;
}

.message .assistant ul {
  list-style-type: disc;
}

.message .assistant ol {
  list-style-type: decimal;
}

.message .assistant li {
  margin-bottom: 0.5em;
  padding-left: 0.3em;
}

.message .assistant li::marker {
  color: #0A58A5;
  font-weight: 700;
}

.message .assistant ul ul,
.message .assistant ol ul,
.message .assistant ul ol,
.message .assistant ol ol {
  margin: 0.4em 0;
  padding-left: 1.5em;
}

.message .assistant blockquote {
  border-left: 4px solid #0A58A5;
  padding-left: 1em;
  margin: 1em 0;
  color: #555;
  font-style: italic;
  background: rgba(10, 88, 165, 0.05);
  padding: 0.8em 1em;
  border-radius: 0 8px 8px 0;
}

.message .assistant code {
  background: rgba(10, 88, 165, 0.08);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #0A58A5;
}

.message .assistant pre {
  background: #f5f7fa;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  padding: 1em;
  overflow-x: auto;
  margin: 1em 0;
}

.message .assistant pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

.message .assistant a {
  color: #0A58A5;
  text-decoration: underline;
  transition: color 0.2s;
}

.message .assistant a:hover {
  color: #073d75;
}

.message .assistant hr {
  border: none;
  border-top: 2px solid #dfe5ec;
  margin: 1.5em 0;
}

.message .assistant table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  overflow: hidden;
}

.message .assistant table th,
.message .assistant table td {
  padding: 0.75em 1em;
  text-align: left;
  border-bottom: 1px solid #dfe5ec;
}

.message .assistant table th {
  background: rgba(10, 88, 165, 0.08);
  font-weight: 700;
  color: #0A58A5;
}

.message .assistant table tr:last-child td {
  border-bottom: none;
}

.message .assistant table tr:hover {
  background: rgba(10, 88, 165, 0.03);
}
