/* =============================================
   Formation Nurturing Pages - Shared Styles
   Light-first with dark mode support
   ============================================= */

/* ----- Diagnostic Stepper / Progress Bar ----- */
.diagnostic-progress-bar {
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    overflow: hidden;
}

.dark .diagnostic-progress-bar {
    background: rgba(255, 255, 255, 0.08);
}

.diagnostic-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #864ffe, #06b6d4);
    border-radius: 9999px;
    transition: width 0.4s ease;
}

/* ----- Diagnostic Option Cards ----- */
.diagnostic-option {
    cursor: pointer;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
    color: rgba(0, 0, 0, 0.7);
    transition: all 0.25s ease;
}

.dark .diagnostic-option {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.8);
}

.diagnostic-option:hover {
    border-color: rgba(134, 79, 254, 0.35);
    background: rgba(134, 79, 254, 0.05);
}

/* ----- Framework / Piliers Cards ----- */
.pilier-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.dark .pilier-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

.pilier-card:hover {
    border-color: rgba(134, 79, 254, 0.3);
    background: rgba(134, 79, 254, 0.04);
    transform: translateY(-2px);
}

.pilier-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ----- Timeline (Etude de cas) ----- */
.timeline-container {
    position: relative;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #864ffe, #06b6d4, rgba(0, 0, 0, 0.1));
}

.dark .timeline-container::before {
    background: linear-gradient(180deg, #864ffe, #06b6d4, rgba(255, 255, 255, 0.1));
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.625rem;
    top: 0.375rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #864ffe;
    box-shadow: 0 0 0 4px rgba(134, 79, 254, 0.2);
}

.timeline-item:nth-child(2)::before {
    background: #06b6d4;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2);
}

.timeline-item:nth-child(3)::before {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

/* ----- Nurturing Glass Cards ----- */
.nurturing-glass {
    background: rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.dark .nurturing-glass {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

/* ----- Pricing Card ----- */
.pricing-card {
    background: linear-gradient(135deg, rgba(134, 79, 254, 0.06), rgba(6, 182, 212, 0.06));
    border: 1px solid rgba(134, 79, 254, 0.15);
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
}

.dark .pricing-card {
    background: linear-gradient(135deg, rgba(134, 79, 254, 0.08), rgba(6, 182, 212, 0.08));
    border-color: rgba(134, 79, 254, 0.2);
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(134, 79, 254, 0.08), transparent 70%);
    pointer-events: none;
}

.dark .pricing-card::before {
    background: radial-gradient(circle at 30% 20%, rgba(134, 79, 254, 0.12), transparent 70%);
}

/* ----- Accordion ----- */
[data-accordion-trigger] {
    cursor: pointer;
}

.accordion-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

[data-accordion-content] {
    transition: max-height 0.3s ease;
}

/* ----- Gradient Text (shared) ----- */
.nurturing-text-gradient {
    background: linear-gradient(135deg, #864ffe 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----- CTA Button Gradient ----- */
.nurturing-btn-gradient {
    background: linear-gradient(135deg, #864ffe 0%, #6d28d9 50%, #864ffe 100%);
    background-size: 200% auto;
    transition: all 0.3s ease;
}

.nurturing-btn-gradient:hover {
    background-position: right center;
    box-shadow: 0 8px 32px rgba(134, 79, 254, 0.3);
}

/* ----- Orbs (page background) ----- */
.nurturing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    pointer-events: none;
    will-change: transform;
}

.dark .nurturing-orb {
    opacity: 0.15;
}

.nurturing-orb-1 {
    width: 500px;
    height: 500px;
    background: #864ffe;
    top: -200px;
    right: -100px;
    animation: nurtFloat 20s ease-in-out infinite;
}

.nurturing-orb-2 {
    width: 400px;
    height: 400px;
    background: #06b6d4;
    bottom: 10%;
    left: -150px;
    animation: nurtFloat 25s ease-in-out infinite reverse;
}

@keyframes nurtFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -20px) rotate(5deg); }
    66% { transform: translate(-15px, 15px) rotate(-3deg); }
}

/* ----- Diagnostic Result Card ----- */
.diagnostic-result-card {
    background: linear-gradient(135deg, rgba(134, 79, 254, 0.06), rgba(6, 182, 212, 0.04));
    border: 1px solid rgba(134, 79, 254, 0.15);
    border-radius: 1.5rem;
    padding: 2rem;
}

.dark .diagnostic-result-card {
    background: linear-gradient(135deg, rgba(134, 79, 254, 0.1), rgba(6, 182, 212, 0.06));
    border-color: rgba(134, 79, 254, 0.25);
}

/* ----- For-Who List ----- */
.for-who-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.for-who-item .icon-yes {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}

.for-who-item .icon-no {
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 2px;
}
