/*
| DESIGN 7 : Restaurant
| pour restaurants, bistrots et cafes : papier creme et encre brun-noir (mode clair), bistrot du soir a la lueur d une bougie (mode sombre)
| titres en serif Cormorant Garamond, texte en Inter ; la carte (premiere rubrique) se presente comme une vraie carte de restaurant
| meme structure HTML que les autres designs : seul ce CSS (et js/resto.js) change
| couleur de marque : uniquement via var(--color-main) et var(--color-main-text) (filets, boutons, prix) ; le reste est creme, brun et ambre
| polices libres (SIL OFL) hebergees dans fonts/ : Cormorant Garamond (titres) et Inter (texte)
| mode clair = mode natif (:root) ; mode sombre = :root[data-theme="dark"]
| mouvement : coupe si le visiteur demande moins d animations (prefers-reduced-motion)
*/

:root {
	--color-main: #1B8CBF;
	--color-main-light: #e8f3f9;
	--color-main-text: #fff;

	/* mode clair : nappe et papier creme, encre brun-noir */
	--paper: #fbf6ea;
	--paper-2: #f3ead6;
	--card: #fffdf7;
	--ink: #2a1c13;
	--muted: #6a5646;
	--line: #e0d2b8;
	--line-strong: #c3ad86;
	--shadow: 0 20px 44px rgba(70, 40, 15, .14);
	--check: rgba(150, 90, 45, .055);

	/* toujours sombres : image d accueil, pied de page, bandeau final */
	--night: #24160d;
	--night-ink: #f7ecd8;
	--night-muted: #d1bea4;
	--night-line: rgba(247, 236, 216, .22);
	--candle: #ffb35c;

	/* accent derive de la couleur de marque : lisible sur papier clair (--accent-ink) et sur fond sombre (--spark) */
	--accent-ink: color-mix(in srgb, var(--color-main) 60%, #1c0f06);
	--spark: color-mix(in srgb, var(--color-main) 55%, #fff1d6);

	--w: 1180px;
	--serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, sans-serif;
	--ease: cubic-bezier(.2, .7, .1, 1);
	color-scheme: light;
}
@supports (color: oklch(from red l c h)) {
	:root {
		--accent-ink: oklch(from var(--color-main) min(l, .47) min(c, .13) h);
		--spark: oklch(from var(--color-main) max(l, .8) min(c, .12) h);
	}
}

/* mode sombre : bistrot du soir, brun-noir chaud, accent a la lueur de bougie */
:root[data-theme="dark"] {
	--paper: #18110b;
	--paper-2: #20160f;
	--card: #271b12;
	--ink: #f5e9d3;
	--muted: #c3af95;
	--line: #3c2d20;
	--line-strong: #6a5238;
	--shadow: 0 22px 50px rgba(0, 0, 0, .5);
	--check: rgba(255, 190, 120, .022);
	--night: #0f0905;
	--accent-ink: var(--spark);
	color-scheme: dark;
}

/* polices libres (SIL OFL 1.1), hebergees dans le site : fonts/ */
@font-face { font-family: "Inter"; src: url("/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond-latin-wght-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

/* ---------- balises de base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; font: 400 1.0625rem/1.65 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; transition: background-color .4s, color .4s; }
h1, h2, h3 { margin: 0 0 .45em; font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.65rem; line-height: 1.12; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent-ink); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: .22em; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--color-main); color: var(--color-main-text); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

/* ---------- elements recurrents ---------- */
.container { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.bloc { padding: clamp(68px, 8.5vw, 124px) 0; }
.intro, .subtitle { max-width: 38rem; font-size: 1.16rem; line-height: 1.65; color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 300; padding: 10px 16px; background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 1.5em; font: 600 .76rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--spark); }
.eyebrow::before { content: "\2726"; font-size: .9rem; letter-spacing: 0; }
.eyebrow::after { content: ""; flex: 0 1 64px; height: 1px; background: currentColor; opacity: .55; }

.cta { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 15px 32px; border: 1px solid transparent; border-radius: 999px; background: var(--color-main); color: var(--color-main-text); font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-main) 40%, transparent); transition: filter .3s, background .3s, color .3s, border-color .3s, box-shadow .5s, transform .4s var(--ease); }
.cta:hover { filter: brightness(1.08); box-shadow: 0 8px 28px -4px color-mix(in srgb, var(--color-main) 55%, transparent); transform: translateY(-1px); }
.cta:active { transform: translateY(1px); }
.cta-plain { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; }
.cta-plain:hover { filter: none; background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }

/* titre de section : fleuron centre */
.bloc:not([class*="section-pic"]) > .container > h2 { text-align: center; }
.bloc:not([class*="section-pic"]) > .container > h2::before { content: "\2726"; display: block; margin-bottom: .5rem; font: 400 1rem/1 var(--sans); letter-spacing: 0; color: var(--accent-ink); }
.bloc > .container > .intro { margin-inline: auto; text-align: center; }
.bloc > .container > .cta { display: flex; width: fit-content; margin-inline: auto; }
.bloc > .container > .cta-plain { margin-top: 0; }

/* ---------- la carte : les cartes de la premiere rubrique ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; margin: clamp(32px, 5vw, 56px) 0; }
.cards:not(.cards-scroll) { position: relative; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); gap: 6px clamp(40px, 6vw, 84px); max-width: 1020px; margin-inline: auto; padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 64px); border: 1px solid var(--line-strong); background: var(--card); box-shadow: inset 0 0 0 7px var(--card), inset 0 0 0 8px var(--line), var(--shadow); }
.cards:not(.cards-scroll)::before, .cards:not(.cards-scroll)::after { content: "\2726"; position: absolute; left: 50%; translate: -50% 0; padding: 0 12px; background: var(--card); font: 400 1rem/1 var(--sans); color: var(--accent-ink); }
.cards:not(.cards-scroll)::before { top: -9px; }
.cards:not(.cards-scroll)::after { bottom: -9px; }
.cards:not(.cards-scroll) > .card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 12px 8px; border-radius: 4px; color: var(--ink); text-decoration: none; transition: background-color .35s; }
.cards:not(.cards-scroll) > .card > img { grid-column: 1; grid-row: 1; width: 76px; height: 76px; margin-right: 18px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line-strong); transition: scale .8s var(--ease); }
.cards:not(.cards-scroll) > .card > h2, .cards:not(.cards-scroll) > .card > h3 { grid-column: 2; display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 1.5rem; line-height: 1.12; transition: color .3s; }
.cards:not(.cards-scroll) > .card > h2::after, .cards:not(.cards-scroll) > .card > h3::after { content: ""; flex: 1 1 24px; min-width: 24px; translate: 0 -.18em; border-bottom: 2px dotted var(--line-strong); }
.cards:not(.cards-scroll) > .card > p { grid-column: 3; max-width: 13rem; margin: 0 0 0 12px; font: 600 1.55rem/1.1 var(--serif); text-align: right; color: var(--accent-ink); }
a.card:hover > img { scale: 1.07; }
.cards:not(.cards-scroll) > a.card:hover { background: color-mix(in srgb, var(--accent-ink) 7%, transparent); }
.cards:not(.cards-scroll) > a.card:hover > h2, .cards:not(.cards-scroll) > a.card:hover > h3 { color: var(--accent-ink); }

/* le lieu : carrousel de grandes photos en arche */
.cards-scroll { display: flex; justify-content: safe center; gap: 28px; margin-inline: -24px; padding: 8px 24px 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cards-scroll::-webkit-scrollbar { display: none; }
.cards-scroll .card { flex: 0 0 min(78vw, 340px); scroll-snap-align: center; text-align: center; color: var(--ink); text-decoration: none; }
.cards-scroll .card > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 6px 6px; outline: 1px solid var(--line-strong); outline-offset: 7px; box-shadow: var(--shadow); transition: scale 1.1s var(--ease), translate .6s var(--ease); }
.cards-scroll a.card:hover > img { scale: 1.02; translate: 0 -5px; }
.cards-scroll .card h2, .cards-scroll .card h3 { margin: 30px 0 4px; font-size: 1.85rem; }
.cards-scroll .card p { margin: 0; font: italic 500 1.2rem/1.4 var(--serif); color: var(--muted); }
.dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 4px; }
.dots[hidden] { display: none; }
.dots button { width: 26px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: var(--line-strong); cursor: pointer; transition: background .3s, width .4s; }
.dots button[aria-current="true"] { width: 44px; background: var(--accent-ink); }
.dots .dots-arrow { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 8px; border: 1px solid var(--line-strong); border-radius: 50%; background: none; color: var(--ink); font: 400 1.1rem/1 var(--sans); }
.dots .dots-arrow:hover { background: var(--ink); color: var(--paper); }

/* ---------- sections : creme, nappe a carreaux, soiree ---------- */
.hero + .bloc { background: var(--paper-2); background-image: linear-gradient(90deg, var(--check) 50%, transparent 50%), linear-gradient(var(--check) 50%, transparent 50%); background-size: 36px 36px; }
.hero + .bloc + .bloc { --ink: var(--night-ink); --muted: var(--night-muted); --line-strong: var(--night-line); --accent-ink: var(--spark); position: relative; background: var(--night); color: var(--ink); overflow: hidden; isolation: isolate; }
.hero + .bloc + .bloc::before { content: ""; position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1; background: radial-gradient(60% 70% at 50% 0, rgba(255, 179, 92, .2), transparent 70%); }
.tint { background: var(--paper-2); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(36px, 5vw, 60px); }
.reviews .card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 56px 12px 8px; text-align: center; color: var(--ink); }
.reviews .card::before { content: "\201C"; position: absolute; top: 0; left: 50%; translate: -50% 0; font: 500 5.5rem/1 var(--serif); color: var(--accent-ink); opacity: .55; }
.reviews .card p { margin: 0 0 1em; font: italic 500 1.4rem/1.4 var(--serif); color: var(--ink); text-wrap: pretty; }
.reviews .card p:last-child { margin: auto 0 0; padding-top: 16px; font: 600 .74rem/1.4 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.reviews .card p:last-child::before { content: ""; display: block; width: 36px; height: 1px; margin: 0 auto 14px; background: var(--line-strong); }
.reviews .card strong { color: var(--ink); }
.avatar { display: none; }
.rating { order: -1; margin: 0 0 12px !important; font: 400 1rem/1 var(--sans) !important; letter-spacing: .3em; color: var(--accent-ink) !important; }

.band-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 960px; margin-inline: auto; padding: clamp(52px, 8vw, 96px) clamp(24px, 6vw, 80px); border: 1px solid color-mix(in srgb, var(--spark) 40%, transparent); background: radial-gradient(70% 90% at 50% 0, rgba(255, 179, 92, .22), transparent 70%), var(--night); color: var(--night-ink); text-align: center; box-shadow: inset 0 0 0 8px var(--night), inset 0 0 0 9px var(--night-line), var(--shadow); isolation: isolate; }
.band-box h2 { max-width: 18ch; margin: 0 0 .3em; color: inherit; }
.band-box h2::before { margin-bottom: .6rem; color: var(--spark) !important; }
.band-box p { margin: 0 0 2em; font-size: 1.12rem; color: var(--night-muted); }
.band-box .cta { padding: 19px 44px; }

