/* SONET-CI Custom Styles */

/* ===== Hero - Remove orange bar under "Partenaire Stratégique" ===== */
.h6-hero-history-title::after {
    background-color: var(--tj-color-theme-dark, #1a1a2e) !important;
}

/* ===== Hero - SONET-CI text in rotating circle ===== */
.h10-hero-award-wrapper .circle-text-wrap .circle-icon {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: var(--tj-ff-heading, sans-serif);
}
.h10-hero-award-wrapper .circle-text-wrap .circle-icon .sonet-ci-text {
    color: var(--tj-color-theme-dark, #1a1a2e);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
}

/* ===== Sub-titles - Augmenter la taille ===== */
.sub-title {
    font-size: 16px !important;
    letter-spacing: 1.6px !important;
}
@media (max-width: 991px) {
    .sub-title {
        font-size: 15px !important;
    }
}

/* Uniformiser le style des icônes de services - toutes avec fond foncé */
.service-item.style-4 .service-icon {
    background: linear-gradient(135deg, rgba(238, 129, 28, 0.15) 0%, rgba(238, 129, 28, 0.08) 100%);
    border: 1px solid rgba(238, 129, 28, 0.2);
}

.service-item.style-4 .service-icon i {
    color: var(--tj-color-theme-primary);
}

/* Hover state */
.service-item.style-4:hover .service-icon {
    background: var(--tj-color-common-white);
}

.service-item.style-4:hover .service-icon i {
    color: var(--tj-color-theme-primary);
}

/* ===== Mobile Search Suggestions Fix ===== */
.hamburger-search-area {
    position: relative;
    z-index: 9999 !important;
}

.hamburger_search.mobile-search-wrapper {
    position: relative !important;
    z-index: 9999 !important;
}

.mobile-search-wrapper .search-suggestions {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-height: 50vh;
    overflow: hidden;
    z-index: 999999 !important;
    border: 1px solid rgba(0,0,0,0.1);
    margin-top: 0 !important;
}

.mobile-search-wrapper .search-suggestions ul {
    padding: 0;
    margin: 0;
    max-height: 350px;
    overflow-y: auto;
    list-style: none;
}

.mobile-search-wrapper .search-suggestions li {
    margin: 0;
    padding: 0;
}

.mobile-search-wrapper .search-suggestions a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    color: #333;
    text-decoration: none;
    gap: 12px;
}

.mobile-search-wrapper .search-suggestions li:last-child a {
    border-bottom: none;
}

.mobile-search-wrapper .search-suggestions a:hover,
.mobile-search-wrapper .search-suggestions li.active a {
    background: #f8f9ff;
}

.mobile-search-wrapper .search-suggestions a i {
    font-size: 16px;
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4ff;
    border-radius: 8px;
    color: #1c25cc;
}

.mobile-search-wrapper .search-suggestions .suggestion-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.3;
}

.mobile-search-wrapper .search-suggestions .suggestion-type {
    font-size: 9px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mobile-search-wrapper .search-suggestions .type-page {
    background: #e8f4fd;
    color: #1c25cc;
}

.mobile-search-wrapper .search-suggestions .type-service {
    background: #fff3e8;
    color: #ee811c;
}

.mobile-search-wrapper .search-suggestions .type-project {
    background: #e8f5e9;
    color: #28a745;
}

.mobile-search-wrapper .search-suggestions .no-results {
    padding: 30px 20px;
    background: #fff;
    text-align: center;
    color: #888;
}

/* Force les éléments après la recherche en arrière-plan (mais pas le menu!) */
.hamburger-cta,
.hamburger-infos,
.hamburger-socials {
    position: relative;
    z-index: 1 !important;
}

/* Le menu mobile doit rester cliquable */
.hamburger_menu {
    position: relative;
    z-index: 10 !important;
}

.mobile_menu {
    position: relative;
    z-index: 10 !important;
}

.mobile_menu a {
    pointer-events: auto !important;
}

/* ===== Section Process - Cartes avec fond plus chaleureux ===== */
.h10-process-wrapper .h10-process-item {
    background: linear-gradient(145deg, #2d2a3e 0%, #1f1d2e 100%);
    border: 1px solid rgba(238, 129, 28, 0.1);
}

.h10-process-wrapper .h10-process-item:hover {
    border-color: rgba(238, 129, 28, 0.25);
}

/* ===== Mobile Hamburger Menu - Full Width Fix ===== */
@media (max-width: 575px) {
    .hamburger-area {
        width: 100% !important;
        right: -100% !important;
        left: auto;
        border-radius: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
    }
    
    .hamburger-area.opened {
        right: 0 !important;
        inset-inline-end: 0 !important;
    }
    
    .hamburger_wrapper {
        width: 100%;
        padding: 30px 20px 40px;
        border-radius: 0 !important;
    }
    
    .hamburger_bg {
        border-radius: 0 !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .hamburger-area {
        width: 100% !important;
        max-width: 420px;
        right: -420px !important;
    }
    
    .hamburger-area.opened {
        right: 0 !important;
    }
}

/* ===== Mobile Search Popup Improvements ===== */
.hamburger-search-area {
    margin-bottom: 20px;
}

.hamburger-search-area .hamburger-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.hamburger_search.mobile-search-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 4px;
    display: flex;
    align-items: center;
}

.hamburger_search.mobile-search-wrapper form {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    flex-direction: row-reverse;
}

.hamburger_search.mobile-search-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 15px;
    color: #333;
    outline: none;
}

.hamburger_search.mobile-search-wrapper input::placeholder {
    color: #999;
}

.hamburger_search.mobile-search-wrapper button[type="submit"] {
    width: 44px;
    height: 44px;
    background: #f5f5f5;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 4px;
    transition: all 0.3s ease;
}

.hamburger_search.mobile-search-wrapper button[type="submit"]:hover {
    background: var(--tj-color-theme-primary, #ee811c);
    color: #fff;
}

.hamburger_search.mobile-search-wrapper button[type="submit"] i {
    font-size: 18px;
    color: #333;
}

.hamburger_search.mobile-search-wrapper button[type="submit"]:hover i {
    color: #fff;
}
