/* Layout orbital pour Notre ADN - Proximite Client au centre */

.adn-orbital-layout {
    position: relative;
    width: 100%;
    max-width: 780px;
    height: 560px;
    margin: var(--spacing-6) auto;
}

/* Element central - Proximite Client */
.adn-center {
    position: absolute;
    z-index: 10;
    width: 220px;
    height: 220px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--everdata-bleu-marine) 0%, #2a3d6b 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-5);
    box-shadow: 0 8px 32px rgba(30, 44, 82, 0.4), 0 0 0 8px rgba(30, 44, 82, 0.1);
    transition: all 0.4s ease;
}

.adn-center:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 12px 40px rgba(30, 44, 82, 0.5), 0 0 0 12px rgba(30, 44, 82, 0.15);
}

.adn-center h4 {
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-2) 0;
    line-height: 1.3;
    text-align: center !important;
}

.adn-center p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Elements satellites - taille uniforme */
.adn-satellite {
    position: absolute;
    width: 200px;
    height: 100px;
    background: #fff;
    border-radius: 10px;
    padding: var(--spacing-4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-slate-200);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.adn-satellite:hover {
    box-shadow: 0 8px 24px rgba(30, 44, 82, 0.2);
    border-color: var(--everdata-bleu-marine);
}

.adn-satellite h4 {
    color: var(--everdata-bleu-marine) !important;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.25;
    text-align: center !important;
}

.adn-satellite p {
    color: var(--color-neutral-600) !important;
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0;
}

/* Positionnement des satellites - plus espaces du centre */
.adn-satellite.top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.adn-satellite.right {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.adn-satellite.bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.adn-satellite.left {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.adn-satellite.top:hover {
    transform: translateX(-50%) translateY(-4px);
}

.adn-satellite.right:hover {
    transform: translateY(-50%) translateX(4px);
}

.adn-satellite.bottom:hover {
    transform: translateX(-50%) translateY(4px);
}

.adn-satellite.left:hover {
    transform: translateY(-50%) translateX(-4px);
}

/* Lignes de connexion */
.adn-orbital-layout::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 360px;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(30, 44, 82, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

/* Responsive tablette */
@media (max-width: 800px) {
    .adn-orbital-layout {
        max-width: 580px;
        height: 480px;
    }

    .adn-center {
        width: 180px;
        height: 180px;
    }

    .adn-center h4 {
        font-size: 1rem;
    }

    .adn-center p {
        font-size: 0.75rem;
    }

    .adn-satellite {
        width: 160px;
        height: 90px;
        padding: var(--spacing-3);
    }

    .adn-satellite h4 {
        font-size: 0.8rem;
    }

    .adn-satellite p {
        font-size: 0.7rem;
    }

    .adn-orbital-layout::before {
        width: 300px;
        height: 300px;
    }
}

/* Responsive mobile */
@media (max-width: 550px) {
    .adn-orbital-layout {
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-3);
    }

    .adn-orbital-layout::before {
        display: none;
    }

    .adn-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: auto;
        border-radius: 12px;
        padding: var(--spacing-5);
        order: -1;
    }

    .adn-center:hover {
        transform: translateY(-4px);
    }

    .adn-satellite {
        position: relative;
        width: 100%;
        height: auto;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .adn-satellite:hover {
        transform: translateY(-4px) !important;
    }

    .adn-satellite h4 {
        font-size: 0.95rem;
    }

    .adn-satellite p {
        font-size: 0.85rem;
    }
}
