.outils-container {
    flex: 1;
    padding: 8rem 4rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.outils-title {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
}

.outils-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Carte outil */
.outil-card {
    background: rgba(20, 26, 55, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 193, 219, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
}

/* Icône de l'outil */
.outil-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2b3a87 0%, #4a6fa5 100%);
    border-radius: 14px;
}

.outil-icon svg,
.outil-icon img {
    width: 32px;
    height: 32px;
    color: var(--text-white);
    opacity: 0.9;
}

/* Contenu de la carte */
.outil-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 2rem;
    align-items: center;
}

.outil-name {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text-white);
}

.outil-description {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Liens de l'outil */
.outil-links {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
}

.outil-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, #2b3a87 0%, #4a6fa5 100%);
    color: var(--text-white);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.outil-link:hover {
    background: linear-gradient(135deg, #3545a0 0%, #5a80c5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 111, 165, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
    .outils-container {
        padding: 6rem 2rem 2rem;
    }

    .outils-title {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .outil-card {
        gap: 1.25rem;
        padding: 1.25rem 1.5rem;
    }

    .outil-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .outil-icon svg,
    .outil-icon img {
        width: 26px;
        height: 26px;
    }

    .outil-name {
        font-size: 1.1rem;
    }

    .outil-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 580px) {
    .outils-title {
        font-size: 2.5rem;
    }

    .outil-card {
        gap: 1rem;
        padding: 1.25rem;
    }

    .outil-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 0;
    }

    .outil-description {
        grid-row: 2;
        font-size: 0.88rem;
        margin-top: 0.25rem;
    }

    .outil-links {
        grid-column: 1;
        grid-row: 3;
        margin-top: 0.75rem;
    }

    .outil-link {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .outil-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .outil-icon svg,
    .outil-icon img {
        width: 22px;
        height: 22px;
    }

    .outil-name {
        font-size: 1rem;
    }
}
