/* Styles communs : repris de la maquette (corps, liens, sélection). Chaque section a sa feuille dans sections/. */

html,
body {
	margin: 0;
	padding: 0;
}

/* Arrivée sur /#boutique depuis une autre page : la section s'arrête sous l'en-tête collant (96 px). */
:root {
	scroll-padding-top: calc(96px + var(--wp-admin--admin-bar--height, 0px));
}

body {
	background: #FFF7EA;
	color: #3A2414;
	font-family: 'Bricolage Grotesque', system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

a {
	color: #3A2414;
	text-decoration: none;
}

a:hover {
	color: #D7362B;
}

::selection {
	background: #F5B82E;
	color: #3A2414;
}

/* La maquette enveloppe la page dans un bloc qui coupe les débordements horizontaux. */
.wp-site-blocks {
	position: relative;
	background: #FFF7EA;
	overflow-x: clip;
}

/* L'en-tête collant doit avoir la page entière comme conteneur, pas l'enveloppe du gabarit. */
.lfo-entete-part {
	display: contents;
}

.wp-site-blocks > *,
.lfo-main > *,
.lfo-main .wp-block-post-content > * {
	margin-block: 0;
}

/* Visionneuse : les photos s'agrandissent au clic (assets/js/main.js). */
img {
	cursor: zoom-in;
}

header img,
a img,
button img,
[data-no-zoom] img,
img[data-no-zoom] {
	cursor: inherit;
}

/* Pages simples : mentions légales, CGV, cookies. */
.page-simple {
	padding: clamp(40px, 6vw, 90px) clamp(18px, 4vw, 60px);
}

.page-simple__wrap {
	max-width: 820px;
	margin: 0 auto;
}

.page-simple h1 {
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	margin: 0 0 32px;
}

.prose {
	font-size: 17px;
	line-height: 1.6;
}

.prose h2 {
	font-size: 26px;
	font-weight: 800;
	margin: 40px 0 12px;
}

.prose a {
	color: #D7362B;
	text-decoration: underline;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

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