/* PhotoShock Antille: galerie inspiree d'Apple Photos */

.page-home {
  --photo-bg: #f5f7fb;
  --photo-bg-soft: #fbfcff;
  --photo-surface: rgba(255, 255, 255, 0.82);
  --photo-surface-solid: #ffffff;
  --photo-text: #1d1d1f;
  --photo-muted: #6e6e73;
  --photo-faint: #86868b;
  --photo-blue: #007aff;
  --photo-blue-hover: #0a84ff;
  --photo-cyan: #00c7be;
  --photo-green: #34c759;
  --photo-yellow: #ffd60a;
  --photo-orange: #ff9f0a;
  --photo-pink: #ff375f;
  --photo-purple: #af52de;
  --photo-border: rgba(0, 0, 0, 0.08);
  --photo-border-soft: rgba(0, 0, 0, 0.05);
  --photo-gradient: linear-gradient(135deg, #007aff 0%, #00c7be 22%, #34c759 42%, #ffd60a 60%, #ff9f0a 76%, #ff375f 100%);
  --photo-gradient-cool: linear-gradient(135deg, #007aff 0%, #00c7be 52%, #af52de 100%);
  --photo-gradient-warm: linear-gradient(135deg, #ffd60a 0%, #ff9f0a 46%, #ff375f 100%);
  --photo-shadow-soft: 0 12px 34px rgba(30, 63, 120, 0.08), 0 3px 10px rgba(0, 0, 0, 0.05);
  --photo-shadow-deep: 0 28px 78px rgba(0, 0, 0, 0.2), 0 12px 34px rgba(0, 122, 255, 0.14);
  --photo-radius: 8px;
  --photo-pill: 999px;
  --photo-ease: cubic-bezier(0.2, 0, 0, 1);
  --apple-bg: var(--photo-bg);
  --apple-bg-elevated: var(--photo-surface-solid);
  --nav-height: 60px;
  color-scheme: only light;

  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--photo-text);
  background:
    linear-gradient(180deg, #fbfcff 0%, #f5f7fb 48%, #ffffff 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home a {
  color: inherit;
}

.page-home .container {
  width: calc(100% - 32px);
  max-width: 1320px;
}

.page-home .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Navigation */
.page-home .site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: var(--nav-height);
  padding: 0.55rem 0;
  background: rgba(251, 251, 253, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  transition: background 220ms var(--photo-ease), box-shadow 220ms var(--photo-ease);
}

.page-home .site-nav::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--photo-gradient);
  opacity: 0.42;
  pointer-events: none;
}

.page-home .site-nav.scrolled {
  background: rgba(251, 251, 253, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.page-home .site-nav__inner {
  min-height: 46px;
  gap: 1rem;
}

.page-home .logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.page-home .logo img,
.page-home .brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 8px 18px rgba(0, 0, 0, 0.12);
}

.page-home .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: conic-gradient(from 210deg, #007aff, #00c7be, #34c759, #ffd60a, #ff9f0a, #ff375f, #af52de, #007aff);
}

.page-home .brand-mark i {
  font-size: 1rem;
}

.page-home .brand-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--photo-text);
}

.page-home .brand-accent {
  background: var(--photo-gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem 0.45rem;
}

.page-home .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.62rem;
  border-radius: var(--photo-pill);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(29, 29, 31, 0.86);
  text-decoration: none;
  transition: color 180ms var(--photo-ease), background 180ms var(--photo-ease);
}

.page-home .nav-links a:hover,
.page-home .nav-links a:focus-visible {
  color: var(--photo-blue);
  background: rgba(0, 122, 255, 0.09);
  outline: none;
}

/* Hero */
.page-home .hero {
  position: relative;
  isolation: isolate;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 4rem) 1.25rem 5.25rem;
  overflow: hidden;
  color: #ffffff;
  background: #07070b;
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  transform: scale(1.02);
}

.page-home .hero-media__tile {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #151516;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.page-home .hero-media__tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.16) contrast(1.04);
  transform: scale(1.01);
}

.page-home .hero-media__tile--1 {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
}

.page-home .hero-media__tile--2 {
  grid-column: 4 / 7;
  grid-row: 1 / 2;
}

.page-home .hero-media__tile--3 {
  grid-column: 4 / 6;
  grid-row: 2 / 4;
}

.page-home .hero-media__tile--4 {
  grid-column: 6 / 7;
  grid-row: 2 / 5;
}

.page-home .hero-media__tile--5 {
  grid-column: 1 / 3;
  grid-row: 3 / 5;
}

.page-home .hero-media__tile--6 {
  grid-column: 3 / 6;
  grid-row: 4 / 5;
}

