/**
 * Styles principaux du thème TU from Tutch.
 */

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--creme);
	color: var(--brun);
	font-family: var(--police-texte);
	font-size: 1rem;
	line-height: 1.6;
	overflow-x: clip;
}

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

a { color: inherit; }

:focus-visible {
	outline: 2px solid var(--brun);
	outline-offset: 3px;
}

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

/* ---------- Fond vaporeux animé ---------- */

.ambiance {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background: var(--creme);
	pointer-events: none;
}

.ambiance__forme {
	position: absolute;
	width: 70vmax;
	aspect-ratio: 1;
	border-radius: 50%;
	will-change: transform;
	animation: derive var(--duree-ambiance) var(--ease-doux) infinite alternate;
}

.ambiance__forme--1 { top: -25vmax; left: -20vmax; background: radial-gradient(circle, var(--peach-fuzz) 0%, transparent 65%); }
.ambiance__forme--2 { top: 10vmax; right: -30vmax; background: radial-gradient(circle, var(--rose-poudre) 0%, transparent 62%); animation-duration: calc(var(--duree-ambiance) * 1.3); animation-direction: alternate-reverse; }
.ambiance__forme--3 { bottom: -35vmax; left: 5vmax; background: radial-gradient(circle, var(--peche-clair) 0%, transparent 60%); animation-duration: calc(var(--duree-ambiance) * .8); }
.ambiance__forme--4 { top: 30vmax; left: 35vmax; width: 45vmax; background: radial-gradient(circle, var(--lavande) 0%, transparent 60%); opacity: .55; animation-duration: calc(var(--duree-ambiance) * 1.6); }
.ambiance__forme--5 { top: -10vmax; left: 40vmax; width: 35vmax; background: radial-gradient(circle, var(--blanc) 0%, transparent 65%); animation-duration: calc(var(--duree-ambiance) * 1.1); animation-direction: alternate-reverse; }

@keyframes derive {
	0%   { transform: translate(0, 0) scale(1); }
	50%  { transform: translate(8vmax, 6vmax) scale(1.12); }
	100% { transform: translate(-6vmax, 10vmax) scale(.94); }
}

/* Grain très léger, pour éviter l'aspect trop numérique */
.ambiance::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
	opacity: .07;
	mix-blend-mode: multiply;
}

/* ---------- En-tête ---------- */

.entete {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem var(--marge);
	transition: background var(--duree-rapide) var(--ease-doux), box-shadow var(--duree-rapide) var(--ease-doux);
}

/* Fond crème flouté dès qu'on quitte le haut de la page */
.entete.est-defile {
	background: color-mix(in srgb, var(--creme) 82%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 color-mix(in srgb, var(--brun) 10%, transparent);
}

.signature {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	text-decoration: none;
	color: var(--brun);
}

.signature__logo { width: 2.1rem; height: auto; transition: transform var(--duree-rapide) var(--ease-doux); }
.signature:hover .signature__logo { transform: rotate(-8deg) scale(1.06); }

.signature__tu {
	font-family: var(--police-titre);
	font-weight: 700;
	font-size: 1.6rem;
	line-height: 1;
	letter-spacing: -.02em;
}

.signature__from {
	font-family: var(--police-signature);
	font-style: italic;
	font-size: 1.05rem;
	line-height: 1;
	color: var(--brun-doux);
	padding-left: .55rem;
	border-left: 1px solid currentColor;
	white-space: nowrap;
}

.entete__nav ul {
	display: none;
	list-style: none;
	margin: 0; padding: 0;
	gap: 2rem;
}

.entete__nav a {
	text-decoration: none;
	font-weight: 600;
	font-size: .95rem;
	background: linear-gradient(var(--brun), var(--brun)) left bottom / 0 1px no-repeat;
	transition: background-size var(--duree-rapide) var(--ease-doux);
}

.entete__nav a:hover { background-size: 100% 1px; }

.entete__panier {
	display: inline-grid;
	place-items: center;
	width: 2.75rem; height: 2.75rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--blanc) 55%, transparent);
	backdrop-filter: blur(8px);
	transition: background var(--duree-rapide) var(--ease-doux), transform var(--duree-rapide) var(--ease-doux);
}

.entete__panier:hover { background: var(--peach-fuzz); transform: scale(1.06); }

