/* ==========================================================================
   À Petits Pas — styles principaux
   Palette : jaune soleil (logo), rouge coccinelle (logo), bleu nuit (les nuits
   étoilées des illustrations de crèche), encre chaude.
   ========================================================================== */

:root {
	--jaune: #ffc40d;
	--jaune-fonce: #e3a400;
	--jaune-pale: #fff3c9;
	--jaune-creme: #fffaea;
	--rouge: #e03a2f;
	--rouge-fonce: #b42a20;
	--nuit: #1f2b52;
	--nuit-2: #2d3c6e;
	--prairie: #4f8f3a;
	--encre: #27211b;
	--encre-2: #5b5147;
	--encre-3: #857a6d;
	--papier: #fffdf7;
	--blanc: #ffffff;
	--ligne: #efe4c6;

	--ombre: 0 18px 40px -20px rgba(70, 45, 0, 0.32);
	--ombre-magnet: 0 16px 26px -14px rgba(70, 45, 0, 0.45);
	--rayon: 22px;
	--rayon-s: 14px;

	--f-titre: "Baloo 2", "Nunito", ui-rounded, system-ui, sans-serif;
	--f-texte: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-main: "Caveat", "Segoe Print", "Bradley Hand", cursive;

	--conteneur: 1200px;
	--gouttiere: clamp(16px, 4vw, 32px);
	--entete-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0;
	background: var(--papier);
	color: var(--encre);
	font: 400 1.0625rem/1.65 var(--f-texte);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--rouge-fonce); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--rouge); }
h1, h2, h3, h4 { font-family: var(--f-titre); line-height: 1.12; color: var(--encre); text-wrap: balance; margin: 0 0 0.5em; }
/* Garde-fou : l'extension « WP Google Fonts » de l'ancien site impose Poppins et Nunito Sans
   à body, p, li et aux titres. Ces règles un peu plus précises rendent la main aux polices du thème
   (les règles avec une classe, plus loin, restent prioritaires). */
html body { font-family: var(--f-texte); }
html body :is(p, li, blockquote) { font-family: inherit; }
html body :is(h1, h2, h3, h4, h5, h6) { font-family: var(--f-titre); }
h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-weight: 700; font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
mark { background: var(--jaune-pale); color: inherit; }
:focus-visible { outline: 3px solid var(--nuit-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--jaune); color: var(--encre); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.lien-evitement {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700;
	transition: top 0.2s;
}
.lien-evitement:focus { top: 12px; color: #fff; }

.conteneur { width: 100%; max-width: var(--conteneur); margin-inline: auto; padding-inline: var(--gouttiere); }

/* ---------- Boutons ---------- */
.bouton,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	font: 800 1.05rem/1 var(--f-titre);
	padding: 0.95em 1.55em 0.82em;
	border-radius: 999px;
	background: var(--jaune);
	color: var(--encre);
	border: 1px solid #d8cba7;
	box-shadow: none;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s;
}
.bouton:hover,
.wp-block-button__link:hover { color: var(--encre); transform: translateY(-2px); box-shadow: 0 6px 0 var(--encre); }
.bouton:active,
.wp-block-button__link:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--encre); }
.bouton.is-secondaire,
.is-style-outline .wp-block-button__link { background: var(--blanc); color: var(--encre); }
.bouton.is-secondaire:hover,
.is-style-outline .wp-block-button__link:hover { background: var(--jaune-pale); }
.bouton.is-petit { font-size: 0.92rem; padding: 0.72em 1.15em 0.6em; box-shadow: 0 3px 0 var(--encre); }
.bouton .icone { flex: none; }

.lien-fleche {
	display: inline-flex; align-items: center; gap: 0.35em;
	font-weight: 800; color: var(--encre); text-decoration: none;
	border-bottom: 3px solid var(--jaune); padding-bottom: 2px;
}
.lien-fleche:hover { color: var(--encre); border-color: var(--rouge); }
.lien-fleche .icone { transition: transform 0.2s; }
.lien-fleche:hover .icone { transform: translateX(3px); }