.page-home .hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.28) 34%, rgba(0, 0, 0, 0.8) 100%),
    linear-gradient(115deg, rgba(0, 122, 255, 0.34) 0%, rgba(0, 199, 190, 0.12) 28%, rgba(255, 214, 10, 0.12) 58%, rgba(255, 55, 95, 0.28) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.48) 100%);
  pointer-events: none;
}

.page-home .hero-content {
  width: 100%;
  max-width: 820px;
  min-width: 0;
  margin: 0 auto;
  text-align: center;
}

.page-home .hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.95rem;
  margin-bottom: 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--photo-pill);
  background:
    linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14)) padding-box,
    var(--photo-gradient) border-box;
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0;
}

.page-home .hero h1 {
  max-width: 760px;
  margin: 0 auto 1rem;
  color: #ffffff;
  font-size: 3.85rem;
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 8px 38px rgba(0, 0, 0, 0.45);
}

.page-home .hero-content > p {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  line-height: 1.52;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.38);
}

.page-home .search-container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 1.15rem;
}

.page-home .search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 6px 7px 6px 18px;
  border: 1px solid transparent;
  border-radius: var(--photo-pill);
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(0, 199, 190, 0.48), rgba(255, 55, 95, 0.38)) border-box;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26), 0 10px 26px rgba(0, 122, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  transition: box-shadow 180ms var(--photo-ease), border-color 180ms var(--photo-ease);
}

.page-home .search-bar:focus-within {
  border-color: rgba(0, 122, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.22), 0 20px 52px rgba(0, 0, 0, 0.28), 0 8px 30px rgba(255, 55, 95, 0.12);
}

.page-home .search-bar__icon {
  flex: 0 0 auto;
  margin-right: 0.7rem;
  color: var(--photo-faint);
  font-size: 0.95rem;
}

.page-home .search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--photo-text);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  box-shadow: none;
}

.page-home .search-input::placeholder {
  color: var(--photo-faint);
}

.page-home .search-bar__divider {
  width: 1px;
  height: 26px;
  margin: 0 0.55rem;
  background: rgba(0, 0, 0, 0.1);
}

.page-home .search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 46px;
  padding: 0 1.2rem;
  border: 0;
  border-radius: var(--photo-pill);
  background: var(--photo-gradient-cool);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 122, 255, 0.26);
  transition: filter 160ms var(--photo-ease), transform 160ms var(--photo-ease), box-shadow 160ms var(--photo-ease);
}

.page-home .search-button:hover,
.page-home .search-button:focus-visible {
  filter: saturate(1.1) brightness(1.04);
  box-shadow: 0 10px 28px rgba(0, 199, 190, 0.26);
  outline: none;
}

.page-home .search-button:active {
  transform: scale(0.98);
}

.page-home .hero-stats {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.page-home .hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.32rem 0.8rem;
  border: 1px solid transparent;
  border-radius: var(--photo-pill);
  background:
    linear-gradient(rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.11)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(0, 199, 190, 0.34), rgba(255, 55, 95, 0.26)) border-box;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.page-home .hero-stats strong {
  color: #ffffff;
  font-weight: 700;
}

.page-home .hero-stats span:nth-child(1) strong {
  color: var(--photo-cyan);
}

.page-home .hero-stats span:nth-child(2) strong {
  color: var(--photo-yellow);
}

.page-home .hero-stats span:nth-child(3) strong {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(0, 199, 190, 0.7);
}

.page-home .scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.7rem;
  transform: translateX(-50%);
}

.page-home .scroll-indicator__icon {
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.2rem;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

/* Galerie */
.page-home .gallery-section {
  position: relative;
  padding: 5.5rem 0 6rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 247, 251, 0.9) 45%, #ffffff 100%),
    linear-gradient(120deg, rgba(0, 122, 255, 0.12) 0%, rgba(0, 199, 190, 0.08) 34%, rgba(255, 214, 10, 0.1) 66%, rgba(255, 55, 95, 0.1) 100%);
}

.page-home .section-title {
  max-width: 760px;
  margin-inline: auto;
}