/* Bouton « Menu » (mobile) */
.entete__menu-bouton {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	margin-left: auto;
	padding: .6rem 1rem;
	border: 0;
	border-radius: 999px;
	background: color-mix(in srgb, var(--blanc) 55%, transparent);
	backdrop-filter: blur(8px);
	color: var(--brun);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.entete__menu-icone,
.entete__menu-icone::before {
	display: block;
	width: 1.1rem;
	height: 2px;
	background: currentColor;
	transition: transform var(--duree-rapide) var(--ease-doux);
}

.entete__menu-icone { position: relative; }
.entete__menu-icone::before { content: ''; position: absolute; top: 6px; }
.entete__menu-icone { transform: translateY(-3px); }

.entete.est-ouvert .entete__menu-icone { transform: rotate(45deg); }
.entete.est-ouvert .entete__menu-icone::before { transform: translateY(-6px) rotate(-90deg); }

/* Menu plein écran sur mobile */
@media (max-width: 899px) {
	.entete__nav {
		position: fixed;
		inset: 0;
		z-index: -1;
		display: grid;
		align-content: center;
		padding: 6rem var(--marge) 3rem;
		background:
			radial-gradient(circle at 20% 20%, var(--peach-fuzz) 0, transparent 50%),
			radial-gradient(circle at 85% 80%, var(--rose-poudre) 0, transparent 50%),
			var(--creme);
		opacity: 0;
		visibility: hidden;
		transition: opacity .35s var(--ease-doux), visibility .35s;
	}

	.entete.est-ouvert .entete__nav { opacity: 1; visibility: visible; }

	.entete__nav ul { display: grid; gap: 1.2rem; }

	.entete__nav a {
		font-family: var(--police-titre);
		font-weight: 700;
		font-size: clamp(2.4rem, 12vw, 3.6rem);
		line-height: 1;
		letter-spacing: -.03em;
		word-spacing: .12em;
	}

	.entete.est-ouvert { background: transparent; box-shadow: none; backdrop-filter: none; }
	body.menu-ouvert { overflow: hidden; }
}

@media (min-width: 900px) {
	.entete__nav ul { display: flex; }
	.entete__menu-bouton { display: none; }
	.entete__panier { margin-left: 0; }
}

/* ---------- Accueil : écran d'arrivée ---------- */

/* Le logo diamant au centre, la signature « TU | from Tutch » dessous */
.accueil-hero {
	--mx: 0;
	--my: 0;
	position: relative;
	min-height: 100svh;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: clamp(1.4rem, 3.5vh, 2.4rem);
	padding: 5.5rem var(--marge) 2.5rem;
	text-align: center;
	overflow: hidden;
}

.accueil-hero__bijou {
	position: relative;
	z-index: 2;
	width: clamp(240px, 70vw, 520px);
	transform:
		perspective(900px)
		rotateY(calc(var(--mx) * 10deg))
		rotateX(calc(var(--my) * -10deg))
		translate(calc(var(--mx) * 14px), calc(var(--my) * 14px));
	transition: transform .6s var(--ease-doux);
	pointer-events: none;
}

.accueil-hero__flottement {
	position: relative;
	aspect-ratio: 1200 / 1098;
	animation: flotter var(--duree-flottement) ease-in-out infinite;
}

/* Halo pêche flou derrière le bijou : la profondeur de champ */
.accueil-hero__flottement::before {
	content: '';
	position: absolute;
	inset: 12%;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--halo) 80%, transparent) 0%, transparent 70%);
	filter: blur(30px);
	animation: respirer calc(var(--duree-flottement) * 1.4) ease-in-out infinite;
}

.accueil-hero__flottement img { width: 100%; height: 100%; }

/* Reflet qui suit le curseur, limité à la forme du bijou */
.accueil-hero__reflet {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		circle at calc(50% + var(--mx) * 45%) calc(45% + var(--my) * 45%),
		rgba(255, 255, 255, .95) 0%,
		rgba(255, 240, 230, .35) 18%,
		transparent 38%
	);
	-webkit-mask: url('../img/logo-diamant-masque.webp') center / 100% 100% no-repeat;
	mask: url('../img/logo-diamant-masque.webp') center / 100% 100% no-repeat;
	mix-blend-mode: screen;
	opacity: .7;
}

