/* ==========================================================================
   Bivouac 2 — styles
   Bleu nuit, bleu mer et or du coucher de soleil. Grandes photos, typographie
   large et légère, filets de carrosserie en signature.
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: italic;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-standard-italic.woff2") format("woff2-variations"), url("../fonts/archivo-latin-standard-italic.woff2") format("woff2");
}

:root {
	--c-night:  #13212E;  /* bleu nuit : fonds sombres, texte */
	--c-night-2:#1C2E3D;  /* bleu nuit clair : cartes sur fond sombre */
	--c-sea:    #2F6F86;  /* bleu mer : liens */
	--c-gold:   #E4A53A;  /* or du coucher de soleil : action principale */
	--c-stone:  #EFEEEA;  /* pierre : fonds clairs alternés */
	--c-white:  #FFFFFF;
	--c-muted:  #5A6570;
	--c-line:   #D6D8D8;
	--c-line-dark: rgba(255, 255, 255, .16);

	--font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

	--wrap: 1280px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--radius: 14px;
	--section-y: clamp(4.5rem, 10vw, 8.5rem);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
	margin: 0;
	background: var(--c-white);
	color: var(--c-night);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-sea); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-gold); color: var(--c-night); }

h1, h2, h3, h4 { margin: 0 0 .5em; text-wrap: balance; }

/* Titres : Archivo étiré et léger, comme un lettrage de carrosserie haut de gamme */
h1, h2 {
	font-weight: 300;
	font-stretch: 125%;
	letter-spacing: -.025em;
	line-height: 1.02;
}
h1 { font-size: clamp(2.6rem, 1.3rem + 5.4vw, 6.2rem); }
h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
h3 { font-size: 1.2rem; font-weight: 600; font-stretch: 108%; line-height: 1.25; letter-spacing: -.005em; }
p  { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 46rem); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 200;
	top: .5rem; left: .5rem; padding: .75rem 1rem;
	background: var(--c-white); color: var(--c-night);
}

/* ---------- Filets de carrosserie (signature) ---------- */
.livery { display: grid; gap: 4px; }
.livery span { display: block; height: 4px; }
.livery span:nth-child(1) { background: var(--c-sea); }
.livery span:nth-child(2) { background: var(--c-gold); }
.livery span:nth-child(3) { background: var(--c-white); }

.livery--hero { position: absolute; left: 0; right: 0; bottom: clamp(1.25rem, 3vw, 2rem); z-index: 2; }
.livery--hero span { clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); }
.livery--hero span:nth-child(1) { margin-left: 62%; }
.livery--hero span:nth-child(2) { margin-left: calc(62% + 18px); }
.livery--hero span:nth-child(3) { margin-left: calc(62% + 36px); opacity: .85; }

.livery--short { width: 56px; gap: 3px; margin-bottom: 1.5rem; }
.livery--short span { height: 3px; }
.livery--short span:nth-child(3) { background: var(--c-night); }
.section--night .livery--short span:nth-child(3),
.contact .livery--short span:nth-child(3) { background: var(--c-white); }

.livery--thin { gap: 3px; }
.livery--thin span { height: 3px; }
.livery--thin span:nth-child(3) { background: var(--c-line); }

/* ---------- Boutons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: .8rem 1.6rem;
	border: 1px solid transparent; border-radius: 999px;
	font: inherit; font-size: 1rem; font-weight: 600; font-stretch: 108%; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--gold { background: var(--c-gold); color: var(--c-night); }
.btn--gold:hover { background: var(--c-white); }
.btn--glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); color: var(--c-white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass:hover { background: var(--c-white); color: var(--c-night); }
.btn--dark { background: var(--c-night); color: var(--c-white); }
.btn--dark:hover { background: var(--c-sea); }
.btn--outline { border-color: var(--c-night); color: var(--c-night); }
.btn--outline:hover { background: var(--c-night); color: var(--c-white); }
.btn--outline-light { border-color: rgba(255, 255, 255, .5); color: var(--c-white); }
.btn--outline-light:hover { background: var(--c-white); color: var(--c-night); }
.btn--call { min-height: 44px; padding: .5rem 1.2rem; background: var(--c-gold); color: var(--c-night); white-space: nowrap; }
.btn--call:hover { background: var(--c-night); color: var(--c-white); }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--c-white); color: var(--c-night);
	border-bottom: 1px solid var(--c-line);
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

/* Posé sur la grande photo, puis blanc au défilement */
.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; color: var(--c-white); border-bottom-color: transparent; }
.site-header--overlay.is-scrolled,
.site-header--overlay.is-open { background: var(--c-white); color: var(--c-night); border-bottom-color: var(--c-line); }
.site-header--overlay:not(.is-scrolled):not(.is-open) .btn--call { background: rgba(255, 255, 255, .14); color: var(--c-white); border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.site-header--overlay:not(.is-scrolled):not(.is-open) .btn--call:hover { background: var(--c-white); color: var(--c-night); }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }

