/*
Theme Name: K-minos 2027
Description: Nouveau thème K-minos.
Version: 0.6.9
Author: Florian Dougny
Text Domain: k-minos-2027
*/

:root {
	--ink: #14202b;
	--paper: #f5f3ee;
	--white: #ffffff;
	--blue: #075fa8;
	--blue-dark: #183b59;
	--wine: #701b46;
	--sand: #d9c6a2;
	--line: rgba(20,32,43,.14);
	--max: 1240px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.6;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}


/* HEADER */

.site-header {
	position: absolute;
	z-index: 20;
	top: 0;
	left: 0;
	right: 0;
	color: white;
}

.header-inner {
	max-width: var(--max);
	margin: auto;
	padding: 48px 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.brand {
        display: inline-flex;
        align-items: center;
        color: white;
        text-decoration: none;
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1;
}

.main-nav ul {
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav a {
	color: white;
	text-decoration: none;
	font-size: 14px;
}


/* HERO */

.hero {
	min-height: 760px;
	position: relative;
	display: flex;
	align-items: flex-end;
	color: white;
	overflow: hidden;
	background: var(--blue-dark);
}

.hero-image {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			rgba(10,30,48,.92) 0%,
			rgba(10,30,48,.68) 45%,
			rgba(10,30,48,.26) 100%
		),
		url("assets/img/k-minos-intro.jpg") center / cover no-repeat;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: var(--max);
	width: 100%;
	margin: auto;
	padding: 180px 36px 100px;
}

.eyebrow {
	margin: 0 0 18px;
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: 12px;
	font-weight: 700;
}

.hero h1 {
	max-width: 850px;
	margin: 0;
	font-size: clamp(52px, 7vw, 100px);
	font-weight: 400;
	line-height: .98;
	letter-spacing: -.045em;
}

.hero-intro {
	max-width: 560px;
	margin: 34px 0;
	font-size: 19px;
}

.hero-link {
	display: inline-block;
	padding-bottom: 5px;
	color: white;
	text-decoration: none;
	border-bottom: 1px solid white;
}


/* SECTIONS */

.univers-section,
.latest-section,
.contact-section {
	padding: 110px 36px;
}

.univers-section,
.contact-section {
	max-width: var(--max);
	margin: auto;
}

.section-heading {
	margin-bottom: 55px;
}

.section-heading h2 {
	margin: 0;
	font-size: clamp(44px, 5vw, 72px);
	font-weight: 400;
	letter-spacing: -.04em;
}


/* UNIVERS */

.univers-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
	background: var(--line);
}

.univers-card {
	min-height: 520px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: white;
}

.univers-card:nth-child(2) {
	background: #eee6d8;
}

.univers-card:nth-child(3) {
	color: white;
	background: var(--wine);
}

.univers-number {
	font-size: 13px;
	opacity: .6;
}

.univers-label {
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 12px;
	font-weight: 700;
}

.univers-card h3 {
	margin: 0 0 24px;
	font-size: 40px;
	line-height: 1.05;
	font-weight: 400;
	letter-spacing: -.03em;
}

.univers-card p {
	max-width: 330px;
}

.univers-card a {
	display: inline-block;
	margin-top: 20px;
	text-decoration: none;
	font-weight: 700;
}


/* PUBLICATIONS */

.latest-section {
	background: var(--blue-dark);
	color: white;
}

.latest-section > * {
	max-width: var(--max);
	margin-left: auto;
	margin-right: auto;
}

.latest-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.publication-card {
	background: white;
	color: var(--ink);
}

.publication-image {
	aspect-ratio: 16 / 10;
	display: block;
	overflow: hidden;
	background: #d7dee3;
	text-decoration: none;
}

.publication-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.publication-card:hover img {
	transform: scale(1.025);
}

.publication-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
}

.publication-content {
	padding: 28px;
}

.publication-meta {
	margin-bottom: 10px;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: .12em;
	opacity: .65;
}

.publication-card h3 {
	margin: 0 0 28px;
	font-size: 23px;
	line-height: 1.2;
}

.publication-card h3 a,
.read-more {
	text-decoration: none;
}


/* CONTACT */

.contact-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
}

