/* Section */

.section h2 {
    letter-spacing: -0.2px;
}

.section .card {
    border-radius: 14px;
}

.section .alert {
    border-radius: 14px;
}

/* Form */
.demo-form {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* FAQ */
.accordion-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.accordion-item+.accordion-item {
    margin-top: 1rem;
}

.accordion-header {
    margin-top: 1rem !important;
}

.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: rgba(126, 87, 194, 0.08);
    color: var(--blue-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

/* Accessibilité & confort */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    background: #fff;
    color: #000;
    padding: .5rem .75rem;
    z-index: 10000;
    border-radius: .5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
    }

    .carousel,
    .carousel * {
        transition: none !important;
        animation: none !important;
    }
}

/* App Preview */
.carousel-inner img {
    border-radius: 12px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

@media (min-width: 992px) {
    .carousel-control-prev {
        left: -24px;
    }

    .carousel-control-next {
        right: -24px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    width: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: transparent;
    filter: invert(19%) sepia(90%) saturate(4000%) hue-rotate(260deg) brightness(90%) contrast(95%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* SYMPTOM */
.symptom-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all .2s ease;
    background: #fff;
}

.symptom-card:hover {
    border-color: #7e57c2;
}

.symptom-card.active {
    border-color: #7e57c2;
    background: rgba(126, 87, 194, 0.05);
}

.symptom-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.diagnostic-box {
    background: #fafafa;
}

@media (min-width: 992px) {
    .symptom-card.reverse-lg .symptom-content {
        flex-direction: row-reverse;
        text-align: right;
    }

    .symptom-card.reverse-lg i {
        margin-left: 0.75rem;
        margin-right: 0;
    }
}

/* Impact */
.impact-pillar {
    padding-left: 16px;
    border-left: 3px solid var(--xena-violet);
}

.impact-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.impact-desc {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 6px;
}

.impact-sub {
    font-size: 0.85rem;
    color: #6b7280;
}

/* ROLE */
.role-zone {
    padding-left: 16px;
    border-left: 2px solid #e5e7eb;
}

.role-level {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 6px;
}

.role-zone h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.role-zone ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-zone li {
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #374151;
}

/* Patterns */

.pattern-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px;
    border: 1px solid #e5e7eb;
}

.pattern-accent {
    border-left: 4px solid var(--xena-violet);
}

.pattern-header {
    margin-bottom: 20px;
}

.pattern-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 8px;
}

.pattern-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.pattern-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.pattern-facts {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.pattern-facts li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #374151;
}

.pattern-facts li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #9ca3af;
}

.pattern-gap {
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.pattern-gap p {
    margin: 4px 0 0;
    font-size: 0.95rem;
    color: #111827;
}

/* BG */

.bg-diagnostic {
    background: #f4f6fa;
}

.bg-framework {
    background: linear-gradient(to bottom,
            #ffffff 0%,
            #f3f4f6 100%);
}

.bg-mechanism {
    background: linear-gradient(to bottom,
            #ffffff 0%,
            #f5f6fa 100%);
}

.bg-diagram {
    background:
        radial-gradient(600px 300px at 30% 20%, rgba(124, 108, 255, 0.12), transparent 60%),
        radial-gradient(500px 250px at 70% 80%, rgba(77, 163, 255, 0.08), transparent 55%),
        #0b0f1a;
}

.bg-diagram h1,
.bg-diagram h2,
.bg-diagram h3 {
    color: #F1F3FF;
}

/* Paragraphes */
.bg-diagram p {
    color: rgb(255, 255, 255);
}

/* Texte secondaire */
.bg-diagram .text-muted,
.bg-diagram .subtitle {
    color: rgba(255, 255, 255, 0.856) !important;
}

/* Labels, petites infos */
.bg-diagram small,
.bg-diagram .small {
    color: rgba(255, 255, 255, 0.45);
}

/* Accent marque */
.bg-diagram .text-xena {
    color: #7c6cff;
}

/* Légère amélioration de lisibilité */
.bg-diagram p,
.bg-diagram h2,
.bg-diagram h3 {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

/* Statement */

.ops-statement {
    background: #f7f8fb;
    padding: 3.5rem 0;
}

.ops-statement-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #9aa0ab;
    margin-bottom: 0.75rem;
}

.ops-statement-text {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.45;
    color: #1f2937;
}

.ops-statement-white {
    background: #ffffff;
    padding: 4rem 0;
    border-top: 1px solid #eef0f3;
    border-bottom: 1px solid #eef0f3;
}

/* Decoration */
.icon-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--xena-gradient);
}