/* /public/assets/littoral/support-ressources-20261031.css */
.vitrine .resources-page { padding: 28px 24px 48px; }
.vitrine .resources-back { color: var(--muted); display: inline-block; margin-bottom: 24px; }
.vitrine .resources-back:hover { color: var(--red); }
.vitrine .resources-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.vitrine .resources-symbol { display: grid; place-items: center; width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px; background: var(--tint); color: var(--red); }
.vitrine .resources-symbol svg { width: 28px; height: 28px; }
.vitrine .resources-heading h1 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; margin-bottom: 8px; color: var(--ink); }
.vitrine .resources-heading p { color: var(--muted); }
.vitrine .resources-search { display: flex; gap: 10px; background: var(--surface); border: 1px solid var(--line); padding: 10px; border-radius: 16px; margin-bottom: 24px; }
.vitrine .resources-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 12px; }
.vitrine .resources-search select { max-width: 220px; padding: 10px 12px; }
.vitrine .resources-search button { flex-shrink: 0; padding: 11px 22px; }
.vitrine .resources-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.vitrine .resources-tab { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); font-weight: 600; }
.vitrine .resources-tab span { padding: 1px 7px; border-radius: 999px; font-size: .8rem; background: var(--bg); }
.vitrine .resources-tab.is-active { border-color: var(--red); color: var(--red); background: var(--tint); }
.vitrine .resources-reset { margin-left: auto; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.vitrine .resources-result-count { color: var(--muted); margin: 18px 0; }
.vitrine .resources-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.vitrine .resource-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.vitrine .resource-card-top { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 18px; }
.vitrine .resource-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--red); }
.vitrine .resource-format { padding: 3px 9px; background: var(--bg); color: var(--muted); border-radius: 6px; font-size: .75rem; font-weight: 700; }
.vitrine .resource-card h2 { font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; margin: 0 0 8px; color: var(--ink); }
.vitrine .resource-filename { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; margin-bottom: 18px; }
.vitrine .resource-model { color: var(--ink); margin-bottom: 16px; overflow-wrap: anywhere; }
.vitrine .resource-model span { display: block; color: var(--muted); font-size: .82rem; margin-top: 3px; }
.vitrine .resource-associations { color: var(--muted); margin-bottom: 22px; }
.vitrine .resource-associations summary { cursor: pointer; color: var(--ink); }
.vitrine .resource-associations ul { max-height: 220px; overflow: auto; margin-top: 12px; padding-right: 6px; }
.vitrine .resource-associations li { padding: 9px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.vitrine .resource-associations li span { display: block; font-size: .8rem; }
.vitrine .resource-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.vitrine .resource-card-bottom > span { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.vitrine .resource-download { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 17px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; }
.vitrine .resource-download:hover { color: #fff; filter: brightness(.92); }
.vitrine .resources-empty { padding: 50px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 18px; background: var(--surface); }
.vitrine .resources-empty h2 { font-size: 1.1rem; margin-bottom: 8px; }
.vitrine .resources-empty p { color: var(--muted); }
.vitrine .resources-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.vitrine .resources-pagination a { border: 1px solid var(--line); padding: 9px 15px; border-radius: 999px; background: var(--surface); }
.vitrine .resources-pagination [aria-disabled="true"] { color: var(--muted); }
.vitrine .resources-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.vitrine .resources-page :focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
@media (max-width: 760px) {
    .vitrine .resources-grid { grid-template-columns: minmax(0, 1fr); }
    .vitrine .resources-search { flex-wrap: wrap; }
    .vitrine .resources-search input { flex-basis: 100%; }
    .vitrine .resources-search select { flex: 1; max-width: none; min-width: 0; }
}
@media (max-width: 420px) {
    .vitrine .resources-page { padding: 20px 14px 36px; }
    .vitrine .resources-symbol { display: none; }
    .vitrine .resource-card { padding: 18px; }
    .vitrine .resources-search button { padding: 10px 14px; }
    .vitrine .resources-tab { padding: 9px 13px; }
    .vitrine .resources-reset { width: 100%; margin-left: 0; margin-top: 6px; }
}

.vitrine .resource-brand img { width: 84px; height: 28px; object-fit: contain; padding: 4px 6px; border-radius: 5px; background: #fff; }

/* Documents légaux : six cartes par rubrique sur grand écran. */
.vitrine.documents-legaux-page .documents-legaux-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.vitrine.documents-legaux-page .resource-card{padding:16px;border-radius:16px}
.vitrine.documents-legaux-page .resource-model{font-size:14px;line-height:1.4;margin-bottom:10px;overflow-wrap:anywhere}
.vitrine.documents-legaux-page .resource-filename{font-size:12px;line-height:1.5}
.vitrine.documents-legaux-page .resource-card-bottom{padding-top:12px}
.vitrine.documents-legaux-page .resource-download{font-size:12px;padding:9px 12px;white-space:normal;overflow-wrap:anywhere}
.vitrine.documents-legaux-page .resources-page{padding:16px 0}
@media(max-width:1200px){.vitrine.documents-legaux-page .documents-legaux-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.vitrine.documents-legaux-page .documents-legaux-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.vitrine.documents-legaux-page .documents-legaux-grid{grid-template-columns:minmax(0,1fr)}}

/* Variante Cartes compactes pour Documents légaux. */
.vitrine.documents-legaux-page .resources-heading{margin-bottom:12px}
.vitrine.documents-legaux-page .resource-card{padding:14px 12px;border-radius:14px;gap:8px}
.vitrine.documents-legaux-page .resource-card-top{margin-bottom:0}
.vitrine.documents-legaux-page .resource-card-top>svg{width:23px;height:23px;color:var(--red)}
.vitrine.documents-legaux-page .resource-model{font-size:13px;line-height:1.4;margin:0;flex:1}
.vitrine.documents-legaux-page .resource-filename{font-size:11px;margin:0}
.vitrine.documents-legaux-page .resource-format{padding:0;background:transparent;font-size:10px;letter-spacing:1px}
.vitrine.documents-legaux-page .resource-card-bottom{margin-top:0;padding-top:8px}
.vitrine.documents-legaux-page .resource-download{justify-content:center;width:100%;padding:9px 12px;background:var(--red);color:#fff;border-radius:999px;font-size:12px;min-height:36px}
.vitrine.documents-legaux-page .resource-download>svg{flex-shrink:0}
@media(pointer:coarse){.vitrine.documents-legaux-page .resource-download{min-height:44px}}