/* Éclats qui scintillent */
.eclat {
	position: absolute;
	width: var(--t, 28px);
	aspect-ratio: 1;
	translate: -50% -50%;
	background:
		linear-gradient(transparent 46%, #fff 50%, transparent 54%),
		linear-gradient(90deg, transparent 46%, #fff 50%, transparent 54%),
		radial-gradient(circle, #fff 0%, rgba(255, 255, 255, .6) 12%, transparent 30%);
	clip-path: polygon(50% 0, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0 50%, 44% 44%);
	opacity: 0;
	animation: scintiller 3.6s ease-in-out infinite;
	animation-delay: var(--d, 0s);
}

@keyframes flotter {
	0%, 100% { transform: translateY(0) rotate(-2deg); }
	50%      { transform: translateY(-18px) rotate(2deg); }
}

@keyframes respirer {
	0%, 100% { opacity: .75; scale: 1; }
	50%      { opacity: 1; scale: 1.08; }
}

@keyframes scintiller {
	0%, 70%, 100% { opacity: 0; scale: .3; rotate: 0deg; }
	80%           { opacity: 1; scale: 1; rotate: 45deg; }
}

/* Signature sous le logo : le monogramme fait le « TU », « from Tutch » le complète */
.accueil-hero__signature {
	position: relative;
	z-index: 3;
	margin: calc(clamp(1.4rem, 3.5vh, 2.4rem) * -.5) 0 0; /* collée au logo, comme une seule signature */
	font-weight: normal;
	line-height: 1;
}

/* Même taille que la version validée par le client (avec « TU ») */
.accueil-hero__signature .signature__from {
	padding-left: 0;
	border-left: 0;
	font-size: clamp(1.5rem, 6vw, 2.6rem);
}

/* Bas de l'écran : accroche + bouton */
.accueil-hero__pied {
	position: relative;
	z-index: 3;
	display: grid;
	justify-items: center;
	gap: 1.2rem;
}

.accueil-hero__accroche {
	margin: 0;
	max-width: 28ch;
	font-size: clamp(1.05rem, 2.6vw, 1.3rem);
	font-weight: 500;
	line-height: 1.35;
}

.bouton {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	padding: 1rem 1.6rem;
	border-radius: 999px;
	background: var(--brun);
	color: var(--blanc);
	font-weight: 600;
	text-decoration: none;
	transition: background var(--duree-rapide) var(--ease-doux), color var(--duree-rapide) var(--ease-doux), transform var(--duree-rapide) var(--ease-doux);
}

.bouton__fleche { transition: transform var(--duree-rapide) var(--ease-doux); }

.bouton:hover {
	background: var(--peche-soutenu);
	color: var(--brun);
	transform: translateY(-2px);
}

.bouton:hover .bouton__fleche { transform: translateX(4px); }

@media (min-width: 900px) {
	.accueil-hero__bijou { width: clamp(340px, 36vw, 560px); }
}

/* ---------- Apparitions au défilement ---------- */

.js .apparait {
	opacity: 0;
	translate: 0 40px;
	transition: opacity .9s var(--ease-doux), translate .9s var(--ease-doux);
	transition-delay: calc(var(--i, 0) * 90ms);
}

.js .apparait.est-visible {
	opacity: 1;
	translate: 0 0;
}

/* ---------- Titres ---------- */

.titre-geant {
	position: relative;
	margin: 0;
	font-family: var(--police-titre);
	font-weight: 700;
	font-size: clamp(3.4rem, 15vw, 12rem);
	line-height: .85;
	letter-spacing: -.045em;
	word-spacing: .14em;
}

.titre-section {
	margin: 0 0 1rem;
	font-family: var(--police-titre);
	font-weight: 600;
	font-size: clamp(2rem, 6vw, 3.5rem);
	line-height: 1;
	letter-spacing: -.02em;
	word-spacing: .1em;
}

/* ---------- Collection : bijoux qui flottent, grille cassée ---------- */

.collection {
	position: relative;
	padding: 7rem var(--marge) 5rem;
}

/* Espace sous le titre : les bijoux flottent (±18 px) sans jamais le toucher */
.collection .titre-geant { margin-bottom: clamp(2.75rem, 5vw, 3.5rem); }

.collection__liste {
	position: relative;
	z-index: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem 1rem;
}

.bijou:nth-child(even) { margin-top: 5rem; }

.bijou__lien {
	display: grid;
	text-decoration: none;
}

.bijou__scene {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	transition: transform .6s var(--ease-doux);
}

/* Halo de couleur derrière chaque bijou */
.bijou__scene::before {
	content: '';
	position: absolute;
	inset: 10%;
	border-radius: 50%;
	background: radial-gradient(circle, var(--halo) 0%, transparent 68%);
	opacity: .45;
	filter: blur(24px);
	transition: opacity .6s var(--ease-doux), scale .6s var(--ease-doux);
}

.bijou__lien:hover .bijou__scene,
.bijou__lien:focus-visible .bijou__scene { transform: scale(1.04) rotate(-1.5deg); }

.bijou__lien:hover .bijou__scene::before,
.bijou__lien:focus-visible .bijou__scene::before { opacity: .95; scale: 1.15; }

.visuel {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	animation: flotter var(--duree-flottement) ease-in-out infinite;
	animation-delay: calc(var(--i, 0) * -1.4s);
}

/* 1. Bijou détouré : posé directement sur le dégradé */
.visuel--detoure img { filter: drop-shadow(0 28px 26px rgba(46, 33, 28, .18)); }

/* 2. Photo : forme de galet organique qui se déforme au survol */
.visuel--photo {
	width: 84%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
	box-shadow: 0 30px 60px -24px rgba(46, 33, 28, .35);
	transition: border-radius .9s var(--ease-doux);
}

.visuel--photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale .9s var(--ease-doux);
}

.bijou__lien:hover .visuel--photo { border-radius: 58% 42% 46% 54% / 44% 56% 48% 52%; }
.bijou__lien:hover .visuel--photo img { scale: 1.07; }

/* 3. En attendant les photos : le monogramme */
.visuel--attente {
	width: 62%;
	color: var(--peche-soutenu);
	opacity: .6;
}

.visuel__monogramme { width: 100%; height: auto; }

.bijou__infos {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: .2rem .8rem;
	margin-top: .8rem;
	padding-top: .7rem;
	border-top: 1px solid color-mix(in srgb, var(--brun) 22%, transparent);
	font-size: .95rem;
}

.bijou__nom { font-weight: 600; }
.bijou__prix { color: var(--brun-doux); }

@media (min-width: 900px) {
	.collection__liste {
		grid-template-columns: repeat(3, 1fr);
		gap: 3rem 5vw;
	}

	.bijou:nth-child(even) { margin-top: 0; }
	.bijou:nth-child(3n + 2) { margin-top: 9rem; }
	.bijou:nth-child(3n) { margin-top: 3.5rem; }
}

/* ---------- Page Collection : en-tête et filtres ---------- */

.collection--page { padding-top: 6.5rem; }

.collection__entete {
	display: grid;
	gap: 1.2rem;
	margin-bottom: clamp(2.75rem, 5vw, 3.5rem);
}

.collection--page .titre-geant { margin-bottom: 0; }

.collection__intro { max-width: 34rem; font-size: 1.1rem; }
.collection__intro p { margin: 0; }

.filtres {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}

.filtres__lien {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .7rem 1.2rem;
	border: 1px solid color-mix(in srgb, var(--brun) 30%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--blanc) 55%, transparent);
	font-weight: 600;
	text-decoration: none;
	transition: background var(--duree-rapide) var(--ease-doux), color var(--duree-rapide) var(--ease-doux), border-color var(--duree-rapide) var(--ease-doux);
}

.filtres__lien:hover { border-color: var(--brun); }

.filtres__lien[aria-current="page"] {
	background: var(--brun);
	border-color: var(--brun);
	color: var(--blanc);
}

.filtres__nombre {
	display: inline-grid;
	place-items: center;
	min-width: 1.5rem;
	height: 1.5rem;
	padding: 0 .35rem;
	border-radius: 999px;
	background: var(--peche-clair);
	color: var(--brun);
	font-size: .78rem;
}

.collection__vide { font-size: 1.1rem; }

.collection .pagination .nav-links {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 4rem;
	font-weight: 600;
}

/* ---------- Photos d'ambiance : formats variés qui se chevauchent ---------- */

.ambiance-photos {
	display: grid;
	gap: 3rem;
	padding: 6rem var(--marge);
}

.ambiance-photos__texte { max-width: 30rem; }
.ambiance-photos__texte p { margin: 0; font-size: 1.1rem; }

.ambiance-photos__mosaique {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: 10vw;
}

.ambiance-photos__photo {
	margin: 0;
	position: relative;
	overflow: hidden;
	border-radius: 1.5rem;
	box-shadow: 0 30px 60px -30px rgba(46, 33, 28, .45);
	transform: translateY(var(--parallaxe, 0));
}

.ambiance-photos__photo img { width: 100%; height: 100%; object-fit: cover; }

.ambiance-photos__photo--1 { grid-column: 1 / 10; grid-row: 1 / 10; }
.ambiance-photos__photo--2 { grid-column: 6 / 13; grid-row: 7 / 14; z-index: 2; border-radius: 50vw 50vw 1.5rem 1.5rem; }
.ambiance-photos__photo--3 { grid-column: 1 / 7; grid-row: 13 / 19; z-index: 1; }
.ambiance-photos__photo--4 { grid-column: 7 / 12; grid-row: 16 / 21; z-index: 3; border-radius: 50%; aspect-ratio: 1; align-self: start; }

@media (min-width: 900px) {
	.ambiance-photos {
		grid-template-columns: 1fr 2fr;
		align-items: start;
	}

	.ambiance-photos__texte { position: sticky; top: 30vh; }

	.ambiance-photos__mosaique { grid-auto-rows: 4vw; }
	.ambiance-photos__photo--1 { grid-column: 1 / 8; grid-row: 1 / 12; }
	.ambiance-photos__photo--2 { grid-column: 7 / 13; grid-row: 3 / 10; }
	.ambiance-photos__photo--3 { grid-column: 2 / 6; grid-row: 10 / 17; }
	.ambiance-photos__photo--4 { grid-column: 8 / 12; grid-row: 11 / 17; }
}

/* ---------- Appel vers le sur mesure ---------- */

.appel-surmesure {
	position: relative;
	padding: 6rem var(--marge) 8rem;
	display: grid;
	gap: 2rem;
}

.appel-surmesure::before {
	content: '';
	position: absolute;
	z-index: -1;
	top: 0;
	right: 0;
	width: 70vmin;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, var(--corail) 0%, var(--peach-fuzz) 35%, transparent 70%);
	opacity: .55;
	filter: blur(40px);
}

