/* Section Golden Circle - Design inédit avec moitié de cercle */

.golden-circle-section {
    --accent: #ff8a00;
    --ink: #0a3a3a;
    --muted: #35595a;
    --bg: transparent;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    
    font-family: 'Avenir LT Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.golden-circle-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Moitié de cercle sur le bord droit */
.golden-circle-half {
    position: fixed;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 3px solid var(--ink);
    border-left: none;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.1) 0%, rgba(255, 138, 0, 0.05) 100%);
    z-index: 10;
    transition: all 0.5s ease;
}

.golden-circle-half:hover {
    right: -150px;
    box-shadow: 0 0 30px rgba(255, 138, 0, 0.3);
}

/* Cases WHY/HOW/WHAT sur le demi-cercle */
.golden-circle-cases {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.golden-circle-case {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
    z-index: 11;
}

.golden-circle-case:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 138, 0, 0.4);
}

/* Positionnement des cases sur le demi-cercle */
.golden-circle-case-why {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.golden-circle-case-how {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.golden-circle-case-what {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Zone de contenu qui se révèle */
.golden-circle-content {
    position: fixed;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    width: 400px;
    max-height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 12;
    overflow-y: auto;
}

.golden-circle-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.golden-circle-content.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(50px);
}

/* Icônes dans le contenu */
.golden-circle-content-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 20px;
    background: rgba(255, 138, 0, 0.1);
}

.golden-circle-content-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.golden-circle-content-description {
    color: var(--muted);
    line-height: 1.6;
    font-size: 1.1rem;
}

.golden-circle-content-description strong {
    color: var(--ink);
    font-weight: 700;
}

/* Bouton de fermeture */
.golden-circle-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: var(--ink);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.golden-circle-close:hover {
    background: var(--accent);
    transform: scale(1.1);
}

/* Animation d'entrée */
.golden-circle-case {
    opacity: 0;
    transform: scale(0.5);
    animation: caseAppear 0.6s ease forwards;
}

.golden-circle-case-why {
    animation-delay: 0.1s;
}

.golden-circle-case-how {
    animation-delay: 0.2s;
}

.golden-circle-case-what {
    animation-delay: 0.3s;
}

@keyframes caseAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .golden-circle-half {
        right: -250px;
        width: 350px;
        height: 350px;
    }
    
    .golden-circle-cases {
        width: 250px;
        height: 250px;
    }
    
    .golden-circle-case {
        width: 70px;
        height: 70px;
        font-size: 1.1rem;
    }
    
    .golden-circle-content {
        width: 350px;
        right: 30px;
    }
}

@media (max-width: 768px) {
    .golden-circle-section {
        padding: 60px 0;
    }
    
    .golden-circle-half {
        right: -300px;
        width: 300px;
        height: 300px;
    }
    
    .golden-circle-cases {
        width: 200px;
        height: 200px;
    }
    
    .golden-circle-case {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .golden-circle-case-why {
        top: 15px;
    }
    
    .golden-circle-case-how {
        right: 15px;
    }
    
    .golden-circle-case-what {
        bottom: 15px;
    }
    
    .golden-circle-content {
        width: 300px;
        right: 20px;
        padding: 25px;
    }
    
    .golden-circle-content-title {
        font-size: 1.5rem;
    }
    
    .golden-circle-content-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .golden-circle-half {
        right: -350px;
        width: 250px;
        height: 250px;
    }
    
    .golden-circle-cases {
        width: 150px;
        height: 150px;
    }
    
    .golden-circle-case {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }
    
    .golden-circle-content {
        width: 250px;
        right: 15px;
        padding: 20px;
    }
    
    .golden-circle-content-title {
        font-size: 1.3rem;
    }
    
    .golden-circle-content-description {
        font-size: 0.9rem;
    }
}

/* Animation de pulsation pour attirer l'attention */
.golden-circle-half::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    border-left: none;
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}