.brand__name {
	color: inherit; text-decoration: none;
	font-weight: 600; font-stretch: 125%; font-size: 1.35rem; letter-spacing: -.01em;
}
.custom-logo { max-height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { color: inherit; text-decoration: none; font-weight: 500; font-size: .98rem; padding-block: .5rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.nav__list a:hover,
.nav__list .current-menu-item > a { background-size: 100% 1px; }
.nav__list li { position: relative; }
.nav__list .sub-menu {
	display: none; position: absolute; top: 100%; left: -1.25rem; min-width: 240px;
	list-style: none; margin: 0; padding: .75rem 1.25rem;
	background: var(--c-white); color: var(--c-night); border-radius: var(--radius);
	box-shadow: 0 18px 40px -12px rgba(19, 33, 46, .25);
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu { display: block; }

.nav-toggle {
	display: none; align-items: center; gap: .6rem;
	background: none; border: 1px solid currentColor; border-radius: 999px;
	padding: .55rem 1rem; font: inherit; font-weight: 600; color: inherit; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 18px; height: 1.5px; background: currentColor; position: relative;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

@media (max-width: 1020px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 1.25rem;
		padding: .5rem var(--gutter) 2rem;
		background: var(--c-white); color: var(--c-night); border-bottom: 1px solid var(--c-line);
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--c-line); font-size: 1.15rem; background: none; }
	.nav__list .sub-menu { display: block; position: static; box-shadow: none; padding: 0 0 0 1rem; }
	.nav .btn--call { align-self: flex-start; }
}

/* ---------- Grande photo d'accueil ---------- */
.hero, .story__hero {
	position: relative; isolation: isolate;
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: max(640px, 100svh);
	background: var(--c-night); color: var(--c-white);
	overflow: hidden;
}
.hero__media, .story__media { position: absolute; inset: 0; z-index: -2; }
.hero__img, .story__img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 62%; }
.hero__shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(to top, rgba(19, 33, 46, .92) 0%, rgba(19, 33, 46, .55) 30%, rgba(19, 33, 46, 0) 62%),
		linear-gradient(to bottom, rgba(19, 33, 46, .5) 0%, rgba(19, 33, 46, 0) 20%);
}
.hero__content { padding-bottom: clamp(5rem, 11vh, 8rem); }
.hero__title { max-width: 12ch; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.hero__row { display: grid; gap: 1.5rem 3rem; align-items: end; }
@media (min-width: 960px) { .hero__row { grid-template-columns: minmax(0, 34rem) auto; justify-content: space-between; } }
.hero__lead { margin: 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 40ch; }

@media (max-width: 700px) {
	.hero__img { object-position: 22% 60%; }
	.hero__shade {
		background:
			linear-gradient(to top, rgba(19, 33, 46, .94) 0%, rgba(19, 33, 46, .7) 45%, rgba(19, 33, 46, .15) 80%),
			linear-gradient(to bottom, rgba(19, 33, 46, .55) 0%, rgba(19, 33, 46, 0) 18%);
	}
	.livery--hero span:nth-child(1) { margin-left: 30%; }
	.livery--hero span:nth-child(2) { margin-left: calc(30% + 14px); }
	.livery--hero span:nth-child(3) { margin-left: calc(30% + 28px); }
}

/* Moment d'ouverture unique : la photo se pose, le texte apparaît */
@keyframes bv-settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes bv-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bv-draw { from { transform: scaleX(0); } to { transform: none; } }
.hero__img { animation: bv-settle 2.6s var(--ease) both; }
.hero__title { animation: bv-rise 1s .25s var(--ease) both; }
.hero__row { animation: bv-rise 1s .45s var(--ease) both; }
.hero .livery--hero span { transform-origin: left; animation: bv-draw 1.2s var(--ease) both; }
.hero .livery--hero span:nth-child(1) { animation-delay: .7s; }
.hero .livery--hero span:nth-child(2) { animation-delay: .8s; }
.hero .livery--hero span:nth-child(3) { animation-delay: .9s; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--flush-top { padding-top: 0; }
.section--stone { background: var(--c-stone); }
.section--night { background: var(--c-night); color: var(--c-white); }
.section--night a:not(.btn) { color: var(--c-white); }

.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head p { font-size: 1.125rem; color: var(--c-muted); margin: 0; }
.section--night .section__head p { color: rgba(255, 255, 255, .7); }
.section__head--row {
	max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem;
}

/* Présentation */
.intro__grid { display: grid; gap: 3rem clamp(3rem, 7vw, 7rem); }
@media (min-width: 960px) { .intro__grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; } }
.intro__statement {
	margin: 0;
	font-size: clamp(1.5rem, 1rem + 1.9vw, 2.55rem);
	font-weight: 300; font-stretch: 112%; line-height: 1.28; letter-spacing: -.015em;
	max-width: 30ch; text-wrap: pretty;
}
.assurances { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.assurances li { padding: 1rem 0 1rem 1.75rem; border-bottom: 1px solid var(--c-line); position: relative; font-weight: 500; }
.assurances li::before {
	content: ""; position: absolute; left: 0; top: 1.55rem; width: 12px; height: 2px; background: var(--c-gold);
}

/* Atelier : colonne titre fixe + liste éditoriale */
.atelier { display: grid; gap: 3rem clamp(3rem, 7vw, 7rem); }
@media (min-width: 960px) {
	.atelier { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; }
	.atelier__head { position: sticky; top: 120px; }
}
.atelier__head p { font-size: 1.125rem; color: var(--c-muted); max-width: 32ch; margin-bottom: 2rem; }
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-night); }
.services__item { display: grid; gap: .4rem 2.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--c-line); }
@media (min-width: 700px) { .services__item { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); } }
.services__item h3 { margin: 0; }
.services__item p { margin: 0; color: var(--c-muted); }