.contact-section h2 {
	margin: 0;
	font-size: clamp(48px, 6vw, 82px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -.04em;
}

/* K-MINOS CONTACT FORM */

.contact-copy {
        align-self: start;
        max-width: 560px;
        font-size: 18px;
}

.contact-intro {
        max-width: 440px;
        margin: 0 0 26px;
        line-height: 1.55;
}

.kminos-contact-form,
.kminos-contact-form p {
        margin: 0;
}

.kminos-contact-form {
        display: grid;
        gap: 18px;
}

.kminos-contact-row {
        display: grid;
        gap: 22px;
}

.kminos-contact-row-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kminos-contact-form label {
        display: grid;
        gap: 6px;
        margin: 0;
}

.kminos-contact-form label > span:first-child {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
}

.kminos-contact-form input[type="text"],
.kminos-contact-form input[type="email"],
.kminos-contact-form textarea,
.kminos-contact-form select,
.kminos-contact-form .wpcf7-quiz {
        width: 100%;
        box-sizing: border-box;
        padding: 9px 0;
        border: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        outline: 0;
        background: transparent;
        color: var(--ink);
        font: inherit;
}

.kminos-contact-form textarea {
        min-height: 95px;
        resize: vertical;
}

.kminos-contact-form input:focus,
.kminos-contact-form textarea:focus,
.kminos-contact-form select:focus {
        border-bottom-color: var(--blue);
}

.kminos-contact-actions {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 24px;
        margin-top: 2px;
}

.kminos-contact-antispam {
        flex: 1;
        max-width: 210px;
        font-size: 12px;
}

.kminos-contact-antispam .wpcf7-quiz-label {
        display: block;
        margin-bottom: 5px;
}

.kminos-contact-antispam .wpcf7-quiz {
        max-width: 90px;
}

.kminos-contact-form input[type="submit"] {
        min-width: 145px;
        padding: 13px 24px;
        border: 0;
        background: var(--blue-dark);
        color: white;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
        transition: opacity .2s ease, transform .2s ease;
}

.kminos-contact-form input[type="submit"]:hover {
        opacity: .88;
        transform: translateY(-1px);
}

.kminos-contact-form .wpcf7-not-valid-tip {
        margin-top: 5px;
        font-size: 12px;
}

.kminos-contact-form .wpcf7-response-output {
        margin: 4px 0 0 !important;
        padding: 10px 12px !important;
        font-size: 13px;
}

.kminos-contact-privacy {
        max-width: 440px;
        font-size: 11px;
        line-height: 1.45;
        opacity: .6;
}

.contact-linkedin {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 16px;
        align-items: start;
        margin-top: 28px;
        padding: 20px 22px;
        border: 1px solid var(--line);
        background: rgba(255,255,255,.55);
}

.contact-linkedin-icon {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--blue-dark);
        color: white;
}

.contact-linkedin-copy {
        min-width: 0;
}

.contact-linkedin-label {
        margin: 0 0 6px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        opacity: .65;
}

.contact-linkedin-copy p:not(.contact-linkedin-label) {
        margin: 0 0 10px;
        max-width: 380px;
        font-size: 14px;
        line-height: 1.5;
}

.contact-linkedin-copy a {
        display: inline-block;
        color: var(--ink);
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
}

.contact-linkedin-copy a:hover {
        text-decoration: underline;
        text-underline-offset: 4px;
}


/* CONTENT */

.content-page {
	max-width: 1000px;
	margin: auto;
	padding: 150px 36px 100px;
}

body:not(.home) .site-header {
	background: var(--blue-dark);
}

.article-header h1 {
	font-size: clamp(46px, 6vw, 78px);
	line-height: 1.03;
	font-weight: 400;
	letter-spacing: -.04em;
}

.article-featured {
	margin: 50px 0;
}

.article-body {
	max-width: 760px;
	font-size: 18px;
}

.article-chapeau {
	margin-bottom: 35px;
	font-size: 23px;
}


/* FOOTER */

.site-footer {
	padding: 50px 36px;
	background: #101922;
	color: white;
}

.footer-inner {
	max-width: var(--max);
	margin: auto;
	display: flex;
	justify-content: space-between;
	gap: 40px;
}

.footer-inner p {
	margin: 5px 0 0;
	opacity: .7;
}


/* ==========================================================
   ARCHIVES / PUBLICATIONS
   ========================================================== */

