/* =====================================================================
 * Destination : /assets/css/pages/so-funktionierts.css
 * Rôle        : Styles PROPRES À LA PAGE « So funktioniert's »
 *               (/so-funktionierts.php) – chargé après main.css
 * Version     : 2.0 – Corporate / Trust & Security
 *
 * Sommaire : 01 En-tête · 02 Parcours (frise) · 03 Pièces (onglets)
 *            04 Critères · 05 Après la signature · 06 Responsive
 * ===================================================================== */

.text-gradient-light { background: linear-gradient(90deg, #93C5FD, #6EE7B7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.text-green-light { color: #6EE7B7 !important; }
.text-2 { color: var(--text-2); }

/* 01. EN-TÊTE ======================================================== */
.time-card { padding: 1.6rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-xl); backdrop-filter: blur(6px); }
.time-kicker { display: block; margin-bottom: 1rem; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #93C5FD; }
.time-card ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.time-card li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .18); }
.time-card li span { color: #E2E8F0; }
.time-card li strong { font-family: var(--font-display); font-size: 1.15rem; color: #6EE7B7; white-space: nowrap; }
.time-card p { margin: 0; font-size: .82rem; color: #CBD5E1; }
.time-card p i { margin-right: .3rem; }

/* 02. PARCOURS ====================================================== */
.journey { position: relative; max-width: 1060px; margin: 0 auto; }
.journey-list { margin: 0; padding: 0; list-style: none; }
.journey-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--border); border-radius: 4px; }
.journey-fill { position: absolute; left: 0; top: 0; width: 100%; height: var(--fill, 0%); background: linear-gradient(180deg, var(--blue), var(--green)); border-radius: 4px; transition: height .2s linear; }
.journey-step { position: relative; display: flex; justify-content: flex-start; padding-bottom: 2.5rem; }
.journey-step:last-child { padding-bottom: 0; }
@media (min-width: 992px) {
    .journey-step + .journey-step { margin-top: -6.5rem; }
}
.journey-step.is-right { justify-content: flex-end; }
.journey-num {
    position: absolute;
    left: 50%; top: 1.5rem;
    z-index: 2;
    display: grid; place-items: center;
    width: 48px; height: 48px;
    margin-left: -24px;
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
    color: var(--muted);
    background: var(--white);
    border: 3px solid var(--border-2);
    border-radius: 50%;
    transition: all .4s var(--ease);
}
.journey-step.is-reached .journey-num { color: var(--white); background: var(--blue); border-color: var(--white); box-shadow: 0 0 0 4px rgba(30, 64, 175, .2); }
.journey-card { position: relative; width: calc(50% - 3.25rem); padding: 1.6rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease); }
.journey-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.journey-card::before { content: ""; position: absolute; top: 2.2rem; right: -9px; width: 16px; height: 16px; background: var(--white); border-top: 1px solid var(--border); border-right: 1px solid var(--border); transform: rotate(45deg); }
.is-right .journey-card::before { right: auto; left: -9px; transform: rotate(-135deg); }
.journey-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.journey-head .ac-icon { flex-shrink: 0; margin: 0; }
.journey-head h3 { margin: 0; font-size: 1.2rem; }
.journey-time { display: inline-block; margin-bottom: .2rem; padding: .1rem .55rem; font-size: .75rem; font-weight: 800; color: var(--green-dark); background: var(--green-soft-2); border-radius: 100px; }
.journey-card > p { color: var(--text-2); }
.journey-card .ac-checklist { font-size: .9rem; }

/* 03. PIÈCES ======================================================== */
.docs-tabs { max-width: 1060px; margin: 0 auto; text-align: center; }
.docs-tabs .ac-tabs { margin-bottom: 1.75rem; justify-content: center; }
.docs-tabs .ac-tabs button i { margin-right: .3rem; }
.docs-panel { text-align: left; padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); animation: fadeUp .4s var(--ease); }
.docs-list { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.docs-list li { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; font-weight: 600; background: var(--bg); border-radius: var(--radius-sm); }
.docs-num { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; font-family: var(--font-display); font-size: .85rem; font-weight: 800; color: var(--white); background: var(--blue); border-radius: 50%; }
.docs-side { padding: 1.25rem; background: var(--blue-soft); border-radius: var(--radius-lg); }
.docs-side > strong { display: block; margin-bottom: .75rem; font-family: var(--font-display); color: var(--navy); }
.docs-product { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; padding: .7rem .9rem; font-weight: 700; color: var(--navy); background: var(--white); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.docs-product > i:first-child { color: var(--accent); }
.docs-product:hover { color: var(--navy); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.docs-side p { margin: .9rem 0 0; font-size: .85rem; color: var(--text-2); }
.docs-side p i { margin-right: .3rem; color: #D97706; }

/* 04. CRITÈRES ====================================================== */
.crit-card .ac-card-title { font-size: 1.08rem; }
.crit-card .ac-card-text { margin: 0; font-size: .9rem; }

/* 05. APRÈS LA SIGNATURE ============================================ */
.after-card { padding: 1.6rem; color: var(--white); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--radius-lg); transition: transform .3s var(--ease), border-color .3s; }
.after-card:hover { transform: translateY(-5px); border-color: rgba(110, 231, 183, .5); }
.after-card > i { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1rem; font-size: 1.2rem; background: var(--grad-green); border-radius: var(--radius); }
.after-card h3 { font-size: 1.1rem; color: var(--white); }
.after-card p { margin: 0; font-size: .9rem; color: #CBD5E1; }

/* 06. RESPONSIVE ==================================================== */
@media (max-width: 991.98px) {
    .journey-line { left: 23px; }
    .journey-num { left: 0; margin-left: 0; top: 1.25rem; }
    .journey-step, .journey-step.is-right { justify-content: flex-start; padding-left: 4.25rem; }
    .journey-card { width: 100%; }
    .journey-card::before, .is-right .journey-card::before { right: auto; left: -9px; transform: rotate(-135deg); top: 1.9rem; }
}
@media (max-width: 575.98px) {
    .journey-step, .journey-step.is-right { padding-left: 3.5rem; }
    .journey-line { left: 18px; }
    .journey-num { width: 40px; height: 40px; font-size: 1rem; }
    .journey-card { padding: 1.25rem; }
    .journey-head { align-items: flex-start; }
    .docs-tabs .ac-tabs { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
    .docs-tabs .ac-tabs button { white-space: nowrap; }
}