/* ===============================
   MEGA MENU CONTAINER
================================= */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    width: 92%;
    max-width: 1100px;

    padding: 30px 40px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;

    z-index: 1000;
}

/* État actif (JS) */
.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ===============================
   SECTIONS
================================= */
.mega-section {
    display: none;
}

.mega-section.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px 30px;
}

/* ===============================
   TYPO & LISTES
================================= */
.mega-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.mega-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-section ul li {
    margin-bottom: 10px;
}

.mega-section ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-section ul li a:hover {
    color: #007BFF;
}

/* ===============================
   UNDERLINE ANIMATION
================================= */
.menu-underline {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 0;
    height: 3px;

    background: #007BFF;
    transition: all 0.3s ease;
}

/* ===============================
   SOCIAL (SUIVEZ-NOUS)
================================= */
.social-circle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    border-radius: 50%;
    background-color: #f5f5f5;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.social-item:hover {
    transform: scale(1.2);
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mega-subtitle {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
}


.mega-tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.mega-tools-group h4 {
    margin: 0 0 12px;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
}

.mega-tools-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-tools-group li {
    margin-bottom: 10px;
}

.mega-tools-group a {
    display: block;
}