.appel-surmesure__corps {
	justify-self: end;
	max-width: 30rem;
	display: grid;
	gap: 1.5rem;
	justify-items: start;
	font-size: 1.1rem;
}

.appel-surmesure__corps p { margin: 0; }

/* ---------- Pages simples (panier, commande, légal…) ---------- */

.page-simple {
	padding: 6.5rem var(--marge) 4rem;
	max-width: 76rem;
}

.page-simple__titre {
	margin-bottom: 2rem;
	font-size: clamp(3rem, 12vw, 7rem);
}

.page-simple__contenu { font-size: 1.02rem; }
.page-simple__contenu > p,
.page-simple__contenu > ul,
.page-simple__contenu > ol,
.page-simple__contenu > h2,
.page-simple__contenu > h3 { max-width: 46rem; }

/* Informations légales à compléter : bien visibles pour le client */
.a-completer {
	padding: .05em .35em;
	border-radius: .3em;
	background: var(--jaune-chaud);
	color: var(--brun);
	font-weight: 600;
}

.page-simple__contenu h2 {
	margin: 2.5rem 0 .8rem;
	font-family: var(--police-titre);
	font-weight: 600;
	font-size: clamp(1.5rem, 4vw, 2.1rem);
	line-height: 1.1;
}

/* ---------- Journal (blog) ---------- */

