/* Galerie du Ski Club Les Arcs — style responsive, sans dépendance externe */


/*body { margin: 0; color: var(--text); background: #fff; }*/
button, input { font: inherit; }
button { cursor: pointer; }

/*.site-header {
  min-height: 76px; padding: 14px clamp(18px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid var(--line); background: #fff;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 12px; }
*/
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: var(--green); font-weight: 900; font-size: 22px;
}

.header-note { color: var(--muted); font-size: 13px; }
/*.page { width: min(1440px, 100%); margin: 0 auto; padding: 34px clamp(18px, 5vw, 64px) 64px; }*/
.intro { margin: 12px 0 30px; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.intro > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 16px; }


.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 26px 0 34px; }


.search-box {
  display: flex; align-items: center; gap: 10px; min-width: min(100%, 310px);
  padding: 0 15px; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.search-box span { font-size: 25px; color: var(--muted); line-height: 1; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: #4e5b66; background: #fff; font-size: 13px; }
.filter-button:hover, .filter-button.active { border-color: var(--green); color: #fff; background: var(--green); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 17px; }
h2 { margin: 0; color: var(--navy); font-size: 23px; letter-spacing: -.025em; }
.muted { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.album-card { display: block; width: 100%; padding: 0; border: 0; text-align: left; background: transparent; color: inherit; }
.album-cover { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #e8ece7; }
.album-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.album-card:hover .album-cover img { transform: scale(1.045); }
.album-card h3 { margin: 10px 2px 3px; font-size: 16px; font-weight: 750; }
.album-card p { margin: 0 2px; color: var(--muted); font-size: 13px; }
.photo-grid { columns: 4 220px; column-gap: 12px; }
.photo-card { width: 100%; display: inline-block; margin: 0 0 12px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #eef0ec; break-inside: avoid; text-align: left; }
.photo-card img { display: block; width: 100%; height: auto; transition: filter .2s ease; }
.photo-card:hover img { filter: brightness(.9); }
.album-heading { justify-content: flex-start; align-items: center; margin-bottom: 22px; }
.back-button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 10px 14px; color: var(--navy); font-weight: 650; }
.back-button:hover { background: var(--surface); }
.empty-state { padding: 36px 12px; color: var(--muted); text-align: center; }
.site-footer { border-top: 1px solid var(--line); padding: 24px; color: var(--muted); text-align: center; font-size: 13px; }
.site-footer span { padding: 0 6px; color: var(--green); }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; padding: 54px 76px 28px; border: 0; background: rgba(9, 15, 22, .96); color: #fff; }
.lightbox::backdrop { background: rgba(9, 15, 22, .96); }
.lightbox figure { height: 100%; max-width: 1500px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox figure img { display: block; max-width: 100%; max-height: calc(100% - 76px); object-fit: contain; }
.lightbox figcaption { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(100%, 1000px); padding-top: 14px; color: #fff; }
.lightbox figcaption p { margin: 4px 0 0; color: #b8c1cb; font-size: 13px; }
#lightboxCounter { color: #b8c1cb; white-space: nowrap; font-size: 13px; }
.lightbox-close, .lightbox-nav { position: absolute; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.14); }
.lightbox-close { top: 16px; right: 20px; width: 42px; height: 42px; font-size: 30px; }
.lightbox-nav { top: 50%; width: 48px; height: 48px; transform: translateY(-50%); font-size: 38px; }
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(255,255,255,.26); }
.lightbox-nav.previous { left: 16px; }
.lightbox-nav.next { right: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 1000px) { .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .photo-grid { columns: 3 180px; } }
@media (max-width: 680px) {
  .header-note { display: none; } 
  /*.page { padding-top: 26px; }*/
  .toolbar { align-items: stretch; } .search-box { width: 100%; }
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .album-cover { border-radius: 12px; } .album-card h3 { font-size: 14px; }
  .photo-grid { columns: 2 130px; column-gap: 8px; } .photo-card { margin-bottom: 8px; border-radius: 8px; }
  .lightbox { padding: 58px 12px 20px; } .lightbox-nav.previous { left: 4px; } .lightbox-nav.next { right: 4px; }
  .lightbox-nav { width: 38px; height: 38px; } .lightbox figure img { max-width: calc(100% - 34px); }
}