.archive-hero {
	max-width: var(--max);
	margin: auto;
	padding: 115px 36px 30px;
}

.archive-hero h1 {
	max-width: 950px;
	margin: 0;
	font-size: clamp(58px, 8vw, 105px);
	font-weight: 400;
	line-height: .95;
	letter-spacing: -.05em;
}

.archive-description {
	max-width: 700px;
	margin: 24px 0 0;
	font-size: 20px;
}

.archive-listing {
	padding: 40px 36px 110px;
	max-width: var(--max);
	margin: auto;
}

.publication-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 45px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 22px;
}

.publication-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.publication-filters a {
	text-decoration: none;
	padding-bottom: 5px;
	border-bottom: 1px solid transparent;
}

.publication-filters a:hover,
.publication-filters a.active {
	border-bottom-color: currentColor;
}

.publication-sort {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.publication-sort select,
.publication-sort button {
	font: inherit;
	padding: 7px 10px;
	border: 1px solid var(--line);
	background: white;
}

.archive-listing .latest-grid {
	color: var(--ink);
}

.archive-listing .publication-card {
	border: 1px solid var(--line);
}

.archive-listing .publication-content h2 {
	margin: 0 0 14px;
	font-size: 23px;
	line-height: 1.2;
}

.archive-listing .publication-content h2 a {
	text-decoration: none;
}

.publication-date {
	margin: 0 0 25px;
	font-size: 13px;
	opacity: .55;
}

.section-cta {
	max-width: var(--max);
	margin: 50px auto 0;
}

.section-cta a {
	color: white;
	text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,.65);
	padding-bottom: 5px;
}

.empty-universe {
	padding: 70px 0;
	font-size: 20px;
}

.page-numbers {
	margin-top: 50px;
}

ul.page-numbers {
	display: flex;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.page-numbers a,
.page-numbers span {
	display: inline-block;
	padding: 8px 12px;
	text-decoration: none;
	border: 1px solid var(--line);
}

@media (max-width: 900px) {

	        .archive-hero {
                padding-right: 22px;
                padding-left: 22px;
        }

	        .archive-listing {
                padding-right: 22px;
                padding-bottom: 75px;
                padding-left: 22px;
        }

	.publication-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	

}

.publication-card[hidden] {
	display: none;
}


/* ==========================================================
   SINGLE PUBLICATION
   ========================================================== */

.single-publication {
	background: var(--paper);
}

.single-hero {
	padding: 95px 36px 75px;
	background: var(--blue-dark);
	color: white;
}

.single-hero-inner {
	max-width: 1100px;
	margin: auto;
}

.single-back {
	display: inline-block;
	margin-bottom: 60px;
	color: rgba(255,255,255,.72);
	text-decoration: none;
	font-size: 14px;
}

.single-back:hover {
	color: white;
}

.single-univers {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 22px;
}

.single-univers a {
	padding: 7px 12px;
	color: white;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 999px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.single-hero h1 {
	max-width: 1000px;
	margin: 0;
	font-size: clamp(48px, 7vw, 92px);
	font-weight: 400;
	line-height: .98;
	letter-spacing: -.045em;
}

.single-chapeau {
	max-width: 780px;
	margin-top: 38px;
	font-size: clamp(20px, 2.2vw, 27px);
	line-height: 1.45;
	color: rgba(255,255,255,.88);
}

.single-chapeau p:last-child {
	margin-bottom: 0;
}

.single-featured {
	max-width: 1240px;
	margin: 70px auto 0;
	padding: 0 36px;
}

.single-featured img {
	width: 100%;
	max-height: 720px;
	object-fit: cover;
}

.photo-credit {
	margin: 8px 0 0;
	font-size: 12px;
	opacity: .55;
}

.single-layout {
	max-width: 1100px;
	margin: auto;
	padding: 80px 36px 100px;
}

.single-layout.has-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 90px;
}

.single-main {
	min-width: 0;
}

.rich-content {
	font-size: 18px;
	line-height: 1.8;
}

.rich-content + .rich-content {
	margin-top: 40px;
}

.rich-content > *:first-child {
	margin-top: 0;
}

.rich-content h2 {
	margin-top: 55px;
	font-size: 36px;
	line-height: 1.15;
	font-weight: 400;
	letter-spacing: -.025em;
}

.rich-content h3 {
	margin-top: 42px;
	font-size: 26px;
	line-height: 1.2;
}

.rich-content a {
	color: var(--blue);
}

.rich-content img {
	margin: 40px 0;
}

.single-infos {
	align-self: start;
	position: sticky;
	top: 35px;
	border-top: 1px solid var(--line);
}

.single-infos .eyebrow {
	padding-top: 22px;
}

.info-row {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.info-row span,
.info-row strong {
	display: block;
}

.info-row span {
	margin-bottom: 5px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .1em;
	opacity: .55;
}

.info-row strong {
	font-size: 14px;
	font-weight: 500;
}


/* SECTIONS */

.publication-section {
	max-width: 1240px;
	margin: auto;
	padding: 90px 36px;
	border-top: 1px solid var(--line);
}

.publication-section-heading {
	margin-bottom: 45px;
}

.publication-section-heading h2 {
	margin: 0;
	font-size: clamp(42px, 5vw, 68px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -.04em;
}


/* GALLERY */

.publication-gallery {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 18px;
}

.gallery-item {
	grid-column: span 4;
	appearance: none;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	overflow: hidden;
}

.gallery-item:nth-child(5n + 1) {
	grid-column: span 7;
}

.gallery-item:nth-child(5n + 2) {
	grid-column: span 5;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	max-height: 500px;
	object-fit: cover;
	transition: transform .3s ease;
}

.gallery-item:hover img {
	transform: scale(1.02);
}


/* LIGHTBOX */

.kminos-lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 50px;
	border: 0;
	background: rgba(10,20,28,.96);
}

.kminos-lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.kminos-lightbox::backdrop {
	background: rgba(10,20,28,.96);
}

.kminos-lightbox img {
	max-width: 90vw;
	max-height: 86vh;
	object-fit: contain;
}

.lightbox-close {
	position: fixed;
	top: 20px;
	right: 30px;
	padding: 0;
	border: 0;
	color: white;
	background: transparent;
	font-size: 42px;
	font-weight: 200;
	cursor: pointer;
}


/* VIDEOS */

.publication-videos {
	max-width: none;
	background: #101922;
	color: white;
}

.publication-videos > * {
	max-width: 1168px;
	margin-left: auto;
	margin-right: auto;
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 35px;
}

.video-card {
	background: rgba(255,255,255,.06);
}

.video-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: black;
}

.video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-copy {
	padding: 22px;
}

.video-copy h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 500;
}