.journal { padding: 6.5rem var(--marge) 3rem; }

.journal__entete { display: grid; gap: 1rem; margin-bottom: 3rem; }
.journal__intro { max-width: 34rem; font-size: 1.1rem; }
.journal__intro p { margin: 0; }

.journal__liste {
	display: grid;
	gap: 3rem 5vw;
	margin: 0;
	padding: 0;
	list-style: none;
}

.article-carte__lien {
	display: grid;
	gap: .6rem;
	text-decoration: none;
}

.article-carte__visuel {
	display: grid;
	place-items: center;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 2rem;
	background: radial-gradient(circle at 30% 30%, var(--peche-clair), var(--rose-poudre) 60%, var(--lavande));
	box-shadow: 0 30px 60px -35px rgba(46, 33, 28, .45);
	transition: border-radius .9s var(--ease-doux);
}

.article-carte__visuel img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease-doux); }
.article-carte__monogramme { width: 38%; height: auto; color: var(--blanc); opacity: .8; }

.article-carte__lien:hover .article-carte__visuel { border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; }
.article-carte__lien:hover .article-carte__visuel img { scale: 1.06; }

.article-carte__meta { font-size: .85rem; color: var(--brun-doux); }

.article-carte__titre {
	font-family: var(--police-titre);
	font-weight: 600;
	font-size: clamp(1.5rem, 4.5vw, 2.1rem);
	line-height: 1.05;
	letter-spacing: -.015em;
}

.article-carte__extrait { color: var(--brun-doux); }

@media (min-width: 900px) {
	.journal__liste { grid-template-columns: repeat(2, 1fr); }
	.article-carte:nth-child(even) { margin-top: 7rem; }
}

/* ---------- Article ---------- */

.article { padding: 6.5rem var(--marge) 3rem; }

.article__entete { max-width: 52rem; margin-bottom: 2rem; }

.article__retour { font-weight: 600; font-size: .9rem; text-decoration: none; }
.article__retour:hover { text-decoration: underline; }

.article__titre {
	margin: 1rem 0 .8rem;
	font-family: var(--police-titre);
	font-weight: 700;
	font-size: clamp(2.4rem, 8vw, 4.6rem);
	line-height: .95;
	letter-spacing: -.03em;
	word-spacing: .08em;
}

.article__meta { margin: 0; color: var(--brun-doux); }

.article__visuel {
	margin: 0 0 3rem;
	max-width: 60rem;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: 2rem;
	box-shadow: 0 40px 80px -45px rgba(46, 33, 28, .5);
}

.article__visuel img { width: 100%; height: 100%; object-fit: cover; }

.article__contenu {
	max-width: 42rem;
	font-size: 1.08rem;
	line-height: 1.75;
}

.article__contenu h2 {
	margin: 2.6rem 0 .8rem;
	font-family: var(--police-titre);
	font-weight: 600;
	font-size: clamp(1.6rem, 4.5vw, 2.2rem);
	line-height: 1.1;
	letter-spacing: -.01em;
}

.article__contenu h3 { margin: 1.8rem 0 .5rem; font-size: 1.15rem; }
.article__contenu p { margin: 0 0 1.1rem; }
.article__contenu ul,
.article__contenu ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.article__contenu li { margin-bottom: .4rem; }

