/* ═══════════════════════════════════════════
   À LA VOLETTE — Styles principaux
   ═══════════════════════════════════════════ */

:root {
  --black:      #0a0a0a;
  --white:      #fafafa;
  --grey-light: #e8e8e8;
  --grey-mid:   #999;
  --grey-dark:  #444;
  --grey-hover: #b3b3b3;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Poppins', sans-serif;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #fafafa;
  color: var(--black);
  font-family: var(--font-body);
}

/* ── Fond global #fafafa ── */
html, body, .site, .ct-container, .site-header, .ct-header,
.site-footer, .ct-footer, footer, .ct-main-container, #page {
  background-color: #fafafa !important;
}

/* ── Home : layout ── */
body.home {
  overflow: hidden;
  height: 100vh;
}
body:not(.home) {
  overflow: auto;
  height: auto;
}

/* ── Cacher titre site ── */
.site-title, .site-description, .ct-site-title, .ct-site-description,
.wp-block-site-title, .entry-title, h1.entry-title, h2.entry-title, .page-title {
  display: none !important;
}

/* ── HEADER ── */
.site-header, .ct-header, header.site-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,250,250,0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-light);
}

/* Container header pleine largeur */
.site-header .ct-container,
.ct-header .ct-container,
.ct-header-builder .ct-container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}

/* Logo */
.custom-logo { height: 56px; width: auto; }
.custom-logo-link::after, .ct-site-logo a::after { display: none !important; }

/* ── LABEL SOUS LE LOGO ── */
.alv-side-label {
  position: fixed;
  top: 0;
  left: 0;
  height: var(--header-h);
  display: flex;
  align-items: flex-end;
  padding: 0 0 7px 26px;
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-mid);
  z-index: 101;
  white-space: nowrap;
  pointer-events: none;
}

/* ── HOME — SCROLL HORIZONTAL ── */
#alv-home {
  position: fixed;
  top: var(--header-h, 80px);
  left: 0;
  right: 0;
  bottom: 80px;
  overflow: hidden;
}

.portrait-track {
  display: flex;
  align-items: center;
  height: 100%;
  cursor: grab;
  user-select: none;
  will-change: transform;
}
.portrait-track:active { cursor: grabbing; }

.portrait-item {
  flex: 0 0 auto;
  height: 100%;
  width: auto;
  position: relative;
  overflow: hidden;
}
.portrait-item + .portrait-item {
  border-left: 1px solid rgba(0,0,0,0.08);
}

.portrait-img-wrap {
  height: 100%;
  position: relative;
}
#alv-home .portrait-img-wrap img,
#track .portrait-img-wrap img,
.portrait-item img {
  height: 100% !important;
  width: auto !important;
  max-width: none !important;  /* écrase le max-width: 100% de Blocksy */
  max-height: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
  pointer-events: none;
}
.portrait-item:hover .portrait-img-wrap img { transform: scale(1.03); }

.portrait-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 80px 24px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  box-sizing: border-box;
}
.portrait-item:hover .portrait-overlay { opacity: 1; }

.portrait-name {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  color: white;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
  flex: 1;
}
.portrait-likes-total {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 18px !important;
  font-weight: 400;
  color: rgba(255,255,255,0.95) !important;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-left: 12px;
}
.portrait-likes-total::before {
  content: '';
  display: inline-block;
  width: 22px !important;
  height: 22px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 448 C240 432 64 304 64 176 C64 106 118 64 176 64 C214 64 246 84 256 112 C266 84 298 64 336 64 C394 64 448 106 448 176 C448 304 272 432 256 448Z' fill='%23FF2D55'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}


/* Scroll hint */
.scroll-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  pointer-events: none;
  background: rgba(0,0,0,0.2);
  padding: 5px 14px;
  backdrop-filter: blur(6px);
  border-radius: 2px;
}
.scroll-hint-line {
  width: 28px; height: 0.5px;
  background: rgba(255,255,255,0.4);
  position: relative; overflow: hidden;
}
.scroll-hint-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: white;
  animation: slideLine 1.8s ease-in-out infinite;
}
@keyframes slideLine { 0% { left: -100%; } 100% { left: 100%; } }

