/* =============================================
   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 {
    /* Keep static so dropdown is relative to .amm-nav-container-da0c3a8e */
}

.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;
}

/* Hover Bridge */
.amm-nav-ul-da0c3a8e > li > a::after {
    content: '';
    position: absolute;
    bottom: -15px; /* Default - Will be overridden by elementor control */
    left: 0;
    width: 100%;
    height: 25px; /* Default - Will be overridden by elementor control */
    z-index: 10;
}

/* ── Dropdown base ─────────────────────────────── */
.amm-dropdown-da0c3a8e {
    position: absolute; /* Back to absolute within container */
    top: 100%;
    margin-top: 10px; /* Default - Will be overridden by elementor control */
    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;
}

/* ── Visible state ─────────────────────────────── */
.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);
}

/* ── Inner panel ───────────────────────────────── */
.amm-dropdown-inner-da0c3a8e {
    background: #ffffff;
    box-shadow: 0 12px 48px rgba(0,0,0,0.10);
    border-radius: 20px;
    padding: 30px;
    border: none; /* No black line */
    outline: none; /* Extra safety against outline lines */
    box-sizing: border-box;
    width: 100%;
}

/* ── 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 20px;
}

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

/* Updated for 2 columns layout */
.amm-cards-wrapper-da0c3a8e {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.amm-card-item-da0c3a8e {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    background: transparent;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease; /* Removed transform and box-shadow transitions */
    align-items: flex-start;
}

.amm-card-item-da0c3a8e:first-child {
    background: #F7F5F0;
}

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

.amm-card-icon-da0c3a8e {
    font-size: 18px;
    color: #F8B215;
    background: #fff;
    width: 40px; /* Default - Will be overridden by elementor control */
    height: 40px; /* Default - Will be overridden by elementor control */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animation de rebond au survol de la carte */
.amm-card-item-da0c3a8e:hover .amm-card-icon-da0c3a8e,
.amm-card-item-da0c3a8e:focus-within .amm-card-icon-da0c3a8e {
    transform: translateY(-5px) scale(1.05);
}

.amm-icon-img-da0c3a8e {
    width: 20px; /* Default - Will be overridden by elementor control */
    height: 20px; /* Default - Will be overridden by elementor control */
    object-fit: contain;
}

.amm-card-text-da0c3a8e h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: #1A2B38;
    transition: color 0.2s ease;
}

.amm-card-text-da0c3a8e p {
    margin: 0;
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    transition: color 0.2s ease;
}

/* ── Promo block (CTA Style) ───────────────────── */
.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;
}

/* Hover Animations for CTA Background Image */
.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); /* Fallback */
    z-index: 1;
    transition: background 0.3s;
}

.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; /* or rgba(255,255,255,0.9) */
    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: 30px;
}

.amm-tabs-left-col-da0c3a8e {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

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

.amm-tab-link-da0c3a8e {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
    color: #1A2B38; /* Default - Will be overridden by elementor control */
    background: transparent; /* Default - Will be overridden by elementor control */
}

.amm-tab-link-da0c3a8e:hover,
.amm-tab-link-da0c3a8e.amm-active {
    background: #F7F5F0; /* Default - Will be overridden by elementor control */
}

.amm-tab-link-da0c3a8e .amm-icon-img-da0c3a8e,
.amm-tab-link-da0c3a8e i {
    color: #F8B215; /* Default - Will be overridden by elementor control */
    background: transparent;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animation de rebond pour les icônes des onglets */
.amm-tab-link-da0c3a8e:hover .amm-icon-img-da0c3a8e,
.amm-tab-link-da0c3a8e:hover i {
    transform: translateY(-3px) scale(1.05);
}

.amm-tab-link-da0c3a8e span {
    display: block;
    line-height: 1.4;
}

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

.amm-tab-pane-da0c3a8e {
    display: none;
}

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

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

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

.amm-tab-card-item-da0c3a8e {
    background: transparent !important;
    padding: 0 !important;
}

/* Removed default blue styling for tab card icons - now relies entirely on Elementor controls */

@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;
        margin-top: 10px;
    }
    .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 {
        transform: none !important;
    }
    .amm-classic-layout-da0c3a8e,
    .amm-tabs-layout-da0c3a8e {
        flex-direction: column;
    }
    .amm-cards-grid-da0c3a8e,
    .amm-promo-block-da0c3a8e {
        width: 100% !important;
        flex: auto !important;
        max-width: 100% !important;
    }
    .amm-promo-block-da0c3a8e,
    .amm-tabs-left-col-da0c3a8e {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .amm-cards-wrapper-da0c3a8e {
        grid-template-columns: 1fr;
    }
}