/* ---------- Titres de section ---------- */
.surtitre {
	font: 700 1.65rem/1 var(--f-main);
	color: var(--rouge);
	margin: 0 0 0.15em;
	transform: rotate(-2deg);
	transform-origin: left center;
	display: inline-block;
}
.section-head { margin-bottom: 8px; }
.section-head.is-center { text-align: center; }
.section-head.is-center .surtitre { transform-origin: center; }
.section-titre { font-size: clamp(1.95rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; margin: 0; }
.section-texte { color: var(--encre-2); max-width: 52ch; margin: 0.7em 0 0; }
.section-head.is-center .section-texte { margin-inline: auto; }
.section-head-ligne { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.section-head-ligne .section-head { margin: 0; }

.bloc { padding-block: clamp(56px, 8vw, 104px); }

/* ---------- Bandeau d'annonce ---------- */
.annonce { background: var(--nuit); color: #f3f1ff; font-size: 0.9rem; font-weight: 600; }
.annonce p { margin-block: 0; padding-block: 8px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; }
.annonce .icone { color: var(--jaune); flex: none; }

/* ---------- En-tête ---------- */
.entete {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 253, 247, 0.94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 0; } }
.entete.is-scrolled { border-color: var(--ligne); box-shadow: 0 8px 24px -18px rgba(70, 45, 0, 0.35); }
.entete-inner { display: flex; align-items: center; gap: 20px; min-height: var(--entete-h); }
.entete-logo { flex: none; }
.entete-logo img, .custom-logo { height: 46px; width: auto; }
.nav-principale { margin-left: auto; }
.nav-principale .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-principale .menu > li { position: relative; }
.nav-principale .menu a {
	display: block; padding: 9px 14px; border-radius: 999px;
	font-weight: 700; font-size: 1rem; color: var(--encre); text-decoration: none;
	transition: background-color 0.15s;
}
.nav-principale .menu a:hover { background: var(--jaune-pale); color: var(--encre); }
.nav-principale .current-menu-item > a,
.nav-principale .current-menu-ancestor > a,
.nav-principale .current_page_item > a { background: var(--jaune); }
.nav-principale .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 6px 0 0; padding: 8px;
	background: #fff; border: 1px solid var(--ligne); border-radius: 16px; box-shadow: var(--ombre);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.15s;
}
.nav-principale li:hover > .sub-menu,
.nav-principale li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-mobile-extra { display: none; }

.entete-actions { display: flex; align-items: center; gap: 4px; }
.entete-icone {
	position: relative; display: inline-grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	color: var(--encre); background: transparent; border: 0; cursor: pointer; padding: 0;
	transition: background-color 0.15s;
}
.entete-icone:hover { background: var(--jaune-pale); color: var(--encre); }
.panier-nombre {
	position: absolute; top: 2px; right: 0;
	min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
	background: var(--rouge); color: #fff; font: 800 11px/20px var(--f-texte); text-align: center;
	box-shadow: 0 0 0 2px var(--papier);
}
.panier-nombre.is-vide { display: none; }
.bouton-menu { display: none; }
.bouton-menu .ico-fermer { display: none; }

.recherche-entete { border-top: 1px solid var(--ligne); padding-block: 14px; background: var(--papier); }
.form-recherche, .woocommerce-product-search { display: flex; gap: 8px; max-width: 640px; margin-inline: auto; }
.form-recherche input[type="search"], .woocommerce-product-search input[type="search"] { flex: 1; min-width: 0; }
.form-recherche button, .woocommerce-product-search button {
	flex: none; border: 2px solid var(--encre); background: var(--jaune); color: var(--encre);
	border-radius: 999px; padding: 0 18px; font: 800 0.95rem var(--f-titre); cursor: pointer; min-height: 48px;
	display: inline-grid; place-items: center;
}

@media (max-width: 1020px) {
	:root { --entete-h: 66px; }
	/* Sans flou : sinon le panneau du menu (position fixe) resterait enfermé dans l'en-tête. */
	.entete { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--papier); }
	.entete-logo img, .custom-logo { height: 38px; }
	.bouton-menu { display: inline-grid; }
	.entete-actions { margin-left: auto; }
	.nav-principale {
		position: fixed; inset: 0; top: 0; z-index: -1; margin: 0;
		background: var(--papier);
		padding: calc(var(--entete-h) + 24px) var(--gouttiere) 32px;
		overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	}
	.admin-bar .nav-principale { padding-top: calc(var(--entete-h) + 70px); }
	.menu-ouvert .nav-principale { opacity: 1; visibility: visible; transform: none; }
	.menu-ouvert { overflow: hidden; }
	.menu-ouvert .bouton-menu .ico-ouvrir { display: none; }
	.menu-ouvert .bouton-menu .ico-fermer { display: inline; }
	.nav-principale .menu { flex-direction: column; align-items: stretch; gap: 4px; }
	.nav-principale .menu a { font: 800 1.5rem/1.2 var(--f-titre); padding: 12px 18px; }
	.nav-principale .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; }
	.nav-principale .sub-menu a { font-size: 1.15rem; }
	.nav-mobile-extra { display: grid; gap: 18px; margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--ligne); }
	.nav-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--encre); text-decoration: none; }
	.entete-inner { position: relative; }
	.entete-compte { display: none; }
}

