/* ============================================================================
   GUIDES MCO — feuille commune (guides, FAQ, pages ES / PT-BR).

   Mobile d'abord, 16 px de marge latérale, aucun défilement horizontal de la
   page : un tableau trop large défile DANS son cadre (.gd-table-wrap).
   Même identité que le site : bleu nuit #0d255e / #102a6b, dégradé vers
   #16a6e1, titres Bricolage Grotesque, texte DM Sans, cartes arrondies.
   Toutes les classes commencent par « gd- » : aucune collision possible
   avec global-park-fly.css.
   ============================================================================ */

.gd-page {
    --gd-navy: #0d255e;
    --gd-navy-2: #102a6b;
    --gd-sky: #16a6e1;
    --gd-blue: #0b6dbb;
    --gd-ink: #26365b;
    --gd-text: #384766;
    --gd-muted: #5b6884;
    --gd-line: #e3ebf9;
    --gd-soft: #f5f8fe;
    --gd-gold: #f5a623;
    --gd-radius: 18px;
    --gd-shadow: 0 16px 40px -26px rgba(13, 37, 94, .45);
    background: #fff;
    color: var(--gd-text);
    overflow-x: clip;
}

/* Le texte courant : global-park-fly.css met p/li à 18 px gris clair. */
.gd-page p,
.gd-page li,
.gd-page dd,
.gd-page td {
    color: var(--gd-text);
    font-size: 1rem;
    line-height: 1.7;
}
/* :where() = spécificité minimale : les liens des composants (fil d'Ariane,
   cartes, boutons) gardent leur propre style sans !important. */
.gd-page :where(a:not(.gd-btn):not(.stretched-link)) { color: var(--gd-blue); text-decoration: underline; text-underline-offset: 2px; }
.gd-page :where(a:not(.gd-btn)):hover { color: var(--gd-navy); }
.gd-page strong { color: var(--gd-ink); }

/* ---------- Colonne de lecture ---------- */
.gd-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px 56px;
}
.gd-band { background: var(--gd-soft); border-block: 1px solid var(--gd-line); }
.gd-band > .gd-main { padding-top: 8px; padding-bottom: 40px; }

