.admin-guide-page {
    --guide-accent: #29d9f2;
}

.guide-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.guide-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 6vw, 68px);
    border: 1px solid rgba(89, 222, 242, .22);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(13, 62, 82, .92), rgba(3, 18, 29, .97));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.guide-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    top: -160px;
    border-radius: 50%;
    background: rgba(41, 217, 242, .12);
    filter: blur(10px);
}

.guide-kicker,
.guide-step__number {
    color: var(--guide-accent);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.guide-hero h1 {
    max-width: 790px;
    margin: 12px 0 18px;
    font-size: clamp(2.2rem, 6vw, 4.7rem);
    line-height: .98;
    letter-spacing: -.04em;
}

.guide-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(235, 248, 252, .78);
    font-size: 1.08rem;
    line-height: 1.7;
}

.guide-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.guide-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 26px 0 50px;
}

.guide-summary article {
    padding: 20px;
    border: 1px solid rgba(119, 194, 211, .2);
    border-radius: 18px;
    background: rgba(5, 27, 41, .72);
}

.guide-summary strong {
    display: block;
    margin-bottom: 5px;
    color: #f2fbfd;
    font-size: 1.02rem;
}

.guide-summary span,
.guide-note,
.guide-step__content p,
.guide-step__content li {
    color: rgba(227, 242, 247, .74);
    line-height: 1.65;
}

.guide-flight-plan {
    display: grid;
    gap: 28px;
}

.guide-step {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 22px;
    padding: 28px;
    border: 1px solid rgba(105, 191, 211, .18);
    border-radius: 24px;
    background: rgba(4, 24, 37, .76);
}

.guide-step__number {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(41, 217, 242, .45);
    border-radius: 50%;
    font-size: 1rem;
}

.guide-step__content h2 {
    margin: 1px 0 10px;
    color: #f4fbfd;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.guide-step__content ul {
    margin: 14px 0 0;
    padding-left: 1.2rem;
}

.guide-step__content li + li {
    margin-top: 7px;
}

.guide-shot {
    margin: 22px 0 2px;
    border: 1px solid rgba(103, 211, 231, .24);
    border-radius: 16px;
    overflow: hidden;
    background: #03111b;
}

.guide-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.guide-shot figcaption {
    padding: 10px 14px;
    color: rgba(224, 241, 246, .67);
    font-size: .82rem;
    line-height: 1.45;
}

.guide-note {
    margin: 46px 0 0;
    padding: 22px 24px;
    border-left: 3px solid var(--guide-accent);
    border-radius: 0 14px 14px 0;
    background: rgba(20, 86, 104, .22);
}

@media (max-width: 760px) {
    .guide-summary { grid-template-columns: 1fr; }
    .guide-step { grid-template-columns: 1fr; padding: 22px; }
    .guide-step__number { width: 48px; height: 48px; }
}

@media print {
    .admin-guide-page .site-header,
    .admin-guide-page .site-footer,
    .guide-actions { display: none !important; }
    .guide-shell { width: 100%; padding: 0; }
    .guide-step { break-inside: avoid; }
}

/* ------------------------------------------------------------------ */
/* Aide administrateur repliable, affichée en bas de page             */
/* ------------------------------------------------------------------ */

.admin-help {
    --help-accent: var(--line2, #29d9f2);
    margin-top: 8px;
    border-top: 1px solid var(--line);
    background: var(--panel);
}

.admin-help__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 18px 0 26px;
}

.admin-help__switch {
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.admin-help__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border: 1px solid var(--line2);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}

.admin-help__toggle:hover,
.admin-help__toggle:focus-visible {
    background: rgba(41, 217, 242, .12);
    border-color: var(--help-accent);
}

.admin-help__toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--help-accent);
    color: #041018;
    font-weight: 800;
    line-height: 1;
}

.admin-help__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 28px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel2);
    box-shadow: var(--shadow);
}

.admin-help__kicker {
    margin: 0 0 8px;
    color: var(--help-accent);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.admin-help__intro {
    margin: 0 0 12px;
    color: var(--text);
    line-height: 1.55;
}

.admin-help__list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.6;
}

.admin-help__list li {
    margin-bottom: 6px;
}

.admin-help__guides {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 24px;
    border-left: 1px solid var(--line);
}

.admin-help__guide-link {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    text-decoration: none;
    color: var(--text);
    transition: border-color .18s ease, transform .18s ease;
}

.admin-help__guide-link:hover,
.admin-help__guide-link:focus-visible {
    border-color: var(--help-accent);
    transform: translateY(-1px);
}

.admin-help__guide-link strong {
    display: block;
    font-size: .92rem;
}

.admin-help__guide-link small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.4;
}

@media (max-width: 760px) {
    .admin-help__panel { grid-template-columns: 1fr; }
    .admin-help__guides {
        padding-left: 0;
        padding-top: 20px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media print {
    .admin-help { display: none !important; }
}