/* ---------- Formulaires ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"],
input[type="password"], input[type="url"], input[type="date"], textarea, select {
	width: 100%;
	font: inherit; font-size: 1rem; color: var(--encre);
	padding: 12px 16px;
	border: 2px solid var(--ligne); border-radius: 14px;
	background: var(--blanc);
	transition: border-color 0.15s, box-shadow 0.15s;
	min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--jaune-fonce); box-shadow: 0 0 0 4px rgba(255, 196, 13, 0.3); }
label { font-weight: 700; }
.req { color: var(--rouge); }
.facultatif { font-weight: 400; color: var(--encre-3); font-size: 0.9em; }

.contact-form label { display: block; margin-bottom: 6px; }
.contact-form p { margin: 0 0 16px; }
.form-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.champ-cache { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-envoi { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.form-note { font-size: 0.85rem; color: var(--encre-3); }
.notice-douce { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; margin-bottom: 20px; }
.notice-douce p { margin: 0; }
.notice-douce ul { margin: 6px 0 0; padding-left: 18px; }
.notice-douce.is-ok { background: #eaf5e3; color: #234d1a; }
.notice-douce.is-ok .icone { color: var(--rouge); flex: none; }
.notice-douce.is-erreur { background: #fdece9; color: #7d1e16; display: block; }
@media (max-width: 640px) { .form-ligne { grid-template-columns: 1fr; } }

.coordonnees { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.coordonnees li { display: flex; gap: 14px; align-items: flex-start; }
.coordonnees .icone { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--jaune-pale); color: var(--encre); }
.coordonnees strong { display: block; font-family: var(--f-titre); font-size: 1.05rem; }
.coordonnees a { color: var(--encre); font-weight: 600; overflow-wrap: anywhere; }

/* ==========================================================================
   Accueil
   ========================================================================== */

/* ---------- Haut de page ---------- */
.bloc-hero {
	padding-block: clamp(28px, 5vw, 64px) clamp(64px, 9vw, 110px);
	background:
		radial-gradient(60% 70% at 88% 30%, var(--jaune-pale) 0, rgba(255, 243, 201, 0) 70%),
		var(--papier);
	overflow: hidden;
}
.hero-grille { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-titre { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.02; letter-spacing: -0.018em; margin: 0.12em 0 0.4em; }
.hero-titre mark {
	background: linear-gradient(transparent 60%, var(--jaune) 60%, var(--jaune) 88%, transparent 88%);
	padding: 0 0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-intro { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--encre-2); max-width: 36ch; }
.hero-boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8em; }