.scroll-counter {
  position: fixed;
  right: 40px; bottom: 20px;
  font-family: var(--font-body);
  font-size: 8px; font-weight: 300;
  letter-spacing: 0.2em;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  z-index: 20;
  pointer-events: none;
  background: rgba(0,0,0,0.2);
  padding: 5px 10px;
  backdrop-filter: blur(6px);
  border-radius: 2px;
}

.alv-empty {
  text-align: center;
  padding: 120px 48px;
  font-style: italic;
  color: var(--grey-mid);
}

/* ── FOOTER ── */
.site-footer, .ct-footer, footer {
  position: fixed !important;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(250,250,250,0.96) !important;
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--grey-light);
  padding: 12px 48px 20px !important;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer *, .ct-footer *, footer * {
  font-family: var(--font-body) !important;
  font-size: 8px !important;
  font-weight: 300 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: var(--black) !important;
  text-decoration: none !important;
}

/* ── GALERIE PORTRAIT ── */
body.single-portrait { overflow: auto !important; height: auto !important; }

#alv-gallery {
  padding-top: 100px;
  padding-bottom: 60px;
  min-height: 100vh;
  background: #fafafa;
}

.gallery-header {
  position: sticky;
  top: var(--header-h);
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 16px 48px;
  background: rgba(250,250,250,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-light);
  z-index: 10;
}
.gallery-back {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--grey-dark); text-decoration: none;
  transition: color 0.2s;
}
.gallery-back:hover { color: var(--grey-hover); }
.gallery-title {
  font-family: var(--font-display);
  font-size: 30px; letter-spacing: 0.08em;
  color: var(--black); font-weight: 400; text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px 4px 80px 4px;
  align-items: start;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr !important; }
  .gallery-item.landscape { grid-column: span 1 !important; }
}

/* Image paysage : réduite à 2/3 de largeur pour équilibrer visuellement */
.gallery-item.landscape {
  grid-column: span 2;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  width: 100%;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-item:hover img { transform: scale(1.03); }

/* ── LIGHTBOX ── */
.alv-lightbox {
  display: none;
  position: fixed; inset: 0;
  z-index: 999;
  background: rgba(10,10,10,0.96);
  align-items: center; justify-content: center;
}
.alv-lightbox.open { display: flex; }
.lightbox-img-wrap { max-width: 90vw; max-height: 90vh; display: flex; align-items: center; justify-content: center; }
.lightbox-img-wrap img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed; background: none; border: none;
  color: white; cursor: pointer; line-height: 1; padding: 12px;
  transition: color 0.2s; z-index: 1000;
}
.lightbox-close { top: 24px; right: 32px; font-size: 20px; }
.lightbox-prev  { left: 24px; top: 50%; transform: translateY(-50%); font-size: 44px; }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); font-size: 44px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: var(--grey-hover); }
.lightbox-counter {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-body); font-size: 9px;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.35);
}

/* ── MENU ── */
.ct-menu > ul > li > a,
[data-id="menu"] > ul > li > a {
  --theme-link-initial-color: #0a0a0a !important;
  --theme-link-hover-color: #b3b3b3 !important;
  --theme-link-active-color: #b3b3b3 !important;
  color: #0a0a0a !important;
  text-decoration: none !important;
}
.ct-menu > ul > li > a:hover,
.ct-menu > ul > li.current-menu-item > a,
[data-id="menu"] > ul > li > a:hover,
[data-id="menu"] > ul > li.current-menu-item > a {
  color: #b3b3b3 !important;
  text-decoration: underline !important;
  text-underline-offset: 5px !important;
  text-decoration-thickness: 0.5px !important;
  text-decoration-color: #b3b3b3 !important;
}
.ct-menu a, nav a {
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
}

