.guide-page { scroll-behavior: smooth; }
.guide-page main { overflow: clip; }
.guide-hero { padding: 7rem 0 4.5rem; background: radial-gradient(circle at 80% 20%, rgba(10,132,255,.2), transparent 30%), #07101f; color: #fff; }
.guide-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); gap: 4rem; align-items: center; }
.guide-hero h1 { max-width: 760px; margin: .6rem 0 1.25rem; color: #fff; font-size: clamp(2.6rem, 6vw, 5.25rem); line-height: .98; }
.guide-lead { max-width: 720px; color: #cbd5e1; font-size: 1.18rem; line-height: 1.7; }
.guide-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.guide-actions .button-secondary { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.guide-quick { padding: 1.7rem; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.07); backdrop-filter: blur(14px); }
.guide-quick h2 { margin: 0 0 .8rem; color: #fff; font-size: 1rem; }
.guide-quick a { display: block; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #dbeafe; text-decoration: none; }
.guide-quick a:last-child { border: 0; }
.guide-toc { position: sticky; z-index: 8; top: 0; border-bottom: 1px solid #e2e8f0; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.guide-toc .shell { display: flex; gap: .45rem; padding-top: .7rem; padding-bottom: .7rem; overflow-x: auto; }
.guide-toc a { flex: 0 0 auto; padding: .62rem .9rem; border-radius: 999px; color: #334155; font-size: .9rem; font-weight: 700; text-decoration: none; }
.guide-toc a:hover { background: #eaf4ff; color: #0066cc; }
.guide-section { padding-top: 6rem; padding-bottom: 6rem; scroll-margin-top: 70px; }
.guide-section-alt { background: #f5f8fc; }
.guide-heading { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; max-width: 900px; margin-bottom: 3.5rem; }
.guide-heading h2 { margin: .2rem 0 .7rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.guide-heading p { color: #64748b; font-size: 1.08rem; line-height: 1.7; }
.guide-number { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 13px; background: #0a84ff; color: #fff; font-weight: 900; }
.guide-block { padding: 3rem 0; border-top: 1px solid #dce4ee; scroll-margin-top: 100px; }
.guide-block h3 { margin: 0 0 1.2rem; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.guide-block h4 { margin: .85rem 0 .45rem; font-size: 1.05rem; }
.guide-block p, .guide-list { color: #526174; line-height: 1.7; }
.guide-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.guide-steps-four { grid-template-columns: repeat(4, 1fr); }
.guide-steps article, .guide-cards article { padding: 1.5rem; border: 1px solid #dce4ee; border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(15,23,42,.045); }
.guide-steps article > span { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 50%; background: #eaf4ff; color: #0066cc; font-weight: 900; }
.guide-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.guide-list { padding-left: 1.25rem; }
.guide-list li { margin-bottom: .75rem; padding-left: .25rem; }
.guide-note { margin-top: 1.4rem; padding: 1.1rem 1.25rem; border-left: 4px solid #0a84ff; border-radius: 0 14px 14px 0; background: #eaf4ff; color: #29435f; line-height: 1.6; }
.guide-placeholder { margin: 0; }
.guide-placeholder div { display: grid; min-height: 310px; place-items: center; align-content: center; padding: 2rem; border: 2px dashed #a9bfd6; border-radius: 24px; background: linear-gradient(135deg, #f8fbff, #eaf4ff); color: #55718f; text-align: center; font-size: 1.15rem; font-weight: 800; }
.guide-placeholder small { margin-top: .35rem; font-weight: 500; }
.guide-placeholder figcaption { margin-top: .8rem; color: #718096; font-size: .88rem; line-height: 1.5; }
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.guide-troubleshooting { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.guide-troubleshooting article { padding: 1.25rem 1.4rem; border-left: 4px solid #f59e0b; border-radius: 0 16px 16px 0; background: #fffaf0; }
.guide-troubleshooting h4 { margin-top: 0; }
.guide-troubleshooting p { margin-bottom: 0; }
.guide-rights { padding: 1rem 1.2rem; border-radius: 14px; background: #fff4d6; color: #754a00 !important; font-weight: 700; }
.guide-status { display: inline-block; padding: .4rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 900; }
.guide-status.success { color: #047857; background: #d1fae5; }
.guide-status.warning { color: #9a5800; background: #fef3c7; }
.guide-status.error { color: #b42318; background: #fee4e2; }
.guide-faq details { margin-bottom: .8rem; border: 1px solid #dce4ee; border-radius: 16px; background: #fff; }
.guide-faq summary { padding: 1.2rem 1.4rem; cursor: pointer; font-weight: 800; }
.guide-faq details p { margin: 0; padding: 0 1.4rem 1.3rem; color: #64748b; line-height: 1.7; }
.guide-support { padding: 5rem 0; background: #07101f; color: #fff; scroll-margin-top: 70px; }
.guide-support-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 3rem; align-items: center; }
.guide-support h2 { margin: .5rem 0 .8rem; color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); }
.guide-support p { color: #cbd5e1; line-height: 1.7; }
.guide-support-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.guide-support-actions > a:not(.button) { color: #93c5fd; }
@media (max-width: 960px) { .guide-hero-grid, .guide-support-inner { grid-template-columns: 1fr; } .guide-steps-four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .guide-hero { padding: 5rem 0 3rem; } .guide-section { padding-top: 4rem; padding-bottom: 4rem; } .guide-heading, .guide-split { grid-template-columns: 1fr; } .guide-split-reverse figure { order: 2; } .guide-steps, .guide-steps-four, .guide-cards, .guide-troubleshooting { grid-template-columns: 1fr; } .guide-placeholder div { min-height: 220px; } }
/* =========================================================
   CAPTURES D'ÉCRAN DU GUIDE
   ========================================================= */

.guide-screenshot {
    margin: 0;
    min-width: 0;
}

.guide-screenshot a {
    display: block;
    text-decoration: none;
}

.guide-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #dce4ee;
    background: #fff;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .10);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.guide-screenshot a:hover img {
    transform: translateY(-3px);
    box-shadow: 0 24px 65px rgba(15, 23, 42, .15);
}

.guide-screenshot figcaption {
    margin-top: .9rem;
    color: #718096;
    font-size: .88rem;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   CAPTURES MOBILE
   --------------------------------------------------------- */

.guide-screenshot-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guide-screenshot-mobile a {
    width: min(100%, 360px);
}

.guide-screenshot-mobile img {
    border-radius: 32px;
}

.guide-screenshot-mobile figcaption {
    width: min(100%, 420px);
    text-align: center;
}


/* Groupe de plusieurs captures mobiles */

.guide-mobile-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.guide-mobile-gallery .guide-screenshot-mobile a {
    width: min(100%, 320px);
    margin-inline: auto;
}


/* ---------------------------------------------------------
   CAPTURES WEB
   --------------------------------------------------------- */

.guide-screenshot-web img {
    border-radius: 18px;
}

.guide-screenshot-web figcaption {
    text-align: left;
}


/* Grande capture Web occupant toute la largeur */

.guide-screenshot-wide {
    margin-top: 2rem;
}

.guide-screenshot-wide img {
    width: 100%;
    border-radius: 20px;
}


/* ---------------------------------------------------------
   GALERIE WEB
   --------------------------------------------------------- */

.guide-web-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.guide-web-gallery .guide-screenshot {
    min-width: 0;
}


/* ---------------------------------------------------------
   CARTE POUR CAPTURE + TEXTE
   --------------------------------------------------------- */

.guide-screen-block {
    padding: 1.4rem;
    border: 1px solid #dce4ee;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .045);
}

.guide-screen-block h4 {
    margin-top: 0;
}

.guide-screen-block p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   NOTE SOUS LES CAPTURES
   --------------------------------------------------------- */

.guide-screenshot-note {
    margin-top: .7rem;
    color: #94a3b8;
    font-size: .8rem;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   ACCESSIBILITÉ / FOCUS
   --------------------------------------------------------- */

.guide-screenshot a:focus-visible {
    outline: 3px solid rgba(10, 132, 255, .45);
    outline-offset: 5px;
    border-radius: 22px;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 960px) {

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

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

@media (max-width: 720px) {

    .guide-mobile-gallery {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .guide-screenshot-mobile a {
        width: min(88vw, 340px);
    }

    .guide-screenshot-mobile img {
        border-radius: 26px;
    }

    .guide-screenshot-web img,
    .guide-screenshot-wide img {
        border-radius: 14px;
    }

    .guide-screen-block {
        padding: 1rem;
        border-radius: 18px;
    }
}


/* Respect du réglage système "réduire les animations" */

@media (prefers-reduced-motion: reduce) {

    .guide-screenshot img {
        transition: none;
    }

    .guide-screenshot a:hover img {
        transform: none;
    }
}
/* =========================================================
   SORTIE DU MODE BORNE QR
   ========================================================= */

.guide-kiosk-exit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.4rem;
    margin-top: 2.5rem;
    padding: 1.6rem;
    border: 1px solid #bfdbfe;
    border-radius: 22px;
    background: linear-gradient(135deg, #f8fbff, #eef6ff);
}

.guide-kiosk-exit-icon {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    place-items: center;
    border-radius: 50%;
    background: #0a84ff;
    color: #fff;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.guide-kiosk-exit h4 {
    margin: 0 0 .7rem;
    font-size: 1.25rem;
}

.guide-kiosk-exit > div:last-child > p {
    color: #526174;
    line-height: 1.7;
}

@media (max-width: 720px) {

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

    .guide-kiosk-exit-icon {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.7rem;
    }
}