.hero-visuel { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-inline: auto; }
.hero-visuel::before {
	content: ""; position: absolute; inset: -3% -7% 1% 5%;
	background: var(--jaune); border-radius: 50%;
}
.grand-magnet {
	position: absolute; inset: 7%;
	border-radius: 50%; overflow: hidden; background: #fff;
	box-shadow: 0 34px 50px -26px rgba(70, 40, 0, 0.55), 0 0 0 7px #fff, 0 0 0 8px rgba(0, 0, 0, 0.07);
}
.grand-magnet img { width: 100%; height: 100%; object-fit: cover; }
.grand-magnet::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
	background:
		radial-gradient(120% 90% at 26% 10%, rgba(255, 255, 255, 0.6) 0 16%, rgba(255, 255, 255, 0) 40%),
		radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.1) 100%);
}
.magnet-ecriture { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.magnet-ecriture text { font-family: var(--f-main); font-weight: 700; font-size: 37px; fill: var(--rouge); letter-spacing: 0.5px; }

.petit-magnet {
	position: absolute; z-index: 2; width: 23%; aspect-ratio: 1; border-radius: 50%;
	filter: drop-shadow(0 12px 12px rgba(60, 35, 0, 0.3));
	animation: apps-flotte 7s ease-in-out infinite;
}
.pm-1 { top: 0; left: -5%; rotate: -12deg; }
.pm-2 { top: 12%; right: -8%; width: 20%; rotate: 9deg; animation-delay: -2s; }
.pm-3 { bottom: 8%; left: -9%; width: 21%; rotate: 7deg; animation-delay: -4s; }
.pm-4 { bottom: -3%; right: 1%; width: 24%; rotate: -7deg; animation-delay: -1s; }
@keyframes apps-flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* ---------- Points forts ---------- */
.bloc-rea { padding: 0; margin-top: calc(-1 * clamp(36px, 5vw, 60px)); position: relative; z-index: 3; }
.rea-liste {
	list-style: none; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr);
	padding: 22px 8px;
	background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre);
}
.rea-item { display: flex; gap: 14px; align-items: flex-start; padding: 6px 18px; border-left: 1.5px dashed var(--ligne); }
.rea-item:first-child { border-left: 0; }
.rea-icone { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--jaune-pale); display: grid; place-items: center; color: var(--encre); }
.rea-item strong { display: block; font: 700 1.08rem/1.2 var(--f-titre); margin: 2px 0 3px; }
.rea-item span span { display: block; font-size: 0.9rem; line-height: 1.45; color: var(--encre-2); }

/* La grande nouveauté arrive juste sous les points forts. */
.bloc-rea + .bloc-nouv { margin-top: clamp(44px, 6vw, 72px); }

/* ---------- Catégories ---------- */
.cats-liste { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 56px); }
.cat-magnet { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--encre); text-decoration: none; width: 180px; }
.cat-rond {
	position: relative; width: 164px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff;
	box-shadow: var(--ombre-magnet), 0 0 0 6px #fff, 0 0 0 7px var(--ligne);
	transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.cat-rond img { width: 100%; height: 100%; object-fit: cover; }
.cat-rond::after, .saison-rond::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
	background: radial-gradient(120% 90% at 28% 12%, rgba(255, 255, 255, 0.55) 0 14%, rgba(255, 255, 255, 0) 38%);
}
.cat-magnet:hover { color: var(--encre); }
.cat-magnet:hover .cat-rond { transform: rotate(-8deg) scale(1.05); }
.cat-magnet strong { font: 800 1.3rem/1.1 var(--f-titre); margin-top: 20px; }
.cat-nombre { font-size: 0.88rem; color: var(--encre-3); }

/* ---------- Coups de cœur ---------- */
.bloc-coups { padding-top: 0; }

