/* ==========================================================================
   Reportage — page d'un reportage. Maquette : Reportage.dc.html
   (+ Tablette / Smartphone). Chargé après portfolio.css.
   ========================================================================== */

/* ---------------------------------------------------------------- En-tête */
.reportage-head { padding: 40px var(--gutter) 56px; }
.reportage-head__inner { max-width: var(--wide); margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.reportage-head__titles { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.reportage-head__cat {
	font-family: var(--font-ui); font-size: 12px; font-weight: 500; letter-spacing: .24em; line-height: 1.4;
	text-transform: uppercase; text-decoration: none; color: var(--accent);
}
.reportage-head__cat:hover { color: var(--ink); }
.reportage-head__title { margin: 0; max-width: 900px; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.6vw, 66px); line-height: 1.05; color: var(--ink); overflow-wrap: break-word; }
.reportage-head__sub { margin: 0; font-family: var(--font-script); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.2; color: var(--accent); }
.reportage-head__meta {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; margin: 0; padding: 0; list-style: none;
	font-family: var(--font-ui); font-size: 12px; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--ink-soft);
}

/* ------------------------------------------------------- Image mise en avant */
.reportage-hero { padding: 0 var(--gutter); }
.reportage-hero__inner { max-width: var(--wide); margin: 0 auto; }
.reportage-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.reportage-hero .ph { align-items: flex-end; justify-content: flex-start; padding: 24px 28px; color: #D9CFC2; }

/* --------------------------------------------------------------------- Récit */
.reportage-recit { padding: clamp(64px, 8vw, 112px) var(--gutter); }
.reportage-recit__inner { max-width: var(--text); margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.reportage-recit__inner > * { margin: 0; }
.reportage-recit__inner p { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.65; color: var(--ink-soft); }
.reportage-recit__inner > p:first-child { font-size: clamp(21px, 1.8vw, 25px); line-height: 1.6; color: var(--ink); }
.reportage-recit__inner.rich :where(p + p) { margin-top: 0; }
.reportage-recit__inner :where(h2, h3) { font-size: var(--fs-h3); line-height: 1.2; }
.reportage-recit__inner :where(a) { text-underline-offset: .2em; }
.reportage-recit__inner :where(img) { height: auto; }

/* Sans récit, la galerie garde l'espace qui la sépare de l'image. */
.reportage-hero + .reportage-galerie { padding-top: clamp(64px, 8vw, 112px); }

/* ------------------------------------------------- Galerie (maçonnerie) */
.reportage-galerie { padding: 0 var(--gutter) clamp(64px, 8vw, 112px); }
.reportage-galerie__inner { max-width: var(--wide); margin: 0 auto; columns: 3; column-gap: 16px; }
.reportage-galerie__item {
	display: block; margin: 0 0 16px; background: var(--ph);
	break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
	overflow: hidden; text-decoration: none; cursor: zoom-in;
}
.reportage-galerie__img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease), opacity var(--t-hover) ease; }
.reportage-galerie__item:hover .reportage-galerie__img { transform: scale(1.03); }
.reportage-galerie__item:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 900px) { .reportage-galerie__inner { columns: 2; } }
@media (max-width: 600px) { .reportage-galerie__inner { columns: 1; } }

/* ------------------------------------- Prestataires · partage · navigation */
.reportage-infos { padding: 0 var(--gutter) clamp(64px, 8vw, 112px); }
.reportage-infos__inner { max-width: var(--wide); margin: 0 auto; }
.reportage-infos__row {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px;
	padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.reportage-infos__block { display: flex; flex-direction: column; gap: 12px; }
.reportage-infos__label { margin: 0; font-family: var(--font-ui); font-size: 11px; font-weight: 500; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; color: var(--ink-soft); }
.reportage-infos__prest { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: 19px; line-height: 1.7; color: var(--ink-soft); }
.reportage-infos__prest li + li::before { content: "\00a0·\00a0"; }
.reportage-infos__prest a { color: var(--ink); text-underline-offset: .2em; }
@media (max-width: 900px) { .reportage-infos__row { grid-template-columns: minmax(0, 1fr); } }

.reportage-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.reportage-share__btn {
	display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	border: 1px solid var(--ink); background: transparent; color: var(--ink);
	transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.reportage-share__btn[hidden] { display: none; }
.reportage-share__btn:hover { background: var(--ink); color: var(--bg); }
.reportage-share__btn svg { width: 18px; height: 18px; }
.reportage-share__i-ok { display: none; }
.reportage-share__btn.is-copied .reportage-share__i-link { display: none; }
.reportage-share__btn.is-copied .reportage-share__i-ok { display: block; }
.reportage-share__status { margin-left: 6px; font-family: var(--font-ui); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* Précédent / suivant (variante de .nav-reportage, maquette Reportage). */
.reportage-infos__nav { border-top: 0; padding-top: 32px; }
.reportage-infos__nav a { gap: 6px; min-height: 44px; color: var(--ink); }
.reportage-infos__nav a.nav-reportage__prev { margin-left: 0; text-align: left; }
.reportage-infos__nav a.nav-reportage__next { margin-left: auto; text-align: right; }
.reportage-infos__nav small { line-height: 1.4; }
.reportage-infos__nav strong { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; transition: color var(--t-hover) ease; }
.reportage-infos__nav a:hover strong { color: var(--accent); }
@media (max-width: 600px) {
	.reportage-infos__nav a { max-width: calc(50% - 12px); }
}

/* ------------------------------------------------------- Autres reportages */
.reportage-autres { padding: clamp(80px, 9vw, 128px) var(--gutter); background: var(--bg-alt); }
.reportage-autres__inner { max-width: var(--wide); margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.reportage-autres__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.reportage-autres__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.reportage-autres__card { display: flex; flex-direction: column; gap: 14px; min-width: 0; text-decoration: none; color: var(--ink); }
.reportage-autres__media { display: block; overflow: hidden; background: var(--ph); }
.reportage-autres__media img, .reportage-autres__media .ph { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.reportage-autres__media .ph { font-size: 10px; letter-spacing: .14em; }
.reportage-autres__card:hover .reportage-autres__media img { transform: scale(1.04); }
.reportage-autres__name { font-family: var(--font-display); font-size: 22px; line-height: 1.2; transition: color var(--t-hover) ease; }
.reportage-autres__card:hover .reportage-autres__name { color: var(--accent); }
.reportage-autres__lieu { margin-top: -8px; font-style: italic; font-size: 18px; color: var(--ink-soft); }
@media (max-width: 900px) {
	.reportage-autres__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.reportage-autres__card:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
	.reportage-autres__list { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	.reportage-galerie__img, .reportage-autres__media img { transition: none; }
	.reportage-galerie__item:hover .reportage-galerie__img, .reportage-autres__card:hover .reportage-autres__media img { transform: none; }
}
