.faq-animated-container {
    width: 100%;
    background-color: #000;
    color: #fff;
    position: relative;
    padding: 80px 0;
}

.faq-animated-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Section Gauche - Features circulaires */
.feature-circle-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.feature-circle-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 5px solid rgb(76, 222, 127);
    border-radius: 50%;
    animation: rotateCircle 30s linear infinite;
}

@keyframes rotateCircle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feature-icons-container {
    position: absolute;
    width: 400px;
    height: 400px;
    animation: rotateCircle 30s linear infinite;
}

/* Forcer les icônes à rester droites - priorité absolue */
.feature-icons-container .feature-icon-item {
    animation: counterRotate 30s linear infinite !important;
}

.feature-icon-item {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #1a1a1a;
    /* border: 2px solid #4ade80; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Animation pour empêcher les icônes de tourner - elles restent toujours droites */
.feature-icon-item {
    animation: counterRotate 30s linear infinite;
}

@keyframes counterRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.feature-icon-item:hover {
    border-color: #ffffff;
    background: #007aff;
}

.feature-icon-item.active {
    border-color: #ffffff;
    background: #007aff;
    box-shadow: 0 0 20px rgba(76, 134, 222, 0.5);
}

.feature-icon-item img {
    width: 40px;
    height: 40px;
    /* filter: brightness(0) invert(1);
    transition: filter 0.3s ease; */
}

.feature-icon-item:hover img,
.feature-icon-item.active img {
    filter: brightness(0);
}

/* Positionnement des icônes exactement sur le contour du cercle */
/* Cercle de 400px = rayon 200px, icône 80px = centre à 160px du centre */
.feature-icon-item:nth-child(1) {
    top: -2rem; /* 200px - 40px (demi-icône) = 160px au-dessus du centre */
    /* left: 50%; */
    margin-left: 9rem;
}

.feature-icon-item:nth-child(2) {
    top: 5rem; /* 200 * sin(30°) = 100px + centre - 40px */
    right: -1rem; /* 200 * cos(30°) = 173px + centre - 40px */
}

.feature-icon-item:nth-child(3) {
    bottom: 3rem;
    right: 0rem;
}

.feature-icon-item:nth-child(4) {
    bottom: -2rem;
    /* left: 50%; */
    margin-left: 9rem;
}

.feature-icon-item:nth-child(5) {
    bottom: 5rem;
    left: -1rem;
}

.feature-icon-item:nth-child(6) {
    top: 3.5rem;
    left: -0.5rem;
}

/* Contenu central */
.feature-center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 200px;
    z-index: 10;
}

.feature-subtitle {
    font-size: 14px;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    font-family: 'Orbitron', sans-serif;
}

.feature-content {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.4;
}

/* Section Droite - FAQ */
.faq-section {
    padding-left: 20px;
}

.section-header {
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--theme-color3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

/* Accordion FAQ */
.faq-accordion {
    max-width: 100%;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: rgba(76, 222, 128, 0.05);
    border-radius: 8px;
    border-bottom-color: #4ade80;
}

.faq-header {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.faq-question2 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    padding-right: 40px;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question2 {
    color: #4ade80;
}

.faq-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 2px solid #4ade80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-toggle:before,
.faq-toggle:after {
    content: '';
    position: absolute;
    background: white;
    transition: all 0.3s ease;
}

.faq-toggle:before {
    width: 12px;
    height: 2px;
}

.faq-toggle:after {
    width: 2px;
    height: 12px;
}

.faq-item.active .faq-toggle {
    transform: translateY(-50%) rotate(45deg);
    border-color: #ffffff;
}

.faq-item.active .faq-toggle:before,
.faq-item.active .faq-toggle:after {
    background: #ffffff;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer2 {
    color: #cccccc;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
    /* S'assurer que le contenu prend bien sa place pour le calcul de hauteur */
    display: block;
    width: 100%;
}

/* Animations d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faq-animated-container.animate-in .feature-circle-section {
    animation: fadeInLeft 0.8s ease 0.2s both;
}

.faq-animated-container.animate-in .faq-section {
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Responsive */
@media (max-width: 1024px) {
    .faq-animated-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .feature-circle-container {
        width: 350px;
        height: 350px;
    }
    
    .feature-circle {
        width: 320px;
        height: 320px;
    }
    
    .feature-icons-container {
        width: 320px;
        height: 320px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    /* Repositionnement tablette - cercle 320px = rayon 160px, icône 80px = centre à 120px du centre */
    .feature-icon-item:nth-child(1) {
        top: -40px;
        left: 50%;
        margin-left: -40px;
    }

    .feature-icon-item:nth-child(2) {
        top: 30px;
        right: -27px;
    }

    .feature-icon-item:nth-child(3) {
        bottom: 30px;
        right: -27px;
    }

    .feature-icon-item:nth-child(4) {
        bottom: -40px;
        left: 50%;
        margin-left: -40px;
    }

    .feature-icon-item:nth-child(5) {
        bottom: 30px;
        left: -27px;
    }

    .feature-icon-item:nth-child(6) {
        top: 30px;
        left: -27px;
    }
}

@media (max-width: 768px) {
    .faq-animated-container {
        padding: 60px 0;
    }
    
    .faq-animated-inner {
        padding: 0 15px;
        gap: 30px;
    }
    
    .feature-circle-container {
        width: 280px;
        height: 280px;
    }
    
    .feature-circle {
        width: 260px;
        height: 260px;
    }
    
    .feature-icons-container {
        width: 260px;
        height: 260px;
    }
    
    .feature-icon-item {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon-item img {
        width: 30px;
        height: 30px;
    }
    
    /* Repositionnement mobile - cercle 260px = rayon 130px, icône 60px = centre à 100px du centre */
    .feature-icon-item:nth-child(1) {
        top: -30px;
        left: 50%;
        margin-left: -30px;
    }

    .feature-icon-item:nth-child(2) {
        top: 35px;
        right: -22px;
    }

    .feature-icon-item:nth-child(3) {
        bottom: 35px;
        right: -22px;
    }

    .feature-icon-item:nth-child(4) {
        bottom: -30px;
        left: 50%;
        margin-left: -30px;
    }

    .feature-icon-item:nth-child(5) {
        bottom: 35px;
        left: -22px;
    }

    .feature-icon-item:nth-child(6) {
        top: 35px;
        left: -22px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .faq-question2 {
        font-size: 16px;
    }
    
    .faq-section {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .feature-center-content {
        max-width: 150px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    .feature-content {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
}