/* ---------- Nouveauté : même prairie que la page vitrine du jeu ---------- */
.souche {
	flex: none; display: grid; place-items: center;
	width: 40px; height: 40px; border-radius: 50%;
	color: var(--bois, #6b3a1e);
	background:
		radial-gradient(circle at 50% 50%, #f6dfba 0 50%, rgba(0, 0, 0, 0) 51%),
		repeating-radial-gradient(circle at 50% 50%, #cf9457 0 2px, #b37238 2px 4px);
	box-shadow: inset 0 0 0 3px #7f4420, -3px 4px 0 rgba(40, 60, 10, 0.18);
}
.bloc-nouv {
	width: calc(100% - 48px);
max-width: 1200px;
margin-inline: auto;
border-radius: 32px;
	--bois: #6b3a1e;
	position: relative; overflow: hidden;
	/* Prairie : dégradé d'herbe + petites fleurs semées, comme en haut de la page du jeu. */
	background:
		radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1.6px, rgba(255, 255, 255, 0) 2.4px) 0 0 / 150px 130px,
		radial-gradient(circle, rgba(255, 160, 60, 0.6) 0 1.6px, rgba(255, 160, 60, 0) 2.4px) 70px 60px / 190px 170px,
		radial-gradient(circle, rgba(255, 236, 140, 0.5) 0 1.3px, rgba(255, 236, 140, 0) 2px) 30px 100px / 110px 150px,
		radial-gradient(120% 90% at 68% 38%, #c3d77a 0%, #9eb85f 42%, #7f984c 100%);
	padding-block: clamp(40px, 5vw, 65px);
}
.bloc-nouv::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(ellipse 80% 70% at 55% 55%, rgba(0, 0, 0, 0) 50%, rgba(18, 40, 4, 0.2) 100%);
}
.nouv-grille {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
	gap: clamp(28px, 5vw, 64px); align-items: center;
}
.nouv-carte {
	background: var(--papier); border: 3px solid #fff; border-radius: 28px;
	padding: clamp(22px, 3vw, 38px);
	box-shadow: -22px 28px 0 rgba(26, 56, 6, 0.24);
	rotate: -1.2deg; max-width: 590px;
}
.pastille-nouveau {
	display: inline-flex; align-items: center; gap: 6px; margin: 0;
	background: var(--jaune); color: var(--encre);
	font: 800 0.82rem/1 var(--f-titre); letter-spacing: 0.08em; text-transform: uppercase;
	padding: 0.6em 1em 0.5em; border-radius: 999px; rotate: -3deg;
}
.pastille-nouveau .icone { fill: currentColor; }
.nouv-titre {
	font: 800 clamp(2rem, 3.6vw, 3rem)/1.02 var(--f-titre);
	color: var(--bois); letter-spacing: -0.01em; margin: 0.5em 0 0.4em;
}
.nouv-intro { font-size: 1.08rem; color: var(--encre-2); max-width: 46ch; margin: 0; }
.nouv-infos { list-style: none; padding: 0; margin: 20px 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.nouv-infos li {
	display: inline-flex; align-items: center; gap: 10px;
	background: #fff; border: 1.5px solid var(--ligne); border-radius: 999px;
	padding: 4px 16px 4px 4px; font-weight: 700; font-size: 0.94rem; line-height: 1.2;
}
.nouv-action {
	display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px;
	border-top: 2px dashed var(--ligne); padding-top: 18px;
}
.nouv-prix { font: 800 2.1rem/1 var(--f-titre); color: var(--bois); }
.nouv-prix del { color: var(--encre-3); font-size: 0.55em; font-weight: 600; margin-right: 6px; }
.nouv-prix ins { text-decoration: none; color: var(--rouge); }
.nouv-visuel { position: relative; display: grid; align-items: center; min-height: 440px; }
.photo-polaroid {
	position: absolute; margin: 0; background: #fff; padding: 10px 10px 34px; border-radius: 6px;
	box-shadow: -14px 22px 0 rgba(26, 56, 6, 0.22);
}
.photo-polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.nouv-photo { top: -18%; left: 2%; width: 92%; rotate: -7deg; }
.nouv-boite .nouv-boite-img { position: relative; top: 35%; left: 10%; width: 140%; }
.nouv-boite { position: relative; z-index: 1; display: block; width: min(86%, 500px); margin: 80px 0 0 auto; }
.nouv-boite-img {
	display: block; width: 100%; height: auto;
	filter: drop-shadow(-14px 22px 18px rgba(18, 46, 0, 0.3));
	animation: apps-flotte 8s ease-in-out infinite;
}

/* ---------- Au fil de l'année ---------- */
.saisons-chemin { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.saison { position: relative; }
.saison-lien { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--encre); text-decoration: none; }
.saison-lien:hover { color: var(--encre); }
.saison-rond {
	position: relative; width: 148px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff;
	box-shadow: var(--ombre-magnet), 0 0 0 6px #fff, 0 0 0 7px var(--ligne);
	transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.saison-rond img { width: 100%; height: 100%; object-fit: cover; }
.saison-lien:hover .saison-rond { transform: rotate(6deg) scale(1.05); }
.saison-periode { font: 700 1.55rem/1 var(--f-main); color: var(--rouge); margin-top: 18px; }
.saison-titre { font: 800 1.3rem/1.15 var(--f-titre); margin: 0.2em 0 0.3em; }
.saison-texte { font-size: 0.95rem; color: var(--encre-2); max-width: 27ch; }
.saison-pas { position: absolute; top: 50px; right: -72px; width: 116px; color: var(--jaune-fonce); opacity: 0.8; rotate: -6deg; }

.saisons-grand-chemin {
    position: absolute;
    z-index: 0;
    left: 2%;
    top: 55px;
    width: 96%;
    height: auto;
    pointer-events: none;
    opacity: 0.55;
}

.saison {
    z-index: 1;
}

/* ---------- Qui suis-je ---------- */
.bloc-apropos { background: var(--jaune-creme); }
.apropos-grille { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.apropos-photo { position: relative; margin: 0 0 0 18px; max-width: 420px; }
.apropos-photo::before {
	content: ""; position: absolute; inset: 20px -20px -20px 20px;
	background: var(--jaune); border-radius: 220px 220px 28px 28px;
}
.apropos-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px 28px 28px; }
.apropos-photo figcaption {
	position: absolute; left: -18px; bottom: 28px; z-index: 1;
	background: #fff; color: var(--encre); padding: 0.25em 0.8em 0.15em; border-radius: 999px;
	font: 700 1.45rem/1 var(--f-main); rotate: -5deg; box-shadow: var(--ombre);
}
.apropos-corps { margin: 18px 0 26px; }
.apropos-corps p { font-size: 1.12rem; color: var(--encre-2); max-width: 54ch; }

/* ---------- Témoignages ---------- */
.avis-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; padding-top: 22px; }
.avis-carte {
	position: relative; margin: 0; display: flex; flex-direction: column; gap: 16px;
	background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 26px 26px 22px;
}
.avis-carte::before {
	content: "“"; position: absolute; top: -22px; right: 22px;
	font: 800 5.2rem/1 var(--f-titre); color: var(--jaune);
}
.avis-etoiles { display: flex; gap: 2px; color: var(--jaune-fonce); }
.avis-etoiles .icone { fill: currentColor; }
.avis-carte blockquote { margin: 0; color: var(--encre-2); font-size: 1rem; }
.avis-carte blockquote p { margin: 0 0 0.8em; }
.avis-carte blockquote p:last-child { margin: 0; }
.avis-carte figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avis-photo { flex: none; width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--jaune-pale); }
.avis-initiale { display: grid; place-items: center; background: var(--jaune-pale); font: 800 1.2rem var(--f-titre); }
.avis-qui strong { display: block; font: 700 1.05rem/1.2 var(--f-titre); }
.avis-qui span { display: block; font-size: 0.85rem; color: var(--encre-3); line-height: 1.35; }
.avis-grille.is-complet { display: block; columns: 2 340px; column-gap: 24px; margin-top: 12px; }
.avis-grille.is-complet .avis-carte { break-inside: avoid; margin: 0 0 28px; display: flex; }

/* ---------- En images ---------- */
.bloc-galerie { padding-top: clamp(40px, 6vw, 80px); }
.galerie-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.galerie-mosaique {
	list-style: none; padding: 0; margin: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 17vw, 200px); gap: 14px;
}
.galerie-mosaique .gm-1 { grid-column: span 2; grid-row: span 2; }
.galerie-mosaique .gm-6 { grid-column: span 2; }
.galerie-vignette {
	display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
	border-radius: var(--rayon-s); overflow: hidden; background: var(--jaune-pale);
}
.galerie-vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.galerie-vignette:hover img { transform: scale(1.05); }

.visionneuse { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1200px); max-height: 92vh; overflow: visible; }
.visionneuse::backdrop { background: rgba(24, 18, 8, 0.86); }
.visionneuse img { max-width: 100%; max-height: 86vh; width: auto; margin-inline: auto; border-radius: 12px; }
.visionneuse-fermer {
	position: absolute; top: -18px; right: -12px; width: 48px; height: 48px; border-radius: 50%;
	border: 2px solid var(--encre); background: var(--jaune); color: var(--encre); cursor: pointer; display: grid; place-items: center;
}

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.page-entete {
	background: var(--jaune-pale); text-align: center;
	padding-block: clamp(34px, 6vw, 64px) clamp(28px, 4vw, 48px);
	position: relative;
}
.page-entete::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 13px;
	background: radial-gradient(circle at 12px 0, var(--jaune-pale) 12px, transparent 12.5px) repeat-x;
	background-size: 24px 13px;
}
.page-pas { display: block; width: 104px; margin: 0 auto 10px; color: var(--jaune-fonce); }
.page-titre { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.05; margin: 0; }
.page-chapo { color: var(--encre-2); font-size: 1.12rem; max-width: 60ch; margin: 0.7em auto 0; }
.page-entete .surtitre { transform-origin: center; }