.video-copy p {
	margin: 8px 0 0;
	opacity: .6;
	font-size: 13px;
}


/* LINKS */

.resource-list {
	border-top: 1px solid var(--line);
}

.resource-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	font-size: 18px;
}

.resource-link > span:first-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

.resource-link > span:last-child {
	flex-shrink: 0;
}

.resource-link:hover {
	padding-left: 10px;
}

.single-bottom {
	max-width: 1100px;
	margin: auto;
	padding: 30px 36px 100px;
}

.single-bottom a {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}


/* SINGLE RESPONSIVE */

@media (max-width: 900px) {

	

	.single-back {
		margin-bottom: 40px;
	}

	        .single-featured {
                padding: 0 22px;
        }

	        .single-layout,
        .single-layout.has-sidebar {
                display: block;
                padding-right: 22px;
                padding-left: 22px;
        }

	.single-infos {
		position: static;
		margin-top: 55px;
	}

	.publication-section {
		padding: 65px 22px;
	}

	.publication-gallery {
		grid-template-columns: 1fr;
	}

	.gallery-item,
	.gallery-item:nth-child(5n + 1),
	.gallery-item:nth-child(5n + 2) {
		grid-column: auto;
	}

	.gallery-item img {
		min-height: 0;
		max-height: none;
	}

	.video-grid {
		grid-template-columns: 1fr;
	}

	.kminos-lightbox {
		padding: 20px;
	}

	.single-bottom {
		padding: 20px 22px 70px;
	}

}


/* ==========================================================
   PUBLICATIONS FILTERS
   ========================================================== */

.publications-page {
        padding-top: 10px;
}

.publication-toolbar-full {
        display: block;
        margin-bottom: 24px;
        padding: 22px 0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
}

.publication-filter-groups {
        display: flex;
        flex-direction: column;
        gap: 12px;
}

