@font-face {
    font-family: "Archivo Narrow";
    src: url("/design/archivo-narrow.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: Baskervville;
    src: url("/design/baskervville-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: Baskervville;
    src: url("/design/baskervville-italic-latin.woff2") format("woff2");
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
}
:root {
    --paper: #fcf9f3;
    --surface: #fffcf7;
    --ink: #291d30;
    --muted: #695f68;
    --line: #ded5cc;
    --coral: #f68469;
    --link: #9e3e30;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", Arial, sans-serif;
    --gutter: clamp(16px, 4vw, 60px);
    color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #a34234; outline-offset: 4px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--serif); line-height: 1.08; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1180px); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 20; padding: .5rem 1rem; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* En-tête et répertoire de rubriques */
.masthead { position: relative; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead-inner, .main-nav, .nav-shortcuts, .brand { display: flex; align-items: center; }
.masthead-inner { min-height: 76px; justify-content: space-between; gap: 24px; }
.brand { gap: 10px; font: 700 clamp(24px, 2.4vw, 34px)/1 "Archivo Narrow", var(--sans); letter-spacing: -.055em; text-transform: uppercase; white-space: nowrap; color: inherit; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand span { color: #e5755d; font: 1.23em/1 var(--serif); }
.main-nav, .nav-shortcuts { gap: clamp(12px, 2.2vw, 34px); }
.nav-shortcuts a, .directory-shortcuts a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.nav-shortcuts a:hover, .directory-panel a:hover { color: var(--link); text-decoration: underline; }
summary { cursor: pointer; }
.directory > summary, .directory-group > summary { list-style: none; }
.directory summary::-webkit-details-marker { display: none; }
.directory > summary { display: flex; gap: 9px; align-items: center; padding: 8px 14px; background: var(--paper); border: 1px solid #baaea4; border-radius: 5px; font-weight: 650; font-size: .94rem; }
.directory[open] > summary { background: var(--ink); color: white; border-color: var(--ink); }
.menu-icon { order: 1; flex: 0 0 8px; height: 8px; margin: -4px 2px 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.directory[open] > summary .menu-icon { margin-block: 4px 0; transform: rotate(225deg); }



.directory-panel { position: absolute; top: 100%; inset-inline: 0; max-height: 75vh; overflow-y: auto; background: var(--surface); border-block: 1px solid var(--line); box-shadow: 0 16px 24px #251b2a1c; }
.directory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 30px; }
.directory-group { padding-inline: 24px; border-left: 1px solid var(--line); }
.directory-group:first-child { padding-left: 0; border: 0; }
.directory-group > summary { font: 700 1.38rem/1.2 var(--serif); padding-bottom: 9px; border-bottom: 2px solid var(--coral); }
.directory-group ul, .picks { padding: 0; margin: 0; list-style: none; }
.directory-group ul { margin-top: 10px; }
.directory-group li a { display: block; padding-block: 3px; font-size: .94rem; text-decoration: none; color: var(--ink); }
.directory-shortcuts { display: none; }

/* Accueil */
.home { --serif: Baskervville, Georgia, serif; --rule: #d6c7b6; }
.hero { overflow: hidden; color: white; background: radial-gradient(ellipse at 74% 92%, #56354b 0%, transparent 48%), linear-gradient(110deg, #211724, #322036 72%, #281b2b); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(340px, 32vw, 432px); isolation: isolate; }
.hero-inner::before { content: ""; position: absolute; z-index: -1; width: 75%; height: 170%; left: 53%; top: -35%; border-radius: 50%; opacity: .23; transform: rotate(-22deg); background: repeating-radial-gradient(ellipse at 70% 15%, transparent 0 18px, #b9957950 19px, transparent 20px 29px); mask-image: radial-gradient(ellipse, black, transparent 71%); }
.hero-copy { position: relative; z-index: 1; padding-block: 35px; }
.hero h1 { color: #fffaf3; font-size: clamp(54px, 6.6vw, 96px); font-weight: 550; letter-spacing: -.045em; line-height: .99; }
.hero h1 em { color: #f79b80; font-weight: 450; }
.hero p { margin: 22px 0; color: #f5e9e3; font: clamp(18px, 1.65vw, 23px)/1.4 var(--serif); }
.primary-link { display: inline-flex; padding: 10px 21px; background: var(--coral); color: #2b1923; font-weight: 700; text-decoration: none; border-radius: 4px; }
.primary-link:hover { background: #ffab95; text-decoration: none; }
.hero-king { position: absolute; right: 0; bottom: -1px; width: 47%; height: 98%; object-fit: contain; object-position: right bottom; }
.home-content { display: grid; gap: clamp(32px, 4vw, 60px); padding-block: clamp(30px, 3.5vw, 54px) 64px; }
.home-content h2 { font-size: clamp(32px, 3.3vw, 50px); font-weight: 530; letter-spacing: -.04em; }
.home-selections { display: grid; grid-template-columns: minmax(0, 2.45fr) minmax(230px, 1fr); gap: clamp(18px, 2.8vw, 40px); align-items: end; }
.home-selections > :only-child { grid-column: 1 / -1; }
.selection h2 { display: flex; align-items: baseline; gap: clamp(16px, 2vw, 28px); margin-bottom: 20px; }
.selection h2::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr)); gap: 16px; }
.feature-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; color: var(--ink); background: var(--surface); border: 1px solid #e2d8cd; border-radius: 6px; text-decoration: none; }
.feature-card:hover { text-decoration: none; border-color: #ad8c76; box-shadow: 0 4px 16px #3523300b; }
.feature-card:hover .read-link { text-decoration: underline; }
.feature-card img { display: block; width: 100%; aspect-ratio: 2.65; max-height: 180px; object-fit: cover; }
.feature-copy { min-width: 0; padding: 19px 22px 21px; overflow-wrap: anywhere; }
.feature-copy h3, .home-news h3 { font: 570 clamp(23px, 2.15vw, 32px)/1.14 var(--serif); letter-spacing: -.035em; }
.feature-copy p { margin: 5px 0 14px; color: var(--muted); font-size: .9rem; }
.read-link { color: var(--link); font-weight: 650; }
.picks-panel { border-block: 1px solid var(--rule); background: linear-gradient(115deg, #f3ede4, #f8f4ed); padding: 20px clamp(16px, 2vw, 28px) 12px; }
.picks-panel h2 { margin-bottom: 8px; font-size: clamp(26px, 2.4vw, 36px); }
.picks li + li { border-top: 1px solid #d9cdc2; }
.picks a { display: grid; gap: 2px; padding-block: 10px; color: var(--ink); text-decoration: none; }
.picks strong { font: 580 1.24rem/1.25 var(--serif); }
.picks span { font-size: .83rem; color: var(--muted); }
.picks a:hover strong { color: var(--link); text-decoration: underline; }
.home-news { display: grid; grid-template-columns: minmax(185px, 1fr) minmax(0, 2fr); gap: clamp(16px, 3vw, 44px); }
.home-news { padding: clamp(22px, 3.4vw, 46px); border-radius: 6px; background: linear-gradient(112deg, #382635, #291e30 70%); color: var(--paper); }
.home-news :is(h2, h3) { color: inherit; }
.home-news h2 { margin-bottom: 12px; font-size: clamp(27px, 2.6vw, 39px); }
.home-news .read-link { color: #ffac96; }
.home-news article { border-inline-start: 1px solid #685867; padding-inline-start: clamp(20px, 3vw, 40px); }
.home-news p { max-width: 65ch; margin: 10px 0 14px; }
.home-news p.date { margin: 0 0 8px; color: #e0c8bd; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.prose { min-width: 0; max-width: 67ch; overflow-wrap: anywhere; }
.ranking-editorial {
    max-width: none;
    border-top: 3px solid var(--coral);
    padding-top: clamp(1.1rem, 2vw, 1.65rem);
    font-size: clamp(1rem, .95rem + .25vw, 1.15rem);
    line-height: 1.65;
}
.ranking-editorial h2 { font-size: clamp(1.65rem, 2.7vw, 2.4rem); text-wrap: balance; }
.ranking-editorial p { margin-block: .85em; }
.ranking-editorial > :first-child { margin-top: 0; }
.ranking-editorial > :last-child { margin-bottom: 0; }
.home-ranking table { width: 100%; margin-top: 1rem; border-collapse: collapse; background: var(--surface); }
.home-ranking th, .home-ranking td { padding: .8rem clamp(.35rem, 1.5vw, 1.2rem); border-bottom: 1px solid var(--line); text-align: left; }
.home-ranking thead { background: var(--ink); color: var(--paper); font-size: .85rem; }
.home-ranking tr > :last-child { text-align: right; }
.rank-site { display: flex; align-items: center; gap: clamp(.45rem, 1.4vw, 1rem); overflow-wrap: anywhere; font: 600 clamp(1rem, 2vw, 1.45rem)/1.2 var(--serif); }
.rank-site img, .rank-monogram { width: clamp(2.25rem, 7vw, 5rem); height: auto; aspect-ratio: 4/3; flex-shrink: 0; border-radius: 4px; }
.rank-site img { object-fit: contain; background: var(--paper); }
.rank-monogram { display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.rank-site small { display: none; }
.rank-category { font-size: .94rem; }
@media (max-width: 640px) {
    .home-ranking .rank-category { display: none; }
    .rank-site small { display: block; margin-top: .22rem; color: var(--muted); font: 450 .78rem/1.3 var(--sans); }
}
.rank-score { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.rank-score small { font-weight: 400; }
.rank-link { display: inline-block; border: 1px solid var(--line); border-radius: 5px; padding: .55rem clamp(.4rem, 1vw, .9rem); font-size: .875rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.rank-link:hover, .rank-link:focus-visible { border-color: var(--link); text-decoration: underline; }
.selection-jeux header { margin-bottom: 18px; }
.selection-jeux h2 { display: flex; align-items: center; gap: 12px; }
.selection-jeux h2 span { padding: .3em .55em; border: 1px solid var(--link); border-radius: 99px; color: var(--link); font: 700 .83rem/1 var(--sans); letter-spacing: 0; }
.selection-jeux header p { margin: .25rem 0 0; color: var(--muted); }
.selection-jeux :is(ol, ul) { list-style: none; margin: 0; padding: 0; }
.selection-jeux .feature-card { height: 100%; gap: .6rem; }
.selection-jeux .carte-jeu-image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 8px;
}
.selection-jeux .carte-jeu-image img { grid-column: 1 / -1; justify-self: center; width: min(100%, 160px); height: auto; min-height: 0; aspect-ratio: 4 / 3; object-fit: contain; }
.selection-jeux .carte-jeu-image .read-link { margin-top: 0; }
.selection-jeux .read-link { margin-top: auto; }
.guide-du-mois {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px clamp(22px, 3vw, 44px);
    padding: clamp(22px, 3vw, 44px);
    border-inline-start: 4px solid var(--coral);
    border-radius: 6px;
    background: var(--ink);
    color: var(--paper);
}
.guide-du-mois img { width: clamp(100px, 14vw, 160px); aspect-ratio: 4 / 3; object-fit: contain; background: var(--surface); border-radius: 4px; }
.guide-du-mois-texte { flex: 1 1 16rem; }
.guide-du-mois-texte p { margin: 0 0 .5rem; color: var(--coral); font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.guide-du-mois h2 { margin-bottom: .5rem; color: inherit; }
.guide-du-mois .primary-link:focus-visible { outline-color: var(--paper); }
.selection-rang { color: var(--link); font: 650 .95rem/1 var(--sans); }
.home-editorial {
    background: var(--surface);
    border-block: 1px solid var(--line);
    padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter);
}
.home-editorial > h2, .home-editorial > .prose { max-width: 48rem; margin-inline: auto; }
.home-editorial > h2 { margin-block: 0 1rem; display: flex; align-items: center; gap: .8rem; }
.home-editorial > h2::before { content: ""; width: 1.75rem; height: 3px; background: var(--coral); }
.home-editorial .prose { font: clamp(1.05rem, 1.4vw, 1.17rem)/1.65 var(--serif); }
.home-editorial .prose > :first-child, .editorial-continuation > :first-child { margin-top: 0; }
.home-editorial .prose > :last-child, .editorial-continuation > :last-child { margin-bottom: 0; }
.editorial-more { margin-top: 1rem; }
.editorial-more > summary {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 2.75rem;
    padding: .45rem .95rem;
    border: 1px solid var(--line);
    border-radius: .4rem;
    color: var(--link);
    font: 600 .95rem/1.3 var(--sans);
    list-style: none;
}
.editorial-more > summary::-webkit-details-marker { display: none; }
.editorial-more > summary::after {
    content: "";
    width: .45rem;
    height: .45rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-.1rem) rotate(45deg);
}
.editorial-more[open] > summary::after { transform: translateY(.1rem) rotate(225deg); }
.editorial-more > summary:hover { border-color: var(--link); }
.editorial-continuation { margin-top: 1em; }
.date { color: var(--muted); font-size: .85rem; }

/* Catégories, fiches, articles et formulaires publics */

/* Page introuvable */
.missing-page {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: end;
    overflow: hidden;
    border-radius: 12px;
    background: radial-gradient(ellipse at bottom right, #654053, #352439 56%, #281c2d);
    color: var(--paper);
}
.missing-copy { align-self: center; padding: clamp(28px, 5vw, 64px); padding-right: 0; }
.missing-copy .missing-code { margin: 0 0 16px; color: #ffab95; font: 700 .85rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.missing-copy h1 { color: inherit; font-family: Baskervville, Georgia, serif; font-weight: 500; }
.missing-copy > p:not(.missing-code) { max-width: 42ch; margin: 18px 0 26px; }
.missing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.missing-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.missing-actions a:not(.primary-link) { color: inherit; }
.missing-actions a:focus-visible { outline-color: white; }
.missing-page img { display: block; width: 100%; max-height: 340px; object-fit: contain; object-position: right bottom; }
@media (max-width: 640px) {
    .missing-page { grid-template-columns: 1fr; }
    .missing-copy { padding: 28px 24px 8px; }
    .missing-page img { justify-self: end; width: 52%; max-height: 150px; }
}

.inner-page { max-width: 1000px; min-height: 50vh; padding-block: clamp(30px, 4.5vw, 68px); overflow-wrap: anywhere; }
.inner-page h1 { font-size: clamp(36px, 4.8vw, 66px); letter-spacing: -.055em; }
.inner-page h1 a { color: inherit; text-decoration: none; }
.inner-page h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.04em; }
.inner-page h3 { font-size: clamp(20px, 2.2vw, 27px); }
.barre_titre { padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.description, .normal, .inner-page p { line-height: 1.7; }
.boite_site, .boitebleu { margin-block: 20px; padding: clamp(18px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.boite_site { display: grid; grid-template-columns: minmax(100px, 170px) minmax(0, 1fr); gap: 22px; }
.boite_site > .clear { display: none; }
.coteGauche { text-align: center; }
.coteGauche img { border-radius: 5px; }
.note { display: inline-block; color: var(--ink); font-weight: 700; }
.boitebleu header { margin-bottom: 10px; }
.back_note { color: var(--link); }
.bloc_centre, .page { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-block: 16px; }
.bloc_centre .right { margin-left: auto; }
.button_gris, .bloc_pierre { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 5px; font: 600 .92rem/1.4 var(--sans); text-decoration: none; background: var(--surface); }
.url.button_gris, div.bloc_pierre { color: var(--ink); background: var(--coral); }
.center, .codes_gratuits td.center { text-align: center; }
.clear { clear: both; }
.inner-page table { max-width: 100%; border-collapse: collapse; }
.codes_gratuits { width: 100%; }
.codes_gratuits th, .codes_gratuits td { padding: clamp(5px, 1.3vw, 14px); border-bottom: 1px solid var(--line); text-align: left; }
.codes_gratuits th { background: #f0eae1; }
.inner-page :is(input, select, textarea, button) { max-width: 100%; font: inherit; }
.inner-page :is(input:not([type=checkbox],[type=radio],[type=image]), select, textarea, button) { padding: 7px 11px; border: 1px solid #b9aca4; border-radius: 4px; background: var(--surface); color: var(--ink); }
.inner-page :is(input[type=submit],button) { cursor: pointer; font-weight: 650; }

.admin-login { display: grid; gap: 16px; max-width: 26rem; }
.admin-login label:not(.login-remember) { display: grid; gap: 4px; }
.admin-login button { justify-self: start; }

.guide-alphabet { display: flex; flex-wrap: wrap; gap: 5px; margin: 24px 0; }
.guide-alphabet a { display: inline-grid; place-items: center; min-width: 34px; min-height: 38px; padding-inline: 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.guide-alphabet a:hover { border-color: var(--link); color: var(--link); }
.guide-alphabet a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.guide-joueur h2 small { font: 500 1rem var(--sans); color: var(--muted); }
.guide-termes { margin: 16px 0 24px; border-top: 2px solid var(--ink); }
.guide-termes > div { display: grid; grid-template-columns: minmax(9rem, 1fr) 3fr; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.guide-termes dt { font-weight: 700; }
.guide-termes dd { margin: 0; }
@media (max-width: 640px) {
    .guide-termes > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

.inner-page iframe, .inner-page object, .prose iframe { max-width: 100%; }

/* Pied de page */
.site-footer { background: var(--ink); color: var(--surface); }
.site-footer a { color: inherit; text-underline-offset: .2em; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.footer-prevention { border-top: 2px solid var(--coral); background: var(--paper); color: var(--ink); }
.footer-safety-grid, .footer-directory {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 3.5vw, 56px);
    padding-block: clamp(32px, 3.5vw, 58px);
}
.footer-safety-grid { grid-template-areas: "warning registers help"; }
.footer-warning { grid-area: warning; }
.footer-help { grid-area: help; }
.footer-registers { grid-area: registers; }
.footer-prevention :is(h2, h3) {
    margin: 0 0 .8rem;
    font: 700 clamp(1.3rem, 1.9vw, 1.85rem)/1.16 Baskervville, var(--serif);
    letter-spacing: -.035em;
}
.footer-warning h2 { display: flex; align-items: center; gap: .7rem; }
.footer-age {
    display: inline-grid; place-items: center; flex: none;
    width: 2.8rem; height: 2.8rem; border: 2px solid currentColor; border-radius: 50%;
    color: var(--link); font: 700 1.1rem/1 var(--sans); letter-spacing: 0;
}
.footer-prevention p { margin: .25rem 0; }
.footer-registers a, .footer-help a { display: block; width: fit-content; margin-block-start: .4rem; }
.footer-help .footer-help-link {
    margin: 0 0 .65rem; padding: .25rem 1.1rem; border: 1.5px solid var(--link);
    border-radius: 2rem; font-weight: 600; text-decoration: none;
}
.footer-help .footer-help-link:hover { background: var(--ink); color: var(--surface); }
.footer-directory { align-items: start; }
.footer-brand {
    display: inline-flex; align-items: center; gap: .65rem;
    font: 700 1.35rem/1 "Archivo Narrow", var(--sans); letter-spacing: .09em;
    text-decoration: none; text-transform: uppercase;
}
.site-footer .footer-brand { color: var(--coral); }
.footer-identity p {
    max-width: 12ch; margin: 1rem 0 0;
    font: 700 clamp(2.1rem, 3.2vw, 3.3rem)/1.04 Baskervville, var(--serif); letter-spacing: -.045em;
}
.footer-directory h2 {
    margin: 0 0 .8rem; color: var(--coral);
    font: 700 .85rem/1.3 var(--sans); letter-spacing: .15em; text-transform: uppercase;
}
.footer-directory li + li { margin-block-start: .25rem; }
.footer-directory nav a { display: inline-block; padding-block: .1rem; text-decoration: none; }
.footer-directory nav a:hover, .footer-directory nav a:focus-visible { text-decoration: underline; }
.footer-utilities {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: .75rem 1.6rem;
    padding: 1.15rem 0 1.5rem; border-top: 1px solid #ffffff45; font-size: .9rem;
}
.footer-utilities small { margin-inline-end: auto; font-size: inherit; }
.footer-partners { position: relative; }
.footer-partners summary { width: fit-content; list-style: none; text-decoration: underline; text-underline-offset: .2em; }
.footer-partners summary::-webkit-details-marker { display: none; }
.footer-partners summary::after {
    content: ""; display: inline-block; width: .45rem; height: .45rem;
    margin: 0 .1rem .18rem .5rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(225deg);
}
.footer-partners[open] summary::after { transform: rotate(45deg); }
.footer-partners ul {
    position: absolute; z-index: 2; inset-inline-end: 0; bottom: calc(100% + .65rem);
    width: min(16rem, calc(100vw - 2 * var(--gutter))); max-height: 55vh;
    overflow-y: auto; overscroll-behavior: contain; padding: .35rem .85rem;
    color: var(--ink); background: var(--surface); border: 1px solid var(--line);
    border-radius: .65rem; box-shadow: 0 .45rem 1.4rem #180d2330;
}
.footer-partners li + li { border-block-start: 1px solid var(--line); }
.footer-partners a { display: block; padding: .65rem .25rem; overflow-wrap: anywhere; text-decoration: none; }
.footer-partners a:hover, .footer-partners a:focus-visible { color: var(--link); text-decoration: underline; }
.footer-partners a:focus-visible { outline-offset: -2px; }
.site-footer :focus-visible { outline-color: var(--coral); }
.footer-prevention :focus-visible { outline-color: var(--link); }
@media (max-width: 800px) {
    .footer-safety-grid, .footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-safety-grid { grid-template-areas: "warning warning" "help registers"; }
    .footer-identity { grid-column: 1 / -1; }
    .footer-partners { margin-inline-start: auto; }
    .footer-identity p { max-width: none; }
}
@media (max-width: 520px) {
    .footer-safety-grid { grid-template-columns: 1fr; grid-template-areas: "warning" "help" "registers"; }
    .footer-directory { gap: 1.6rem 1.1rem; }
    .footer-directory nav a { padding-block: .25rem; }
    .footer-utilities { gap: .7rem 1.2rem; }
    .footer-utilities small { flex-basis: 100%; }
}

@media (max-width: 760px) {
    .masthead-inner { min-height: 60px; gap: 8px; }
    .main-nav { gap: 8px; }
    .nav-shortcuts { display: none; }
    .directory > summary { padding: 6px 10px; }

    .directory-grid { display: block; padding-block: 6px; }
    .directory-group, .directory-group:first-child { padding: 0; border: 0; }
    .directory-group > summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .directory-group > summary::after { content: "+"; font: 20px var(--sans); }
    .directory-group[open] > summary::after { content: "−"; }
    .directory-group ul { margin: 6px 0 12px; }
    .directory-group li a { padding-block: 6px; }
    .directory-shortcuts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 12px 18px; }
    .hero-inner { min-height: 300px; }
    .hero h1 { font-size: clamp(41px, 6.9vw, 55px); }
    .hero-king { width: 40%; }
    .home-selections, .home-news { grid-template-columns: 1fr; }
    .home-news article { border: 0; border-top: 1px solid #685867; padding: 16px 0 0; }
}
@media (max-width: 520px) {
    .brand { font-size: 23px; gap: 4px; }
    .hero-inner { min-height: 282px; }
    .hero-copy { width: 100%; padding-block: 27px; }
    .hero h1 { font-size: clamp(34px, 8.25vw, 43px); }
    .hero p { font-size: 16px; max-width: 20ch; margin-block: 15px; }
    .hero p br { display: none; }
    .primary-link { font-size: .88rem; padding: 9px 12px; }
    .hero-king { width: 45%; height: 63%; right: calc(-1 * var(--gutter)); object-position: bottom right; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { flex-direction: row; align-items: stretch; }
    .feature-card img { width: 37%; contain-intrinsic-size: none; min-height: 120px; max-height: none; aspect-ratio: auto; }
    .feature-copy { padding: 14px; }
    .boite_site { grid-template-columns: 1fr; }
    .coteGauche { display: flex; gap: 14px; align-items: center; text-align: left; }
    .inner-page table { display: block; overflow-x: auto; }
}
@media (max-width: 370px) {
    .masthead-inner { gap: 4px; }
    .brand { font-size: 19px; }
    .directory > summary { padding: 6px; gap: 5px; font-size: .83rem; }
    .main-nav { gap: 4px; }

}

.lecture-associee {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-block: 2rem;
    padding: 1.25rem 0;
    border-block: 1px solid #ded3c6;
}
.lecture-associee h2 { margin: 0 0 .4rem; font-size: 1.5rem; }
.lecture-associee p { margin: .4rem 0 0; max-width: 60ch; }
.lecture-associee a { text-underline-offset: .18em; }
.guide-termes dt:target { scroll-margin-top: 2rem; text-decoration: underline; text-decoration-color: #ce715b; text-underline-offset: .25em; }