/* ---------- en-tete ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: var(--ink); transition: color .4s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--paper) 90%, transparent); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: opacity .4s; }
.page-home .site-header:not(.scrolled) { color: var(--night-ink); }
.page-home .site-header:not(.scrolled)::before { opacity: 0; }
.header-inner { display: flex; align-items: center; gap: 28px; max-width: var(--w); margin: 0 auto; padding: 14px 24px; }
.logo { display: inline-flex; align-items: center; margin-right: auto; font: 600 1.85rem/1 var(--serif); letter-spacing: .01em; text-decoration: none; }
.logo img { width: auto; max-width: 170px; max-height: 44px; transition: filter .4s; }
.page-home .site-header:not(.scrolled) .logo img { filter: brightness(0) invert(1); }
:root[data-theme="dark"] .logo img { filter: brightness(0) invert(1) sepia(.3); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; padding: 6px 0; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: inherit; text-decoration: none; }
.nav a:not(.cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: center; transition: transform .45s var(--ease); }
.nav a:not(.cta):hover::after, .nav a[aria-current]:not(.cta)::after { transform: scaleX(1); }
.nav .cta { margin-left: 6px; padding: 12px 26px; font-size: .74rem; color: var(--color-main-text); }
.nav .ico, .nav .tab-home { display: none; }
.langues { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; }
.langues a { text-decoration: none; opacity: .6; transition: opacity .3s; }
.langues a.active, .langues a:hover { opacity: 1; }
.theme-toggle { margin-left: 4px; border-color: color-mix(in srgb, currentColor 50%, transparent); }

@media (max-width: 860px) {
	body { padding-bottom: 68px; }
	.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; justify-content: flex-start; gap: 0; overflow-x: auto; scrollbar-width: none; background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-strong); box-shadow: 0 -10px 30px rgba(60, 35, 15, .1); color: var(--muted); }
	.nav::-webkit-scrollbar { display: none; }
	.nav a, .nav .cta { flex: 1 0 auto; flex-direction: column; display: inline-flex; align-items: center; gap: 3px; margin: 0; padding: 10px 14px 9px; border: 0; border-radius: 0; background: none; color: inherit; font-size: .64rem; font-weight: 600; letter-spacing: .04em; text-transform: none; white-space: nowrap; filter: none; box-shadow: none; transform: none; }
	.nav a::after, .nav .cta::after { content: none !important; }
	.nav a[aria-current], .nav .cta[aria-current] { color: var(--accent-ink); box-shadow: inset 0 2px 0 var(--accent-ink); }
	.nav .cta:hover { filter: none; box-shadow: none; transform: none; }
	.nav .tab-home { display: inline-flex; }
	.nav .ico { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
	.header-inner { padding: 10px 20px; }
	.logo { font-size: 1.6rem; }
}

/* ---------- accueil ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: min(100svh, 940px); background: var(--night); color: var(--night-ink); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(30, 17, 9, .9) 0%, rgba(30, 17, 9, .66) 48%, rgba(30, 17, 9, .22) 100%), linear-gradient(0deg, rgba(30, 17, 9, .75), transparent 36%), linear-gradient(180deg, rgba(30, 17, 9, .55), transparent 24%); }
:root[data-theme="dark"] .hero::before { background: linear-gradient(90deg, rgba(14, 8, 4, .93) 0%, rgba(14, 8, 4, .74) 48%, rgba(14, 8, 4, .4) 100%), linear-gradient(0deg, rgba(14, 8, 4, .9), transparent 40%), linear-gradient(180deg, rgba(14, 8, 4, .6), transparent 24%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(38% 46% at 82% 76%, rgba(255, 179, 92, .3), transparent 70%), radial-gradient(26% 32% at 62% 20%, rgba(255, 179, 92, .16), transparent 70%); mix-blend-mode: screen; animation: lueur 6s ease-in-out infinite alternate; }
:root[data-theme="dark"] .hero::after { opacity: .9; }
@keyframes lueur { from { opacity: .55; } to { opacity: 1; } }
.hero .container { width: 100%; padding-top: 140px; padding-bottom: clamp(110px, 16vh, 150px); }
.hero-text { position: relative; z-index: 2; max-width: 46rem; }
.hero h1 { font-size: clamp(3.3rem, 8vw, 6.8rem); line-height: .95; color: var(--night-ink); text-shadow: 0 2px 30px rgba(20, 10, 4, .45); }
.hero h1 em { color: var(--spark); }
.hero .intro { margin-bottom: 2.4em; color: rgba(247, 236, 216, .92); text-align: left; margin-inline: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .cta { padding: 19px 40px; }
.hero .cta-plain { border-color: rgba(247, 236, 216, .6); color: var(--night-ink); }
.hero .cta-plain:hover { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }
.hero-visual { position: absolute; inset: 0; }
.hero-pic { width: 100%; height: 100%; object-fit: cover; object-position: 15% 50%; scale: 1.06; transition: scale 2.6s var(--ease); }
.ready .hero-pic { scale: 1; }
.hero-glass { position: absolute; bottom: 38px; right: max(24px, calc((100vw - var(--w)) / 2 + 24px)); z-index: 3; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 22px; border: 1px solid color-mix(in srgb, var(--spark) 45%, transparent); border-radius: 999px; background: rgba(24, 14, 8, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--night-ink); font: 600 .74rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.hero-glass > span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px; border-radius: 50%; background: var(--candle); box-shadow: 0 0 12px 2px var(--candle); animation: lueur 2.4s ease-in-out infinite alternate; }
.hero-glass .cta { padding: 11px 22px; font-size: .72rem; }

/* ---------- rubrique / article ---------- */
.page-list main > .bloc:first-child, .page-page main > .bloc:first-child, .page-contact main > .bloc:first-child, .page-error main > .bloc:first-child { padding-top: clamp(130px, 15vw, 180px); }
.page-list main > .bloc:first-child { background: var(--paper-2); background-image: linear-gradient(90deg, var(--check) 50%, transparent 50%), linear-gradient(var(--check) 50%, transparent 50%); background-size: 36px 36px; }
.banner { width: 100%; height: clamp(190px, 26vw, 340px); object-fit: cover; margin-bottom: clamp(36px, 5vw, 60px); border-radius: 4px; outline: 1px solid var(--line-strong); outline-offset: 8px; box-shadow: var(--shadow); }
.page-list h1, .page-page h1, .page-page .subtitle, .page-error h1, .page-error .intro, .page-error .code-404, .page-list .intro { text-align: center; margin-inline: auto; }
.page-page h1, .page-list h1 { margin-bottom: .25em; }
.page-page .subtitle { margin-bottom: 0; font: italic 500 1.45rem/1.4 var(--serif); }
.ariane { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.2em; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ariane a { color: var(--muted); text-decoration: none; }
.ariane a:hover { color: var(--ink); text-decoration: underline; }
.ariane [aria-current] { color: var(--accent-ink); }
.page-pic { width: 100%; max-height: 560px; aspect-ratio: 16 / 8; object-fit: cover; margin: clamp(28px, 4vw, 52px) 0; border-radius: 4px; outline: 1px solid var(--line-strong); outline-offset: 8px; box-shadow: var(--shadow); }
.text { max-width: 42rem; font-size: 1.12rem; line-height: 1.78; }
.page-page main > .bloc:first-child .text { margin-inline: auto; }
.text ul, .text ol { padding-left: 1.2em; }
.text li { margin-bottom: .45em; }
.text h3 { margin-top: 1.6em; font-size: 1.9rem; }

.section-pic_left .container, .section-pic_right .container { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(36px, 7vw, 100px); align-items: center; }
.section-pic_left img, .section-pic_right img, .section-text img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; outline: 1px solid var(--line-strong); outline-offset: 8px; box-shadow: var(--shadow); }
.section-pic_left img, .section-pic_right img { grid-row: 1 / span 2; }
.section-pic_right img { grid-column: 2; }
.section-pic_left .container > :not(img) { grid-column: 2; }
.section-pic_right .container > :not(img) { grid-column: 1; }
.section-pic_left h2, .section-pic_right h2 { align-self: end; }
.section-pic_left h2::before, .section-pic_right h2::before { content: ""; display: block; width: 44px; height: 1px; margin-bottom: 1.1rem; background: var(--accent-ink); }
.section-pic_left .text, .section-pic_right .text { align-self: start; }
.section-text img { aspect-ratio: 16 / 8; margin-bottom: 28px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; margin-top: 36px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.gallery img:hover { transform: translateY(-4px); }

/* ---------- formulaire / contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.contact-grid h1 { margin-bottom: .3em; }
.contact-grid .intro { margin-inline: 0; text-align: left; }
.info { display: grid; margin-top: 30px; border: 1px solid var(--line-strong); background: var(--card); box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6px var(--line); }
.info > div { padding: 20px 28px; }
.info > div:first-child { padding-top: 26px; }
.info > div + div { border-top: 1px solid var(--line); }
.info p { margin: 0; }
.info strong { font: 600 1.7rem/1.2 var(--serif); }
.info a[href^="tel:"] { font: 600 2rem/1.2 var(--serif); letter-spacing: .01em; color: var(--accent-ink); text-decoration: none; }
.info a[href^="tel:"]:hover { text-decoration: underline; }
.form-contact { display: grid; gap: 24px; max-width: 600px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-strong); background: var(--card); box-shadow: var(--shadow); }
.page-page .form-contact { margin-inline: auto; }
.form-group { display: grid; gap: 18px; }
.form-group label { display: grid; gap: 8px; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--paper); font: 400 1rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); resize: vertical; transition: border-color .3s, box-shadow .3s; }
.form-group input:focus, .form-group textarea:focus { outline: 0; border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-main) 28%, transparent); }
.form-contact .cta { justify-self: start; }
.message-ok, .message-ko { margin: 0; padding: 16px 20px; border-left: 3px solid; border-radius: 0 4px 4px 0; font-weight: 500; }
.message-ok { border-color: #2f7d46; background: #e8f4ea; color: #17462a; }
.message-ko { border-color: #b3261e; background: #fbe9e6; color: #7a1b15; }
:root[data-theme="dark"] .message-ok { background: #16281c; color: #b5e5c4; border-color: #4aa468; }
:root[data-theme="dark"] .message-ko { background: #2e1714; color: #f5b9b2; border-color: #d4574d; }
.code-404 { margin: 0; font: 500 clamp(8rem, 26vw, 19rem)/.8 var(--serif); color: var(--accent-ink); }
.page-error .code-404 { margin-bottom: .2em; }

/* ---------- horaires ---------- */
.hours { position: relative; padding: 0; }
.hours-title { margin: 0 0 .7em; font: 600 .72rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--accent-ink); }
.hours-title::before { content: "\2726"; margin-right: .7em; letter-spacing: 0; }
.hours-list { margin: 0; font: 500 1.4rem/1.55 var(--serif); color: var(--ink); }
.info .hours-list { font-size: 1.5rem; }