.filter-group {
        display: flex;
        align-items: center;
        gap: 18px;
}

.filter-label {
        flex: 0 0 72px;
        min-width: 72px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .15em;
        text-transform: uppercase;
        opacity: .48;
}

.publication-type {
        font-weight: 700;
}

.publication-filter {
        appearance: none;
        margin: 0;
        padding: 8px 13px;
        border: 1px solid transparent;
        border-radius: 999px;
        background: transparent;
        color: var(--ink);
        font: inherit;
        font-size: 14px;
        line-height: 1;
        cursor: pointer;
        opacity: .58;
        transition:
                background .18s ease,
                color .18s ease,
                border-color .18s ease,
                opacity .18s ease;
}

.publication-filter:hover {
        opacity: 1;
        border-color: var(--line);
}

.publication-filter.active {
        border-color: var(--ink);
        background: var(--ink);
        color: white;
        font-weight: 500;
        opacity: 1;
}

.publication-order-group {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--line);
        white-space: nowrap;
}

.publication-order-group .filter-label {
        flex-basis: auto;
        min-width: 0;
}

.publication-results-meta {
        margin: 20px 0 16px;
        font-size: 12px;
        opacity: .55;
}

@media (max-width: 900px) {

                .filter-group {
                align-items: flex-start;
                flex-direction: column;
        }

        .filter-label {
                flex: none;
                min-width: 0;
        }

        .publication-order-group {
                padding-top: 16px;
        }

}


/* ==========================================================
   CONTENUS ASSOCIÉS
   ========================================================== */

.related-section {
	max-width: none;
	background: #e9e6df;
}

.related-section > * {
	max-width: 1168px;
	margin-left: auto;
	margin-right: auto;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.related-card {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	min-height: 220px;
	background: white;
}

.related-image {
	display: block;
	min-height: 220px;
	overflow: hidden;
	background: #d7dee3;
	text-decoration: none;
}

.related-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.related-card:hover .related-image img {
	transform: scale(1.025);
}

.related-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 28px;
}

.related-content .publication-meta {
	margin: 0 0 12px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .1em;
	opacity: .55;
}

.related-content h3 {
	margin: 0 0 28px;
	font-size: 24px;
	line-height: 1.15;
	font-weight: 500;
}

.related-content h3 a,
.related-content .read-more {
	text-decoration: none;
}

@media (max-width: 900px) {

	.related-grid {
		grid-template-columns: 1fr;
	}

	        .related-card {
                min-height: 160px;
        }

	.related-image {
		min-height: 160px;
	}

	

	        .related-content h3 {
                margin-bottom: 18px;
        }

}

.single-type {
	padding: 7px 12px;
	border-radius: 999px;
	background: white;
	color: var(--blue-dark);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
}


/* ==========================================================
   UNIVERS
   ========================================================== */

.universe-hero {
	padding: 90px 36px 85px;
	color: white;
	background: var(--blue-dark);
}

.universe-hero-inner {
	max-width: 1168px;
	margin: auto;
}

.universe-hero h1 {
	max-width: 1000px;
	margin: 0;
	font-size: clamp(58px, 8vw, 105px);
	font-weight: 400;
	line-height: .95;
	letter-spacing: -.05em;
}

.universe-intro {
	max-width: 720px;
	margin: 35px 0 0;
	font-size: clamp(19px, 2vw, 25px);
	line-height: 1.5;
	color: rgba(255,255,255,.84);
}

.universe-count {
	margin: 35px 0 0;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .12em;
	opacity: .55;
}


/* Variations par univers */

.universe-chapellerie .universe-hero {
	color: var(--ink);
	background: #ded0b6;
}

.universe-chapellerie .single-back,
.universe-chapellerie .universe-intro {
	color: var(--ink);
}

.universe-musique .universe-hero {
	background: var(--wine);
}


/* LISTING */

.universe-listing {
	padding-top: 50px;
}

.universe-toolbar {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 22px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}

.universe-toolbar .publication-order-group {
	margin-top: 0;
	padding-top: 12px;
}

.universe-all-publications {
	margin-top: 55px;
}

.universe-all-publications a {
	display: inline-block;
	padding-bottom: 4px;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}


/* UNIVERS VIDES */

