/* ==========================================================================
   Nano Coffee — feuille de styles principale
   Motif : le « bon » de fête de village (ticket à souche perforée).
   ========================================================================== */

:root {
	--nc-brand: var(--wp--preset--color--moka, #5a3825);
	--nc-brand-deep: var(--wp--preset--color--torrefie, #2a1a11);
	--nc-accent: var(--wp--preset--color--caramel, #d9a35b);
	--nc-ticket: var(--wp--preset--color--creme, #f7ecdd);
	--nc-paper: var(--wp--preset--color--lait, #f5f0ea);
	--nc-surface: #ffffff;
	--nc-ink: var(--wp--preset--color--encre, #1e140e);
	--nc-muted: var(--wp--preset--color--gris, #6e6056);
	--nc-line: #ddd2c6;
	--nc-stub: color-mix(in srgb, var(--nc-accent) 38%, var(--nc-ticket));
	--nc-font-display: var(--wp--preset--font-family--display, "Bricolage Grotesque", system-ui, sans-serif);
	--nc-font-body: var(--wp--preset--font-family--body, "Atkinson Hyperlegible", system-ui, sans-serif);
	--nc-font-ui: "Nano Digits", var(--nc-font-body);
	--nc-wide: var(--wp--style--global--wide-size, 1240px);
	--nc-gutter: clamp(1rem, 4vw, 2.5rem);
	--nc-header-h: 76px;
	--nc-radius: 14px;
	--nc-radius-sm: 8px;
}

/* Chiffres : ceux de Bricolage Grotesque, plus chaleureux que le zéro barré d’Atkinson. */
@font-face {
	font-family: "Nano Digits";
	src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0030-0039;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nc-header-h) + 1rem); -webkit-text-size-adjust: 100%; }
html body {
	margin: 0;
	font-family: "Nano Digits", var(--nc-font-body);
	color: var(--nc-ink);
	background: var(--nc-surface);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
::selection { background: var(--nc-accent); color: var(--nc-ink); }
a { color: var(--nc-brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--nc-accent); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--nc-font-display); font-optical-sizing: auto; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 700; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	word-wrap: normal !important;
}
.nc-skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 1000;
	padding: .75rem 1.25rem;
	background: var(--nc-accent);
	color: var(--nc-ink);
	font-weight: 700;
	border-radius: 0 0 var(--nc-radius-sm) var(--nc-radius-sm);
	transition: top .15s;
}
.nc-skip:focus { top: 0; }
.nc-main:focus { outline: none; }
.nc-icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Boutons ---------- */
.wp-element-button, .wp-block-button__link, .nc-btn {
	font-family: var(--nc-font-ui);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 3rem;
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}
.wp-block-button__link:active, .nc-btn:active { transform: translateY(1px); }
.wp-block-button__link:hover { background-color: color-mix(in srgb, var(--nc-accent) 82%, #000); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: inherit;
	border: 2px solid currentColor;
	padding: calc(.85rem - 2px) calc(1.6rem - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.wp-block-button.nc-btn-ink > .wp-block-button__link { background: var(--nc-ink); color: #fff; }
.wp-block-button.nc-btn-ink > .wp-block-button__link:hover { background: var(--nc-brand); }
.nc-btn {
	padding: .7rem 1.4rem;
	border-radius: 99px;
	font-weight: 700;
	font-size: 1rem;
	border: 0;
}
.nc-btn--lampion { background: var(--nc-accent); color: var(--nc-ink); }
.nc-btn--lampion:hover { background: color-mix(in srgb, var(--nc-accent) 82%, #000); color: var(--nc-ink); }

/* ---------- En-tête ---------- */
.nc-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--nc-surface);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .nc-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .nc-header { top: 0; } }
.nc-header.is-scrolled { border-bottom-color: var(--nc-line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.nc-header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	max-width: calc(var(--nc-wide) + 2 * var(--nc-gutter));
	min-height: var(--nc-header-h);
	margin: 0 auto;
	padding: 0 var(--nc-gutter);
}
.nc-brand { flex: none; display: flex; align-items: center; }
.nc-brand .custom-logo { max-height: 52px; width: auto; display: block; }

.nc-wordmark {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	text-decoration: none;
	color: var(--nc-ink);
}
.nc-wordmark-cup { width: 2.3rem; height: 2.3rem; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nc-cup-body, .nc-cup-handle, .nc-cup-saucer { stroke: var(--nc-brand); }
.nc-cup-body { fill: var(--nc-accent); }
.nc-cup-steam { stroke: var(--nc-muted); }
.nc-wordmark-text {
	font-family: var(--nc-font-display);
	font-size: 1.55rem;
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1;
}
.nc-wordmark-text span { font-weight: 800; color: var(--nc-brand); }

.nc-header-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.nc-header-phone {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-weight: 700;
	color: var(--nc-ink);
	text-decoration: none;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.nc-header-phone:hover { color: var(--nc-brand); }

/* Navigation */
.nc-menu, .nc-menu ul { list-style: none; margin: 0; padding: 0; }
.nc-menu a { text-decoration: none; color: var(--nc-ink); font-weight: 700; }
.nc-sub-toggle {
	display: inline-grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	border-radius: 6px;
}
.nc-sub-toggle svg { width: .75rem; height: .75rem; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.nc-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nc-menu-toggle {
	display: none;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-right: -.5rem;
	border: 0;
	background: none;
	color: var(--nc-ink);
	cursor: pointer;
	border-radius: 50%;
}
.nc-menu-toggle .nc-icon { width: 1.6rem; height: 1.6rem; }
.nc-menu-toggle-close { display: none; }
.nc-menu-toggle[aria-expanded="true"] .nc-menu-toggle-open { display: none; }
.nc-menu-toggle[aria-expanded="true"] .nc-menu-toggle-close { display: grid; }
.nc-nav-contact { display: none; }

@media (min-width: 1180px) {
	.nc-nav { margin-left: auto; }
	.nc-menu a { white-space: nowrap; }
	.nc-menu { display: flex; align-items: center; gap: .25rem; }
	.nc-menu > li { position: relative; display: flex; align-items: center; }
	.nc-menu > li > a {
		display: block;
		padding: .55rem .6rem;
		border-radius: 8px;
		font-size: .97rem;
	}
	.nc-menu > li > a:hover, .nc-menu > li.current-menu-item > a, .nc-menu > li.current-menu-ancestor > a { color: var(--nc-brand); background: var(--nc-paper); }
	.nc-menu > li.current-menu-item > a, .nc-menu > li.current-menu-ancestor > a { box-shadow: inset 0 -3px 0 var(--nc-accent); border-radius: 8px 8px 2px 2px; }
	.nc-menu > li > .nc-sub-toggle { margin-left: -.45rem; }
	.nc-menu .sub-menu {
		position: absolute;
		top: calc(100% + .35rem);
		left: 0;
		min-width: 15rem;
		padding: .5rem;
		background: var(--nc-surface);
		border: 1px solid var(--nc-line);
		border-radius: 12px;
		box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .35);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-4px);
		transition: opacity .15s, transform .15s, visibility .15s;
	}
	.nc-menu .sub-menu::before { content: ""; position: absolute; inset: -.5rem 0 auto; height: .5rem; }
	.nc-menu li:hover > .sub-menu,
	.nc-menu li:focus-within > .sub-menu,
	.nc-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.nc-menu .sub-menu a { display: block; padding: .6rem .8rem; border-radius: 8px; font-weight: 400; }
	.nc-menu .sub-menu a:hover, .nc-menu .sub-menu .current-menu-item > a { background: var(--nc-paper); color: var(--nc-brand); }
	.nc-header-phone span { display: none; }
}
@media (min-width: 1500px) { .nc-header-phone span { display: inline; } }

@media (max-width: 1179.98px) {
	.nc-menu-toggle { display: grid; }
	.nc-header-phone { display: none; }
	.nc-nav {
		position: fixed;
		inset: var(--nc-nav-top, var(--nc-header-h)) 0 0 0;
		z-index: 99;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 1rem var(--nc-gutter) 2rem;
		background: var(--nc-surface);
		border-top: 1px solid var(--nc-line);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nc-nav.is-open { visibility: visible; opacity: 1; transform: none; }
	.nc-menu > li { border-bottom: 1px solid var(--nc-line); display: flex; flex-wrap: wrap; align-items: center; }
	.nc-menu > li > a { flex: 1; padding: 1rem 0; font-family: var(--nc-font-display); font-size: 1.4rem; letter-spacing: -.01em; }
	.nc-menu > li.current-menu-item > a, .nc-menu > li.current-menu-ancestor > a { color: var(--nc-brand); }
	.nc-menu .nc-sub-toggle { width: 3rem; height: 3rem; }
	.nc-menu .sub-menu { display: none; flex-basis: 100%; padding: 0 0 1rem 1rem; }
	.nc-menu li.is-open > .sub-menu { display: block; }
	.nc-menu .sub-menu a { display: block; padding: .6rem 0; font-weight: 400; font-size: 1.1rem; }
	.nc-nav-contact { display: grid; gap: .75rem; margin-top: 2rem; }
	.nc-nav-contact a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--nc-ink); text-decoration: none; }
	html.nc-nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
	.nc-header-cta { padding: .6rem 1rem; }
	.nc-wordmark-text { font-size: 1.3rem; }
	.nc-wordmark-cup { width: 2rem; height: 2rem; }
}

/* ---------- Contenu ---------- */
.nc-content { padding-bottom: 0; }
.nc-content > :first-child:not(.alignfull) { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.nc-content > :last-child:not(.alignfull) { margin-bottom: clamp(3rem, 7vw, 6rem); }
.nc-content > .alignfull:first-child { margin-top: 0; }
.nc-content > .alignfull { margin-block: 0; }
.nc-content > .alignfull + :not(.alignfull) { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.nc-content > :not(.alignfull) + .alignfull { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.nc-content h2 { margin-top: 2.5em; }
.nc-content h3 { margin-top: 1.8em; }
.nc-content :is(h2, h3):first-child { margin-top: 0; }
.nc-small { font-size: .9rem; color: var(--nc-muted); }
.nc-narrow > * { max-width: 65ch; }

/* Bandeau de titre : photo de fond + voile brun.
   Version bloc « Couverture » dans les pages (photo modifiable dans l’éditeur),
   version PHP pour les gabarits sans bandeau (photo réglée dans le Personnaliser). */
.nc-page-head {
	position: relative;
	color: #fff;
	padding: clamp(3rem, 8vw, 6rem) var(--nc-gutter) clamp(2.75rem, 7vw, 5rem);
	background:
		linear-gradient(rgba(42, 26, 17, .78), rgba(42, 26, 17, .78)),
		var(--nc-banner, none) center 75% / cover no-repeat,
		var(--nc-brand-deep);
}
.nc-page-head-inner { max-width: var(--nc-wide); margin: 0 auto; }
.nc-page-title {
	margin: 0;
	font-size: clamp(2.3rem, 5.5vw, 4.25rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.03em;
	max-width: 18ch;
}
.nc-page-lede { margin: 1.25rem 0 0; max-width: 56ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: rgba(255, 255, 255, .9); }
.nc-crumb { margin: 0 0 1rem; font-size: .95rem; }
.nc-crumb a, .nc-page-head a { color: var(--nc-accent); }

.wp-block-cover.nc-page-head {
	background: none;
	min-height: 0;
	align-items: flex-end;
	padding-top: clamp(4rem, 11vw, 8rem) !important;
	padding-bottom: clamp(2.75rem, 7vw, 4.5rem) !important;
}
.nc-page-head .nc-page-head-inner > *, .nc-page-head .wp-block-column > * { margin-top: 0; margin-bottom: 0; }
.nc-page-head .nc-page-title { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.nc-page-head .nc-page-lede { margin-top: 1.25rem !important; }
.nc-page-head-grid { align-items: center !important; gap: clamp(2rem, 5vw, 4rem) !important; margin: 0 !important; }
.nc-page-head-grid > .wp-block-column:first-child { flex-basis: 60% !important; }
.nc-page-head-grid > .wp-block-column:last-child { flex-basis: 40% !important; display: flex; justify-content: flex-end; }
.nc-page-head-grid .nc-ticket { width: min(100%, 24rem); filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .35)); }
@media (max-width: 781px) { .nc-page-head-grid > .wp-block-column:last-child { justify-content: flex-start; } }
.nc-content > .nc-page-head:first-child + .alignfull.nc-section:not(.nc-section--paper):not(.nc-section--booking) { margin-top: 0; }

/* Sections pleine largeur */
.nc-section {
	padding-top: clamp(3.5rem, 8vw, 6.5rem) !important;
	padding-bottom: clamp(3.5rem, 8vw, 6.5rem) !important;
}
.nc-section--paper { background: var(--nc-paper); }
.nc-section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem) !important; }
.nc-section-head h2 { margin: 0 0 .75rem; font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; }
.nc-section-head p { margin: 0; font-size: 1.15rem; color: var(--nc-muted); }
.nc-section h2 { font-weight: 800; letter-spacing: -.025em; }

/* ---------- Héros (bloc « Couverture » avec photo) ---------- */
.nc-hero {
	position: relative;
	color: #fff;
	min-height: min(88vh, 820px) !important;
	padding-top: clamp(4rem, 9vw, 7rem) !important;
	padding-bottom: clamp(3.5rem, 8vw, 6rem) !important;
	overflow: hidden;
}
.nc-hero .wp-block-cover__background { background-image: linear-gradient(90deg, rgba(42, 26, 17, .55), rgba(42, 26, 17, 0) 75%); }
.nc-hero-grid { align-items: center !important; gap: clamp(2.5rem, 6vw, 5rem) !important; margin: 0 !important; }
.nc-hero-grid > .wp-block-column:first-child { flex-basis: 58% !important; }
.nc-hero-grid > .wp-block-column:last-child { flex-basis: 42% !important; display: flex; justify-content: flex-end; filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .45)); }
.nc-hero-grid > .wp-block-column > * { margin-top: 0; margin-bottom: 0; }
.nc-hero-kicker { margin: 0; font-size: 1.05rem; font-weight: 700; color: color-mix(in srgb, var(--nc-accent) 55%, #fff); max-width: 40ch; }
.nc-hero-title {
	margin: 1.25rem 0 0 !important;
	text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
	font-size: clamp(2.75rem, 6.6vw, 5.4rem) !important;
	font-weight: 800;
	line-height: .98;
	letter-spacing: -.035em;
	max-width: 12ch;
	color: #fff;
}
.nc-hero-lede { margin: 1.75rem 0 0 !important; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.55; max-width: 44ch; color: rgba(255, 255, 255, .9); }
.nc-hero-buttons { margin-top: 2.25rem !important; gap: .75rem !important; }
.nc-hero .is-style-outline > .wp-block-button__link { color: #fff; }

/* ---------- Ticket (bon) ---------- */
.nc-ticket {
	--stub: 6.5rem;
	--notch: 11px;
	position: relative;
	display: grid !important;
	grid-template-columns: var(--stub) minmax(0, 1fr);
	background: var(--nc-ticket);
	color: var(--nc-ink);
	border-radius: var(--nc-radius);
	-webkit-mask:
		radial-gradient(circle var(--notch) at var(--stub) 0, #0000 98%, #000) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at var(--stub) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
	mask:
		radial-gradient(circle var(--notch) at var(--stub) 0, #0000 98%, #000) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at var(--stub) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.nc-ticket > * { margin: 0 !important; }
.nc-ticket-stub {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: .25rem;
	padding: 1.25rem .5rem;
	background: var(--nc-stub);
	text-align: center;
	border-right: 2px dashed color-mix(in srgb, var(--nc-ink) 28%, transparent);
}
.nc-ticket-stub p { margin: 0; }
.nc-ticket-body { padding: 1.5rem 1.6rem; min-width: 0; }
.nc-ticket-body > * { margin: 0; }
.nc-ticket-body > * + * { margin-top: .6rem; }
.nc-ticket-price {
	font-family: var(--nc-font-display);
	font-weight: 800;
	font-size: 3.4rem;
	line-height: 1;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
}
.nc-ticket-unit { color: var(--nc-muted); font-size: 1rem; }
.nc-ticket-list { list-style: none; padding: 1rem 0 0 !important; border-top: 1px solid color-mix(in srgb, var(--nc-ink) 15%, transparent); margin-top: 1rem !important; }
.nc-ticket-list li { position: relative; padding-left: 1.6rem; }
.nc-ticket-list li + li { margin-top: .4rem; }
.nc-ticket-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .3em;
	width: 1rem;
	height: 1rem;
	background: var(--nc-brand);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nc-ticket-fine { font-size: .85rem; color: var(--nc-muted); padding-top: .4rem; }

/* Souche verticale (héros et tickets mis en avant) */
.nc-ticket--hero, .nc-ticket--feature { --stub: 4.25rem; }
.nc-ticket--hero .nc-ticket-stub p,
.nc-ticket--feature .nc-ticket-stub p {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-family: var(--nc-font-display);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: .01em;
	white-space: nowrap;
}
.nc-ticket--hero .nc-ticket-body, .nc-ticket--feature .nc-ticket-body { padding: 1.75rem 1.9rem 1.6rem; }

.nc-ticket--hero {
	width: min(100%, 25rem);
	transform: rotate(-2.5deg);
	animation: nc-print 1s cubic-bezier(.2, .9, .25, 1.15) .15s both;
}
.nc-ticket--hero .nc-ticket-price { font-size: clamp(3.4rem, 6vw, 4.6rem); }
@keyframes nc-print {
	from { opacity: 0; transform: translateY(-28px) rotate(-7deg); }
	to { opacity: 1; transform: rotate(-2.5deg); }
}

/* Les grilles ne doivent pas hériter des marges du flux WordPress. */
.nc-tickets > *, .nc-facts > *, .nc-depots > *, .nc-callout-inner > * { margin: 0 !important; }

.nc-tickets--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }

/* Tickets de service */
.nc-tickets {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr));
}
.nc-ticket--service { --stub: 8rem; transition: transform .2s, background-color .2s; }
.nc-ticket--service .nc-ticket-price { font-size: 1.45rem; letter-spacing: -.02em; white-space: nowrap; }
.nc-ticket-price small { display: block; font-family: var(--nc-font-body); font-size: .8rem; font-weight: 400; letter-spacing: 0; margin-bottom: .15rem; }
.nc-ticket--service .nc-ticket-unit { font-size: .85rem; color: var(--nc-ink); opacity: .75; }
.nc-ticket--service .nc-ticket-body { padding: 1.35rem 1.5rem; }
.nc-ticket--service h3 { margin: 0; font-size: 1.35rem; font-weight: 700; line-height: 1.15; }
.nc-ticket--service h3 a { color: var(--nc-ink); text-decoration: none; }
.nc-ticket--service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--nc-radius); }
.nc-ticket--service p:not(.nc-ticket-price):not(.nc-ticket-unit) { color: var(--nc-muted); font-size: .98rem; line-height: 1.5; }
.nc-ticket--service:hover { transform: translateY(-3px); }
.nc-ticket--service:hover h3 a { text-decoration: underline; text-decoration-thickness: 2px; }
.nc-ticket--service:has(a:focus-visible) { outline: 3px solid var(--nc-brand); outline-offset: 3px; }
.nc-ticket--service h3 a:focus-visible { outline: none; }

/* ---------- Colonnes texte + ticket ---------- */
.nc-split { gap: clamp(2rem, 6vw, 5rem) !important; align-items: flex-start !important; }
.nc-split > .wp-block-column:first-child { flex-basis: 58% !important; }
.nc-split > .wp-block-column:last-child { flex-basis: 42% !important; }
@media (min-width: 782px) {
	.nc-split > .wp-block-column:last-child { position: sticky; top: calc(var(--nc-header-h) + 2rem); }
}
.nc-split .nc-ticket--feature { max-width: 26rem; }
.nc-split h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-top: 0; }
.nc-split h3 { margin-top: 2rem; }

/* Liste à coches */
.nc-checklist, .is-style-checklist { list-style: none; padding-left: 0; }
.nc-checklist li, .is-style-checklist li { position: relative; padding-left: 2.1rem; }
.nc-checklist li + li, .is-style-checklist li + li { margin-top: .55rem; }
.nc-checklist li::before, .is-style-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: var(--nc-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.7 2.7L12 5.5' fill='none' stroke='%235A3825' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Étapes ---------- */
.nc-steps {
	list-style: none;
	counter-reset: step;
	display: grid;
	gap: 2rem 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	padding: 0;
	margin: 0;
}
.nc-steps li { counter-increment: step; position: relative; padding-top: 4.25rem; color: var(--nc-muted); line-height: 1.5; }
.nc-steps li strong { display: block; color: var(--nc-ink); font-family: var(--nc-font-display); font-size: 1.3rem; line-height: 1.2; margin-bottom: .4rem; }
.nc-steps li::before {
	content: counter(step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--nc-brand);
	color: #fff;
	font-family: var(--nc-font-display);
	font-weight: 800;
	font-size: 1.35rem;
}
.nc-steps li::after {
	content: "";
	position: absolute;
	top: 1.5rem;
	left: 3.75rem;
	right: .25rem;
	border-top: 2px dashed var(--nc-line);
}
.nc-steps li:last-child::after { display: none; }
@media (max-width: 760px) {
	.nc-steps li { padding: 0 0 0 4.25rem; min-height: 3rem; }
	.nc-steps li::after { top: 3.5rem; bottom: -1.75rem; left: 1.5rem; right: auto; border-top: 0; border-left: 2px dashed var(--nc-line); }
}

/* ---------- À propos (accueil) ---------- */
.nc-about { gap: clamp(2rem, 6vw, 5rem) !important; align-items: center !important; }
.nc-about h2 { margin-top: 0; font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.nc-quote { border-left: 6px solid var(--nc-accent); padding: .25rem 0 .25rem clamp(1.25rem, 3vw, 2rem); }
.nc-quote-text { font-family: var(--nc-font-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--nc-brand); margin: 0; }
.nc-quote-cite { margin: 1rem 0 0; color: var(--nc-muted); }

/* ---------- Faits (3 colonnes) ---------- */
.nc-facts {
	display: grid;
	gap: 1.5rem 2rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	margin-top: 1.5rem !important;
	margin-bottom: 2rem !important;
}
.nc-fact { border-top: 3px solid var(--nc-brand); padding-top: 1rem; }
.nc-fact h3 { margin: 0 0 .4rem !important; font-size: 1.2rem; }
.nc-fact p { margin: 0; color: var(--nc-muted); }
.nc-fact a { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Dépositaires ---------- */
.nc-depots {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
}
.nc-depot {
	border: 1.5px solid var(--nc-line);
	border-radius: var(--nc-radius);
	padding: 1.5rem;
}
.nc-depot > * { margin: 0 !important; }
.nc-depot > * + * { margin-top: .6rem !important; }
.nc-depot h3 { font-size: 1.3rem; }
.nc-depot-name, .nc-depot-zone { color: var(--nc-muted); }
.nc-depot a { font-weight: 700; color: var(--nc-ink); font-variant-numeric: tabular-nums; }
.nc-depot--main { background: var(--nc-brand); border-color: var(--nc-brand); color: #fff; }
.nc-depot--main .nc-depot-zone { color: var(--nc-accent); }
.nc-depot--main a { color: #fff; }
@media (min-width: 900px) { .nc-depot--main { grid-row: span 2; } }

.nc-partners { columns: 2 18rem; column-gap: 2rem; }
.nc-partners li { break-inside: avoid; margin-bottom: .4rem; }

/* ---------- Réservation ---------- */
.nc-section--booking { background: var(--nc-paper); }
.nc-section--paper + .nc-section--booking { padding-top: 0 !important; }
.nc-section--booking .nf-block,
.nc-section--booking .wp-block-shortcode,
.nc-section--booking > .nf {
	background: var(--nc-surface);
	border-radius: 20px;
	padding: clamp(1.25rem, 4vw, 3rem);
	box-shadow: 0 1px 0 var(--nc-line), 0 30px 60px -40px rgba(42, 26, 17, .45);
}
.nc-section--booking .nc-section-head h2 { scroll-margin-top: calc(var(--nc-header-h) + 1.5rem); }

/* ---------- Grille tarifaire (style de tableau « Tarifs ») ---------- */
.wp-block-table.is-style-nc-tarifs { margin: 0; overflow-x: auto; }
.wp-block-table.is-style-nc-tarifs table { table-layout: auto; border-collapse: separate; border-spacing: 0; width: 100%; min-width: 34rem; background: var(--nc-ticket); border-radius: var(--nc-radius); overflow: hidden; font-variant-numeric: tabular-nums; }
.wp-block-table.is-style-nc-tarifs th, .wp-block-table.is-style-nc-tarifs td { border: 0; padding: .9rem 1.25rem; text-align: left; vertical-align: top; }
.wp-block-table.is-style-nc-tarifs thead th { background: var(--nc-brand); color: #fff; font-family: var(--nc-font-display); font-weight: 700; font-size: 1.05rem; }
.wp-block-table.is-style-nc-tarifs tbody tr + tr td { border-top: 2px dashed color-mix(in srgb, var(--nc-ink) 16%, transparent); }
.wp-block-table.is-style-nc-tarifs td:first-child { font-weight: 700; width: 32%; }
.wp-block-table.is-style-nc-tarifs th:nth-child(2), .wp-block-table.is-style-nc-tarifs td:nth-child(2) { width: 9rem; }
.wp-block-table.is-style-nc-tarifs td:nth-child(2) { font-family: var(--nc-font-display); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.wp-block-table.is-style-nc-tarifs td:last-child:not(:nth-child(2)) { color: var(--nc-muted); }
.wp-block-table.is-style-nc-tarifs figcaption { margin-top: .75rem; font-size: .9rem; color: var(--nc-muted); }

/* ---------- Questions fréquentes ---------- */
.nc-faq { max-width: 52rem; }
.nc-faq .wp-block-details { border-top: 1px solid var(--nc-line); margin: 0 !important; padding: 0; }
.nc-faq .wp-block-details:last-child { border-bottom: 1px solid var(--nc-line); }
.nc-faq summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 1.25rem 3rem 1.25rem 0;
	font-family: var(--nc-font-display);
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1.3;
}
.nc-faq summary::-webkit-details-marker { display: none; }
.nc-faq summary::after {
	content: "";
	position: absolute;
	right: .25rem;
	top: 50%;
	width: 1.75rem;
	height: 1.75rem;
	margin-top: -.875rem;
	border-radius: 50%;
	background: var(--nc-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%231E140E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 55% no-repeat;
	transition: transform .2s;
}
.nc-faq details[open] summary::after { transform: rotate(45deg); }
.nc-faq summary:hover { color: var(--nc-brand); }
.nc-faq summary:focus-visible { outline-offset: 4px; }
.nc-faq .wp-block-details > :not(summary) { margin: 0 0 1.25rem; max-width: 65ch; color: var(--nc-muted); }

/* ---------- Styles de blocs ---------- */
.wp-block-button.is-style-ink > .wp-block-button__link { background: var(--nc-ink); color: #fff; }
.wp-block-button.is-style-ink > .wp-block-button__link:hover { background: var(--nc-brand); }
.wp-block-group.is-style-nc-fiche { border-top: 3px solid var(--nc-brand); padding-top: 1rem; }
.wp-block-group.is-style-nc-carte { border: 1.5px solid var(--nc-line); border-radius: var(--nc-radius); padding: 1.5rem; }
.wp-block-group.is-style-nc-carte > *, .wp-block-group.is-style-nc-fiche > * { margin-top: 0; margin-bottom: 0; }
.wp-block-group.is-style-nc-carte > * + *, .wp-block-group.is-style-nc-fiche > * + * { margin-top: .6rem; }

/* ---------- Bandeau d'appel ---------- */
.nc-callout {
	background: var(--nc-accent);
	color: var(--nc-ink);
	padding-top: clamp(3rem, 7vw, 5rem) !important;
	padding-bottom: clamp(3rem, 7vw, 5rem) !important;
}
.nc-callout-inner { display: flex !important; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.nc-callout-text { flex: 1 1 30rem; }
.nc-callout h2 { margin: 0 0 .5rem; font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
.nc-callout p { margin: 0; max-width: 52ch; font-size: 1.1rem; }
.nc-callout-buttons { gap: .75rem !important; }
.nc-callout .wp-block-button:not(.nc-btn-ink) > .wp-block-button__link { color: var(--nc-ink); }
.nc-content > .nc-callout:last-child { margin-bottom: 0 !important; }

/* ---------- Galerie dans les sections ---------- */
.nc-section .ng-block + .wp-block-buttons { margin-top: 1.5rem; }

/* ---------- Articles ---------- */
.nc-posts { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.nc-post-card-media img { border-radius: var(--nc-radius); display: block; aspect-ratio: 4/3; object-fit: cover; }
.nc-post-card-title { font-size: 1.35rem; margin: 1rem 0 .25rem; }
.nc-post-card-title a { color: var(--nc-ink); text-decoration: none; }
.nc-post-card-date { color: var(--nc-muted); font-size: .9rem; margin: 0; }
.nc-single-media img { border-radius: var(--nc-radius); }

/* ---------- Pied de page ---------- */
.nc-footer { background: var(--nc-brand-deep); color: rgba(255, 255, 255, .82); font-size: .98rem; }
.nc-footer a { color: #fff; text-decoration: none; }
.nc-footer a:hover { text-decoration: underline; }
.nc-footer-inner {
	display: grid;
	gap: 2.5rem 3rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	max-width: calc(var(--nc-wide) + 2 * var(--nc-gutter));
	margin: 0 auto;
	padding: clamp(3rem, 7vw, 5rem) var(--nc-gutter) 2.5rem;
}
.nc-footer-brand { grid-column: span 1; }
@media (min-width: 900px) { .nc-footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.nc-footer .nc-wordmark { color: #fff; }
.nc-footer .nc-wordmark-text span { color: var(--nc-accent); }
.nc-footer .nc-cup-body, .nc-footer .nc-cup-handle, .nc-footer .nc-cup-saucer { stroke: #fff; }
.nc-footer .nc-cup-steam { stroke: rgba(255, 255, 255, .55); }
.nc-footer-brand p { max-width: 36ch; margin: 1.25rem 0 0; line-height: 1.55; }
.nc-footer-title { margin: 0 0 1rem; font-size: 1.05rem; color: #fff; font-weight: 700; }
.nc-footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.nc-footer-list a, .nc-footer-address { display: inline-flex; gap: .6rem; align-items: flex-start; }
.nc-footer-list .nc-icon { margin-top: .2em; color: var(--nc-accent); }
.nc-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 2rem;
	justify-content: space-between;
	align-items: center;
	max-width: calc(var(--nc-wide) + 2 * var(--nc-gutter));
	margin: 0 auto;
	padding: 1.25rem var(--nc-gutter) 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: .9rem;
}
.nc-footer-bottom p { margin: 0; }
.nc-footer-legal { display: flex; align-items: center; gap: 1.25rem; }
.nc-legal-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }
.nc-social { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); }
.nc-social:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Pagination ---------- */
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; }
.page-numbers { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .75rem; border: 1.5px solid var(--nc-line); border-radius: 99px; text-decoration: none; color: var(--nc-ink); }
.page-numbers.current { background: var(--nc-brand); border-color: var(--nc-brand); color: #fff; }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.nc-hero-grid > .wp-block-column:last-child { justify-content: flex-start; }
	.nc-ticket--hero { width: 100%; max-width: 24rem; }
	.nc-split > .wp-block-column:last-child { order: -1; }
	.nc-split .nc-ticket--feature { max-width: none; }
}
@media (max-width: 520px) {
	.nc-ticket--service { --stub: 6.5rem; }
	.nc-ticket--service .nc-ticket-price { font-size: 1.2rem; }
	.nc-ticket--service .nc-ticket-body { padding: 1.1rem 1.15rem; }
	.nc-hero-buttons .wp-block-button { width: 100%; }
	.nc-hero-buttons .wp-block-button__link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.nc-ticket--hero { animation: none; }
}

@media print {
	.nc-header, .nc-footer, .nf-nav, .wp-block-cover__image-background { display: none !important; }
	.nc-hero, .nc-page-head { background: none; color: var(--nc-ink); }
}
