/* Keep the established colours and typography. Real links work without JS. */
.language-picker { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.language-picker a {
    display: inline-flex; align-items: center; justify-content: center;
    min-inline-size: 34px; min-block-size: 44px; padding-inline: 4px;
    color: var(--encre-douce); font: 600 .75rem/1 var(--police);
    text-decoration: none; border-radius: 6px;
}
.language-picker a[aria-current="page"] { color: var(--encre); box-shadow: inset 0 -2px var(--accent); }
.language-picker a:hover { color: var(--encre); background: var(--accent-voile, #eff6ff); }
.language-picker a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tete .page { gap: clamp(.5rem, 1.5vw, 1.25rem); }
.media-language { color: var(--encre-douce); font-size: .8rem; line-height: 1.5; margin-block-start: 1rem; }
.hero-guide-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .6rem; color: var(--encre-douce); font-size: .85rem; text-underline-offset: .25em; }
.hero-guide-link:hover { color: var(--encre); }
.hero-offline { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-bottom: .5rem; color: var(--encre-douce); font-size: .8rem; text-decoration: none; }
.hero-offline:hover { color: var(--encre); }
.hero-offline svg { flex-shrink: 0; }
.hero-offline:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-s); }
/* Reuse the site's white sections, wave shapes, colours and type scale. */
.resources-intro { text-align: center; }
.resources-intro .mine { margin-inline: auto; }
.guide-grid { display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.guide-card { min-width: 0; }
.guide-download {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem;
    align-items: center; padding: 1.35rem; min-height: 104px;
    color: var(--encre); background: var(--carte); border: 1px solid var(--bord);
    border-radius: var(--r-m); text-decoration: none;
    transition: border-color var(--t) var(--e), background var(--t) var(--e);
}
.guide-download:hover { border-color: var(--bord-clair); background: var(--carte-haute); }
.guide-download h3 { font-size: 1.05rem; line-height: 1.4; }
.guide-meta { grid-column: 1; margin-top: .3rem; color: var(--encre-douce); font-size: .8rem; }
.guide-arrow { grid-column: 2; grid-row: 1 / 3; color: var(--encre-douce); }
.resources-faq-head { margin-inline: auto; text-align: center; }
.resources-faq .qst summary { gap: 1.5rem; }
.resources-faq .qst summary::after { flex-shrink: 0; }
.resources-faq .qst p { overflow-wrap: anywhere; }
.resources-faq .qst p a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
#telechargements, #questions, .resources-faq .qst { scroll-margin-top: calc(var(--tete-h) + 24px); }
.hero-guide-link:focus-visible, .guide-download:focus-visible, .resources-faq a:focus-visible, .resources-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-s); }
@media (min-width: 600px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .hero-guide-link { display: none; } }
@media (min-width: 1080px) { .guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
html:not([lang^="fr"]) .hero h1 { overflow-wrap: normal; hyphens: auto; }
html:not([lang^="fr"]) .sol-titre { hyphens: auto; }
@media (width < 1180px) { .tete .menu { display: none; } }
@media (width < 600px) {
    :root { --tete-h: 108px; }
    .tete .page { flex-wrap: wrap; height: auto; min-height: 108px; padding-block: 6px; }
    .tete .marque { margin-inline-end: auto; }
    .tete .language-picker { order: 2; }
    .tete .page > .bt, .tete .retour { order: 3; flex-basis: 100%; text-align: center; justify-content: center; }
    .tete .page > .bt { padding: .65rem .7rem; font-size: .75rem; }
    .tete .retour { font-size: .75rem; }
    .tete .marque { font-size: 1rem; gap: .3rem; }
    .tete .marque img { height: 24px; }
    .language-picker a { min-inline-size: 29px; }
    .tete .page { column-gap: 5px; }
    html:not([lang^="fr"]) .offre-bande { white-space: normal; }
}
/* Presentation video (FR and DE only): a link under the hero buttons, the film in a modal dialog. */
.hero-video-link { display: flex; width: fit-content; align-items: center; gap: .7rem; min-height: 44px; margin-top: 1.1rem; color: var(--encre); font-size: .95rem; font-weight: 600; text-decoration: none; }
.hero-video-play { display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; padding-left: 2px; border-radius: 50%; background: #fff; color: #0b1220; box-shadow: 0 0 0 1px var(--bord), 0 8px 20px -10px rgba(15, 23, 42, .35); transition: transform .2s ease; }
.hero-video-link:hover .hero-video-play { transform: scale(1.06); }
.hero-video-duree { color: var(--encre-douce); font-weight: 500; }
.hero-video-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-s); }
@media (max-width: 979px) { .hero-video-link { margin-inline: auto; } }
.video-dialog { width: min(1120px, 94vw, calc((100dvh - 48px) * 16 / 9)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.video-dialog::backdrop { background: rgba(10, 16, 30, .8); backdrop-filter: blur(4px); }
.video-dialog video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #0b1220; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.video-dialog-fermer { position: absolute; z-index: 1; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(15, 23, 42, .6); color: #fff; cursor: pointer; }
.video-dialog-fermer:hover { background: rgba(15, 23, 42, .8); }
.video-dialog-fermer:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