.page-home .section-eyebrow {
  margin: 0 0 0.65rem;
  background: var(--photo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.page-home .section-heading {
  max-width: 650px;
  margin: 0 auto 0.85rem;
  background: linear-gradient(100deg, #1d1d1f 0%, #1d1d1f 42%, #007aff 64%, #ff375f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2.7rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.page-home .section-subtitle {
  max-width: 650px;
  margin: 0 auto;
  color: var(--photo-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  letter-spacing: 0;
  text-wrap: balance;
}

.page-home .gallery-filters {
  display: flex;
  justify-content: center;
  margin-bottom: 1.6rem !important;
}

.page-home .gallery-filters .btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.28rem;
  border: 1px solid transparent;
  border-radius: var(--photo-pill);
  background:
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.74)) padding-box,
    linear-gradient(135deg, rgba(0, 122, 255, 0.28), rgba(0, 199, 190, 0.18), rgba(255, 55, 95, 0.24)) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 26px rgba(30, 63, 120, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.page-home .gallery-filters .btn {
  min-height: 34px;
  padding: 0.36rem 0.96rem;
  border: 0 !important;
  border-radius: var(--photo-pill) !important;
  background: transparent;
  color: var(--photo-muted);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0;
  box-shadow: none !important;
}

.page-home .gallery-filters .btn:hover,
.page-home .gallery-filters .btn:focus-visible {
  color: var(--photo-text);
  background: rgba(255, 255, 255, 0.86);
  outline: none;
}

.page-home .gallery-filters .btn.active {
  color: #ffffff;
  background: var(--photo-gradient-cool);
  box-shadow: 0 5px 15px rgba(0, 122, 255, 0.2) !important;
}

.page-home .gallery-filters .btn[data-filter="all"].active {
  background: var(--photo-gradient);
}

.page-home .gallery-filters .btn[data-filter="plages"].active {
  background: linear-gradient(135deg, var(--photo-blue), var(--photo-cyan));
}

.page-home .gallery-filters .btn[data-filter="culture"].active {
  background: linear-gradient(135deg, var(--photo-purple), var(--photo-pink), var(--photo-orange));
}

.page-home .gallery-filters .btn[data-filter="nature"].active {
  background: linear-gradient(135deg, var(--photo-green), var(--photo-cyan));
}

.page-home .gallery-grid--damier {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 180px;
  gap: 8px;
}

.page-home .gallery-item {
  min-width: 0;
  transition: opacity 420ms var(--photo-ease), transform 420ms var(--photo-ease);
}

.page-home .gallery-card {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #111113;
  box-shadow: none;
  transform: translateZ(0);
  transition: transform 260ms var(--photo-ease), box-shadow 260ms var(--photo-ease), filter 260ms var(--photo-ease);
}

.page-home .gallery-card:hover,
.page-home .gallery-card:focus-within {
  z-index: 4;
  transform: scale(1.015);
  box-shadow: var(--photo-shadow-deep), 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.page-home .gallery-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.page-home .gallery-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111113;
}

.page-home .gallery-card .card-img-top {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(1.04) contrast(1.01);
  transition: transform 520ms var(--photo-ease), filter 520ms var(--photo-ease);
}

.page-home .gallery-card:hover .card-img-top,
.page-home .gallery-card:focus-within .card-img-top {
  transform: scale(1.045);
  filter: saturate(1.1) contrast(1.04);
}

.page-home .gallery-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0.22) 62%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(135deg, rgba(0, 122, 255, 0.18) 0%, rgba(0, 199, 190, 0.02) 42%, rgba(255, 55, 95, 0.24) 100%);
}

.page-home .gallery-card__overlay-inner {
  padding: 1rem;
  color: #ffffff;
  transform: translateY(2.05rem);
  transition: transform 280ms var(--photo-ease);
}

.page-home .gallery-card:hover .gallery-card__overlay-inner,
.page-home .gallery-card:focus-within .gallery-card__overlay-inner {
  transform: translateY(0);
}

.page-home .gallery-card__chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.18rem 0.58rem;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--photo-pill);
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 240ms var(--photo-ease), transform 240ms var(--photo-ease);
}

.page-home .gallery-item[data-category="plages"] .gallery-card__chip {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.88), rgba(0, 199, 190, 0.88));
}

.page-home .gallery-item[data-category="culture"] .gallery-card__chip {
  background: linear-gradient(135deg, rgba(175, 82, 222, 0.88), rgba(255, 55, 95, 0.88), rgba(255, 159, 10, 0.88));
}

.page-home .gallery-item[data-category="nature"] .gallery-card__chip {
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.88), rgba(0, 199, 190, 0.88));
}

.page-home .gallery-card__overlay-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-home .gallery-card__overlay-desc {
  margin: 0.45rem 0 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  line-height: 1.38;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transition: opacity 240ms var(--photo-ease);
}

.page-home .gallery-card__overlay-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  opacity: 0;
  transition: opacity 240ms var(--photo-ease);
}

.page-home .gallery-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 28px;
  padding: 0.2rem 0.52rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--photo-pill);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 650;
}