/* Réalisations : photos pleines, la première en vedette */
.cards {
	display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	grid-auto-rows: clamp(280px, 26vw, 360px);
}
@media (min-width: 900px) {
	.cards--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 21vw, 320px); }
	.cards--feature .card:first-child { grid-column: span 2; grid-row: span 2; }
	.cards--feature .card:first-child .card__title { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem); font-weight: 300; font-stretch: 120%; }
	.cards--feature .card:first-child .card__excerpt { display: block; }
}
.card { min-width: 0; }
.card__link {
	position: relative; display: block; height: 100%;
	border-radius: var(--radius); overflow: hidden;
	background: var(--c-night-2); color: var(--c-white); text-decoration: none;
}
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card__link:hover .card__img, .card__link:focus-visible .card__img { transform: scale(1.045); }
.card__link::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(19, 33, 46, .88) 0%, rgba(19, 33, 46, .2) 45%, rgba(19, 33, 46, 0) 70%);
}
.card__placeholder {
	position: absolute; inset: 0;
	background:
		linear-gradient(var(--c-sea), var(--c-sea)) 0 58% / 100% 3px no-repeat,
		linear-gradient(var(--c-gold), var(--c-gold)) 0 calc(58% + 7px) / 100% 3px no-repeat,
		var(--c-night-2);
}
.card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: .35rem; padding: clamp(1.1rem, 2vw, 1.75rem); }
.card__term { font-size: .85rem; font-weight: 600; color: var(--c-gold); }
.card__title { font-size: 1.2rem; font-weight: 500; font-stretch: 110%; line-height: 1.2; letter-spacing: -.01em; }
.card__excerpt { display: none; max-width: 48ch; color: rgba(255, 255, 255, .8); font-size: .98rem; }

