/* Rock'N Kiosque — polices hébergées sur le site (aucun appel externe) */
@font-face{font-family:'Anton';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/anton-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/archivo-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/archivo-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Archivo';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/archivo-latin-700-normal.woff2) format('woff2')}

html{scroll-behavior:smooth}
body{margin:0;background:#10131A}
section,footer{scroll-margin-top:96px}
a{color:#F5C518}a:hover{color:#FFE27A}
input,select,textarea,button{font:inherit}
input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #F5C518;outline-offset:2px}
[hidden]{display:none !important}
.rk-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}.rk-track{transition:none !important}}

/* Textes justifiés */
p, li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
p[style*="uppercase"] { text-align: left; }
/* Menu hamburger sur mobile */
.rk-burger { display: none; }
@media (max-width: 900px) {
  .rk-burger { display: inline-flex !important; }
  .rk-nav { display: none !important; order: 3; width: 100%; flex-direction: column; gap: 0 !important; padding: 4px 0 12px; }
  .rk-nav.rk-open { display: flex !important; }
  .rk-nav a { padding: 14px 4px !important; border-top: 1px solid #2A3040; font-size: 17px !important; }
}
@media (max-width: 480px) {
  .rk-logo-rnk { height: 26px !important; }
  .rk-logo-oc { height: 34px !important; }
  .rk-logos { gap: 10px !important; }
}

/* Menus déroulants (éditions précédentes) */
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }
details[open] .rk-chev { transform: rotate(180deg); }
summary:focus-visible { outline: 3px solid #F5C518; outline-offset: -3px; }
details[name="annees"] { scroll-margin-top: 96px; }

/* ==== 10 ans : tampon, ruban de chantier, souvenirs, checklist ==== */
.rk-stamp { animation: rk-stamp 0.6s cubic-bezier(0.2, 1.5, 0.4, 1) 0.4s both; }
@keyframes rk-stamp { from { opacity: 0; transform: rotate(-4deg) scale(1.8); } to { opacity: 0.92; transform: rotate(-14deg) scale(1); } }
.rk-tape { background: repeating-linear-gradient(-45deg, #F5C518 0 22px, #10131A 22px 44px); }
@media (prefers-reduced-motion: reduce) { .rk-stamp { animation: none; opacity: 0.92; transform: rotate(-14deg); } }
@media (max-width: 700px) { .rk-stamp-wrap { width: 132px !important; height: 132px !important; top: 10px !important; right: 10px !important; } }
.rk-check { display: flex; gap: 14px; align-items: flex-start; padding: 14px 4px; border-top: 1px solid #2A3040; cursor: pointer; line-height: 1.5; }
.rk-check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: #3DBE6E; cursor: pointer; }
.rk-check:has(input:checked) { color: #EDEAE3; }
.rk-check:has(input:checked) strong { color: #3DBE6E; }
.rk-opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid #4A5168; border-radius: 4px; cursor: pointer; }
.rk-opt input { width: 20px; height: 20px; margin: 0; accent-color: #F5C518; }
.rk-opt:has(input:checked) { border-color: #F5C518; background: rgba(245, 197, 24, 0.08); }
/* Souvenirs (modèle Pêle-Mêle) */
.rk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px 22px; padding-top: 10px; }
.rk-card { all: unset; box-sizing: border-box; display: block; background: #FFFDF7; border-radius: 3px; padding: 8px 8px 4px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45); position: relative; cursor: pointer; transition: transform 0.2s ease; }
.rk-card:hover, .rk-card:focus-visible { transform: rotate(0deg) scale(1.05) !important; z-index: 2; }
.rk-card:focus-visible { outline: 3px solid #F5C518; outline-offset: 4px; }
.rk-card .tape { position: absolute; top: -10px; left: 50%; width: 48px; height: 16px; background: rgba(245, 197, 24, 0.75); border-radius: 2px; transform: translateX(-50%); }
.rk-card .ph { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; background: #E9E4D8; overflow: hidden; }
.rk-card .ph img, .rk-card .ph video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.rk-card .wm { position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 8px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)); color: rgba(255, 255, 255, 0.92); font-family: 'Anton', sans-serif; font-size: 11px; letter-spacing: 0.06em; text-align: right; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.rk-card .play { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(16, 19, 26, 0.75); display: flex; align-items: center; justify-content: center; }
.rk-card .nm { display: block; font-family: 'Archivo', sans-serif; font-style: italic; font-size: 13px; color: #4A4A42; padding: 8px 2px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-card .lg { display: block; font-family: 'Archivo', sans-serif; font-size: 12px; color: #77776B; padding: 0 2px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-filtre][aria-pressed="true"] { background: #F5C518 !important; color: #10131A !important; border-color: #F5C518 !important; }
#file-confirm { font-size: 14px; color: #3DBE6E; }
#file-confirm.has-files { padding: 10px 12px; background: rgba(61, 190, 110, 0.1); border-radius: 6px; }
#file-confirm ul { margin: 4px 0 0; padding-left: 18px; }
#file-confirm li { text-align: left; }
#file-confirm .too-big, #file-confirm .warn { color: #E4572E; font-weight: 700; }
#file-confirm .warn { margin: 0 0 6px; }
#lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 12, 17, 0.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 64px 16px 24px; box-sizing: border-box; }
#lightbox[hidden] { display: none !important; }
#lb-stage { width: 100%; max-width: 1000px; height: 78vh; display: flex; align-items: center; justify-content: center; }
.lb-media { max-width: 100%; max-height: 100%; border-radius: 4px; }
#lb-cap { color: #C9C5BC; font-size: 15px; text-align: center; min-height: 20px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.26); }
#lb-close { top: 12px; right: 12px; }
#lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
#lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