.empty-universe-page {
	min-height: 500px;
	display: flex;
	align-items: center;
	padding: 100px 36px;
}

.empty-universe-inner {
	max-width: 1168px;
	width: 100%;
	margin: auto;
}

.empty-universe-inner h2 {
	max-width: 800px;
	margin: 0 0 25px;
	font-size: clamp(42px, 5vw, 72px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -.04em;
}

.empty-universe-inner p:not(.eyebrow) {
	max-width: 600px;
	font-size: 18px;
}

.empty-universe-inner a {
	display: inline-block;
	margin-top: 25px;
	padding-bottom: 4px;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}


@media (max-width: 900px) {

	

	.universe-listing {
		padding-top: 35px;
	}

	

}


/* ==========================================================
   RESPONSIVE V2
   ========================================================== */

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 9px;
	border: 1px solid rgba(255,255,255,.32);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 100%;
	height: 1px;
	margin: 5px 0;
	background: white;
	transition:
		transform .2s ease,
		opacity .2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}


@media (max-width: 900px) {

	/* HEADER / MENU */

	.header-inner {
		position: relative;
		padding: 28px 22px;
	}

	.brand {
                font-size: 19px;
        }

	        .menu-toggle {
                flex: 0 0 auto;
        }

	.main-nav {
		display: none;
		position: absolute;
		z-index: 50;
		top: calc(100% + 8px);
		left: 22px;
		right: 22px;
		padding: 8px;
		background: #101922;
		box-shadow: 0 18px 50px rgba(0,0,0,.22);
	}

	.main-nav.is-open {
		display: block;
	}

	.main-nav ul {
		display: block;
		margin: 0;
		padding: 0;
	}

	.main-nav li + li {
		border-top: 1px solid rgba(255,255,255,.1);
	}

	.main-nav a {
		display: block;
		padding: 15px 12px;
		font-size: 15px;
	}


	/* ACCUEIL */

	.hero {
		min-height: 620px;
	}

	.hero-content {
		padding: 135px 22px 60px;
	}

	.hero h1 {
		font-size: clamp(40px, 12vw, 58px);
		line-height: 1;
	}

	.hero-intro {
		margin: 26px 0;
		font-size: 17px;
	}

	.univers-section,
	.latest-section,
	.contact-section {
                padding: 65px 22px;
        }

        .univers-grid,
        .latest-grid,
        .contact-section {
                grid-template-columns: 1fr;
        }

        .contact-section {
                gap: 50px;
        }

	.section-heading {
		margin-bottom: 35px;
	}

	.section-heading h2 {
		font-size: 43px;
	}

	.univers-card {
		min-height: 350px;
		padding: 28px;
	}

	.univers-card h3 {
		font-size: 34px;
	}

	.latest-grid {
		gap: 20px;
	}

	.contact-section h2 {
		font-size: 48px;
	}


	/* PUBLICATIONS */

	.archive-hero {
		padding-top: 80px;
		padding-bottom: 28px;
	}

	.archive-hero h1 {
		font-size: 50px;
	}

	.archive-description {
		margin-top: 18px;
		font-size: 17px;
	}

	.archive-listing {
		padding-top: 20px;
	}

	.publication-toolbar-full,
	.universe-toolbar {
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.filter-group {
		gap: 7px;
	}

	.publication-filters {
		gap: 6px;
	}

	.publication-filter {
		padding: 8px 11px;
		font-size: 13px;
	}

	.publication-content {
		padding: 22px;
	}

	.publication-card h3,
	.archive-listing .publication-content h2 {
		font-size: 21px;
	}


	/* UNIVERS */

	.universe-hero {
		padding: 55px 22px 50px;
	}

	.universe-hero .single-back {
		margin-bottom: 38px;
	}

	.universe-hero h1 {
		font-size: clamp(46px, 13vw, 64px);
	}

	.universe-intro {
		margin-top: 25px;
		font-size: 18px;
	}

	.universe-count {
		margin-top: 25px;
	}

	.empty-universe-page {
		min-height: 360px;
		padding: 60px 22px;
	}

	.empty-universe-inner h2 {
		font-size: 40px;
	}


	/* FICHE PUBLICATION */

	.single-hero {
		padding: 55px 22px 48px;
	}

	.single-hero h1 {
		font-size: clamp(39px, 11vw, 58px);
	}

	.single-chapeau {
		margin-top: 27px;
		font-size: 19px;
	}

	.single-univers {
		gap: 7px;
	}

	.single-univers a,
	.single-type {
		padding: 6px 9px;
		font-size: 10px;
	}

	.single-featured {
		margin-top: 30px;
	}

	.single-layout,
	.single-layout.has-sidebar {
		padding-top: 45px;
		padding-bottom: 60px;
	}

	.rich-content {
		font-size: 17px;
		line-height: 1.7;
	}

	.rich-content h2 {
		margin-top: 42px;
		font-size: 30px;
	}

	.publication-section-heading {
		margin-bottom: 30px;
	}

	.publication-section-heading h2 {
		font-size: 42px;
	}

	.related-card {
		grid-template-columns: 110px minmax(0,1fr);
	}

	.related-content {
		padding: 17px;
	}

	.related-content h3 {
		font-size: 18px;
	}


	/* FOOTER */

	.site-footer {
		padding: 38px 22px;
	}

	.footer-inner {
                flex-direction: column;
                gap: 20px;
        }

}


@media (max-width: 480px) {

	.hero h1 {
		font-size: 40px;
	}

	.section-heading h2 {
		font-size: 38px;
	}

	.contact-section h2 {
		font-size: 42px;
	}

	.archive-hero h1 {
		font-size: 44px;
	}

	.universe-hero h1 {
		font-size: 44px;
	}

	.single-hero h1 {
		font-size: 38px;
	}

	.related-card {
		display: block;
	}

	.related-image {
		min-height: 190px;
	}

}

/* Menu mobile - correction visibilité */

@media (max-width: 900px) {

	.menu-toggle {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;

		width: 42px;
		height: 42px;
		padding: 0;

		border: 1px solid rgba(255,255,255,.45);
		border-radius: 50%;
		background: rgba(0,0,0,.12);
	}

	.menu-toggle span {
		display: block;
		width: 18px;
		height: 1.5px;
		margin: 0;
		background: #fff;
	}

	.menu-toggle.is-open span:nth-child(1) {
		transform: translateY(6.5px) rotate(45deg);
	}

	.menu-toggle.is-open span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle.is-open span:nth-child(3) {
		transform: translateY(-6.5px) rotate(-45deg);
	}

}


.hero-title span {
	display: block;
}


/* Verrouillage des lignes du titre Hero */

.hero h1.hero-title > span {
	display: block !important;
	width: 100%;
}


/* Publications : filtre Univers mobile V2 */
@media (max-width: 900px) {

	.publications-page
	.publication-filter-groups
	.filter-group:first-child
	.publication-filters {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 7px;
		width: 100%;
		overflow: visible;
		padding-bottom: 0;
	}

	.publications-page
	.publication-filter-groups
	.filter-group:first-child
	.publication-filter {
		width: 100%;
		white-space: normal;
		text-align: center;
		line-height: 1.2;
		padding: 9px 8px;
	}

}

.video-credit {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.55;
	opacity: .68;
}

.video-credit p {
	margin: 3px 0;
}


/* Vidéo : vignette avant consentement / lecture */

.video-launch {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: #000;
	cursor: pointer;
	overflow: hidden;
}

.video-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease, opacity .3s ease;
}