/* ---------- Bandeau d'en-tête ---------- */
.gd-hero {
    position: relative;
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(22, 166, 225, .28) 0%, transparent 60%),
        linear-gradient(135deg, #0a1734 0%, #102a6b 55%, #14509e 100%);
    /* La barre de navigation est fixe, mais jquery.sticky.js l'enveloppe dans
       un bloc de SA hauteur (68 px sur ordinateur, jusqu'à ~140 px sur un
       petit téléphone où elle passe sur trois lignes) : le bandeau commence
       donc déjà sous elle. L'ombre pleine vers le haut peint en bleu nuit la
       zone située derrière la barre translucide, comme sur l'accueil. */
    padding: 28px 0 30px;
    box-shadow: 0 -240px 0 0 #0a1734;
    color: #fff;
    overflow: hidden;
}
.gd-hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 212, 255, .5), transparent);
}
.gd-hero__inner { max-width: 960px; margin: 0 auto; padding: 0 16px; position: relative; z-index: 1; }
.gd-hero h1 {
    color: #fff;
    font-family: var(--display-font, 'Bricolage Grotesque', 'DM Sans', sans-serif);
    font-size: clamp(1.75rem, 6vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -.025em;
    font-weight: 800;
    margin: 6px 0 12px;
    text-wrap: balance;
}
.gd-page .gd-hero__kicker {
    display: inline-block;
    margin: 0;
    color: #ffd08a;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.gd-page .gd-hero__intro {
    color: rgba(235, 242, 255, .9);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 720px;
    margin: 0;
}
.gd-hero__meta { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gd-page .gd-hero__meta li {
    font-size: .8rem;
    line-height: 1.3;
    color: #cfe6ff;
    background: rgba(22, 166, 225, .16);
    border: 1px solid rgba(124, 150, 230, .4);
    border-radius: 999px;
    padding: 5px 12px;
}

/* ---------- Fil d'Ariane ---------- */
.gd-crumbs { margin: 0 0 10px; }
.gd-crumbs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.gd-page .gd-crumbs li { font-size: .82rem; line-height: 1.4; color: rgba(226, 236, 255, .78); }
.gd-crumbs li + li::before { content: "›"; margin: 0 8px; opacity: .6; }
.gd-page .gd-crumbs a { color: #cfe6ff; text-decoration: none; }
.gd-page .gd-crumbs a:hover { color: #fff; text-decoration: underline; }
.gd-page .gd-crumbs--light li { color: var(--gd-muted); }
.gd-page .gd-crumbs--light a { color: var(--gd-blue); }

/* ---------- Sections et titres ---------- */
.gd-section { margin-top: 44px; }
.gd-section:first-child { margin-top: 32px; }
.gd-page h2 {
    font-family: var(--display-font, 'Bricolage Grotesque', 'DM Sans', sans-serif);
    color: var(--gd-navy);
    font-size: clamp(1.4rem, 4.6vw, 1.9rem);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 14px;
}
.gd-page h3 {
    font-family: var(--display-font, 'Bricolage Grotesque', 'DM Sans', sans-serif);
    color: #16305f;
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 24px 0 8px;
}
.gd-page h2 + h3 { margin-top: 8px; }
.gd-page p { margin: 0 0 14px; }
.gd-page ul:not([class]),
.gd-page ol:not([class]) { padding-left: 22px; margin: 0 0 16px; }
.gd-page ul:not([class]) li,
.gd-page ol:not([class]) li { margin-bottom: 6px; }
.gd-page .gd-lead { font-size: 1.1rem; color: var(--gd-ink); }
.gd-page .gd-muted,
.gd-page .gd-small { color: var(--gd-muted); font-size: .88rem; }

/* La réponse d'abord : encadré en tête de page. */
.gd-answer {
    margin-top: 28px;
    background: #fff;
    border: 1px solid var(--gd-line);
    border-left: 4px solid var(--gd-sky);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: var(--gd-shadow);
}
.gd-page .gd-answer p { margin: 0; font-size: 1.05rem; color: var(--gd-ink); }
.gd-page .gd-answer p + p { margin-top: 8px; }

/* ---------- Tableaux (défilement DANS le cadre) ---------- */
.gd-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--gd-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--gd-shadow);
    margin: 8px 0 10px;
}
.gd-table-wrap:focus-visible { outline: 3px solid rgba(22, 166, 225, .5); outline-offset: 2px; }
.gd-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.gd-table caption { caption-side: bottom; text-align: left; padding: 10px 14px; font-size: .84rem; color: var(--gd-muted); }
.gd-table th,
.gd-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #eef2fa; }
.gd-page .gd-table td { font-size: .95rem; line-height: 1.5; }
.gd-table thead th {
    background: var(--gd-soft);
    color: var(--gd-navy);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.gd-table tbody th { color: var(--gd-ink); font-weight: 700; font-size: .95rem; }
.gd-table tbody tr:last-child th,
.gd-table tbody tr:last-child td { border-bottom: 0; }
.gd-table .gd-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gd-table .gd-row--ours th,
.gd-table .gd-row--ours td { background: #eef8ff; }
.gd-table .gd-row--ours th { box-shadow: inset 4px 0 0 var(--gd-sky); }
.gd-page .gd-table-note { font-size: .86rem; color: var(--gd-muted); margin: 0 0 18px; }

/* ---------- Encadrés ---------- */
.gd-callout {
    border-radius: 14px;
    padding: 14px 16px;
    margin: 18px 0;
    background: #f2f7ff;
    border: 1px solid #d9e7fb;
    border-left: 4px solid var(--gd-sky);
}
.gd-page .gd-callout p { margin: 0; font-size: .96rem; }
.gd-page .gd-callout p + p { margin-top: 8px; }
.gd-page .gd-callout__title { display: block; font-weight: 700; color: var(--gd-navy); margin-bottom: 4px; }
.gd-callout--tip { background: #fff8ec; border-color: #f7e1b5; border-left-color: var(--gd-gold); }
.gd-callout--warn { background: #fdf0ee; border-color: #f4d4ce; border-left-color: #c0392b; }
.gd-page .gd-callout--warn p { color: #5b2620; }
.gd-callout--note { background: var(--gd-soft); border-color: var(--gd-line); border-left-color: #8aa0c8; }

/* ---------- Chiffres clés ---------- */
.gd-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 8px; }
.gd-stat { background: #fff; border: 1px solid var(--gd-line); border-radius: 14px; padding: 14px; box-shadow: var(--gd-shadow); }
.gd-stat__value {
    display: block;
    font-family: var(--display-font, 'Bricolage Grotesque', 'DM Sans', sans-serif);
    color: var(--gd-navy);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}
.gd-stat__label { display: block; color: var(--gd-muted); font-size: .84rem; line-height: 1.35; margin-top: 4px; }
.gd-stat--ours { border-color: #b9e0f7; background: linear-gradient(180deg, #f2faff 0%, #fff 100%); }

/* ---------- Cartes ---------- */
.gd-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 12px; }
.gd-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-radius);
    padding: 18px;
    box-shadow: var(--gd-shadow);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gd-card:hover,
.gd-card:focus-within { transform: translateY(-2px); border-color: #b9d6f5; }
.gd-page .gd-card h3 { margin: 0; font-size: 1.08rem; }
.gd-page .gd-card h3 a { color: var(--gd-navy); text-decoration: none; }
.gd-page .gd-card p { margin: 0; font-size: .94rem; line-height: 1.55; flex: 1; }
.gd-card__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gd-blue); }
.gd-card__more { font-size: .86rem; font-weight: 700; color: var(--gd-blue); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Étapes numérotées ---------- */
.gd-steps { list-style: none; counter-reset: gd-step; margin: 12px 0 18px; padding: 0; display: grid; gap: 12px; }
.gd-steps > li {
    counter-increment: gd-step;
    position: relative;
    background: #fff;
    border: 1px solid var(--gd-line);
    border-radius: 14px;
    padding: 14px 16px 14px 58px;
    margin: 0;
}
.gd-steps > li::before {
    content: counter(gd-step);
    position: absolute;
    left: 14px; top: 14px;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .9rem;
    color: #fff;
    background: linear-gradient(135deg, var(--gd-navy-2), var(--gd-sky));
}
.gd-page .gd-steps > li strong { display: block; color: var(--gd-navy); margin-bottom: 2px; }

/* ---------- Emplacements de navette par terminal ---------- */
.gd-bays { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 12px 0 16px; }
.gd-bay {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 14px;
    background: linear-gradient(135deg, #0a1d49 0%, #102a6b 100%);
    color: #fff;
    border-radius: 16px;
    padding: 14px 16px;
}
.gd-bay__letter {
    grid-row: span 2;
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: var(--display-font, 'Bricolage Grotesque', sans-serif);
    font-size: 1.4rem;
    font-weight: 800;
    color: #0a1d49;
    background: #ffd08a;
}
.gd-bay__spot { font-family: var(--display-font, 'Bricolage Grotesque', sans-serif); font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.gd-bay__line { font-size: .84rem; color: rgba(226, 236, 255, .8); }

/* ---------- « En bref » ---------- */
.gd-facts {
    margin-top: 32px;
    background: var(--gd-soft);
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-radius);
    padding: 18px;
}
.gd-page .gd-facts__title { font-size: 1.15rem; margin: 0 0 10px; }
.gd-facts__list { margin: 0; display: grid; gap: 0; }
.gd-facts__row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; border-top: 1px solid var(--gd-line); }
.gd-facts__row:first-child { border-top: 0; padding-top: 0; }
.gd-facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gd-muted); }
.gd-page .gd-facts dd { margin: 0; font-size: .96rem; line-height: 1.5; color: var(--gd-ink); }
.gd-facts__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0 !important; }
.gd-page .gd-facts__links a { font-size: .9rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* ---------- FAQ ---------- */
.gd-faq__list { display: flex; flex-direction: column; gap: 10px; }
.gd-faq__item { background: #fff; border: 1px solid #e8eef8; border-radius: 14px; padding: 2px 16px; box-shadow: 0 6px 24px rgba(13, 37, 94, .06); }
.gd-faq__item[open] { border-color: #cfe0f5; }
.gd-faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    min-height: 44px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--gd-navy);
}
.gd-faq__item summary::-webkit-details-marker { display: none; }
.gd-faq__item summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--gd-sky); line-height: 1; flex-shrink: 0; }
.gd-faq__item[open] summary::after { content: "\2212"; }
.gd-faq__answer { padding: 0 0 14px; }
.gd-page .gd-faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Appel à réserver ---------- */
.gd-cta {
    margin-top: 44px;
    border-radius: 22px;
    padding: 22px 18px;
    color: #fff;
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(22, 166, 225, .35) 0%, transparent 60%),
        linear-gradient(135deg, #0a1734 0%, #102a6b 60%, #14509e 100%);
    display: grid;
    gap: 16px;
}
.gd-page .gd-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.3rem, 4.4vw, 1.7rem); }
.gd-page .gd-cta p { color: rgba(235, 242, 255, .88); margin: 0; font-size: .98rem; }
.gd-page .gd-cta .gd-cta__note { margin-top: 6px; font-size: .84rem; color: rgba(226, 236, 255, .7); }
.gd-cta__actions { display: flex; flex-direction: column; gap: 10px; }
.gd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.gd-btn--primary { background: linear-gradient(135deg, #f5a623, #f39a12); color: #1a1405 !important; box-shadow: 0 12px 26px -12px rgba(243, 154, 18, .8); }
.gd-btn--primary:hover { transform: translateY(-1px); color: #1a1405 !important; }
.gd-btn--ghost { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff !important; background: transparent; }
.gd-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }
.gd-btn--outline { border: 1.5px solid #cfe0f7; color: var(--gd-navy) !important; background: #fff; }
.gd-btn--outline:hover { border-color: var(--gd-sky); }

/* ---------- Sources ---------- */
.gd-sources { border-top: 1px solid var(--gd-line); padding-top: 24px; }
.gd-page .gd-sources h2 { font-size: 1.15rem; }
.gd-page .gd-sources p { font-size: .9rem; color: var(--gd-muted); }
.gd-sources__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.gd-page .gd-sources__list li { font-size: .88rem; line-height: 1.5; margin: 0; }
.gd-page .gd-sources__list a { overflow-wrap: anywhere; }

/* ---------- Listes à coches, étiquettes, deux colonnes ---------- */
.gd-checks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.gd-checks > li { position: relative; padding-left: 28px; margin: 0; }
.gd-checks > li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 800; color: #18a36b; }
.gd-checks--cross > li::before { content: "\2715"; color: #c0392b; }
.gd-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 2px 9px;
    background: #eaf2ff;
    color: var(--gd-navy-2);
    vertical-align: middle;
}
.gd-tag--ours { background: #e3f6ff; color: #075e8a; }
.gd-tag--official { background: #fff3dd; color: #7a4d00; }
.gd-two { display: grid; grid-template-columns: 1fr; gap: 14px; }
.gd-two > * { min-width: 0; }

/* ---------- Écrans plus larges ---------- */
@media (min-width: 576px) {
    .gd-cta__actions { flex-direction: row; flex-wrap: wrap; }
    .gd-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .gd-hero { padding: 40px 0 44px; }
    .gd-hero__inner,
    .gd-main { padding-left: 24px; padding-right: 24px; }
    .gd-page p,
    .gd-page li,
    .gd-page dd { font-size: 1.04rem; }
    .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .gd-bays { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gd-bay { grid-template-columns: 1fr; row-gap: 6px; }
    .gd-bay__letter { grid-row: auto; }
    .gd-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .gd-facts { padding: 22px 24px; }
    .gd-facts__row { grid-template-columns: 190px 1fr; gap: 16px; align-items: baseline; }
    .gd-cta { grid-template-columns: 1fr auto; align-items: center; padding: 28px 30px; }
    .gd-cta__actions { flex-direction: column; }
    .gd-section { margin-top: 56px; }
}
@media (min-width: 992px) {
    .gd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gd-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .gd-card,
    .gd-btn { transition: none; }
    .gd-card:hover,
    .gd-card:focus-within,
    .gd-btn--primary:hover { transform: none; }
}

@media print {
    .gd-hero { background: none; color: #000; padding-top: 0; }
    .gd-hero h1,
    .gd-page .gd-hero__intro { color: #000; }
    .gd-cta { display: none; }
}
