/* ===========================
   ALLIANCE & CO — HEADER PREMIUM
   Navy #101D33 / Gold #C5A059
   =========================== */

/* ── CACHER LE HEADER DU THÈME ── */
#site-header,
.site-header {
    display: none !important;
}

/* ── TOP BAR ── */
.ach-top-bar {
    background: #101D33;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    font-family: 'Lora', serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8) !important;
    z-index: 10000;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.ach-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ach-top-left a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.ach-top-left a:hover { color: #C5A059 !important; }

.ach-top-left i {
    font-size: 12px;
    color: #C5A059;
}

.ach-top-sep {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
    user-select: none;
}

.ach-top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ach-top-right a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.ach-top-right a:hover {
    border-color: #C5A059;
    color: #C5A059;
}

.ach-top-right a.ach-wa:hover {
    border-color: #25D366;
    color: #25D366;
}

/* ── MAIN HEADER ── */
.ach-header {
    background: #101D33;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 10000;
}

/* Logo */
.ach-logo { flex-shrink: 0; }

.ach-logo a { text-decoration: none; }

.ach-logo-img {
    max-height: 70px;
    width: auto;
}

.ach-logo-text {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

/* Navigation */
.ach-nav {
    display: flex;
    align-items: center;
}

.ach-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ach-nav a {
    font-family: 'Lora', serif;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.ach-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C5A059;
    transition: width 0.3s ease;
}

.ach-nav a:hover,
.ach-nav a.active {
    color: #C5A059 !important;
}

.ach-nav a:hover::after,
.ach-nav a.active::after {
    width: 100%;
}

/* CTA */
.ach-cta { flex-shrink: 0; }

.ach-btn-devis {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff !important;
    color: #101D33 !important;
    font-family: 'Lora', serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.ach-btn-devis:hover {
    background: #C5A059 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Burger */
.ach-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    color: #ffffff !important;
    transition: all 0.3s ease;
    padding: 0 !important;
}

.ach-burger:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.ach-burger-close { display: none !important; }

.ach-burger.is-open .ach-burger-open { display: none !important; }
.ach-burger.is-open .ach-burger-close { display: inline-block !important; }

/* ══════════════════════════════
   MENU MOBILE — DOUBLE PANEL
   ══════════════════════════════ */
.ach-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(16, 29, 51, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.ach-overlay.open {
    opacity: 1;
    visibility: visible;
}

.ach-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: #101D33;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s, opacity 0.35s;
}

.ach-overlay.open .ach-panel#achPanelMain {
    transform: translateX(0);
}

/* Panel principal caché quand sub ouvert */
.ach-overlay.show-sub .ach-panel#achPanelMain {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
}

.ach-overlay.show-sub .ach-panel-sub {
    transform: translateX(0) !important;
}

/* Panel sous-menu */
.ach-panel-sub {
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bouton fermer */
.ach-mobile-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 22px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.ach-mobile-close:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Navigation mobile */
.ach-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
}

.ach-mobile-nav a {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.ach-mobile-nav a:hover {
    color: #C5A059 !important;
    padding-left: 10px;
}

/* Lien avec sous-menu */
.ach-has-sub {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.ach-arrow {
    font-size: 12px;
    color: #C5A059;
    transition: transform 0.3s ease;
}

.ach-has-sub:hover .ach-arrow {
    transform: translateX(4px);
}

/* CTA mobile */
.ach-mobile-cta {
    display: block;
    text-align: center;
    padding: 16px;
    background: #C5A059 !important;
    color: #fff !important;
    font-family: 'Lora', serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none !important;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.ach-mobile-cta:hover { background: #a8863e !important; }

/* Contact mobile */
.ach-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.ach-mobile-contact a {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ach-mobile-contact a i {
    color: #C5A059;
    width: 18px;
    text-align: center;
}

.ach-mobile-contact a:hover { color: #fff; }

/* Social mobile */
.ach-mobile-social {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.ach-mobile-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8) !important;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.ach-mobile-social a:hover {
    background: #C5A059 !important;
    border-color: #C5A059 !important;
    color: #fff !important;
}

/* Bouton retour */
.ach-back {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    color: #C5A059 !important;
    font-family: 'Lora', serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.ach-back:hover { color: #fff !important; }
.ach-back i { font-size: 14px; }

/* Titre sous-menu */
.ach-sub-title {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 700;
    color: #C5A059;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Icônes sous-menu services */
.ach-nav-sub a {
    display: flex !important;
    align-items: center;
    gap: 14px;
}

.ach-nav-sub a i {
    width: 20px;
    text-align: center;
    color: #C5A059;
    font-size: 16px;
}

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 991px) {
    .ach-top-bar { padding: 0 20px; }
    /* email visible sur tablette */
    .ach-header { padding: 0 20px; }
    .ach-nav, .ach-cta { display: none; }
    .ach-burger { display: flex; }
}

@media (max-width: 767px) {
    .ach-top-bar { padding: 0 16px; font-size: 11px; height: 36px; }
    .ach-top-right { display: none !important; }
    .ach-top-left { gap: 6px; }
    /* email visible sur mobile */
    .ach-header { padding: 0 16px; justify-content: space-between; height: 70px; }
    .ach-logo-img { max-height: 50px; }
    .ach-burger {
        color: #ffffff !important;
        border-color: rgba(255,255,255,0.5) !important;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}