.contenu-page {
	max-width: 860px; margin-inline: auto;
	padding: clamp(40px, 6vw, 64px) var(--gouttiere) clamp(56px, 8vw, 96px);
}
.contenu-large { padding-block: clamp(40px, 6vw, 64px) clamp(56px, 8vw, 96px); }
.contenu-page > * + * { margin-top: 0; }
.contenu-page h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 1.6em 0 0.5em; }
.contenu-page h3 { margin: 1.2em 0 0.4em; }
.contenu-page > :first-child, .contenu-page .wp-block-column > :first-child { margin-top: 0; }
.contenu-page ul, .contenu-page ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.contenu-page li { margin-bottom: 0.4em; }
.contenu-page li::marker { color: var(--rouge); }
.contenu-page .alignwide { width: min(1136px, calc(100vw - 2 * var(--gouttiere))); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.contenu-page .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.contenu-page .surtitre { display: block; }
.article-une img { border-radius: var(--rayon); margin-bottom: 2em; }

/* Blocs WordPress */
.wp-block-image img { border-radius: var(--rayon-s); }
.wp-block-image.is-style-rounded-soft img { border-radius: var(--rayon); }
.wp-block-image.photo-centree { max-width: 520px; margin: 2.4em auto; }
.wp-block-columns { gap: clamp(20px, 4vw, 44px); margin-block: 1.8em; }
.wp-block-buttons { gap: 14px; margin-block: 2em; }
.encart-jaune { background: var(--jaune-pale); border-radius: var(--rayon); padding: clamp(24px, 4vw, 40px); margin-block: 2.4em; }
.encart-jaune > :first-child { margin-top: 0; }
.encart-jaune > :last-child { margin-bottom: 0; }
.wp-block-quote { border-left: 4px solid var(--jaune); margin: 1.6em 0; padding: 0.2em 0 0.2em 1.2em; font-size: 1.15rem; }
.wp-block-separator { border: 0; border-top: 2px dashed var(--ligne); margin: 2.4em auto; }
.wp-block-details {
	background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon-s);
	padding: 0 22px; margin: 0 0 12px; transition: box-shadow 0.2s;
}
.wp-block-details[open] { box-shadow: var(--ombre); }
.wp-block-details summary {
	cursor: pointer; list-style: none; position: relative;
	font: 700 1.12rem/1.35 var(--f-titre); padding: 18px 44px 18px 0;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
	width: 30px; height: 30px; border-radius: 50%; background: var(--jaune);
	font: 800 1.2rem/30px var(--f-titre); text-align: center;
}
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { margin-top: 0; padding-bottom: 6px; color: var(--encre-2); }
.wp-block-gallery.has-nested-images { gap: 12px; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: var(--rayon-s); cursor: zoom-in; }

