/* Lulukey — feuille de style unique */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fonts/archivo-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, 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-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--paper: #f6f1e8;
	--paper-2: #ece4d5;
	--ink: #1c1a17;
	--muted: #5f594f;
	--rule: #d8cebd;
	--brass: #9c6a1f;
	--brass-soft: #c89a4a;
	--forest: #1f3d37;
	--forest-2: #17302b;
	--radius: 4px;
	--wrap: 1240px;
	--gutter: clamp(1.1rem, 4vw, 2.5rem);
	--serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
	--sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--brass); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.08; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brass-soft); color: var(--ink); }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.ico.key { width: 1.6rem; height: 1.6rem; vertical-align: middle; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 760px); }

.eyebrow {
	margin: 0 0 1rem;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brass);
}
.h1, .hero__title, .h2, .card__title, .host__quote, .site-footer__word {
	font-family: var(--serif);
	letter-spacing: -0.015em;
}
.h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); }

/* Boutons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
	padding: 0.95rem 1.5rem;
	border: 1px solid var(--ink);
	border-radius: 999px;
	font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--forest-2); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.btn--block { display: flex; width: 100%; }

/* En-tête */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
}
.site-header__in { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--ink); }
.brand .key { color: var(--brass); transform: rotate(-35deg); }
.brand__name { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.75rem; }
.nav__list a { text-decoration: none; font-size: 0.95rem; font-weight: 500; position: relative; padding: 0.3rem 0; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
.menu-btn { display: none; }

/* Accueil : hero */
.hero { padding-block: clamp(2rem, 6vw, 5rem) clamp(3rem, 8vw, 6.5rem); }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); max-width: 14ch; margin-bottom: 1.4rem; }
.hero__lead { max-width: 34rem; font-size: 1.15rem; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: 0.9rem; font-weight: 500; }
.hero__facts li { display: flex; align-items: center; gap: 0.6rem; }
.hero__facts li::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--brass); }
.hero__visual { position: relative; padding-bottom: 14%; }
.hero__img--a { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--paper-2); }
.hero__img--a img, .hero__img--b img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--b { position: absolute; right: -2%; bottom: 0; width: 38%; aspect-ratio: 4 / 5; border: 6px solid var(--paper); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.hero__badge {
	position: absolute; left: -1rem; top: -1.25rem;
	display: grid; place-items: center; text-align: center;
	width: 7.5rem; height: 7.5rem; margin: 0; padding: 0.9rem;
	border-radius: 50%; background: var(--brass); color: #fff;
	font-size: 0.72rem; font-weight: 700; line-height: 1.25; letter-spacing: 0.1em; text-transform: uppercase;
	transform: rotate(-9deg);
}

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tint { background: var(--paper-2); }
.section--flush { padding-top: 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: 2.25rem; }
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pill { padding: 0.5rem 1.1rem; border: 1px solid var(--rule); border-radius: 999px; background: transparent; cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.pill:hover { border-color: var(--ink); }
.pill.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section--flush .filters { margin-bottom: 2rem; }

/* Cartes */
.cards { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); grid-template-columns: 1fr; }
.card[hidden] { display: none; }
.card__link { display: block; text-decoration: none; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.card__link:hover .card__img { transform: scale(1.045); }
.card__tag { position: absolute; left: 0.75rem; top: 0.75rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--paper); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.card__body { display: block; padding-top: 1rem; }
.card__place { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.35rem; }
.card__title { display: block; font-size: 1.7rem; line-height: 1.12; }
.card__facts { display: block; margin-top: 0.4rem; font-size: 0.93rem; color: var(--muted); }
.card__go { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.85rem; font-size: 0.9rem; font-weight: 600; }
.card__go .ico { transition: transform 0.25s; }
.card__link:hover .card__go .ico { transform: translateX(4px); }

/* Quartier */
.steps { display: grid; gap: 2rem 3rem; margin-top: 3rem; grid-template-columns: 1fr; counter-reset: s; }
.steps li { border-top: 1px solid var(--ink); padding-top: 1rem; }
.steps__n { display: block; font-family: var(--serif); font-size: 2.25rem; color: var(--brass); margin-bottom: 0.5rem; }
.steps p { margin: 0; max-width: 20rem; }

/* Hôte */
.host { display: grid; gap: 2rem; align-items: center; }
.host__photo img { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.host__quote { margin: 0 0 1.5rem; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.25; max-width: 38ch; }
.host__who { display: flex; flex-direction: column; margin: 0; }
.host__who span { color: var(--muted); font-size: 0.95rem; }

/* Studio photo */
.studio { background: var(--forest); color: var(--paper); }
.studio__grid { display: grid; gap: 2rem; align-items: stretch; padding-block: clamp(3rem, 7vw, 6rem); }
.studio__img { border-radius: var(--radius); overflow: hidden; min-height: 18rem; }
.studio__img img { width: 100%; height: 100%; object-fit: cover; }
.studio .eyebrow { color: var(--brass-soft); }
.studio .h2 { margin-bottom: 1.25rem; }
.studio p { color: color-mix(in srgb, var(--paper) 82%, transparent); }
.prices { display: grid; gap: 0; margin: 1.5rem 0 0.75rem; }
.prices div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); }
.prices div:last-child { border-bottom: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); }
.prices dt { margin: 0; }
.prices dd { margin: 0; font-family: var(--serif); font-size: 1.4rem; }
.studio__note { font-size: 0.88rem; margin-bottom: 1.5rem; }