.page-home .gallery-card:hover .gallery-card__chip,
.page-home .gallery-card:hover .gallery-card__overlay-desc,
.page-home .gallery-card:hover .gallery-card__overlay-meta,
.page-home .gallery-card:focus-within .gallery-card__chip,
.page-home .gallery-card:focus-within .gallery-card__overlay-desc,
.page-home .gallery-card:focus-within .gallery-card__overlay-meta {
  opacity: 1;
  transform: translateY(0);
}

.page-home .gallery-card__overlay-cta {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0.3rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--photo-pill);
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)) padding-box,
    var(--photo-gradient) border-box;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 220ms var(--photo-ease), transform 220ms var(--photo-ease);
}

.page-home .gallery-card:hover .gallery-card__overlay-cta,
.page-home .gallery-card:focus-within .gallery-card__overlay-cta {
  opacity: 1;
  transform: translateY(0);
}

.page-home .gallery-info,
.page-home .gallery-card .card-footer {
  display: none;
}

.page-home .empty-gallery {
  max-width: 560px;
  margin: 0 auto;
  padding: 3.4rem 2rem !important;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    var(--photo-gradient) border-box;
  box-shadow: var(--photo-shadow-soft);
}

.page-home .empty-gallery-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--photo-gradient-cool);
  box-shadow: 0 16px 30px rgba(0, 122, 255, 0.2);
}

.page-home .empty-gallery .fa-images {
  color: #ffffff !important;
}

.page-home .empty-gallery h3 {
  color: var(--photo-text);
  font-weight: 700;
  letter-spacing: 0;
}

/* Modale */
body.page-home.modal-open .modal-backdrop.show {
  opacity: 1 !important;
  background: rgba(0, 0, 0, 0.58) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}

.page-home .modal-dialog {
  width: calc(100vw - 28px);
  max-width: 1180px;
}

.page-home .modal-content {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #111113;
  color: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 12px 40px rgba(0, 122, 255, 0.14);
}

.page-home .modal-header {
  min-height: 64px;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(20, 20, 22, 0.96), rgba(20, 20, 22, 0.92)),
    linear-gradient(135deg, rgba(0, 122, 255, 0.32), rgba(255, 55, 95, 0.18));
}

.page-home .modal-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.page-home .modal .btn-close {
  filter: invert(1) grayscale(1);
  opacity: 0.8;
}

.page-home .modal-body {
  padding: 1rem;
  background: #111113;
}

.page-home .modal-body .row {
  align-items: stretch;
  row-gap: 1rem;
}

.page-home .modal-body .position-relative {
  height: 100%;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #050506;
}

.page-home .modal-body .img-fluid.rounded {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 12px !important;
  box-shadow: none;
}

.page-home .image-details,
.page-home .edit-mode {
  height: 100%;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(0, 122, 255, 0.12), rgba(255, 55, 95, 0.08));
}

.page-home .image-details h6 {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.page-home .image-details p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.94rem;
  line-height: 1.55;
  letter-spacing: 0;
}

.page-home .image-meta p {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.88) !important;
}

.page-home .image-meta i {
  width: 18px;
  color: rgba(255, 255, 255, 0.56);
}

.page-home .modal .btn {
  border-radius: var(--photo-pill);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0;
}

.page-home .modal .btn-primary {
  background: var(--photo-gradient-cool);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.24);
}

.page-home .modal .btn-primary:hover {
  filter: saturate(1.1) brightness(1.04);
  border-color: transparent;
}

.page-home .modal .btn-outline-primary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.page-home .modal .btn-outline-primary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.page-home .modal .btn-outline-secondary,
.page-home .modal .btn-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.page-home .modal .btn-outline-secondary:hover,
.page-home .modal .btn-light:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.page-home .modal .form-label {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

.page-home .modal .form-control,
.page-home .modal .form-select {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.94rem;
  letter-spacing: 0;
}

.page-home .modal .form-control:focus,
.page-home .modal .form-select:focus {
  border-color: rgba(0, 122, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.22);
}

.page-home .modal .form-select option {
  color: #111113;
  background: #ffffff;
}

/* Pied de page */
.page-home .site-footer {
  position: relative;
  padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--photo-border-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%),
    linear-gradient(120deg, rgba(0, 122, 255, 0.08), rgba(255, 214, 10, 0.08), rgba(255, 55, 95, 0.08));
}

.page-home .site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--photo-gradient);
  opacity: 0.55;
}

.page-home .site-footer__grid {
  row-gap: 2rem;
}