/* ── RESPONSIVE MOBILE ── */
@media (max-width: 768px) {
  .site-header, .ct-header { padding: 10px 20px !important; }
  .ct-site-logo img, .custom-logo { height: 36px !important; }
  .alv-side-label { display: none !important; }
  .scroll-hint, .scroll-counter { display: none !important; }

  body.home {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
  }

  #alv-home {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    padding: 0 !important;
    padding-top: var(--header-h, 80px) !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  .portrait-track {
    flex-direction: column !important;
    height: auto !important;
    width: 100% !important;
    transform: none !important;
    cursor: default !important;
  }

  body.home #alv-home .portrait-track .portrait-item {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: none !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    position: relative !important;
  }

  body.home #alv-home .portrait-track .portrait-item img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
  }

  .portrait-overlay {
    opacity: 1 !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 40px 16px 16px !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }

  .portrait-name { font-size: 22px !important; }

  .site-footer, .ct-footer, footer {
    position: static !important;
    height: auto !important;
    padding: 16px 20px 22px !important;
  }
}

@media (max-width: 480px) {
  .portrait-item { aspect-ratio: 3/4; }
  .portrait-name { font-size: 20px !important; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .site-header, .ct-header { padding: 12px 24px !important; }
  .ct-site-logo img, .custom-logo { height: 44px !important; }
}

/* Fix mobile header */
@media (max-width: 768px) {
  .site-header, .ct-header { padding: 10px 20px !important; }
  .ct-site-logo img, .custom-logo { height: 36px !important; }
  .alv-side-label { display: none !important; }
  .scroll-hint, .scroll-counter { display: none !important; }

  body.home {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
  }

  #alv-home {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    padding: 0 !important;
    padding-top: var(--header-h, 80px) !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  .portrait-track {
    flex-direction: column !important;
    height: auto !important;
    width: 100% !important;
    transform: none !important;
    cursor: default !important;
  }

  body.home #alv-home .portrait-track .portrait-item {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: none !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    position: relative !important;
  }

  body.home #alv-home .portrait-track .portrait-item img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
  }

  .portrait-overlay {
    opacity: 1 !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 40px 16px 16px !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }

  .portrait-name { font-size: 22px !important; }

  .site-footer, .ct-footer, footer {
    position: static !important;
    height: auto !important;
    padding: 16px 20px 22px !important;
  }
}

@media (max-width: 768px) {
  .site-header, .ct-header { padding: 10px 20px !important; }
  .ct-site-logo img, .custom-logo { height: 36px !important; }
  .alv-side-label { display: none !important; }
  .scroll-hint, .scroll-counter { display: none !important; }

  body.home {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
  }

  #alv-home {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    padding: 0 !important;
    padding-top: var(--header-h, 80px) !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  .portrait-track {
    flex-direction: column !important;
    height: auto !important;
    width: 100% !important;
    transform: none !important;
    cursor: default !important;
  }

  body.home #alv-home .portrait-track .portrait-item {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: none !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    position: relative !important;
  }

  body.home #alv-home .portrait-track .portrait-item img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
  }

  .portrait-overlay {
    opacity: 1 !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 40px 16px 16px !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }

  .portrait-name { font-size: 22px !important; }

  .site-footer, .ct-footer, footer {
    position: static !important;
    height: auto !important;
    padding: 16px 20px 22px !important;
  }
}


/* ── BLOC MOBILE SÉPARÉ ── */
#alv-mobile { display: none; }

