/* =============================================
   Advanced Mega Menu — style.css
   ============================================= */

.amm-widget-wrapper-da0c3a8e {
    position: relative;
    width: 100%;
}

.amm-nav-container-da0c3a8e {
    position: relative;
}

.amm-nav-ul-da0c3a8e {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
    position: relative;
}

.amm-nav-ul-da0c3a8e > li > a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    color: #1A2B38;
    white-space: nowrap;
    position: relative;
}

.amm-nav-ul-da0c3a8e > li > a::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 25px;
    z-index: 10;
}

/* ── Dropdown base ─────────────────────────────── */
.amm-dropdown-da0c3a8e {
    position: absolute;
    top: 100%;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform: translateY(10px);
    z-index: 9999;
    box-sizing: border-box;
}

.amm-trigger-hover .amm-nav-ul-da0c3a8e > li:hover > .amm-dropdown-da0c3a8e,
.amm-trigger-hover .amm-nav-ul-da0c3a8e > li:focus-within > .amm-dropdown-da0c3a8e,
.amm-trigger-click .amm-nav-ul-da0c3a8e > li.amm-is-open > .amm-dropdown-da0c3a8e {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.amm-dropdown-inner-da0c3a8e {
    background: #ffffff;
    box-shadow: 0 12px 48px rgba(0,0,0,0.10);
    border-radius: 20px;
    padding: 30px;
    box-sizing: border-box;
    width: 100%;
}

/* ── Overlay ───────────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.amm-overlay-active-da0c3a8e::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.amm-overlay-active-da0c3a8e .elementor-location-header,
.amm-overlay-active-da0c3a8e header {
    z-index: 9999 !important;
}

/* ── Classic layout ────────────────────────────── */
.amm-classic-layout-da0c3a8e {
    display: flex;
    gap: 30px;
}

.amm-cards-grid-da0c3a8e {
    flex: 1.5;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.amm-section-title-da0c3a8e {
    font-size: 18px;
    font-weight: 700;
    color: #1A2B38;
    margin: 0 0 8px 0;
}

.amm-section-desc-da0c3a8e {
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 18px 0;
    max-width: 80%;
}

.amm-cards-wrapper-da0c3a8e {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.amm-card-item-da0c3a8e {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    background: transparent;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    align-items: flex-start;
}

.amm-card-item-da0c3a8e:hover,
.amm-card-item-da0c3a8e:focus-within {
    background: rgba(247,245,240,0.9);
}

.amm-card-icon-da0c3a8e {
    font-size: 18px;
    color: #F8B215;
    background: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.amm-card-item-da0c3a8e:hover .amm-card-icon-da0c3a8e {
    transform: translateY(-4px) scale(1.05);
}

.amm-icon-img-da0c3a8e {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.amm-card-text-da0c3a8e h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: #1A2B38;
}

.amm-card-text-da0c3a8e p {
    margin: 0;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.5;
}

/* ── Promo block ───────────────────────────────── */
.amm-promo-block-da0c3a8e {
    flex: 1;
    background-color: #F7F5F0;
    border-radius: 16px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.amm-promo-cta-da0c3a8e { min-height: 250px; }

.amm-promo-bg-image-da0c3a8e {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.4s ease;
}

.amm-promo-anim-zoom-in:hover .amm-promo-bg-image-da0c3a8e { transform: scale(1.1); }
.amm-promo-anim-zoom-out .amm-promo-bg-image-da0c3a8e { transform: scale(1.1); }
.amm-promo-anim-zoom-out:hover .amm-promo-bg-image-da0c3a8e { transform: scale(1); }

.amm-promo-overlay-da0c3a8e {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.amm-promo-content-da0c3a8e {
    position: relative;
    z-index: 2;
    padding: 32px;
    color: #fff;
    width: 100%;
}

.amm-promo-title-da0c3a8e { margin: 0 0 12px 0; font-size: 20px; font-weight: 700; color: #fff; }
.amm-promo-desc-da0c3a8e  { margin: 0 0 18px 0; font-size: 14px; color: #fff; line-height: 1.6; }

.amm-promo-btn-da0c3a8e {
    display: inline-block;
    padding: 11px 22px;
    background: #F8B215;
    color: #1A2B38;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
}
.amm-promo-btn-da0c3a8e:hover { background: #e9a810; transform: translateY(-2px); }

/* ── Tabs layout ───────────────────────────────── */
.amm-tabs-layout-da0c3a8e {
    display: flex;
    min-height: 300px;
    gap: 0;
}

.amm-tabs-left-col-da0c3a8e {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding-right: 20px;
    border-right: 1px solid #eee;
}

.amm-tabs-nav-da0c3a8e {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amm-tab-link-da0c3a8e {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
    color: #1A2B38;
    background: transparent;
}

.amm-tab-link-header-da0c3a8e {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 14px;
}

.amm-tab-link-icon-da0c3a8e {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.amm-tab-link-icon-da0c3a8e img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
}

.amm-tab-nav-desc-da0c3a8e {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
    padding-left: 36px;
}

.amm-tab-link-da0c3a8e:hover,
.amm-tab-link-da0c3a8e.amm-active {
    background: #F7F5F0;
    color: #F8B215;
}

.amm-tab-link-da0c3a8e:hover span,
.amm-tab-link-da0c3a8e.amm-active span {
    color: #F8B215;
}

/* ── Right panel ───────────────────────────────── */
.amm-tabs-content-area-da0c3a8e {
    flex: 1;
    min-width: 0;
    background: #F7F5F0;
    border-radius: 0 16px 16px 0;
    padding: 32px;
}

.amm-tab-pane-da0c3a8e { display: none; }
.amm-tab-pane-da0c3a8e.amm-active {
    display: block;
    animation: ammFadeIn 0.3s ease forwards;
}

/* Right header */
.amm-tab-right-header-da0c3a8e {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.amm-tab-right-header-text-wrap-da0c3a8e { flex: 1; }

.amm-tab-right-title-da0c3a8e {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1A2B38;
}

.amm-tab-right-desc-da0c3a8e {
    margin: 0;
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
}

/* CTA button */
.amm-tab-right-btn-wrap-da0c3a8e {
    flex-shrink: 0;
    margin-bottom: 20px;
}

.amm-tab-right-btn-da0c3a8e {
    display: inline-block;
    padding: 10px 22px;
    background: #F8B215;
    color: #1A2B38;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}
.amm-tab-right-btn-da0c3a8e:hover { background: #e9a810; transform: translateY(-2px); }

/* Subtitle */
.amm-tab-right-subtitle-da0c3a8e {
    font-size: 16px;
    font-weight: 700;
    color: #1A2B38;
    margin: 0 0 16px 0;
}

/* ── Tab cards grid (2 colonnes) ───────────────── */
.amm-tab-cards-grid-da0c3a8e {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* ── Tab cards — même style que cartes classiques ── */
.amm-tab-card-item-da0c3a8e {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: transparent;
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

.amm-tab-card-item-da0c3a8e:hover,
.amm-tab-card-item-da0c3a8e:focus-within {
    background: rgba(247,245,240,0.9);
    transform: translateY(-2px);
}

.amm-tab-card-icon-da0c3a8e {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
}

.amm-tab-card-icon-da0c3a8e img {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
    display: block;
}

.amm-tab-card-text-da0c3a8e { flex: 1; min-width: 0; }

.amm-tab-card-text-da0c3a8e h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: #1A2B38;
}

.amm-tab-card-text-da0c3a8e p {
    margin: 0;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.5;
}

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

/* ── Mobile ────────────────────────────────────── */
@media (max-width: 1024px) {
    .amm-dropdown-da0c3a8e {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
    }
    .amm-classic-layout-da0c3a8e,
    .amm-tabs-layout-da0c3a8e { flex-direction: column; }
    .amm-tabs-left-col-da0c3a8e { width: 100%; border-right: none; border-bottom: 1px solid #eee; padding-right: 0; padding-bottom: 16px; }
    .amm-cards-wrapper-da0c3a8e,
    .amm-tab-cards-grid-da0c3a8e { grid-template-columns: 1fr; }
    .amm-tab-right-header-da0c3a8e { flex-direction: column; }
}