/* ==========================================================================
   GUIDES DE SOUSCRIPTION — À AJOUTER À LA FIN DU CSS PUBLIC
   Aucun dégradé n'est utilisé dans ce fichier.
   ========================================================================== */

/* Cartes cliquables de la page d'accueil */
.process--linked {
    color: var(--text);
    background: #f7f9fc;
}

.process--linked .section-title {
    color: var(--navy-dark);
}

.process--linked .section-text {
    color: var(--muted);
}

.process--linked .step--link {
    position: relative;
    overflow: hidden;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 24px 26px;
    border: 1px solid #dfe6ef;
    border-radius: 22px;
    color: inherit;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 42, 86, .07);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.process--linked .step--link:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 49, 49, .35);
    box-shadow: 0 22px 45px rgba(16, 42, 86, .12);
}

.process--linked .step-num {
    color: #fff;
    border-color: #ffe4e4;
    background: var(--primary);
}

.process--linked .step h3 {
    color: var(--navy-dark);
}

.process--linked .step p {
    color: var(--muted);
}

.step-link-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 20px;
    color: var(--primary);
    font-size: .86rem;
    font-weight: 900;
    text-transform: uppercase;
}

.step-link-label b {
    font-size: 1.15rem;
}

/* Navigation interne */
.guide-page {
    background: #fff;
}

.guide-subnav {
    position: sticky;
    top: var(--header-height, 86px);
    z-index: 800;
    border-top: 1px solid #edf1f6;
    border-bottom: 1px solid #dfe6ef;
    background: #fff;
}

.guide-subnav__inner {
    min-height: 66px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.guide-subnav__inner::-webkit-scrollbar {
    display: none;
}

.guide-subnav a {
    min-width: 180px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 18px;
    color: #40546f;
    font-size: .85rem;
    font-weight: 850;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.guide-subnav a span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid #d8e1ec;
    border-radius: 50%;
    color: var(--navy-dark);
    background: #fff;
    font-size: .72rem;
}

.guide-subnav a:hover,
.guide-subnav a.active {
    color: var(--primary);
    background: #fff5f5;
}

.guide-subnav a.active span {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}

/* En-tête textuel, sans image hero répétée */
.guide-introduction {
    padding: clamp(54px, 7vw, 90px) 0;
    border-bottom: 1px solid #e3e9f1;
    background: #f6f8fb;
}

.guide-introduction__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
}

.guide-introduction__number {
    color: var(--primary);
    font-size: clamp(5.5rem, 11vw, 10rem);
    font-weight: 950;
    line-height: .8;
    letter-spacing: -.1em;
}

.guide-introduction__copy {
    max-width: 820px;
}

.guide-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.guide-kicker::before {
    content: "";
    width: 29px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.guide-introduction h1 {
    margin: 12px 0 17px;
    color: var(--navy-dark);
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -.052em;
    text-wrap: balance;
}

.guide-introduction p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.78;
}

/* Préparation */
.guide-preparation {
    padding: clamp(65px, 7vw, 100px) 0;
    background: #fff;
}

.guide-section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.guide-section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.guide-section-heading h2 {
    margin-top: 10px;
    color: var(--navy-dark);
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.guide-section-heading > p {
    margin-top: 15px;
    color: var(--muted);
    line-height: 1.75;
}

.guide-preparation__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.guide-preparation__item {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 27px;
    border: 1px solid #dfe6ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 11px 28px rgba(16, 42, 86, .06);
}

.guide-preparation__item > span {
    position: absolute;
    right: 18px;
    bottom: -17px;
    color: #fff0f0;
    font-size: 5.7rem;
    font-weight: 950;
    line-height: 1;
}

.guide-preparation__item h3,
.guide-preparation__item p {
    position: relative;
    z-index: 1;
}

.guide-preparation__item h3 {
    margin-bottom: 10px;
    color: var(--navy-dark);
    font-size: 1.08rem;
}

.guide-preparation__item p {
    max-width: 90%;
    color: var(--muted);
}

/* Timeline inspirée de l'exemple fourni */
.guide-explanation {
    padding: clamp(70px, 8vw, 115px) 0;
    background: #f6f8fb;
}

.guide-timeline {
    position: relative;
    max-width: 1120px;
    margin: 20px auto 0;
    padding: 18px 0;
}

.guide-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #5720ad;
    transform: translateX(-50%);
}

.guide-timeline__item {
    position: relative;
    width: 50%;
    min-height: 215px;
    display: flex;
    align-items: center;
    padding: 20px 72px 20px 0;
}

.guide-timeline__item--right {
    margin-left: 50%;
    padding: 20px 0 20px 72px;
}

.guide-timeline__marker {
    position: absolute;
    top: 50%;
    right: -45px;
    z-index: 2;
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border: 2px solid #5720ad;
    border-radius: 50%;
    color: #5720ad;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 950;
    transform: translateY(-50%);
}