.video-thumbnail-placeholder {
	position: absolute;
	inset: 0;
	background: #111;
}

.video-launch::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.18);
	transition: background .25s ease;
}

.video-launch:hover::after {
	background: rgba(0,0,0,.32);
}

.video-launch:hover .video-thumbnail {
	transform: scale(1.025);
}

.video-play {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	transform: translate(-50%, -50%);
	border: 1px solid rgba(255,255,255,.8);
	border-radius: 50%;
	background: rgba(10,20,28,.72);
	color: white;
	font-size: 25px;
}

.video-play span {
	margin-left: 4px;
}

@media (max-width: 900px) {

	.video-play {
		width: 58px;
		height: 58px;
		font-size: 20px;
	}

}


/* Rubriques hiérarchiques — 0.3 */
.category-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 13px; }
.category-breadcrumb a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.category-breadcrumb [aria-current="page"] { opacity: .8; }
.universe-artisanat .universe-hero { color: var(--ink); background: #ded0b6; }
.universe-artisanat .universe-intro { color: var(--ink); }
.category-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.category-card { display: flex; flex-direction: column; min-width: 0; background: white; color: var(--ink); border: 1px solid var(--line); text-decoration: none; }
.category-card .publication-image { flex: 0 0 auto; width: 100%; }
.category-card .publication-content { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; }
.category-card .read-more { margin-top: auto; }
.category-card .publication-content h2 { margin: 0 0 12px; }
.category-card .publication-content p { margin: 0 0 18px; line-height: 1.5; }
.category-card .publication-image img { display: block; }
.category-card:hover .publication-image img { transform: scale(1.025); }
.category-card:focus-visible, .publication-filter:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.category-card .publication-placeholder { font-size: clamp(18px, 3vw, 28px); text-align: center; padding: 16px; box-sizing: border-box; }
.category-filter-group { align-items: flex-start; }
.category-filter-group .filter-label { padding-top: 9px; }
.category-filter-group .publication-filters { flex-wrap: wrap; overflow: visible; }
.category-filter-group .publication-filter { white-space: normal; line-height: 1.25; text-decoration: none; }
.category-open-link { display: inline-block; font-size: 13px; margin: 0 0 12px; text-underline-offset: 3px; }
.category-open-link[hidden], .category-js-only[hidden], #publication-empty[hidden] { display: none !important; }
.category-direct-heading { margin: 48px 0 24px; }
.category-children-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 24px; }
.category-children-links a { text-underline-offset: 3px; }
@media (max-width: 650px) {
    .category-card-grid { grid-template-columns: 1fr; gap: 18px; }
    .category-filter-group { flex-direction: column; align-items: stretch; }
    .category-filter-group .filter-label { flex: auto; padding-top: 0; }
}