/* Vente : moitié photo pleine hauteur */
.sale { display: grid; background: var(--c-white); }
@media (min-width: 900px) { .sale { grid-template-columns: 1fr 1fr; min-height: 640px; } }
.sale__media { margin: 0; min-height: 320px; position: relative; }
.sale__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 18% 60%; }
.sale__text { padding: var(--section-y) var(--gutter); max-width: 40rem; align-self: center; }
@media (min-width: 900px) { .sale__text { padding-inline: clamp(3rem, 6vw, 6rem); } }
.sale__text > p { font-size: 1.125rem; color: var(--c-muted); }
.sale .actions { margin-top: 2rem; }

.checks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .75rem; }
.checks li { position: relative; padding-left: 2rem; font-weight: 500; }
.checks li::before {
	content: ""; position: absolute; left: 2px; top: .38em;
	width: .8rem; height: .45rem;
	border-left: 2px solid var(--c-sea); border-bottom: 2px solid var(--c-sea);
	transform: rotate(-45deg);
}

/* Avis client */
.testimonial__inner { margin-block: 0; max-width: 62rem; }
.testimonial__quote { margin: 0; position: relative; }
.testimonial__quote::before {
	content: "“"; display: block; height: .55em; margin-bottom: .1em;
	font-size: clamp(5rem, 3rem + 6vw, 8rem); line-height: 1; font-weight: 300; color: var(--c-gold);
}
.testimonial__quote p {
	margin: 0; font-size: clamp(1.55rem, 1rem + 2.1vw, 2.75rem);
	font-weight: 300; font-stretch: 110%; line-height: 1.25; letter-spacing: -.015em; text-wrap: pretty;
}
.testimonial__cite { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; }
.testimonial__cite strong { font-weight: 600; }
.testimonial__cite span { color: var(--c-muted); }

/* Étapes : vraie séquence, donc numérotée */
.steps {
	list-style: none; counter-reset: step; margin: 0; padding: 0;
	display: grid; gap: 2.5rem clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.steps__item { counter-increment: step; border-top: 1px solid var(--c-night); padding-top: 1.25rem; }
.steps__item::before {
	content: counter(step, decimal-leading-zero);
	display: block; margin-bottom: 2.5rem;
	font-size: .95rem; font-weight: 600; font-stretch: 125%; color: var(--c-sea);
}
.steps__item p { margin: 0; color: var(--c-muted); }

/* Contact */
.contact__grid { display: grid; gap: 3rem clamp(3rem, 7vw, 7rem); }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.contact__lead { font-size: 1.125rem; color: rgba(255, 255, 255, .72); max-width: 42ch; }
.contact__phone {
	display: inline-block; margin: 1.5rem 0 .75rem;
	font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.5rem); font-weight: 300; font-stretch: 125%; letter-spacing: -.02em; line-height: 1;
	color: var(--c-white); text-decoration: none;
	background: linear-gradient(var(--c-gold), var(--c-gold)) 0 100% / 100% 2px no-repeat; padding-bottom: .15em;
}
.section--night a.contact__phone:hover { color: var(--c-gold); }
.contact__mail { font-size: 1.1rem; }
.contact__info { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--c-line-dark); }
.contact__info > div { padding: 1.4rem 0; border-bottom: 1px solid var(--c-line-dark); display: grid; gap: .35rem 2rem; }
@media (min-width: 600px) { .contact__info > div { grid-template-columns: 7rem 1fr; } }
.contact__info dt { font-weight: 600; color: var(--c-gold); }
.contact__info dd { margin: 0; color: rgba(255, 255, 255, .85); }
.contact__info address { font-style: normal; margin-bottom: .35rem; }

/* ---------- En-têtes de pages ---------- */
.page-head { background: var(--c-white); padding-top: clamp(3rem, 8vw, 6rem); }
.page-head > .wrap { padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--c-line); }
.page-head__title { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.8rem); max-width: 18ch; }
.page-head__desc { font-size: 1.15rem; color: var(--c-muted); max-width: 44rem; }
.page-head__meta { color: var(--c-muted); margin-bottom: .75rem; }
.back-link { display: inline-block; margin-bottom: 1.5rem; font-weight: 500; font-size: .95rem; }
.back-link::before { content: "‹ "; }

