/* ══════════════════════════════════════════════════════════════════
   CERTA+85 — ONEPAGE RESPONSIVE STYLES
   - Format vertical : adapté à 100% de la largeur de l'écran
   - Entre chaque page : blanc de 8px
   - Séparation totale images / textes
   - Pas de bandeau HUD
   ══════════════════════════════════════════════════════════════════ */

.v-onepage {
  background: var(--mount-soft);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 6rem 0;
  width: 100%;
  color: var(--ink);
  font-family: var(--f-text);
  overflow-x: hidden;
}

/* ─── Feuille de Page (Page Sheet) ─── */
.v-onepage .op-page {
  background: #ffffff;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  margin: 0 0 8px 0; /* Blanc / séparation exacte de 8px entre chaque page */
  padding: clamp(1.25rem, 3.5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.v-onepage .op-page:last-child {
  margin-bottom: 0;
}

/* ─── Format Écran Large / Paysage (Desktop) : double page aérée ─── */
@media (orientation: landscape) and (min-width: 960px) {
  .v-onepage {
    padding: 1.5rem 0 6rem 0;
  }
  .v-onepage .op-page {
    width: min(94vw, 1340px);
    max-width: min(94vw, 1340px);
    border-radius: 4px;
    margin: 0 0 8px 0; /* Blanc de 8px */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  }
}

/* ─── Format Écran Vertical (Portrait & Mobile) : 
       adapte la page affichée à la largeur de l'écran ─── */
@media (orientation: portrait), (max-width: 959px) {
  .v-onepage {
    padding: 0 0 5rem 0;
  }
  .v-onepage .op-page {
    width: 100vw;
    max-width: 100%;
    margin: 0 0 8px 0; /* Blanc de 8px entre chaque page */
    padding: clamp(1rem, 4vw, 2rem);
    border-radius: 0;
  }
}

/* ─── Entête de Page (Running Header) ─── */
.op-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: clamp(0.6rem, 1.2vw, 1.25rem);
  margin-bottom: clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid var(--mount-soft);
  font-family: var(--f-disp);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.op-head-artist {
  font-weight: 700;
  color: var(--ink);
}
.op-head-brand {
  font-weight: 600;
  color: var(--ultra);
}

/* ─── Double Colonne / Spread ─── */
.op-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 4rem);
  align-items: start;
}
@media (orientation: portrait), (max-width: 959px) {
  .op-spread {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ─── Figures & Médias Dédiés (Séparés du texte) ─── */
.op-fig-single {
  margin: 0;
  background: var(--mount-soft);
  padding: clamp(0.75rem, 1.8vw, 1.5rem);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.op-fig-single img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}

.op-media-link {
  display: block;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s var(--eo), transform 0.2s var(--eo);
}
.op-media-link:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* ─── Légendes Typographiques Réelles ─── */
.op-cap {
  font-family: var(--f-disp);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ultra);
  margin-top: 0.75rem;
}
.text-center {
  text-align: center;
}

/* ─── Typographie des Titres et Textes ─── */
.op-h1 {
  font-family: var(--f-disp);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--ultra);
  margin: 0 0 1.25rem 0;
  letter-spacing: 0.02em;
}

.op-cid {
  font-family: var(--f-disp);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem 0;
  color: var(--ink);
}
.op-cid .bk { color: var(--mute); font-weight: 400; }
.op-cid .yr { color: var(--mute); font-weight: 400; }
.op-cid .sr { color: var(--ultra); font-weight: 500; }

.op-spec {
  font-family: var(--f-disp);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--mute);
  margin: 0 0 1rem 0;
  line-height: 1.45;
}

.op-desc {
  font-family: var(--f-text);
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  line-height: 1.68;
  color: var(--ink);
  font-weight: 300;
  margin: 0 0 1rem 0;
}

/* ─── Page 1 : Couverture ─── */
.op-cover-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0 2rem;
}
.op-hero-mount {
  background: var(--mount-soft);
  padding: clamp(1rem, 2.5vw, 2rem);
  border-radius: 4px;
  width: 100%;
  max-width: 980px;
  display: flex;
  justify-content: center;
}
.op-hero-mount img {
  max-height: 60vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.op-cover-footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 980px;
  font-family: var(--f-disp);
  font-size: 0.85rem;
  color: var(--mute);
}
.op-cover-caption {
  font-weight: 600;
  color: var(--ultra);
}
.op-cover-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}
.op-nav-pill {
  font-family: var(--f-disp);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ultra);
  background: #f4f4f6;
  border: 1px solid var(--mount);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.18s var(--eo);
}
.op-nav-pill:hover {
  background: var(--ultra);
  color: #ffffff;
  border-color: var(--ultra);
}

