/* ==========================================================================
   Police Jost auto-hebergee (fichiers dans /assets/fonts)
   ========================================================================== */
@font-face {
	font-family: 'Jost';
	src: url('../fonts/jost-latin-200-normal.woff2') format('woff2');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Jost';
	src: url('../fonts/jost-latin-200-italic.woff2') format('woff2');
	font-weight: 200;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Jost';
	src: url('../fonts/jost-latin-300-normal.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Jost';
	src: url('../fonts/jost-latin-300-italic.woff2') format('woff2');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Jost';
	src: url('../fonts/jost-latin-400-normal.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Jost';
	src: url('../fonts/jost-latin-400-italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Jost';
	src: url('../fonts/jost-latin-500-normal.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Jost';
	src: url('../fonts/jost-latin-500-italic.woff2') format('woff2');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Jost';
	src: url('../fonts/jost-latin-600-normal.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Jost';
	src: url('../fonts/jost-latin-600-italic.woff2') format('woff2');
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

/* ==========================================================================
   Coline Louber - variables de charte graphique
   ========================================================================== */
:root {
	--clr-noir: #000000;
	--clr-orange: #F07C2D;
	--clr-blanc: #FFFFFF;

	--font-display: 'Jost', sans-serif;

	--nav-height: 88px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	background: var(--clr-noir);
	color: var(--clr-blanc);
	font-family: var(--font-display);
	font-weight: 200;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--nav-height);
	padding: 0 56px;
	background: var(--clr-noir);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-logo { display: inline-block; line-height: 1; }
.logo-img {
	height: 60px;
	width: auto;
	display: block;
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	width: 32px;
	height: 22px;
	flex-direction: column;
	justify-content: space-between;
	padding: 0;
}
.nav-toggle span {
	display: block;
	height: 1px;
	width: 100%;
	background: var(--clr-blanc);
}

.nav-list {
	display: flex;
	gap: 40px;
}
.nav-list a {
	font-size: 17px;
	font-weight: 200;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--clr-blanc);
	padding-bottom: 6px;
	border-bottom: 1px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}
.nav-list a:hover {
	color: var(--clr-orange);
	border-bottom-color: var(--clr-orange);
}
.nav-list .current-menu-item > a {
	color: var(--clr-orange);
	border-bottom-color: var(--clr-orange);
}

/* Page d'accueil : aucun onglet actif, meme au survol on garde la logique standard */
body.home .nav-list .current-menu-item > a {
	color: var(--clr-blanc);
	border-bottom-color: transparent;
}

/* ==========================================================================
   Carrousel plein ecran - page d'accueil
   ========================================================================== */
.hero-carousel {
	position: relative;
	height: calc(100vh - var(--nav-height));
	width: 100%;
	overflow: hidden;
}

.hero-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease;
	cursor: pointer;
}
.hero-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 0 56px;
	max-width: 900px;
	width: 100%;
}

.hero-eyebrow {
	font-size: 18px;
	font-weight: 200;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--clr-orange);
	margin: 0 0 22px;
}

.hero-title {
	font-size: 76px;
	font-weight: 200;
	font-style: italic;
	line-height: 1.12;
	margin: 0 0 26px;
	color: var(--clr-blanc);
}

.hero-text {
	font-size: 22px;
	font-weight: 200;
	line-height: 1.6;
	color: var(--clr-blanc);
	margin: 0 0 34px;
	max-width: 620px;
}

.hero-link {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--clr-noir);
	background: rgba(240, 124, 45, 0.7);
	padding: 16px 34px;
	position: relative;
	z-index: 2;
	transition: background 0.2s;
}
.hero-link:hover { background: rgba(255, 255, 255, 0.7); }

.hero-dots {
	position: absolute;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 3;
}
.hero-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	border: none;
	padding: 0;
	transition: background 0.2s;
}
.hero-dot.is-active,
.hero-dot:hover {
	background: var(--clr-orange);
}