.page-home .site-footer__title {
  margin-bottom: 0.85rem;
  background: var(--photo-gradient-cool);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.page-home .site-footer__text {
  max-width: 36rem;
  margin: 0;
  color: var(--photo-muted);
  font-size: 0.84rem;
  line-height: 1.6;
  letter-spacing: 0;
}

.page-home .site-footer__link {
  color: var(--photo-blue);
  text-decoration: none;
}

.page-home .site-footer__link:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.page-home .site-footer__legal {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--photo-border-soft);
  text-align: center;
}

.page-home .site-footer__legal p {
  margin: 0;
  color: var(--photo-faint);
  font-size: 0.76rem;
  letter-spacing: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .page-home .brand-accent,
  .page-home .section-eyebrow,
  .page-home .section-heading,
  .page-home .site-footer__title {
    background: none;
    color: var(--photo-blue);
  }

  .page-home .section-heading {
    color: var(--photo-text);
  }
}

@media (min-width: 700px) {
  .page-home .gallery-grid--damier {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }

  .page-home .gallery-grid--damier .gallery-item:nth-child(6n + 1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .page-home .gallery-grid--damier .gallery-item:nth-child(6n + 4) {
    grid-column: span 2;
  }
}

@media (min-width: 1080px) {
  .page-home .gallery-grid--damier {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 142px;
  }

  .page-home .gallery-grid--damier .gallery-item:nth-child(8n + 1) {
    grid-column: span 3;
    grid-row: span 2;
  }

  .page-home .gallery-grid--damier .gallery-item:nth-child(8n + 2) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .page-home .gallery-grid--damier .gallery-item:nth-child(8n + 5) {
    grid-column: span 2;
  }

  .page-home .gallery-grid--damier .gallery-item:nth-child(8n + 6) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 760px) {
  .page-home .container {
    width: calc(100% - 22px);
  }

  .page-home .site-nav__inner {
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 0.35rem;
  }

  .page-home .logo {
    width: 100%;
  }

  .page-home .logo a {
    justify-content: center;
  }

  .page-home .nav-links {
    width: 100%;
    justify-content: center;
    gap: 0.15rem;
  }

  .page-home .nav-links a {
    min-height: 30px;
    padding: 0.28rem 0.48rem;
    font-size: 0.76rem;
  }

  .page-home .brand-title {
    font-size: 0.98rem;
  }

  .page-home .hero {
    --nav-height: 108px;
    min-height: 90svh;
    padding: calc(var(--nav-height) + 2.25rem) 1rem 4.6rem;
  }

  .page-home .hero-content {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .page-home .hero-media {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 6px;
    padding: 6px;
  }

  .page-home .hero-media__tile--1 {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
  }

  .page-home .hero-media__tile--2 {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
  }

  .page-home .hero-media__tile--3 {
    grid-column: 3 / 4;
    grid-row: 3 / 5;
  }

  .page-home .hero-media__tile--4 {
    grid-column: 1 / 2;
    grid-row: 4 / 6;
  }

  .page-home .hero-media__tile--5 {
    grid-column: 2 / 4;
    grid-row: 5 / 6;
  }

  .page-home .hero-media__tile--6 {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }

  .page-home .hero h1 {
    max-width: 100%;
    font-size: 2.1rem;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .page-home .hero-content > p {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .page-home .search-bar {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.72rem;
    border-radius: 24px;
    min-width: 0;
  }

  .page-home .search-container {
    max-width: 100%;
  }

  .page-home .search-bar__icon {
    margin-right: 0.2rem;
  }

  .page-home .search-input {
    flex: 1 1 0;
    min-width: 0;
  }

  .page-home .search-bar__divider {
    display: none;
  }

  .page-home .search-button {
    width: 100%;
  }

  .page-home .hero-stats {
    width: 100%;
    max-width: 340px;
    gap: 0.35rem;
  }

  .page-home .hero-stats span {
    min-height: 30px;
    padding: 0.25rem 0.62rem;
    font-size: 0.76rem;
  }

  .page-home .section-heading {
    font-size: 2.05rem;
  }

  .page-home .gallery-section {
    padding: 4rem 0 4.5rem;
  }

  .page-home .gallery-grid--damier {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .page-home .gallery-card {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .page-home .gallery-card__overlay-inner,
  .page-home .gallery-card:hover .gallery-card__overlay-inner,
  .page-home .gallery-card:focus-within .gallery-card__overlay-inner {
    transform: translateY(0);
  }

  .page-home .gallery-card__chip,
  .page-home .gallery-card__overlay-desc,
  .page-home .gallery-card__overlay-meta {
    opacity: 1;
    transform: translateY(0);
  }

  .page-home .gallery-card__overlay-cta {
    display: none;
  }

  .page-home .modal-body .position-relative {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