/* Liste de destination du formulaire de contact */
.kminos-contact-form select {
    padding-right: 18px;
    cursor: pointer;
}


/* 0.6 — Filtres utiles uniquement, alignement commun. */
.universe-toolbar[hidden] { display: none !important; }
.universe-toolbar .filter-group { align-items: center; gap: 18px; }
.universe-toolbar .filter-label { flex: 0 0 72px; min-width: 72px; padding-top: 0; }
.universe-toolbar .publication-filters { flex-wrap: wrap; min-width: 0; overflow: visible; }
.universe-toolbar .publication-filter { line-height: 1.25; padding: 8px 13px; text-decoration: none; }
.single-breadcrumb { color: rgba(255,255,255,.84); margin-bottom: 38px; }
.single-breadcrumb [aria-current="page"] { overflow-wrap: anywhere; }
@media (max-width: 900px) {
    .universe-toolbar .filter-group { align-items: flex-start; gap: 7px; }
    .universe-toolbar .filter-label { flex: none; min-width: 0; }
    .universe-toolbar .publication-filter { font-size: 13px; padding: 8px 11px; }
}


/* Informations légales et activation des vidéos externes */
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.contact-privacy { font-size: .9rem; line-height: 1.5; margin: 0 0 1rem; }
.contact-privacy a, .video-privacy a { color: inherit; text-decoration: underline; }
.video-privacy { font-size: .85rem; line-height: 1.5; padding: 12px 16px; margin: 0; }
.video-consent-label { position: absolute; z-index: 3; bottom: 8px; left: 50%; transform: translateX(-50%); background: #101922; color: #fff; padding: 5px 12px; font-size: .85rem; white-space: nowrap; }
.video-stop { margin: 8px 16px; padding: 8px 12px; cursor: pointer; font: inherit; font-size: .85rem; }
.video-stop[hidden] { display: none; }


/* ==========================================================
   FOOTER - LEGAL NAVIGATION (0.6.8)
   ========================================================== */

.footer-inner {
    flex-direction: column;
    gap: 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.footer-copyright {
    font-size: .85rem;
    white-space: nowrap;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
    font-size: .85rem;
    color: rgba(255,255,255,.8);
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.footer-legal a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 14px;
    }

    .footer-inner {
        gap: 22px;
    }

    .footer-legal {
        gap: 14px 20px;
        line-height: 1.5;
    }
}

/* Masquer le bouton flottant Complianz.
   Les préférences restent accessibles depuis le footer. */
#cmplz-manage-consent {
    display: none !important;
}