.hero-empty .hero-eyebrow { color: var(--clr-orange); }
.hero-empty .hero-text a { color: var(--clr-orange); text-decoration: underline; }

/* ==========================================================================
   Footer (copyright / propriete)
   ========================================================================== */
.site-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 40px 56px;
	text-align: center;
}
.site-footer p {
	font-size: 12px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.5);
	max-width: 700px;
	margin: 0 auto 8px;
}
.site-footer a {
	color: var(--clr-orange);
}
.site-footer a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Contenu generique (fallback index.php)
   ========================================================================== */
.page-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 80px 24px 120px;
}
.page-content h1 {
	font-family: var(--font-display);
	font-weight: 200;
	font-style: italic;
	font-size: 44px;
	color: var(--clr-blanc);
	margin: 0 0 40px;
}
.page-content .entry-content {
	font-family: var(--font-display);
	font-weight: 200;
	font-size: 16px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.85);
}
.page-content .entry-content h2 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 22px;
	color: var(--clr-orange);
	margin: 44px 0 16px;
}
.page-content .entry-content p { margin: 0 0 20px; }
.page-content .entry-content a { color: var(--clr-orange); }
.page-content .entry-content a:hover { text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablette : la nav texte reste sur une ligne mais se resserre un peu */
@media (max-width: 1024px) {
	.site-header { padding: 0 32px; }
	.nav-list { gap: 24px; }
}

@media (max-width: 782px) {
	.site-header { padding: 0 20px; }

	.logo-img { height: 40px; }

	.nav-toggle { display: flex; }

	.site-nav {
		position: fixed;
		top: var(--nav-height);
		left: 0;
		right: 0;
		background: var(--clr-noir);
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	.site-nav.is-open { max-height: 400px; }

	.nav-list {
		flex-direction: column;
		gap: 0;
	}
	.nav-list a {
		display: block;
		padding: 18px 20px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		font-size: 15px;
	}

	.hero-content { padding: 0 24px; }
	.hero-title { font-size: 42px; }
	.hero-text { font-size: 17px; }
	.hero-eyebrow { font-size: 13px; }
}

/* ==========================================================================
   Galerie
   ========================================================================== */
.gallery-head { padding: 80px 56px 10px; text-align: center; }
.gallery-head h1 { font-family: var(--font-display); font-weight: 200; font-style: italic; font-size: 56px; color: var(--clr-blanc); margin: 0; }
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px 28px;
	padding: 50px 56px 100px;
}
.gallery-card { cursor: pointer; display: block; }
.gallery-card .ph { aspect-ratio: 4/3; overflow: hidden; background: #111; }
.gallery-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-card .cap {
	margin-top: 16px;
	font-family: var(--font-display);
	font-size: 17px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--clr-blanc);
}
.gallery-card .cap small { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; color: var(--clr-orange); margin-top: 6px; }
.gallery-card:hover .ph img { transform: scale(1.03); }

/* ==========================================================================
   Fiche oeuvre
   ========================================================================== */
.oeuvre { display: grid; grid-template-columns: 1.3fr 1fr; min-height: calc(100vh - var(--nav-height)); }
.oeuvre-carousel { position: relative; background: #050403; display: flex; align-items: center; }
.oeuvre-carousel .slide { display: none; width: 100%; padding: 50px; cursor: pointer; }
.oeuvre-carousel .slide.is-active { display: block; }
.oeuvre-carousel .slide img { width: 100%; }
.oeuvre-dots { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 8px; }
.oeuvre-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); cursor: pointer; }
.oeuvre-dots span.is-active { background: var(--clr-orange); }
.oeuvre-info { padding: 90px 60px; display: flex; flex-direction: column; justify-content: center; }
.oeuvre-tag {
	display: block;
	font-family: var(--font-display);
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--clr-orange);
	margin-bottom: 24px;
}
.oeuvre-info h2 { font-family: var(--font-display); font-weight: 200; font-style: italic; font-size: 52px; color: var(--clr-blanc); margin: 0 0 26px; }
.oeuvre-info p { font-family: var(--font-display); font-weight: 200; font-size: 17px; line-height: 1.7; color: var(--clr-blanc); max-width: 440px; }
.oeuvre-info p.oeuvre-meta { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-top: 6px; }