/* FAQ */
.faq { display: grid; gap: 2rem; }
.faq__more { color: var(--muted); margin-top: 1.25rem; }
.qa { border-top: 1px solid var(--rule); }
.qa:last-child { border-bottom: 1px solid var(--rule); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.25rem 0; cursor: pointer; font-weight: 600; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { transition: transform 0.25s; }
.qa[open] summary .ico { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 0 1.5rem; max-width: 62ch; color: var(--muted); }

/* En-têtes de pages */
.pagehead { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.pagehead__lead { max-width: 40rem; margin-top: 1.25rem; font-size: 1.15rem; color: var(--muted); }

/* Fiche logement */
.listing .back { display: inline-flex; align-items: center; gap: 0.5rem; margin: 1.25rem 0 2rem; font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.listing__head { max-width: 52rem; }
.listing__lead { margin-top: 1.25rem; font-size: 1.2rem; color: var(--muted); }
.listing__hero { margin-top: 2.5rem; }
.listing__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.listing__body { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.prose h2 { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin: 2.75rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose p, .prose li { max-width: 62ch; }
.prose ul { margin: 0 0 1em; }
.prose li { position: relative; padding-left: 1.25rem; margin-bottom: 0.45rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.5rem; height: 1px; background: var(--brass); }
.prose--page h2 { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -0.01em; text-transform: none; color: var(--ink); border: 0; padding: 0; margin: 2.25rem 0 0.75rem; }
.prose--page h2:first-child { margin-top: 0; }
.book__in { border: 1px solid var(--rule); border-radius: var(--radius); background: #fbf8f2; padding: 1.5rem; display: grid; gap: 0.75rem; }
.facts { margin: 0 0 0.5rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.facts div:first-child { padding-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.book__note { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--muted); }

/* Galerie */
.gallery { display: grid; gap: 0.6rem; grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
.gallery li:first-child { grid-column: span 2; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.gallery li:first-child img { aspect-ratio: 16 / 9; }
.gallery a:hover img { transform: scale(1.04); }

dialog.lb { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lb::backdrop { background: rgba(14, 12, 10, 0.92); }
.lb__in { position: absolute; inset: 0; display: grid; place-items: center; padding: 3.5rem 1rem; }
.lb__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.lb__btn { position: absolute; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgba(246, 241, 232, 0.14); color: #fff; font-size: 1.5rem; cursor: pointer; }
.lb__btn:hover { background: rgba(246, 241, 232, 0.28); }
.lb__close { top: 0.75rem; right: 0.75rem; }
.lb__prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lb__next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; left: 50%; bottom: 0.9rem; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 0.85rem; }

/* Contact */
.contact { display: grid; gap: 3rem; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
.form label { display: grid; gap: 0.4rem; font-size: 0.88rem; font-weight: 600; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea { width: 100%; padding: 0.85rem 0.95rem; border: 1px solid var(--rule); border-radius: var(--radius); background: #fbf8f2; font: inherit; font-weight: 400; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: transparent; }
.form__legal { margin: 0; font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.notice { margin: 0; padding: 0.9rem 1.1rem; border-radius: var(--radius); font-size: 0.95rem; }
.notice--ok { background: #e4eddc; color: #234018; }
.notice--err { background: #f6e0d8; color: #6b2a14; }
.contact__side { display: grid; gap: 1.75rem; align-content: start; }
.contact__side .eyebrow { margin-bottom: 0.4rem; }
.contact__side p { margin: 0; }


/* Un lieu, deux usages */
.hybrid__title { max-width: 22ch; margin-bottom: 2.5rem; }
.hybrid { display: grid; gap: 1.25rem; }
.hybrid__panel { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); }
.hybrid__panel p { max-width: 38ch; }
.hybrid__panel .btn { margin-top: auto; }
.hybrid__panel--stay { background: var(--paper); border: 1px solid var(--rule); }
.hybrid__panel--shoot { background: var(--forest); color: var(--paper); }
.hybrid__panel--shoot p { color: color-mix(in srgb, var(--paper) 82%, transparent); }
.hybrid__n { margin: 0 0 0.5rem; font-family: var(--serif); font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--brass); }
.hybrid__panel--shoot .hybrid__n { color: var(--brass-soft); }
.hybrid__h { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 0.5rem; }
.hybrid__panel .btn { margin-top: 1.5rem; }
.book__ask { display: block; text-align: center; padding: 0.4rem 0; font-size: 0.92rem; font-weight: 600; }
@media (min-width: 760px) { .hybrid { grid-template-columns: 1fr 1fr; } }

/* Pied de page */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 7vw, 5.5rem) 2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brass-soft); }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid #3b362f; }
.site-footer__word { margin: 0; font-size: clamp(3.5rem, 12vw, 9rem); line-height: 0.9; }
.site-footer__tag { margin: 0; color: #b9b0a1; max-width: 18rem; }
.site-footer__cols { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); padding-block: 2.5rem; }
.site-footer__cols p, .site-footer address { margin: 0; line-height: 1.8; }
.site-footer__legal { margin: 0; font-size: 0.82rem; color: #8d857a; }

/* Révélation douce */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* Tablette */
@media (min-width: 640px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.form__row { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.site-footer__cols { grid-template-columns: repeat(4, 1fr); }
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.gallery li:first-child { grid-column: span 3; }
}

/* Bureau */
@media (min-width: 960px) {
	.hero__grid { grid-template-columns: 1.05fr 1fr; }
	.cards { grid-template-columns: repeat(3, 1fr); }
	.steps { grid-template-columns: repeat(4, 1fr); }
	.host { grid-template-columns: auto 1fr; gap: 4rem; }
	.host__photo img { width: 200px; height: 200px; }
	.studio__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
	.studio__img { min-height: 30rem; height: 100%; }
	.faq { grid-template-columns: 1fr 1.4fr; gap: 5rem; }
	.listing__body { grid-template-columns: minmax(0, 1fr) 21rem; gap: 4rem; align-items: start; }
	.book { position: sticky; top: 6rem; }
	.contact { grid-template-columns: 1.4fr 1fr; gap: 5rem; }
}

/* Mobile : menu */
@media (max-width: 859px) {
	.js .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--rule); border-radius: 50%; background: transparent; cursor: pointer; }
	.menu-btn__bars, .menu-btn__bars::before { display: block; width: 1.1rem; height: 1.5px; background: currentColor; position: relative; transition: transform 0.25s; }
	.menu-btn__bars::before { content: ""; position: absolute; top: 6px; }
	.menu-btn__bars { top: -3px; }
	.menu-btn[aria-expanded="true"] .menu-btn__bars { transform: translateY(3px) rotate(45deg); }
	.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }
	.js .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 1.25rem var(--gutter) 1.75rem; background: var(--paper); border-bottom: 1px solid var(--rule); display: none; }
	.js .nav.is-open { display: flex; }
	.nav__list { flex-direction: column; gap: 0.25rem; }
	.nav__list a { display: block; padding: 0.7rem 0; font-size: 1.15rem; font-family: var(--serif); }
	.nav__cta { justify-content: center; }
	html:not(.js) .nav { gap: 1rem; flex-wrap: wrap; }
	html:not(.js) .site-header__in { flex-wrap: wrap; padding-block: 0.75rem; }
	.hero__badge { left: 0.5rem; top: -1.75rem; width: 6.25rem; height: 6.25rem; font-size: 0.65rem; }
}