.guide-timeline__item--right .guide-timeline__marker {
    right: auto;
    left: -45px;
}

.guide-timeline__card {
    width: 100%;
    padding: 27px;
    border: 1px solid #dfe6ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 13px 32px rgba(16, 42, 86, .07);
}

.guide-timeline__item--left .guide-timeline__card {
    text-align: right;
}

.guide-timeline__eyebrow {
    color: #5720ad;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.guide-timeline__card h2 {
    margin: 8px 0 11px;
    color: var(--navy-dark);
    font-size: 1.32rem;
    line-height: 1.2;
}

.guide-timeline__card > p {
    color: var(--muted);
    line-height: 1.7;
}

.guide-bullet-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 0;
    color: #40546f;
    list-style: none;
}

.guide-bullet-list li {
    position: relative;
    padding-left: 20px;
}

.guide-timeline__item--left .guide-bullet-list li {
    padding-right: 20px;
    padding-left: 0;
}

.guide-bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 950;
}

.guide-timeline__item--left .guide-bullet-list li::before {
    right: 0;
    left: auto;
}

.guide-inline-note {
    margin-top: 17px;
    padding: 12px 14px;
    border-left: 3px solid var(--primary);
    color: #6b3c13 !important;
    background: #fff7eb;
    font-size: .86rem;
    text-align: left;
}

/* Avertissement */
.guide-warning {
    padding: 64px 0;
    background: #fff;
}

.guide-warning__card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    border: 1px solid #ffd3d3;
    border-radius: 21px;
    background: #fff7f7;
}

.guide-warning__icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
    font-size: 1.5rem;
    font-weight: 950;
}

.guide-warning h2 {
    margin-bottom: 7px;
    color: var(--navy-dark);
    font-size: 1.35rem;
}

.guide-warning p {
    color: var(--muted);
    line-height: 1.7;
}

/* Étape suivante */
.guide-next {
    padding: 70px 0 95px;
    background: var(--navy-dark);
}

.guide-next__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
}

.guide-next .guide-kicker {
    color: #ffbcbc;
}

.guide-next h2 {
    margin: 12px 0 10px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
}

.guide-next p {
    max-width: 720px;
    color: rgba(255, 255, 255, .7);
}

.guide-next__link {
    min-width: 320px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 19px 22px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.guide-next__link:hover {
    color: var(--navy-dark);
    background: #fff;
    transform: translateY(-3px);
}

.guide-next__link b {
    font-size: 1.4rem;
}

@media (max-width: 1100px) {
    .guide-introduction__inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .guide-introduction__inner > .btn {
        grid-column: 2;
        justify-self: start;
    }

    .guide-preparation__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .guide-subnav {
        top: var(--header-height, 74px);
    }

    .guide-subnav__inner {
        justify-content: flex-start;
    }

    .guide-introduction__inner {
        grid-template-columns: 1fr;
    }

    .guide-introduction__number {
        font-size: 6rem;
    }

    .guide-introduction__inner > .btn {
        grid-column: auto;
    }

    .guide-timeline::before {
        left: 45px;
    }

    .guide-timeline__item,
    .guide-timeline__item--right {
        width: 100%;
        min-height: auto;
        margin-left: 0;
        padding: 18px 0 18px 105px;
    }

    .guide-timeline__marker,
    .guide-timeline__item--right .guide-timeline__marker {
        top: 50%;
        right: auto;
        left: 0;
        width: 90px;
        height: 90px;
    }

    .guide-timeline__item--left .guide-timeline__card {
        text-align: left;
    }

    .guide-timeline__item--left .guide-bullet-list li {
        padding-right: 0;
        padding-left: 20px;
    }

    .guide-timeline__item--left .guide-bullet-list li::before {
        right: auto;
        left: 0;
    }

    .guide-next__inner {
        grid-template-columns: 1fr;
    }

    .guide-next__link {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 620px) {
    .process--linked .step--link {
        min-height: 245px;
    }

    .guide-introduction {
        padding: 42px 0 54px;
    }

    .guide-introduction h1 {
        font-size: 2.55rem;
    }

    .guide-preparation__grid {
        grid-template-columns: 1fr;
    }

    .guide-timeline::before {
        left: 32px;
    }

    .guide-timeline__item,
    .guide-timeline__item--right {
        padding-left: 79px;
    }

    .guide-timeline__marker,
    .guide-timeline__item--right .guide-timeline__marker {
        left: 0;
        width: 64px;
        height: 64px;
        font-size: .9rem;
    }

    .guide-timeline__card {
        padding: 21px;
    }

    .guide-warning__card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .guide-warning__icon {
        width: 50px;
        height: 50px;
    }
}