@media (max-width: 768px) {
  /* Cacher le bloc desktop */
  #alv-home { display: none !important; }

  /* Afficher le bloc mobile */
  #alv-mobile {
    display: block;
    margin-top: var(--header-h, 80px);
    width: 100%;
  }

  .mobile-portrait-item {
    display: block;
    width: 100%;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    cursor: pointer;
  }

  .mobile-portrait-item img {
    display: block;
    width: 100%;
    height: auto;
  }

  .mobile-portrait-name {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .mobile-portrait-likes {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 18px;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    z-index: 2;
    pointer-events: none;
  }
  .mobile-portrait-likes::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 448 C240 432 64 304 64 176 C64 106 118 64 176 64 C214 64 246 84 256 112 C266 84 298 64 336 64 C394 64 448 106 448 176 C448 304 272 432 256 448Z' fill='%23FF2D55'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
  }
}

/* ── HEADER OPAQUE sur mobile ── */
@media (max-width: 768px) {
  .site-header, .ct-header, header.site-header {
    background: #fafafa !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ── Fix lien mobile ── */
a.mobile-portrait-item,
a.mobile-portrait-item:hover,
a.mobile-portrait-item:visited {
  display: block !important;
  width: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* ── Fix tap sur mobile ── */
a.mobile-portrait-item img {
  pointer-events: none !important;
}
a.mobile-portrait-item .mobile-portrait-name {
  pointer-events: none !important;
}

/* ── Sous-titre galerie ── */
.gallery-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gallery-description {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--grey-mid);
  line-height: 1.6;
  max-width: 600px;
}

/* ── Mobile : overlay nom + fonction animé au scroll ── */
.mobile-portrait-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.mobile-portrait-overlay .portrait-likes-total {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 18px !important;
  color: rgba(255,255,255,0.95) !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  margin-left: 8px !important;
}
.mobile-portrait-overlay .portrait-likes-total::before {
  display: inline-block !important;
  width: 22px !important;
  height: 22px !important;
}
.mobile-portrait-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: white;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}
.mobile-portrait-function {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   COMMUNICATION VISUELLE
   ═══════════════════════════════════════════ */

#alv-comm {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 56px;
  box-sizing: border-box;
}

.comm-track {
  display: flex;
  height: 100%;
  cursor: grab;
  user-select: none;
  will-change: transform;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
}
.comm-track:active { cursor: grabbing; }

.comm-item {
  flex: 0 0 auto;
  height: 85%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.comm-item img {
  height: 100%;
  width: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.comm-item:hover img { transform: scale(1.02); }

.comm-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
}
.comm-item:hover .comm-overlay { opacity: 1; }

.comm-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: white;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Lightbox communication ── */
#comm-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,10,10,0.96);
  align-items: center;
  justify-content: center;
}
#comm-lightbox.open { display: flex; }

.comm-lb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 90vw;
  max-height: 90vh;
}
.comm-lb-wrap {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.comm-lb-wrap img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 16px 64px rgba(0,0,0,0.6);
  display: block;
}

.comm-lb-close,
.comm-lb-prev,
.comm-lb-next {
  position: fixed;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  line-height: 1;
  padding: 12px;
  transition: color 0.2s;
  z-index: 1000;
}
.comm-lb-close { top: 24px; right: 32px; font-size: 20px; }
.comm-lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); font-size: 48px; }
.comm-lb-next  { right: 24px; top: 50%; transform: translateY(-50%); font-size: 48px; }
.comm-lb-close:hover,
.comm-lb-prev:hover,
.comm-lb-next:hover { color: var(--grey-mid); }

.comm-lb-title {
  position: fixed;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}
.comm-lb-caption {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: center;
  min-height: 14px;
}

.comm-lb-counter {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.2);
  text-align: center;
}

/* ── Mobile : scroll vertical ── */
@media (max-width: 768px) {
  #alv-comm {
    position: relative !important;
    padding-top: var(--header-h, 80px) !important;
    padding-bottom: 0 !important;
  }
  .comm-track {
    flex-direction: column !important;
    height: auto !important;
    transform: none !important;
    cursor: default !important;
    gap: 8px !important;
    padding: 8px !important;
    align-items: center !important;
  }
  .comm-item {
    height: auto !important;
    width: 100% !important;
  }
  .comm-item img {
    height: auto !important;
    width: 100% !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }
  .comm-overlay { opacity: 1 !important; }
}