/* Tableaux : défilent horizontalement sur petit écran plutôt que de s'écraser */
.article__contenu .wp-block-table {
	margin: 1rem 0 1.5rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.article__contenu table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .95rem; }
.article__contenu th,
.article__contenu td { padding: .6rem .7rem; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--brun) 15%, transparent); text-align: left; vertical-align: top; }
.article__contenu thead { border: 0; }
.article__contenu thead th { border-bottom: 2px solid var(--brun); }
.article__contenu th { font-weight: 700; }

.article__contenu blockquote {
	margin: 1.5rem 0;
	padding: 1.1rem 1.4rem;
	border-radius: 1.4rem;
	background: color-mix(in srgb, var(--peach-fuzz) 35%, transparent);
	font-weight: 500;
}

.article__contenu blockquote p:last-child { margin: 0; }

.article__suite {
	display: grid;
	gap: 1rem;
	max-width: 52rem;
	margin-top: 4rem;
	padding-top: 2rem;
	border-top: 1px solid color-mix(in srgb, var(--brun) 18%, transparent);
}

.article__voisin {
	display: grid;
	gap: .3rem;
	font-family: var(--police-titre);
	font-weight: 600;
	font-size: 1.2rem;
	text-decoration: none;
}

.article__voisin span { font-family: var(--police-texte); font-size: .85rem; font-weight: 600; color: var(--brun-doux); }

@media (min-width: 700px) {
	.article__suite { grid-template-columns: 1fr 1fr; }
	.article__voisin--suivant { text-align: right; grid-column: 2; }
}

/* ---------- Blocs dépliables (description produit, FAQ) ---------- */

.fiche__details {
	border-top: 1px solid color-mix(in srgb, var(--brun) 20%, transparent);
}