/* Listes d'articles / recherche */
.liste-articles { padding-block: clamp(40px, 6vw, 64px) clamp(56px, 8vw, 96px); }
.articles-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.article-carte { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; }
.article-lien { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 20px; color: var(--encre); text-decoration: none; height: 100%; }
.article-image img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 10px; }
.article-type { font: 700 1.2rem/1 var(--f-main); color: var(--rouge); }
.article-titre { font-size: 1.2rem; margin: 0; }
.article-extrait { font-size: 0.95rem; color: var(--encre-2); }
.vide { text-align: center; max-width: 520px; margin: 0 auto; }
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.nav-links a, .nav-links span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; display: inline-grid; place-items: center; background: #fff; border: 1px solid var(--ligne); color: var(--encre); font-weight: 700; text-decoration: none; }
.nav-links .current { background: var(--jaune); border-color: var(--jaune); }

.page-404 { text-align: center; padding-block: clamp(56px, 10vw, 120px); }
.p404-magnet { margin: 0 auto 12px; rotate: -10deg; filter: drop-shadow(0 12px 14px rgba(60, 35, 0, 0.3)); }
.page-404 .hero-boutons { justify-content: center; }

/* ==========================================================================
   Bas de page
   ========================================================================== */
.pied { position: relative; background: var(--jaune); color: var(--encre); margin-top: 20px; }
.pied::before {
	content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 13px;
	background: radial-gradient(circle at 12px 13px, var(--jaune) 12px, transparent 12.5px) repeat-x;
	background-size: 24px 13px;
}
.pied-pas { position: absolute; top: 34px; right: 5%; width: 150px; color: rgba(39, 33, 27, 0.16); rotate: -8deg; pointer-events: none; }
.pied-grille { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 60px 40px; }
.pied-logo img { height: 46px; width: auto; margin-bottom: 14px; }
.pied-marque p { max-width: 34ch; font-weight: 600; }
.pied-titre { font: 800 1.15rem/1.2 var(--f-titre); margin: 6px 0 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pied a { color: var(--encre); text-decoration: none; border-bottom: 1.5px solid transparent; }
.pied a:hover { color: var(--encre); border-color: currentColor; }
.pied-contact li { display: flex; gap: 10px; align-items: flex-start; }
.pied-contact .icone { flex: none; margin-top: 3px; }
.pied-reseaux { display: flex; gap: 10px; }
.pied-reseaux a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--encre); color: var(--jaune); border: 0; }
.pied-reseaux a:hover { background: var(--nuit); color: #fff; }
.pied-bas { border-top: 1.5px dashed rgba(39, 33, 27, 0.25); font-size: 0.88rem; }
.pied-bas p { margin-block: 0; padding-block: 16px; }
.pied-widgets { padding-block: 40px; }

.bouton-whatsapp {
	position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90;
	width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
	background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
}
.bouton-whatsapp:hover { color: #fff; transform: scale(1.05); }

/* ==========================================================================
   Adaptation tablette / mobile
   ========================================================================== */
@media (max-width: 1020px) {
	.rea-liste { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
	.rea-item:nth-child(3) { border-left: 0; }
	.saisons-chemin { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.saison-pas { display: none; }
	.avis-grille:not(.is-complet) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.avis-grille:not(.is-complet) .avis-carte:nth-child(3) { display: none; }
	.pied-grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
	.hero-grille { grid-template-columns: 1fr; }
	.hero-visuel { max-width: 400px; order: -1; }
	.hero-texte { text-align: center; }
	.hero-intro { margin-inline: auto; }
	.hero-boutons { justify-content: center; }
	.hero-titre { font-size: clamp(2.2rem, 9vw, 3.2rem); }
	.nouv-grille { grid-template-columns: minmax(0, 1fr); }
	.nouv-visuel { order: -1; min-height: 0; max-width: 460px; width: 100%; margin-inline: auto; }
	.nouv-photo { width: 46%; top: 4%; left: 0; }
	.nouv-boite { width: min(74%, 330px); margin: 0 0 0 auto; }
	.nouv-carte { rotate: 0deg; max-width: none; box-shadow: -12px 16px 0 rgba(26, 56, 6, 0.24); }
	.apropos-grille { grid-template-columns: 1fr; }
	.apropos-photo { max-width: 320px; margin-inline: auto; }
}

@media (max-width: 640px) {
	.pm-1 { left: -1%; }
	.pm-2 { right: -2%; }
	.pm-3 { left: -3%; }
	.bloc-rea { margin-top: -28px; }
	.rea-liste { grid-template-columns: 1fr; padding-block: 10px; }
	.rea-item { border-left: 0; border-top: 1.5px dashed var(--ligne); padding: 14px 16px; }
	.rea-item:first-child { border-top: 0; }
	.cats-liste { gap: 24px 12px; }
	.cat-magnet { width: calc(50% - 6px); }
	.cat-rond { width: 128px; }
	.saisons-chemin { gap: 32px 14px; }
	.saison-rond { width: 112px; }
	.saison-titre { font-size: 1.12rem; }
	.saison-texte { font-size: 0.88rem; }
	.avis-grille:not(.is-complet) {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
		overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 4px 8px; margin-inline: -4px;
		scrollbar-width: thin;
	}
	.avis-grille:not(.is-complet) .avis-carte { scroll-snap-align: start; }
	.avis-grille:not(.is-complet) .avis-carte:nth-child(3) { display: flex; }
	.galerie-mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 132px; gap: 10px; }
	.pied-grille { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; }
	.pied-pas { display: none; }
}

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