/* ---------- pied de page ---------- */
.site-footer { position: relative; padding: 76px 0 44px; background: var(--night); font-size: .95rem; color: var(--night-muted); --accent-ink: var(--spark); --ink: var(--night-ink); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--spark) 60%, transparent), transparent); }
:root[data-theme="dark"] .site-footer { background: #0c0704; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 32px; }
.footer-inner p { margin: 0 0 .6em; }
.footer-name { margin: 0 0 .4em !important; font: 600 2.1rem/1 var(--serif); color: var(--night-ink); }
.footer-links { display: grid; align-content: start; gap: 8px; }
.site-footer a { color: var(--night-muted); text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--night-ink); text-decoration: underline; text-decoration-color: var(--spark); }
.site-footer .hours-list { font-size: 1.25rem; color: var(--night-ink); }

/* ---------- apparitions ---------- */
.js [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .9s var(--ease), translate 1s var(--ease), background-color .35s; }
.js [data-reveal].in { opacity: 1; translate: 0 0; }
.js .hero-text > * { opacity: 0; translate: 0 22px; animation: entre 1s var(--ease) forwards; animation-delay: calc(var(--i) * 120ms + .15s); }
@keyframes entre { to { opacity: 1; translate: 0 0; } }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
	.container { padding-inline: 20px; }
	.hero { min-height: 680px; }
	.hero .container { padding-top: 110px; padding-bottom: 170px; }
	.hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
	.hero-actions .cta { flex: 1 1 100%; }
	.hero-glass { bottom: 24px; left: 20px; right: 20px; justify-content: space-between; }
	.contact-grid, .section-pic_left .container, .section-pic_right .container { grid-template-columns: 1fr; }
	.section-pic_left img, .section-pic_right img { grid-column: 1; grid-row: auto; margin-bottom: 30px; }
	.section-pic_left .container > :not(img), .section-pic_right .container > :not(img) { grid-column: 1; }
	.cards-scroll { margin-inline: -20px; padding-inline: 20px; }
	.cards:not(.cards-scroll) { padding-inline: 18px; }
	.cards:not(.cards-scroll) > .card > img { width: 62px; height: 62px; margin-right: 14px; }
	.cards:not(.cards-scroll) > .card > h2, .cards:not(.cards-scroll) > .card > h3 { font-size: 1.3rem; }
	.cards:not(.cards-scroll) > .card > p { font-size: 1.3rem; }
}

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

/* chiffres alignes (et non elzeviriens) pour les prix, les horaires et le telephone */
.hours-list, .info a[href^="tel:"], .cards:not(.cards-scroll) > .card > p, .code-404 { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
@media (min-width: 861px) {
	.footer-inner { grid-template-columns: 1fr .9fr 1.5fr 1fr; }
}