.fiche__details summary {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 1rem 0;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.fiche__details summary::-webkit-details-marker { display: none; }
.fiche__details summary::after { content: '+'; font-size: 1.3rem; line-height: 1; transition: rotate var(--duree-rapide) var(--ease-doux); }
.fiche__details[open] summary::after { rotate: 45deg; }

.fiche__details-corps { padding-bottom: 1rem; }
.fiche__details-corps p { margin: 0 0 .8rem; }

/* ---------- FAQ ---------- */

.page-faq { max-width: 56rem; }
.page-faq__intro { margin-bottom: 2rem; }

.page-faq__outils {
	position: sticky;
	top: 4.8rem;
	z-index: 5;
	display: grid;
	gap: 1rem;
	margin: 0 calc(var(--marge) * -1) 2rem;
	padding: 1rem var(--marge);
	background: color-mix(in srgb, var(--creme) 85%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.page-faq__recherche input {
	width: 100%;
	padding: .9rem 1.2rem;
	border: 1px solid color-mix(in srgb, var(--brun) 25%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--blanc) 80%, transparent);
	color: var(--brun);
	font: inherit;
}

.page-faq__recherche input:focus { outline: 2px solid var(--brun); outline-offset: 1px; }

.page-faq .filtres { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: none; }
.page-faq .filtres__lien { flex: none; padding: .55rem 1rem; font-size: .9rem; }

.page-faq__theme { scroll-margin-top: 12rem; margin-bottom: 2.5rem; }
.page-faq__theme .titre-section { margin-bottom: .5rem; }
.page-faq__question[hidden],
.page-faq__theme[hidden] { display: none; }

.page-faq__question summary { gap: 1rem; text-align: left; }
.page-faq__question summary::after { flex: none; }

.page-faq__aucun { font-size: 1.1rem; }

.page-faq__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3rem;
	padding: 1.6rem;
	border-radius: 2rem;
	background: color-mix(in srgb, var(--peach-fuzz) 45%, transparent);
}

.page-faq__contact .titre-section { margin: 0; font-size: clamp(1.4rem, 4vw, 2rem); }

/* ---------- À propos ---------- */

.page-apropos { padding: 6.5rem var(--marge) 2rem; }

.page-apropos__entete { margin-bottom: 4rem; }

.page-apropos__surtitre {
	margin: 0 0 .6rem;
	font-family: var(--police-signature);
	font-style: italic;
	font-size: 1.5rem;
	color: var(--brun-doux);
}

.page-apropos__bloc {
	display: grid;
	gap: 1.5rem;
	align-items: center;
	margin-bottom: 5rem;
}

.page-apropos__photo {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
	box-shadow: 0 40px 70px -35px rgba(46, 33, 28, .5);
	transform: translateY(var(--parallaxe, 0));
}

.page-apropos__bloc--droite .page-apropos__photo { border-radius: 50vw 50vw 1.5rem 1.5rem; }

.page-apropos__photo img { width: 100%; height: 100%; object-fit: cover; }

.page-apropos__texte { max-width: 30rem; font-size: 1.1rem; }
.page-apropos__texte p { margin: 0 0 .8rem; }

@media (min-width: 900px) {
	.page-apropos__bloc { grid-template-columns: 1fr 1fr; gap: 6vw; }
	.page-apropos__bloc--gauche .page-apropos__photo { width: 85%; }
	.page-apropos__bloc--droite .page-apropos__photo { order: 2; width: 75%; justify-self: end; }
	.page-apropos__bloc--droite .page-apropos__texte { justify-self: end; }
}

/* ---------- Page Sur mesure ---------- */

.page-surmesure {
	padding: 6rem var(--marge) 4rem;
	display: grid;
	gap: 3rem;
}

.page-surmesure__entete {
	position: relative;
	isolation: isolate;
	display: grid;
	gap: 1.2rem;
}

/* Mobile : le logo flotte au-dessus du titre et ne le chevauche que légèrement, derrière les lettres */
.page-surmesure__bijou {
	position: relative;
	z-index: -1;
	justify-self: end;
	width: clamp(150px, 46vw, 420px);
	margin-bottom: -2.5rem;
}

.page-surmesure__intro { max-width: 34rem; font-size: 1.1rem; }
.page-surmesure__intro p { margin: 0 0 .8rem; }

@media (min-width: 900px) {
	.page-surmesure { grid-template-columns: .9fr 1.1fr; column-gap: 6vw; align-items: start; }
	.page-surmesure__entete { position: sticky; top: 7rem; }
	.page-surmesure__bijou { justify-self: center; width: clamp(220px, 24vw, 380px); margin-bottom: -4rem; }
}

/* ---------- Formulaires ---------- */

.formulaire {
	scroll-margin-top: 6rem; /* le message reste visible sous l'en-tête fixe */
	display: grid;
	gap: 2rem;
	padding: clamp(1.4rem, 4vw, 2.5rem);
	border-radius: 2rem;
	background: color-mix(in srgb, var(--blanc) 55%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 40px 80px -50px rgba(46, 33, 28, .45);
}

.formulaire__groupe {
	display: grid;
	gap: 1.2rem;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.formulaire__groupe legend {
	margin-bottom: .4rem;
	padding: 0;
	font-family: var(--police-titre);
	font-weight: 600;
	font-size: 1.5rem;
}

.formulaire__ligne {
	display: grid;
	gap: 1.2rem;
}

@media (min-width: 640px) {
	.formulaire__ligne { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
}

.formulaire__champ { display: grid; gap: .45rem; align-content: start; }
.formulaire__champ[hidden] { display: none; }

.formulaire__libelle {
	font-weight: 700;
	font-size: .92rem;
}

.formulaire__libelle span { font-weight: 400; color: var(--brun-doux); }

.formulaire__aide { font-size: .88rem; color: var(--brun-doux); }

.page-contact__surmesure { margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: baseline; }

.formulaire input[type="text"],
.formulaire input[type="email"],
.formulaire input[type="tel"],
.formulaire select,
.formulaire textarea {
	width: 100%;
	padding: .85rem 1.1rem;
	border: 1px solid color-mix(in srgb, var(--brun) 25%, transparent);
	border-radius: 1rem;
	background: color-mix(in srgb, var(--blanc) 75%, transparent);
	color: var(--brun);
	font: inherit;
}

.formulaire select {
	padding-right: 2.6rem;
	background: color-mix(in srgb, var(--blanc) 75%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232E211C' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1.1rem center;
	-webkit-appearance: none;
	appearance: none;
}

.formulaire textarea { resize: vertical; min-height: 9rem; }

.formulaire input:focus,
.formulaire select:focus,
.formulaire textarea:focus {
	outline: 2px solid var(--brun);
	outline-offset: 1px;
}

/* Boutons radio présentés comme des boutons */
.choix-radio { position: relative; cursor: pointer; }
.choix-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }

.choix-radio span {
	display: inline-block;
	padding: .7rem 1.3rem;
	border: 1px solid color-mix(in srgb, var(--brun) 30%, transparent);
	border-radius: 999px;
	font-weight: 600;
	transition: background var(--duree-rapide) var(--ease-doux), color var(--duree-rapide) var(--ease-doux);
}

.choix-radio input:checked + span { background: var(--brun); border-color: var(--brun); color: var(--blanc); }
.choix-radio input:focus-visible + span { outline: 2px solid var(--brun); outline-offset: 3px; }

/* Dépôt de photos */
.formulaire__depot {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 6.5rem;
	padding: 1rem;
	border: 1.5px dashed color-mix(in srgb, var(--brun) 35%, transparent);
	border-radius: 1.2rem;
	background: color-mix(in srgb, var(--peche-clair) 35%, transparent);
	text-align: center;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--duree-rapide) var(--ease-doux);
}

.formulaire__depot:hover { background: color-mix(in srgb, var(--peach-fuzz) 45%, transparent); }
.formulaire__depot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.formulaire__depot:focus-within { outline: 2px solid var(--brun); outline-offset: 2px; }

.formulaire__apercus { display: flex; flex-wrap: wrap; gap: .6rem; }
.formulaire__apercus:empty { display: none; }
.formulaire__apercus img { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: .8rem; }

.formulaire__consentement {
	display: flex;
	gap: .7rem;
	align-items: flex-start;
	font-size: .92rem;
}

.formulaire__consentement input { margin-top: .25rem; accent-color: var(--brun); }

/* Champ piège pour les robots : invisible pour les humains */
.formulaire__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formulaire__message {
	margin: 0;
	padding: 1rem 1.3rem;
	border-radius: 1.2rem;
	font-weight: 600;
}

.formulaire__message--succes { background: #e3f1e6; box-shadow: inset 4px 0 0 #3f9a5b; }
.formulaire__message--erreur { background: #fbe3e3; box-shadow: inset 4px 0 0 #B0102A; }

.formulaire .bouton { justify-self: start; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.formulaire .bouton:disabled { opacity: .6; cursor: wait; }

/* ---------- Page 404 ---------- */

.page-404 {
	min-height: 100svh;
	display: grid;
	align-content: center;
	justify-items: start;
	gap: 1.2rem;
	padding: 6rem var(--marge) 3rem;
}

.page-404__bijou { width: clamp(180px, 55vw, 420px); justify-self: end; margin-bottom: -4rem; position: relative; z-index: -1; }
.page-404 .titre-geant { font-size: clamp(6rem, 30vw, 16rem); }
.page-404__texte { max-width: 26rem; margin: 0; font-size: 1.15rem; }
.page-404__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: .6rem; }

/* ---------- Liens soulignés ---------- */

.lien-souligne {
	padding: 0;
	border: 0;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	color: var(--brun);
	font: inherit;
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
	cursor: pointer;
	transition: background-size var(--duree-rapide) var(--ease-doux);
}

.lien-souligne:hover { background-size: 40% 1px; }

/* ---------- Messages WooCommerce (ajout au panier, erreurs…) ---------- */

.woocommerce-notices-wrapper:empty { display: none; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.3rem;
	list-style: none;
	border-radius: 1.2rem;
	background: color-mix(in srgb, var(--blanc) 75%, transparent);
	box-shadow: inset 4px 0 0 var(--peche-soutenu);
	font-weight: 500;
}

.woocommerce-error { box-shadow: inset 4px 0 0 #B0102A; }

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	padding: .55rem 1.1rem;
	border-radius: 999px;
	background: var(--brun);
	color: var(--blanc);
	font-weight: 600;
	font-size: .9rem;
	text-decoration: none;
}

/* ---------- Pied de page ---------- */

.pied {
	padding: 3rem var(--marge);
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: space-between;
	align-items: center;
	font-size: .9rem;
}

.pied .signature__logo { width: 1.6rem; }

.pied ul {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pied a { font-weight: 600; text-underline-offset: .25em; }

/* ---------- Bannière de cookies (Complianz) aux couleurs de la marque ---------- */
/* « Accepter » et « Refuser » ont volontairement le même style (exigence CNIL). */

body .cmplz-cookiebanner {
	--cmplz_banner_background_color: var(--creme);
	--cmplz_banner_border_color: var(--peche-clair);
	--cmplz_banner_border_width: 1px;
	--cmplz_banner_border_radius: 1.5rem;
	--cmplz_text_color: var(--brun);
	--cmplz_hyperlink_color: var(--brun);
	--cmplz_button_border_radius: 999px;
	--cmplz_button_accept_background_color: var(--brun);
	--cmplz_button_accept_border_color: var(--brun);
	--cmplz_button_accept_text_color: var(--blanc);
	--cmplz_button_deny_background_color: var(--brun);
	--cmplz_button_deny_border_color: var(--brun);
	--cmplz_button_deny_text_color: var(--blanc);
	--cmplz_button_settings_background_color: transparent;
	--cmplz_button_settings_border_color: var(--brun);
	--cmplz_button_settings_text_color: var(--brun);
	--cmplz_slider_active_color: var(--brun);
	--cmplz_slider_inactive_color: var(--peche-soutenu);
	--cmplz_slider_bullet_color: var(--blanc);
	font-family: var(--police-texte);
	box-shadow: 0 30px 60px -30px rgba(46, 33, 28, .45);
}

body .cmplz-cookiebanner .cmplz-title {
	font-family: var(--police-titre);
	font-weight: 600;
}

body .cmplz-cookiebanner .cmplz-btn { font-weight: 700; }

/* ---------- Mouvement réduit ---------- */

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

	.eclat { display: none; }
	.accueil-hero__reflet { display: none; }
}