/* ═══════════════════════════════════════════
   PAGE À PROPOS
   ═══════════════════════════════════════════ */

#alv-apropos {
  padding-top: var(--header-h, 80px);
  min-height: 100vh;
}

.apropos-section {
  padding: 80px 8vw;
}

.apropos-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0 8vw;
}

.apropos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.apropos-inner--contact {
  grid-template-columns: 1fr 1fr;
}

.apropos-inner--text {
  grid-template-columns: 1fr;
  max-width: 760px;
}

/* ── Photo ── */
.apropos-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Titres ── */
.apropos-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 28px;
  font-weight: 400;
}

/* ── Texte présentation ── */
.apropos-text p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 16px;
}

/* ── Réseaux sociaux ── */
.apropos-social {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.apropos-social a {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dark);
  text-decoration: none;
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.apropos-social a:hover { color: var(--black); }

/* ── Coordonnées ── */
address {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 2;
  color: #555;
  margin-bottom: 24px;
}
address strong {
  font-weight: 500;
  color: var(--black);
  font-size: 14px;
  display: block;
}
address a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(0,0,0,0.2);
}

/* ── Google Map ── */
#alv-map {
  width: 100%;
  height: 240px;
  margin-bottom: 16px;
  background: #f0f0f0;
}

.apropos-maps-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dark);
  text-decoration: none;
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s;
  margin-bottom: 40px;
}
.apropos-maps-btn:hover { color: var(--black); }

/* ── Formulaire CF7 ── */
.apropos-form-title {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
  font-weight: 400;
  margin-bottom: 28px;
}
.apropos-contact-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.apropos-contact-form .wpcf7-form p { margin: 0; }
.apropos-contact-form input[type="text"],
.apropos-contact-form input[type="email"],
.apropos-contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 0.5px solid rgba(0,0,0,0.2);
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--black);
  padding: 8px 0;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.apropos-contact-form input:focus,
.apropos-contact-form textarea:focus { border-bottom-color: var(--black); }
.apropos-contact-form textarea { min-height: 120px; resize: vertical; }
.apropos-contact-form input[type="submit"] {
  align-self: flex-end;
  background: var(--black);
  color: white;
  border: none;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.2s;
}
.apropos-contact-form input[type="submit"]:hover { background: #444; }

/* ── Mentions légales ── */
.apropos-legal p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 12px;
}
.apropos-legal blockquote {
  border-left: 2px solid rgba(0,0,0,0.1);
  padding-left: 20px;
  margin: 16px 0;
  font-style: italic;
  color: #666;
  font-size: 13px;
}
.apropos-legal--warning {
  font-weight: 500;
  color: var(--black) !important;
}
.apropos-legal--date {
  font-size: 11px !important;
  color: var(--grey-mid) !important;
  margin-top: 24px !important;
}

/* ── Publication ── */
.apropos-publication {
  display: flex;
  gap: 32px;
  margin-bottom: 56px;
  padding: 28px 32px;
  border: 0.5px solid rgba(0,0,0,0.1);
  align-items: flex-start;
}
.apropos-pub-cover {
  flex: 0 0 120px;
}
.apropos-pub-cover img {
  width: 120px;
  height: auto;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.apropos-pub-content { flex: 1; }
.apropos-pub-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 400;
  margin-bottom: 4px;
}
.apropos-pub-authors {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--grey-mid);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.apropos-pub-details {
  font-family: var(--font-body);
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 4px;
}
.apropos-pub-isbn {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--grey-mid);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.apropos-pub-link {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dark);
  text-decoration: none;
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.apropos-pub-link:hover { color: var(--black); }

/* ── Médias ── */
.apropos-medias-title {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
  font-weight: 400;
  margin-bottom: 24px;
}