/* ==========================================================================
   Articles (Regards croises / Parcours artistique) et Contact
   ========================================================================== */
.article { display: grid; grid-template-columns: 1fr 1fr; }
.article-media { position: sticky; top: var(--nav-height); height: calc(100vh - var(--nav-height)); overflow: hidden; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-media.is-painting::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}
.article-body { padding: 100px 70px 120px; }
.article-body h1 { font-family: var(--font-display); font-weight: 200; font-style: italic; font-size: 52px; color: var(--clr-blanc); margin: 0 0 44px; }
.article-body p { font-family: var(--font-display); font-weight: 200; font-size: 17px; line-height: 1.85; color: var(--clr-blanc); margin-bottom: 26px; max-width: 560px; }
.article-body .quote p,
.article-body blockquote p { font-style: italic; }
.article-credit { font-family: var(--font-display); font-weight: 200; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--clr-orange); margin-top: 20px; }

.expo-block { margin-top: 60px; max-width: 560px; }
.expo-block h3 { font-family: var(--font-display); font-weight: 200; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--clr-orange); margin: 0 0 20px; border-top: 1px solid #241f1a; padding-top: 30px; }
.expo-row { display: flex; gap: 22px; font-family: var(--font-display); font-size: 17px; color: var(--clr-blanc); padding: 7px 0; }
.expo-row b { color: var(--clr-blanc); font-weight: 200; width: 44px; flex-shrink: 0; }

.contact-fields { margin-top: 50px; display: flex; flex-direction: column; gap: 34px; max-width: 400px; }
.contact-fields .k { font-family: var(--font-display); font-weight: 200; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--clr-orange); margin-bottom: 10px; }
.contact-fields .v { font-family: var(--font-display); font-weight: 200; font-size: 17px; color: var(--clr-blanc); }
.contact-fields a.v:hover { color: var(--clr-orange); }

/* ==========================================================================
   Responsive complementaire (galerie / oeuvre / articles / contact)
   ========================================================================== */

/* Tablette large : galerie en 2 colonnes */
@media (max-width: 1024px) {
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile : galerie en 1 colonne */
@media (max-width: 640px) {
	.gallery-head { padding: 56px 24px 6px; }
	.gallery-head h1 { font-size: 40px; }
	.gallery-grid { grid-template-columns: 1fr; padding: 36px 24px 70px; gap: 44px; }
}

/* Fiche oeuvre : le carrousel passe au-dessus, les infos en dessous ;
   la categorie et le titre s'alignent sur une meme ligne pour gagner de la place */
@media (max-width: 900px) {
	.oeuvre { grid-template-columns: 1fr; }
	.oeuvre-carousel { min-height: 60vh; padding: 30px 0; }
	.oeuvre-carousel .slide { padding: 0 24px; }
	.oeuvre-info { padding: 50px 24px 70px; }
	.oeuvre-info h2 { font-size: 38px; }
	.oeuvre-heading { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
	.oeuvre-heading .oeuvre-tag { margin-bottom: 0; }
	.oeuvre-heading h2 { margin: 0; }
}

/* Articles (Regards croises / Parcours artistique) et Contact :
   l'image est retiree sur mobile, le texte prend toute la largeur */
@media (max-width: 900px) {
	.article { grid-template-columns: 1fr; }
	.article-media { display: none; }
	.article-body { padding: 60px 24px 80px; }
	.article-body h1 { font-size: 38px; }
	.expo-row { flex-wrap: wrap; }
}