/* Filtres de catégories */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filters__chip {
	padding: .5rem 1.1rem; border: 1px solid var(--c-line); border-radius: 999px;
	color: var(--c-night); text-decoration: none; font-weight: 500; font-size: .95rem;
	transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.filters__chip:hover { border-color: var(--c-night); }
.filters__chip[aria-current="page"] { background: var(--c-night); border-color: var(--c-night); color: var(--c-white); }

.empty { font-size: 1.125rem; }

/* ---------- Fiche réalisation (reportage) ---------- */
.story__hero { min-height: max(560px, 82svh); }
.story__hero--plain { min-height: 0; padding-top: 10rem; }
.story__head { padding-bottom: clamp(4.5rem, 10vh, 7rem); }
.story__head .back-link { color: rgba(255, 255, 255, .85); }
.story__term { margin: 0 0 1rem; font-weight: 600; color: var(--c-gold); }
.story__title { font-size: clamp(2.3rem, 1.2rem + 4.2vw, 5.2rem); max-width: 16ch; margin: 0; }

.story__body { display: grid; gap: 3rem clamp(3rem, 7vw, 6rem); padding-block: clamp(3.5rem, 8vw, 6rem); }
@media (min-width: 960px) {
	.story__body { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; }
	.story__aside { position: sticky; top: 120px; }
}
.story__content { max-width: 44rem; }
.story__lead { font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem); font-weight: 300; font-stretch: 108%; line-height: 1.4; color: var(--c-night); }
.story__facts { margin: 0 0 1.5rem; border-top: 1px solid var(--c-night); }
.story__facts > div { padding: .9rem 0; border-bottom: 1px solid var(--c-line); display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.story__facts dt { color: var(--c-muted); font-size: .95rem; }
.story__facts dd { margin: 0; font-weight: 500; }
.story__cta { background: var(--c-night); color: var(--c-white); border-radius: var(--radius); padding: 1.75rem; display: grid; gap: 1rem; justify-items: start; }
.story__cta p { margin: 0; font-size: 1.2rem; font-weight: 400; font-stretch: 110%; line-height: 1.3; }
.story__phone { color: var(--c-white); font-weight: 500; }

.story__gallery { padding-bottom: clamp(2rem, 5vw, 4rem); }
.story__gallery h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); margin-bottom: 2rem; }
.gallery-grid { display: grid; gap: clamp(.5rem, 1vw, .9rem); grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 24vw, 380px); }
.gallery-grid a { grid-column: span 3; display: block; border-radius: 10px; overflow: hidden; }
@media (min-width: 800px) {
	.gallery-grid a:nth-child(6n+1), .gallery-grid a:nth-child(6n) { grid-column: span 4; }
	.gallery-grid a:nth-child(6n+2), .gallery-grid a:nth-child(6n+5) { grid-column: span 2; }
}
@media (max-width: 799px) { .gallery-grid a:nth-child(3n+1) { grid-column: span 6; } }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.03); }

.post-nav {
	display: grid; gap: 1rem; grid-template-columns: 1fr 1fr;
	margin-block: clamp(2rem, 5vw, 3rem) clamp(3rem, 7vw, 5rem); padding-top: 1.75rem; border-top: 1px solid var(--c-line);
}
.post-nav div:last-child { text-align: right; }
.post-nav a { font-weight: 500; font-stretch: 108%; font-size: 1.1rem; text-decoration: none; color: var(--c-night); }
.post-nav a:hover { color: var(--c-sea); }
.post-nav span { display: block; font-weight: 400; font-size: .9rem; color: var(--c-muted); margin-bottom: .2rem; }

/* Encart devis (bas des réalisations) */
.cta { background: var(--c-stone); padding-block: clamp(3.5rem, 8vw, 6rem); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; }
.cta__title { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3rem); font-weight: 300; font-stretch: 125%; margin-bottom: .75rem; }
.cta p { margin: 0; max-width: 46ch; color: var(--c-muted); font-size: 1.1rem; }

