/**
 * Styles pour la section Méthode MECA
 * Design distinctif avec lettres colorées et effet moderne
 */

/* ============================================
   MECA SECTION
   ============================================ */

.meca-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: transparent;
}

.meca-section .container {
    position: relative;
    z-index: 2;
}

/* Label */
.meca-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: #4A9EFF;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid rgba(74, 158, 255, 0.3);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.2);
}

/* Titre */
.meca-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

/* Intro */
.meca-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.meca-intro strong {
    color: #ffffff;
    font-weight: 700;
}

/* Grille des piliers */
.meca-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Carte pilier */
.meca-pillar {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.meca-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--pillar-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.meca-pillar:hover::before {
    transform: scaleX(1);
}

.meca-pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
                0 0 30px color-mix(in srgb, var(--pillar-color) 30%, transparent);
    border-color: var(--pillar-color);
}

/* Lettre du pilier */
.pillar-letter {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--pillar-color);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px color-mix(in srgb, var(--pillar-color) 50%, transparent);
    transition: all 0.3s ease;
}

.meca-pillar:hover .pillar-letter {
    transform: scale(1.1);
    text-shadow: 0 0 50px color-mix(in srgb, var(--pillar-color) 70%, transparent);
}

/* Nom du pilier */
.pillar-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hook accrocheur */
.pillar-hook {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid currentColor;
    border-radius: 8px;
}

/* Liste des items */
.pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pillar-list li {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
    position: relative;
}

.pillar-list li::before {
    content: '•';
    color: var(--pillar-color);
    position: absolute;
    left: 0;
    font-weight: 900;
}

/* Animation au scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.meca-pillar {
    animation: fadeInUp 0.6s ease forwards;
}

.meca-pillar:nth-child(1) { animation-delay: 0.1s; }
.meca-pillar:nth-child(2) { animation-delay: 0.2s; }
.meca-pillar:nth-child(3) { animation-delay: 0.3s; }
.meca-pillar:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 1199.98px) {
    .meca-pillars {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pillar-letter {
        font-size: 4rem;
    }
}

@media (max-width: 767.98px) {
    .meca-section {
        padding: 80px 0;
    }

    .meca-pillars {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .meca-pillar {
        padding: 2rem 1.5rem;
    }

    .pillar-letter {
        font-size: 3.5rem;
    }

    .pillar-name {
        font-size: 1rem;
        min-height: auto;
    }

    .pillar-list li {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .meca-section {
        padding: 60px 0;
    }

    .meca-label {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .meca-title {
        font-size: 1.8rem;
    }

    .meca-intro {
        font-size: 1rem;
    }

    .pillar-letter {
        font-size: 3rem;
    }
}