/* ─── Page 2 : Présentation & Séries ─── */
.op-series-box {
  background: #fafafc;
  border: 1px solid var(--mount-soft);
  border-left: 3px solid var(--ultra);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  margin: 1.25rem 0;
}
.op-series-intro {
  font-family: var(--f-text);
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0 0 0.75rem 0;
}
.op-series-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.55;
}
.op-series-list b {
  color: var(--ultra);
  font-family: var(--f-disp);
}
.op-phonetic {
  color: var(--mute);
  font-size: 0.8rem;
}

/* ─── Page 3 : CV & Expositions ─── */
.op-cv-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mount-soft);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.op-cv-sec { display: flex; flex-direction: column; gap: 0.35rem; }
.op-cv-title {
  font-family: var(--f-disp);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ultra);
  margin: 0;
}
.op-cv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--slate);
}
.op-cv-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.op-cv-list a:hover {
  color: var(--ultra);
  text-decoration: underline;
}

/* ─── Grilles d'Images Polyvalentes ─── */
.op-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.5rem, 1vw, 1rem);
  background: var(--mount-soft);
  padding: clamp(0.5rem, 1.2vw, 1.25rem);
  border-radius: 2px;
}
.op-grid-2x2 img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.op-grid-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}
.op-subfig {
  margin: 0;
  background: var(--mount-soft);
  padding: clamp(0.5rem, 1vw, 1rem);
  border-radius: 2px;
}
.op-subfig img {
  width: 100%;
  height: auto;
  display: block;
}

.op-details-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 1rem);
  background: var(--mount-soft);
  padding: clamp(0.5rem, 1.2vw, 1.25rem);
  border-radius: 2px;
}
.op-details-stack img {
  width: 100%;
  height: auto;
  display: block;
}

.op-contact-sheet {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.op-sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 1vw, 1rem);
  background: var(--mount-soft);
  padding: clamp(0.75rem, 1.5vw, 1.5rem);
  border-radius: 2px;
  width: 100%;
}
@media (max-width: 768px) {
  .op-sheet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.op-sheet-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.op-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 2.5rem);
}
@media (max-width: 600px) {
  .op-quad-grid {
    grid-template-columns: 1fr;
  }
}
.op-quad-item {
  margin: 0;
  background: var(--mount-soft);
  padding: clamp(0.75rem, 1.5vw, 1.5rem);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.op-quad-item img {
  width: 100%;
  height: auto;
  display: block;
}

.op-small-quads {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.op-small-quads a {
  position: relative;
  overflow: hidden;
  background: var(--mount-soft);
  padding: 4px;
}
.op-small-quads img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.op-mini-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-family: var(--f-disp);
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,85,0.75);
  padding: 1px 4px;
  border-radius: 2px;
}

.op-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1vw, 1rem);
  background: var(--mount-soft);
  padding: clamp(0.75rem, 1.5vw, 1.5rem);
  border-radius: 2px;
}
.op-index-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #ffffff;
  padding: 6px;
  border-radius: 2px;
  transition: transform 0.15s;
}
.op-index-item:hover {
  transform: translateY(-2px);
}
.op-index-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.op-index-num {
  font-family: var(--f-disp);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ultra);
  margin-top: 4px;
}

/* ─── Page 21 : Outro & Contact ─── */
.op-outro-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.op-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ultra);
  color: #ffffff;
  font-family: var(--f-disp);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.18s;
}
.op-btn-primary:hover {
  background: var(--ultra-lift);
}
.op-social-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.op-chip {
  font-family: var(--f-disp);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--mount-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s;
}
.op-chip:hover {
  background: var(--ultra);
  color: #fff;
}

/* ─── Pied de Page (Running Footer) ─── */
.op-foot {
  margin-top: auto;
  padding-top: clamp(0.75rem, 1.5vw, 1.5rem);
  border-top: 1px solid var(--mount-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-disp);
  font-size: 0.72rem;
  color: var(--mute);
}