/* ---------- Liste d'articles ---------- */
.post-list { display: grid; gap: 3rem; }
.post-item { display: grid; gap: 1.5rem 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--c-line); }
@media (min-width: 760px) { .post-item { grid-template-columns: 340px 1fr; align-items: center; } }
.post-item__media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.post-item__date { margin: 0 0 .5rem; color: var(--c-muted); font-size: .95rem; }
.post-item__title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 300; font-stretch: 118%; line-height: 1.1; }
.post-item__title a { color: var(--c-night); text-decoration: none; }
.post-item__title a:hover { color: var(--c-sea); }

/* Pagination */
.pagination { margin-top: 3.5rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 1rem;
	border: 1px solid var(--c-line); border-radius: 999px;
	color: var(--c-night); text-decoration: none; font-weight: 500;
}
.page-numbers.current { background: var(--c-night); border-color: var(--c-night); color: var(--c-white); }
a.page-numbers:hover { border-color: var(--c-night); }

/* Recherche */
.search-form { display: flex; gap: .5rem; margin-top: 1.5rem; max-width: 34rem; }
.search-form__field {
	flex: 1; min-height: 52px; padding: .6rem 1.2rem; font: inherit;
	border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-white);
}
.search-form__field:focus { border-color: var(--c-night); outline: none; }
.page-head .actions { margin-block: 1.5rem; }

/* ---------- Contenu éditeur (Gutenberg) ---------- */
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.entry-content h3 { margin-top: 1.6em; }
.entry-content img { border-radius: 10px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin: 2.5em 0; padding-left: 1.5rem; border-left: 2px solid var(--c-gold); font-size: 1.35rem; font-weight: 300; font-stretch: 108%; line-height: 1.4; }
.entry-content figcaption, .wp-caption-text { font-size: .9rem; color: var(--c-muted); margin-top: .6rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .75rem; border-bottom: 1px solid var(--c-line); text-align: left; }
.entry-content .wp-block-button__link { background: var(--c-night); color: var(--c-white); border-radius: 999px; font-weight: 600; padding: .85rem 1.6rem; }
.alignwide { width: min(100vw - 2 * var(--gutter), var(--wrap)); max-width: none !important; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none !important; margin-left: 50%; transform: translateX(-50%); }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }

/* Commentaires */
.comments { margin-block: 3rem; }
.comment-list { padding-left: 0; list-style: none; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--c-line); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; padding: .7rem .9rem; font: inherit; border: 1px solid var(--c-line); border-radius: 10px;
}
.comment-form .submit { background: var(--c-night); color: var(--c-white); border: 0; border-radius: 999px; padding: .85rem 1.6rem; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--c-night); color: rgba(255, 255, 255, .7); border-top: 1px solid var(--c-line-dark); }
.site-footer > .livery { display: none; }
.site-footer a { color: var(--c-white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid {
	display: grid; gap: 2.5rem; padding-block: clamp(3rem, 7vw, 5rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.site-footer__name { color: var(--c-white); font-weight: 600; font-stretch: 125%; font-size: 1.35rem; margin-bottom: .75rem; }
.site-footer__title { font-size: .95rem; font-weight: 600; font-stretch: 100%; color: var(--c-gold); margin-bottom: .75rem; letter-spacing: 0; }
.site-footer__address { font-style: normal; margin-bottom: 1em; }
.site-footer p { margin-bottom: .5em; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer__legal {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
	padding-block: 1.5rem; border-top: 1px solid var(--c-line-dark); font-size: .9rem;
}
.site-footer__legal p { margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__credit { color: rgba(255, 255, 255, .7); }

/* ---------- Visionneuse photo ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(10, 17, 24, .92); }
.lightbox__img { max-width: 94vw; max-height: 86vh; width: auto; border-radius: 8px; }
.lightbox__close {
	display: block; margin: 0 0 .75rem auto;
	background: var(--c-white); color: var(--c-night); border: 0; border-radius: 999px;
	padding: .55rem 1.2rem; font: inherit; font-weight: 600; cursor: pointer;
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