.apropos-medias-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.apropos-medias-list li {
  padding: 20px 0;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.apropos-media-logo {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  padding-top: 2px;
}
.apropos-media-logo img {
  width: 120px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity 0.2s, filter 0.2s;
}
.apropos-medias-list li:hover .apropos-media-logo img {
  opacity: 1;
  filter: grayscale(0%);
}
.apropos-media-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.apropos-media-source {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--black);
  text-transform: uppercase;
}
.apropos-media-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}
.apropos-media-link,
.apropos-media-links a {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-dark);
  text-decoration: none;
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 1px;
  margin-top: 4px;
  display: inline-block;
  transition: color 0.2s;
}
.apropos-media-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.apropos-media-link:hover,
.apropos-media-links a:hover { color: var(--black); }

@media (max-width: 768px) {
  .apropos-publication { flex-direction: column; padding: 20px; }
  .apropos-pub-cover { flex: none; }
  .apropos-media-logo { flex: 0 0 80px; }
  .apropos-media-logo img { width: 80px; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .apropos-section { padding: 48px 6vw; }
  .apropos-divider { margin: 0 6vw; }
  .apropos-inner,
  .apropos-inner--contact { grid-template-columns: 1fr; gap: 40px; }
  .apropos-title { font-size: 22px; }
  #alv-map { height: 200px; }
}

/* ── Masquer badge reCAPTCHA CF7 ── */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
}

/* ── Menu flottant À propos ── */
.apropos-subnav {
  position: sticky;
  top: var(--header-h, 80px);
  z-index: 80;
  background: rgba(250,250,250,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
  display: flex;
  gap: 0;
  padding: 0 8vw;
}
.apropos-subnav-link {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-mid);
  text-decoration: none;
  padding: 14px 20px 12px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.apropos-subnav-link:hover {
  color: var(--black);
}
.apropos-subnav-link.active {
  color: var(--black);
  border-bottom-color: var(--black);
}

/* ── Intro formulaire ── */
.apropos-form-intro {
  font-family: var(--font-body);
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 28px;
  font-style: italic;
}

@media (max-width: 768px) {
  .apropos-subnav { padding: 0 4vw; gap: 0; overflow-x: auto; }
  .apropos-subnav-link { padding: 12px 14px 10px; white-space: nowrap; font-size: 9px; }
}

/* ═══════════════════════════════════════════
   LIGHTBOX PORTRAITS (HOME)
   ═══════════════════════════════════════════ */

#alv-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8,8,8,0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
}
#alv-lightbox.alv-lb-animating,
#alv-lightbox.open {
  display: flex;
}

/* ── Stage : prev | main | next ── */
.alv-lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100vh - 80px);
  gap: 0;
  position: relative;
}

/* Image principale */
.alv-lb-main-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 60vw;
  max-width: 60vw;
  height: calc(100vh - 80px);
  max-height: calc(100vh - 80px);
  z-index: 2;
  overflow: hidden;
}
.alv-lb-main {
  max-width: 60vw;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  display: block;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Vignettes latérales */
.alv-lb-prev-wrap,
.alv-lb-next-wrap {
  flex: 0 0 18vw;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 80px);
  cursor: pointer;
  overflow: hidden;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.alv-lb-prev-wrap:hover,
.alv-lb-next-wrap:hover { opacity: 0.65; }

.alv-lb-side {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* Loader */
.alv-lb-loader {
  display: none;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-top-color: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: alv-spin 0.7s linear infinite;
}
@keyframes alv-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Bouton fermer */
.alv-lb-close {
  position: fixed;
  top: 24px; right: 32px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.2s;
  padding: 8px;
}
.alv-lb-close:hover { color: white; }

/* Footer */
.alv-lb-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.alv-lb-arrow {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 28px;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.2s;
  line-height: 1;
}
.alv-lb-arrow:hover { color: white; }
/* ── Bouton commentaire ── */
.alv-lb-comment-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 20px;
  opacity: 0.6;
  transition: opacity 0.2s, background 0.2s;
}
.alv-lb-comment-btn:hover { opacity: 1; background: rgba(255,255,255,0.08); }
/* ── Panel commentaire ── */
#alv-comment-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
#alv-comment-panel.open { display: flex; }
#alv-comment-box {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  width: 100%;
  max-width: 480px;
  margin: 20px;
  overflow: hidden;
}
#alv-comment-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
#alv-comment-img-wrap {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}
#alv-comment-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#alv-comment-title-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
#alv-comment-portrait-name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
#alv-comment-img-num {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
}
#alv-comment-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}
#alv-comment-close:hover { color: #fff; }
#alv-comment-fields {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#alv-comment-fields input,
#alv-comment-fields textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #e8e8e8;
  font-family: var(--font-body);
  font-size: 13px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  box-sizing: border-box;
}
#alv-comment-fields input::placeholder,
#alv-comment-fields textarea::placeholder { color: rgba(255,255,255,0.25); }
#alv-comment-fields input:focus,
#alv-comment-fields textarea:focus { border-color: rgba(255,255,255,0.35); }
#alv-comment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  gap: 12px;
}
#alv-comment-status {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex: 1;
}
#alv-comment-status.success { color: #50c864; }
#alv-comment-status.error   { color: #ff4444; }
#alv-comment-send {
  background: #fff;
  color: #0a0a0a;
  border: none;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
