.header {
    background-image: url(../images/orizon_bg.png);
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    width: 100%;
    padding-left: 60px;
    padding-right: 60px;
}

*,
 ::after,
 ::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

/* Polices pour les paragraphes */
p {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

/* Polices pour les titres */
h1, h2, h3 {
    font-family: 'Raleway', Helvetica, Arial, sans-serif;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    text-decoration: none;
    color: inherit;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.aide-main {
    display: flex;
}

.head {
    box-sizing: border-box;
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.nav_liste {
    display: flex;
    margin: 0;
    padding-left: 0;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.head_nav {
    display: flex;
    padding-left: 0;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.liste_link_style {
    list-style: none;
    color: #434f61;
    text-decoration: none;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.liste_style {
    list-style: none;
    color: black;
    text-decoration: none;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.liste_style_title {
    list-style: none;
    color: black;
    text-decoration: none;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.liste_link_style:hover {
    text-decoration: underline;
    color: black;
}

.link_style {
    text-decoration: none;
    color: black;
    padding: 15px 20px;
}

.title_first_liste {
    list-style: none;
    text-decoration: none;
    color: #012b30;
    padding: 8px 0px;
    box-sizing: border-box;
}

.leftBorder {
    border-left: 5px solid #9776dd;
    padding-left: 10px;
}

.liste_demande {
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.first_liste {
    padding: 0 20px;
    margin-right: 10px;
    background-color: #f9f7f7;
    box-sizing: border-box;
    transition: left 0.3s ease;
}

.first_liste a {
    color: #012b30;
}

.btn_compte {
    background-color: #9776dd;
    border-radius: 5px;
    cursor: pointer;
}

.btn_compte:hover {
    background-color: #c5a1fe;
}

.text_align {
    text-align: center;
}

.section {
    padding-top: 10px;
    padding-bottom: 60px;
}

.first_title {
    font-size: 50px;
    margin-bottom: 30px;
    margin-top: 30px;
    font-family: Marcellus;
}

.img_style {
    width: 15px;
    height: 15px;
    margin-left: 10px;
    margin-right: 10px;
}

.main {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 0 5px;
    width: 100%;
    
}

/* ============================================
   SECOND_LISTE - Conteneur principal moderne
   ============================================ */
.second_liste {
    flex: 1;
    width: 100%;
    max-width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
}

.second {
    padding: 20px 0;
    width: 100%;
}

/* ============================================
   GRILLE MODERNE avec CSS GRID
   ============================================ */
.listes {
    width: 100%;
    margin-bottom: 40px;
}

.listes_content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ============================================
   CARTES CATÉGORIES (liste_1) - Design moderne
   ============================================ */
.liste_1 {
    background: white;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.liste_1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9776dd 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



.liste_1:hover::before {
    transform: scaleX(1);
}

.content a {
    color: #333;
    transition: color 0.3s ease;
}

.liste_1:hover .content a {
    color: #000000;
}

.title_second_liste {
    font-size: 18px;
    font-weight: 600;
    margin-top: 12px;
    line-height: 1.4;
}

/* ============================================
   SECTION CONTACT avec grille flexible
   ============================================ */
.listes_content_2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ============================================
   CARTES CONTACT (liste_2) - Design moderne
   ============================================ */
.liste_2 {
    background: white;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.liste_2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9776dd 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
}



.liste_2:hover::before {
    transform: scaleX(1);
}

.liste_2 a {
    color: #000000;
    transition: color 0.3s ease;
}

.liste_2:hover a {
    color: #000000;
}

.second_title {
    font-size: 20px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #000000;
}

.second_title h3 {
    padding: 0;
    margin: 20px 0px;
}

.liste_style_2 {
    text-decoration: none;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.second_main {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
    margin-top: 50px;
}

.main_footer {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    border-top: solid 1px #d1e8df;
    width: 100%;
}

.nav_link_footer {
    display: flex;
    box-sizing: border-box;
    padding: 10px 15px;
    width: 100%;
    align-items: center;
}

.nav_link_footer a {
    color: #012b30;
    text-decoration: none;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    padding: 8px 15px;
    font-size: 15px;
}

.img_style_2 {
    width: 15px;
    height: 15px;
}

.img_fixed_btn {
    width: 15px;
    height: 15px;
}

.fixed_btn {
    background-color: #ffffff;
    padding: 12px 16px;
    margin: 10px 15px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    cursor: pointer;
}

.footer_btn_fixed {
    position: fixed;
    left: 0;
    bottom: 0;
    box-sizing: border-box;
}

.aide_credit_main {
    padding: 0 15px;
    flex-basis: 0;
    flex-grow: 1;
}

.aide_credit_content {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
    align-items: center;
}

.aide_credit_liste {
    display: flex;
    margin: 0;
    list-style: none;
    padding: 0;
}

.aide_credit_nav {
    display: flex;
    flex-wrap: wrap;
}

.aide_credit_liste li {
    display: flex;
    box-sizing: border-box;
}

.aide_credit_nav a {
    text-decoration: none;
    color: #000000;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.aide_crédit_link a:hover {
    text-decoration: underline;
}

.aide_credit_nav li:not(:last-child)::after {
    content: " /";
    color: #000000;
    padding: 0 5px;
}

.aide-credit-mobile {
    margin: 30px 0;
    cursor: pointer;
}

.full_main_credit {
    margin-top: 30px;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}

.full_main_credit h3 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 25px;
    margin-bottom: 20px;
    width: 100%;
}

.media_body {
    padding: 15px 0;
}

.media_body a {
    text-decoration: none;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #000000;
}

.media_body a:hover {
    text-decoration: underline;
}

.credit_instantané {
    width: 100%;
}

.credit_instantané :not(:last-child) {
    border-bottom: solid 1px #d1e8df;
}

.container_relative {
    box-sizing: border-box;
    padding: 50px 0;
    margin-top: 30px;
    background-color: #f9f7f7;
    width: 100%;
}

.container_text {
    text-align: center;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.btn_container {
    box-sizing: border-box;
    padding: 15px 20px;
    text-decoration: none;
    background-color: #c5a1fe;
    border-color: #c5a1fe;
    margin-top: 30px;
    color: #ffffff;
    border-radius: 5px;
}

.container_text p {
    margin-bottom: 20px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.aide_credit_text p {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
    margin-top: 0;
}

.aide_credit_text img {
    width: 270px;
    height: 658 px;
}

.img_center {
    text-align: center;
    margin-bottom: 20px;
}

.aide_credit_text ol {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    padding-left: 20px;
}

.aide_credit_text a {
    text-decoration: none;
    color: #000000;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.aide_credit_text a:hover {
    text-decoration: underline;
}

.articles {
    display: flex;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.btn_group button {
    border: none;
    background-color: #ffffff;
    color: #c5a1fe;
    cursor: pointer;
}

.btn_group button:hover {
    color: #000000;
}

.articles_associés h2 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.articles_associés li {
    margin: 20px 0;
    list-style: none;
}

.articles_associés ul {
    padding: 0;
}

.articles_associés a {
    text-decoration: none;
    color: #000000;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.articles_associés a :hover {
    text-decoration: underline;
}

.liste_section strong {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.section_liste_1 ul {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.section_liste_1 li {
    margin: 10px 0;
}

.section_liste_1 p {
    margin: 20px 0;
}

.section_liste_1 a {
    text-decoration: none;
    color: #000000;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.section_liste_1 a:hover {
    text-decoration: underline;
}

.pieces {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    text-decoration: underline;
}

.all_p {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.liste__piece {
    margin-top: 50px;
}

.piece_margin {
    margin-bottom: 20px;
}

.only_p {
    align-items: center;
}

.articles_pieces a {
    text-decoration: none;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #000000;
}

.articles_pieces a:hover {
    text-decoration: underline;
}

.articles_pieces li {
    list-style: none;
    margin: 20px 0;
}

.articles_pieces ul {
    padding-left: 0;
}

.articles_pieces h2 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.articles_pieces {
    margin-top: 20px;
}

.justificatif {
    margin-bottom: 50px;
    font-size: 16px;
}

.justificatif li {
    margin: 10px 0;
}

.justificatif a {
    text-decoration: none;
    color: #000000;
    font-size: 14px;
}

.justificatif a:hover {
    text-decoration: underline;
}

.justificatif_img {
    width: 100%;
}

.justificatif_img {
    margin: 20px 0;
}

.justificatif_link a {
    text-decoration: none;
    color: #000000;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.justificatif_link a:hover {
    text-decoration: underline;
}

.wrap {
    display: flex;
    flex-wrap: wrap;
}

.justificatif p {
    margin: 20px 0;
}

.text_align {
    align-items: center;
}

.jusificatif_text {
    margin-top: 50px;
}

.list_marge {
    margin: 0 20px;
}

.decoration {
    text-decoration: underline;
}

.left {
    margin-left: 40px;
}

.categorie_display {
    display: flex;
flex-direction: column;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
    justify-content: space-between;
}

.first_categorie{
    margin-bottom: 30px;
}

.first_categorie_border :not(:last-child) {
    border-bottom: solid 1px #d1e8df;
}

.first_categorie_border {
    width: 100%;
}

.first_categorie a {
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: #000000;
}

.first_categorie a:hover {
    text-decoration: underline;
}

.first_categorie p {
    font-size: 18px;
}

.second_categorie a {
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: #000000;
}

.second_categorie a:hover {
    text-decoration: underline;
}

.second_categorie p {
    font-size: 18px;
}

.second_categorie_border :not(:last-child) {
    border-bottom: solid 1px #d1e8df;
}

.second_categorie {
    margin-top: 20px;
}

.categorie_size {
    padding: 20px 0;
    margin-top: 10px;
}

.search-container {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

.img_search {
    background-color: #9776dd;
    width: 24px;
}

.search-container input[type="text"] {
    border: none;
    outline: none;
    padding: 10px;
    font-size: 18px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    flex: 1;
    border-radius: 25px 0 0 25px;
}

.search-container .search-icon {
    padding: 0 10px;
    font-size: 16px;
    color: #666;
}

.search-box-mobile button {
    background-color: #c5a1fe;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 0px;
    padding: 0 10px;
}

.search-container-mobile input[type="text"] {
    border: none;
    outline: none;
    padding: 10px;
    font-size: 18px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    flex: 1;
    border-radius: 25px 0 0 25px;
    width: 100%;
}

.search-box-mobile {
    display: flex;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.search-container-mobile {
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
    align-items: center;
    margin-right: 10px;
    width: 600px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

.mobile-search {
    background-color: #c5a1fe;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    width: 160px;
    margin-right: 8px;
}

.mobile-search-display {
    display: none;
}

.search-box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 20px auto;
    align-items: center;
}

.search-box button:hover {
    border: 1px solid black;
}

.mobile_header {
    background-color: #9776dd;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mobile_header_display {
    visibility: hidden;
}

.mobile_logo_img {
    width: 100px;
}

.btn-menu {
    background-color: #50358C;
    border: 0;
    color: white;
    width: 40px;
    min-height: 40px;
    border-radius: 24px;
    cursor: pointer;
    margin-left: auto;
    transform: rotate(0);
    transition: .3s all cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.menu-icone {
    font-family: 'worldline-icons' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: block;
}

.menu-icone::before {
    content: "\2630";
    font-size: 20px;
}

.btn-menu.active {
    transform: rotate(-90deg);
    transition: .4s all cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.navigation-panel {
    background: linear-gradient(135deg, #f8f6fc 0%, #ffffff 100%);
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    right: -300px;
    top: 0;
    width: 300px;
    visibility: hidden;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(92, 58, 167, 0.1);
    border-left: 1px solid rgba(151, 118, 221, 0.2);
    transition: .4s all cubic-bezier(0.85, 0, 0.15, 1);
    padding-top: 70px;
}

.navigation-panel.opened {
    right: 0;
    visibility: visible;
    transition: .5s all cubic-bezier(0.85, 0, 0.15, 1);
}

.navigation-panel.closed {
    right: -300px;
    transition: .4s all cubic-bezier(0.85, 0, 0.15, 1);
}

.nav-header {
    height: 100%;
    text-align: left;
    min-width: 300px;
    padding: 30px 20px;
    position: relative;
    width: 100%;
    z-index: 0;
}

.globe {
    width: 20px;
}

.top-img {
    padding-top: 7px;
}

.pays {
    margin-left: 10px;
    margin-top: 8px;
}

.fleche {
    margin-left: 10px;
    margin-top: 7px;
}

.langue {
    margin-left: 10px;
    margin-top: 10px;
    font-size: 13px;
    color: #747474;
}

.navs-1 {
    display: flex;
}

.navs-2 {
    width: 100%;
    margin-top: 8px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.navs-2:hover {
    background: rgba(151, 118, 221, 0.08);
    transform: translateX(4px);
}

.navs-2.red {
    color: #9776dd;
    font-weight: 400;
    font-size: 13px;
    margin-top: 40px;
    padding: 10px 16px;
    border-top: 1px solid rgba(151, 118, 221, 0.15);
}

.navs-2 a {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.navs-2 a:hover {
    color: #9776dd;
}

.mobile_dmd_btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #9776dd;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #9776dd;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.mobile_dmd_btn:hover {
    background: rgba(151, 118, 221, 0.1);
    border-color: #9776dd;
    color: #9776dd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(151, 118, 221, 0.2);
}

.mobile_log_btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #50358C;
    border-radius: 5px;
    text-align: center;
    font-size: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(151, 118, 221, 0.3);
}

.mobile_log_btn:hover {
    background: #9776dd;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(151, 118, 221, 0.4);
}

.navs-3 {
    margin-top: 16px;
}

.navs-3+.navs-3 {
    margin-top: 12px;
}

.menu_mobile_logo {
    margin-top: 50px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(151, 118, 221, 0.15);
}

.menu_mb_logo {
    width: 80px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.menu_mb_logo:hover {
    opacity: 1;
}

.copyrights {
    font-size: 12px;
    color: #9776dd;
    margin-top: 12px;
    text-align: center;
    font-weight: 400;
    opacity: 0.8;
}

.produits_mobile_list {
    padding: 10px 15px;
    margin-top: 10px;
    background: #e0d2ff;
}

.produits_mobile_item {
    font-size: 14px;
    font-weight: 300;
}

.produits_mobile_item+.produits_mobile_item {
    margin-top: 10px;
}

.produits_mobile_item a:hover {
    border-bottom: solid 1px #9776dd;
}

.first-list-main {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
}

.mobile-list-main p {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    margin: 0;
}

.aide-credit-mobile {
    display: none;
    background: #50358C;
    padding: 10px 10px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(151, 118, 221, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.aide-credit-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(151, 118, 221, 0.4);
}

.aide-credit-mobile:active {
    transform: translateY(0);
}

.first-list-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-list-main {
    flex: 1;
}

.mobile-list-main p {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
}

.aide-credit-mobile .img_style {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.aide-credit-mobile.active .img_style {
    transform: rotate(180deg);
}

.mobibileList {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
    opacity: 0;
}

.mobibileList.show {
    display: block;
    max-height: 2000px;
    opacity: 1;
}

.mentions_legales {
    background-color: rgb(230, 230, 230);
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.mentions_container {
    display: flex;
    flex-wrap: wrap;
    padding-left: 100px;
    padding-top: 30px;
}

.mention_navs li {
    list-style: none;
}

.mention_navs {
    width: 100%;
}

.mention_navs ol {
    display: flex;
    box-sizing: border-box;
}

.mention_navs li:not(:last-child)::after {
    content: " >";
    color: #000000;
    padding: 0 5px;
}

.mention_tittle h1 {
    padding-top: 30px;
    padding-bottom: 100px;
    font-size: 50px;
}

.mention_body {
    margin: 0 30px;
}

.mentions_legales_container {
    padding: 30px 0;
}

.mention_section p {
    padding: 10px 0;
    color: #9776dd;
    text-decoration: underline;
    font-weight: 600;
    font-size: 20px;
}

.mention_section h3 {
    padding: 10px 0;
    font-size: 40px;
}

.mention_section {
    padding: 30px 100px;
}

.mention_legales_tittle {
    text-align: center;
    padding: 50px 0;
}

.mention_legales_tittle h1 {
    font-size: 50px;
}

.mention_section_text {
    margin: 0 50px;
    padding: 0 50px;
}

.mention_section_text p {
    font-size: 18px;
    padding: 5px;
}

.activites_section p {
    padding: 15px 0;
}

.activites_section h1 {
    font-size: 40px;
    margin: 10px 0;
}

.activites_section a {
    text-decoration: underline;
}

.decoration-list {
    margin: 20px 30px;
    text-decoration: underline;
}

.mentions_background {
    background-image: url(../images/orizon_bg.png);
}

.list_sections li {
    margin: 20px 30px;
}

.list_sections_style {
    list-style-type: square;
}


/* Style général pour le conteneur */

.container {
    position: relative;
    margin: 0 auto;
    padding: 30px;
}


/* Barre de recherche */

.search-bar {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    background-color: #f4f4f9;
    border: 1px solid #ccc;
    padding: 10px 10px;
    border-radius: 5px;
    width: 300px;
    box-sizing: border-box;
    margin-top: 10px;
    margin-right: 20px;
}


/* Icône de loupe */

.search-bar .search-icon {
    font-size: 20px;
    color: #666;
    margin-left: 10px;
}


/* Le champ de recherche doit s'adapter à la taille de l'écran */

.search-bar input {
    border: none;
    background: none;
    outline: none;
    font-size: 16px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    width: 100%;
}


/* Style pour le titre du formulaire */

h1 {
    margin-top: 30px;
    margin-bottom: 20px;
}


/* Formulaire de contact */

form {
    max-width: 700px;
    margin: 0;
    background-color: #fff;
    border-radius: 8px;
    border: none;
    /* Supprimer la bordure du formulaire */
}

form button {
    margin-top: 15px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}


/* Rendre les champs de formulaire fluides */

.form_input,
form textarea,
form select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

/* ====================================
   QUILL EDITOR STYLES
   ==================================== */

/* Toolbar container */
.ql-toolbar.ql-snow {
    border: 1px solid #ccc;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

/* Toolbar buttons */
.ql-toolbar.ql-snow button {
    width: 28px !important;
    height: 28px !important;
    padding: 3px !important;
    margin: 0 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.ql-toolbar.ql-snow button:hover {
    background-color: #e9ecef;
}

.ql-toolbar.ql-snow button.ql-active {
    background-color: #667eea;
    color: white;
}

.ql-toolbar.ql-snow button.ql-active .ql-stroke {
    stroke: white;
}

.ql-toolbar.ql-snow button.ql-active .ql-fill {
    fill: white;
}

/* Toolbar icons */
.ql-toolbar.ql-snow .ql-stroke {
    stroke: #444;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ql-toolbar.ql-snow .ql-fill {
    fill: #444;
}

.ql-toolbar.ql-snow button:hover .ql-stroke {
    stroke: #667eea;
}

.ql-toolbar.ql-snow button:hover .ql-fill {
    fill: #667eea;
}

/* Dropdown selectors */
.ql-toolbar.ql-snow .ql-picker {
    display: inline-flex;
    align-items: center;
    height: 28px;
}

.ql-toolbar.ql-snow .ql-picker-label {
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.ql-toolbar.ql-snow .ql-picker-label:hover {
    background-color: #f8f9fa;
}

.ql-toolbar.ql-snow .ql-picker-options {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 4px 0;
}

/* Editor container */
.ql-container.ql-snow {
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background-color: white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

#editor {
    height: 200px;
    min-height: 200px;
}

.ql-editor {
    min-height: 200px;
    padding: 12px 15px;
    line-height: 1.6;
}

.ql-editor.ql-blank::before {
    color: #999;
    font-style: normal;
    left: 15px;
}

/* Format-specific styles */
.ql-editor strong {
    font-weight: 700;
}

.ql-editor em {
    font-style: italic;
}

.ql-editor u {
    text-decoration: underline;
}

.ql-editor ol,
.ql-editor ul {
    padding-left: 1.5em;
}

.ql-editor a {
    color: #667eea;
    text-decoration: underline;
}

.ql-editor img {
    max-width: 100%;
    height: auto;
}

/* Toolbar button groups */
.ql-toolbar.ql-snow .ql-formats {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    padding-right: 8px;
    border-right: 1px solid #ddd;
}

.ql-toolbar.ql-snow .ql-formats:last-child {
    border-right: none;
    margin-right: 0;
}


/* Style pour le champ radio (civilité) */

#civility label {
    margin-right: 15px;
}


/* Style pour les étoiles rouges marquant les champs obligatoires */

.required {
    color: red;
}


/* --- Responsive adjustments --- */


/* Pour les écrans de moins de 768px (tablettes et smartphones) */

@media (max-width: 768px) {
    /* Formulaire de contact : réduire les marges et le padding */
    form {
        max-width: 100%;
        margin: 0;
    }
    /* Barre de recherche : ajuster la taille et la position */
    .search-bar {
        width: 100%;
        position: static;
        margin-bottom: 10px;
        margin-top: 20px;
    }
    .search-bar input {
        font-size: 14px;
    }
    .search-bar .search-icon {
        font-size: 18px;
    }
    .container {
        margin-top: 70px;
        padding: 20px;
    }
}


/* Pour les écrans de moins de 480px (petits smartphones) */

@media (max-width: 480px) {
    /* Réduire la taille de tous les éléments */
    .form_input,
    form textarea,
    form select {
        font-size: 14px;
        padding: 8px;
        width: 100%;
    }
    .search-bar {
        padding: 10px;
    }
    .search-bar input {
        font-size: 12px;
    }
    .search-bar .search-icon {
        font-size: 16px;
    }
}

/* ============================================
   🔍 STYLES POUR LA PAGE DE RÉSULTATS
   ============================================ */

.search-results-page {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
    animation: fadeIn 0.3s ease-in-out;
}

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

.search-results-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.search-results-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.search-results-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.search-results-subtitle span {
    font-weight: 600;
    color: #9776dd;
}

.search-results-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Carte de résultat individuel */
.search-result-item {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.search-result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #9776dd 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.search-result-item:hover {
    border-color: #9776dd;
    box-shadow: 0 4px 12px rgba(151, 118, 221, 0.15);
    transform: translateY(-2px);
}

.search-result-item:hover::before {
    transform: scaleY(1);
}

.search-result-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #9776dd;
    background: rgba(151, 118, 221, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.search-result-item:hover .search-result-title {
    color: #9776dd;
}

.search-result-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.search-result-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9776dd;
    margin-top: 12px;
    font-weight: 500;
}

.search-result-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.search-result-item:hover .search-result-link::after {
    transform: translateX(4px);
}

/* Message "Aucun résultat" */
.search-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.search-no-results img {
    width: 80px;
    opacity: 0.3;
    margin-bottom: 20px;
}

.search-no-results h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.search-no-results p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Animation d'entrée pour chaque résultat */
.search-result-item {
    animation: slideIn 0.3s ease-out backwards;
}

.search-result-item:nth-child(1) { animation-delay: 0.05s; }
.search-result-item:nth-child(2) { animation-delay: 0.1s; }
.search-result-item:nth-child(3) { animation-delay: 0.15s; }
.search-result-item:nth-child(4) { animation-delay: 0.2s; }
.search-result-item:nth-child(5) { animation-delay: 0.25s; }

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

/* Responsive pour mobile */
@media screen and (max-width: 768px) {
    .search-results-page {
        padding: 0 15px;
        margin: 20px auto;
    }

    .search-results-title {
        font-size: 22px;
    }

    .search-result-item {
        padding: 16px;
    }

    .search-result-title {
        font-size: 16px;
    }

    .search-result-excerpt {
        font-size: 13px;
    }
}

/* ============================================
   RESPONSIVE MODERNE - SECOND_LISTE
   Progression fluide des breakpoints
   ============================================ */

/* Tablettes et petits écrans (1024px) */
@media screen and (max-width: 1024px) {
    .second_liste {
        padding: 0 30px;
    }

    .listes_content {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
    }

    .listes_content_2 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
}

/* Tablettes portrait (991px) */
@media screen and (max-width: 991px) {
    .second_liste {
        padding: 0 20px;
    }

    .listes_content {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
    }

    .listes_content_2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .liste_1,
    .liste_2 {
        padding: 20px;
    }
}

/* Mobiles larges (768px) */
@media screen and (max-width: 768px) {
    .second_liste {
        padding: 0 15px;
    }

    .listes_content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .listes_content_2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .liste_1,
    .liste_2 {
        padding: 18px;
    }

    .title_second_liste {
        font-size: 17px;
    }
}

/* Petits mobiles (480px) */
@media screen and (max-width: 480px) {
    .second_liste {
        padding: 0 15px;
    }

    .liste_1,
    .liste_2 {
        padding: 16px;
    }

    .title_second_liste {
        font-size: 16px;
    }

    .second {
        padding: 16px 0;
    }
}

@media screen and (max-width: 1024px) {
    .first_liste:not(.mobibileList) {
        display: none;
    }

    .aide-credit-mobile {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 20px 0;
    }
}

@media screen and (max-width: 991px) {
    .head {
        visibility: hidden;
    }
    .header {
        display: none;
    }
    .mentions_container {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 0;
    }
    .mobile_header_display {
        visibility: visible;
    }
    .mobile_header {
        padding-inline: 50px;
    }
    .section,
    .head {
        padding-top: 10px;
        padding-bottom: 50px;
    }
    .mobile-search-display {
        display: flex;
    }
    .search-box {
        display: none;
    }

    .aide-credit-mobile {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 20px 0;
    }

    .search-box-mobile {
        width: 100%;
        box-sizing: border-box;
        margin: 20px 0;
        padding: 0 15px;
    }

    .search-container-mobile {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-right: 0;
    }

    .search-container-mobile input {
        width: 100%;
        box-sizing: border-box;
        flex: 1;
    }


    .main{
        margin-top: 70px;
    }
    .mobibileList {
        display: none;
        width: 100%;
        margin: 0;
    }
    .mobibileList.show {
        display: block !important;
    }
    .mentions_legales_container {
        padding: 0;
    }
    .mention_section_text {
        margin: 0;
        padding: 0;
    }
    .list_sections {
        margin: 0;
    }
    .mention_body {
        margin: 20px;
    }
    .mention_section {
        padding: 0;
    }
    .mentions_container {
        display: none;
    }
    .form_input,
    form textarea,
    form select {
        font-size: 14px;
        padding: 8px;
        width: 100%;
    }
    .container {
        margin-top: 70px;
    }
}

@media screen and (max-width: 800px) {
    .search-box-mobile {
        width: 100%;
    }
    .mentions_container {
        padding-left: 0px;
    }
}

@media screen and (max-width:650px) {
    .mobile_header,
    .header {
        padding-inline: 20px;
    }
    .head {
        display: none;
    }
    .header {
        margin-top: 70px;
    }
    .first_title {
        margin-top: 30px;
    }
    .mentions_container {
        padding-left: 0px;
    }
}

@media screen and (max-width: 522px) {
    .header {
        padding: 0 20px;
    }
    .main {
        padding: 0;
    }
    .first_title {
        font-size: 25px;
        margin-top: 30px;
    }
    .mentions_container {
        padding-left: 0px;
    }
}

/* Grands écrans - Optimisation */
@media screen and (min-width: 1330px) {
    .second_liste {
        padding: 0 60px;
    }

    .listes_content {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .listes_content_2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* ========================================
   FIXES COULEURS POUR SAFARI iOS
   Force les couleurs pour empêcher le bleu par défaut sur iOS
   ======================================== */
@supports (-webkit-touch-callout: none) {
    /* Reset général pour les liens et boutons */
    a, button {
        -webkit-text-fill-color: inherit !important;
        color: inherit !important;
    }

    /* ========== BOUTONS VIOLETS (texte blanc) ========== */
    .btn_compte, .btn_compte a,
    .btn_container, .btn_container a,
    .mobile-search, .mobile-search a,
    .mobile_log_btn, .mobile_log_btn a,
    .aide-credit-mobile, .aide-credit-mobile a,
    .mobile-list-main p {
        -webkit-text-fill-color: #ffffff !important;
        color: #ffffff !important;
    }

    /* ========== HEADER MOBILE ========== */
    .mobile_header {
        background-color: #9776dd !important;
    }

    .btn-menu {
        background-color: #50358C !important;
        -webkit-text-fill-color: #ffffff !important;
        color: #ffffff !important;
    }

    .menu-icone::before {
        -webkit-text-fill-color: #ffffff !important;
        color: #ffffff !important;
    }

    /* ========== BOUTONS SECONDAIRES (texte violet) ========== */
    .mobile_dmd_btn, .mobile_dmd_btn a {
        -webkit-text-fill-color: #9776dd !important;
        color: #9776dd !important;
        border-color: #9776dd !important;
    }

    /* ========== LIENS DE NAVIGATION ========== */
    .navs-2 a {
        -webkit-text-fill-color: #333 !important;
        color: #333 !important;
    }

    .navs-2 a:hover {
        -webkit-text-fill-color: #9776dd !important;
        color: #9776dd !important;
    }

    .navs-2.red {
        -webkit-text-fill-color: #9776dd !important;
        color: #9776dd !important;
    }

    /* ========== SEARCH BAR ========== */
    .search-box-mobile button {
        background-color: #c5a1fe !important;
        -webkit-text-fill-color: #ffffff !important;
        color: #ffffff !important;
    }

    /* ========== ICÔNES BLANCHES ========== */
    .aide-credit-mobile .img_style {
        filter: brightness(0) invert(1) !important;
    }

    /* ========== GRADIENTS ET BORDURES ========== */
    .liste_1::before,
    .liste_2::before,
    .search-result-item::before {
        background: linear-gradient(90deg, #9776dd 0%, #764ba2 100%) !important;
    }

    .leftBorder {
        border-left-color: #9776dd !important;
    }

    /* ========== SEARCH RESULTS ========== */
    .search-result-category {
        -webkit-text-fill-color: #9776dd !important;
        color: #9776dd !important;
        background: rgba(151, 118, 221, 0.1) !important;
    }

    .search-result-link {
        -webkit-text-fill-color: #9776dd !important;
        color: #9776dd !important;
    }

    .search-result-item:hover .search-result-title {
        -webkit-text-fill-color: #9776dd !important;
        color: #9776dd !important;
    }

    .search-results-subtitle span {
        -webkit-text-fill-color: #9776dd !important;
        color: #9776dd !important;
    }

    /* ========== MENTIONS LÉGALES ========== */
    .mention_section p {
        -webkit-text-fill-color: #9776dd !important;
        color: #9776dd !important;
    }

    .copyrights {
        -webkit-text-fill-color: #9776dd !important;
        color: #9776dd !important;
    }

    /* ========== HOVER STATES ========== */
    .liste_link_style:hover {
        -webkit-text-fill-color: #000000 !important;
        color: #000000 !important;
    }

    .produits_mobile_item a:hover {
        border-bottom-color: #9776dd !important;
    }

    /* ========== SVG ET ICÔNES ========== */
    .img_search, .img_style, .img_style_2, .img_fixed_btn {
        fill: currentColor !important;
        stroke: currentColor !important;
    }

    /* ========== BUTTONS GROUPS ========== */
    .btn_group button {
        -webkit-text-fill-color: #c5a1fe !important;
        color: #c5a1fe !important;
    }

    .btn_group button:hover {
        -webkit-text-fill-color: #000000 !important;
        color: #000000 !important;
    }

    /* ========== FIXED BUTTONS ========== */
    .fixed_btn {
        background-color: #ffffff !important;
        border-color: #e2e8f0 !important;
    }

    /* ========== QUILL EDITOR ========== */
    .ql-toolbar.ql-snow button.ql-active {
        background-color: #667eea !important;
    }

    .ql-editor a {
        -webkit-text-fill-color: #667eea !important;
        color: #667eea !important;
    }
}