#alv-comment-send:hover { background: #e0e0e0; transform: translateY(-1px); }
#alv-comment-send:disabled { opacity: 0.5; cursor: default; transform: none; }

.alv-lb-like {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 20px;
  transition: background 0.2s;
}
.alv-lb-like:hover { background: rgba(255,255,255,0.08); }
.alv-like-icon { position: relative; width: 22px; height: 22px; display: block; }
.alv-like-icon svg { position: absolute; top: 0; left: 0; transition: opacity 0.2s, transform 0.2s; }
.alv-like-icon svg:first-child  { opacity: 1; }
.alv-like-icon svg:last-child   { opacity: 0; transform: scale(0.5); }
.alv-lb-like.liked .alv-like-icon svg:first-child { opacity: 0; }
.alv-lb-like.liked .alv-like-icon svg:last-child  { opacity: 1; transform: scale(1); }
.alv-lb-like.liked .alv-like-icon svg:last-child  { animation: alv-like-pulse 0.35s ease; }
@keyframes alv-like-pulse {
  0%   { transform: scale(0.5); }
  60%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.alv-like-count {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  min-width: 20px;
  transition: color 0.2s;
}
.alv-lb-like.liked .alv-like-count { color: #FF2D55; }
.alv-lb-name {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.alv-lb-counter {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  min-width: 48px;
  text-align: center;
}

/* ── Mobile : pas de vignettes latérales ── */
@media (max-width: 768px) {
  .alv-lb-prev-wrap,
  .alv-lb-next-wrap { display: none !important; }
  .alv-lb-main-wrap {
    width: 100vw;
    max-width: 100vw;
    height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .alv-lb-main {
    position: static;
    transform: none;
    max-width: 100vw;
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
  }
  .alv-lb-name { font-size: 14px; }
}

/* ════════════════════════════════════════════════
   PROTECTION DES IMAGES
   ════════════════════════════════════════════════ */

/* Désactiver sélection et drag sur toutes les images */
img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

/* Protection images — overlay transparent */
.portrait-item,
.mobile-portrait-item,
.alv-lb-main-wrap,
.alv-lb-prev-wrap,
.alv-lb-next-wrap {
  -webkit-touch-callout: none !important;
}
/* Overlay sur vignettes desktop */
.portrait-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  -webkit-touch-callout: none;
}
/* Overlay sur items mobiles */
.mobile-portrait-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  -webkit-touch-callout: none;
}
/* Overlay sur la lightbox */
.alv-lb-img-protect {
  position: absolute;
  inset: 0;
  z-index: 5;
  -webkit-touch-callout: none !important;
  touch-action: none;
}

