/* Habillage « crème et blé », mise en page en bandes claires (maquette M4 retenue le 27/11/2026) : en-tête arrondi,
   bandes blé, crème et vert très pâle, anneaux de bois et pierres, timeline centrée. Aucune bande sombre, aucune
   texture ; le relief est réservé au tirage et aux pierres. */

:root {
	--cream: #fffaf0;
	--card: #fff;
	--accent: #94601a;
	--gold: #c99a46;
	--ink: #2f2412;
	--soft: #66543a;
	--parchment: #f4e6c6;
	--parchment-edge: #cfb47c;
	--green: #1d4023;
	--bark: #4a2f16;
	--line: #eadbb8;
	--shadow: 0 26px 46px -34px rgba(100, 65, 10, .65);
	--font-serif: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, "Times New Roman", serif;
	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-figures: "Times New Roman", Tinos, "Liberation Serif", serif;
	--font-rune: "Segoe UI Historic", "Noto Sans Runic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background: linear-gradient(180deg, #fffdf8 0, #fcf1da 700px, #fffaf0 1600px) #fffaf0 no-repeat;
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
}

a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.6rem); }
h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 4.4vw, 2.9rem); }
h3 { margin: 0 0 8px; font-size: 1.4rem; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 40; background: #fff; padding: 8px 12px; border-radius: 8px; }

.eyebrow { margin: 0 0 6px; color: var(--accent); font-size: .76rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; }

/* ---------- Bouton arrondi à pastille fléchée ---------- */
.pill {
	display: inline-flex; align-items: center; gap: 14px; padding: .82rem 1rem .82rem 1.8rem; border: 3px solid #e9d8a8; border-radius: 999px;
	background: linear-gradient(#2f6137, #17361c); color: #fff5da; font-size: .88rem; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; text-decoration: none;
	box-shadow: 0 0 0 2px #a3854a, 0 16px 28px -14px rgba(40, 22, 4, .7); transition: transform .15s ease, filter .15s ease;
}
.pill::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4.5 16.5 12 9 19.5' fill='none' stroke='%2317361c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 52% no-repeat, radial-gradient(circle at 40% 30%, #fffbe9, #ecd592 70%, #c9a552); }
.pill:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }
.pill:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.pill--small { gap: 10px; padding: .45rem .5rem .45rem 1.2rem; border-width: 2px; font-size: .76rem; box-shadow: 0 0 0 1px #a3854a, 0 10px 18px -12px rgba(40, 22, 4, .7); }
.pill--small::after { width: 26px; height: 26px; }

/* ---------- Boutons verts : tirage et page de résultat ---------- */
.btn {
	display: inline-block; padding: .8rem 2.1rem; border: 1px solid #e3c98c; border-radius: 6px; cursor: pointer;
	background: linear-gradient(180deg, #2c5a32, #17361c); color: #fbf3dc; font: inherit; font-weight: 700; letter-spacing: .03em; text-decoration: none;
	box-shadow: 0 8px 18px -8px rgba(40, 22, 4, .75); transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.1); color: #fff; }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
/* Bouton final « broderie » : tissu vert des bourses, surpiqûres, pastille fléchée */
.btn.btn--final {
	position: relative; max-width: min(100%, 640px); padding: .78rem 4.05rem .83rem 1.75rem; border: 3px solid #e9d8a8; border-radius: 999px; color: #fff5da; font-size: clamp(1.06rem, 2.4vw, 1.2rem); line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 2px 3px rgba(0, 0, 0, .6);
	background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, 0) 1px 4px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, .14) 0 1px, rgba(0, 0, 0, 0) 1px 4px), radial-gradient(ellipse at 50% 30%, #3d7447, #1f4a2a 60%, #102d18);
	box-shadow: 0 0 0 2px #a3854a, 0 10px 18px rgba(20, 10, 0, .65);
	animation: finalIn .7s cubic-bezier(.2, 1.4, .4, 1) both, glow 2.2s .7s ease-in-out infinite;
}
/* surpiqûres */
.btn--final::before { content: ""; position: absolute; inset: 4px; border: 1.5px dashed rgba(240, 224, 176, .85); border-radius: inherit; pointer-events: none; }
/* pastille : la flèche avance pour inviter à continuer */
.btn--final::after { content: ""; position: absolute; right: 9px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4.5 16.5 12 9 19.5' fill='none' stroke='%2317361c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 52% no-repeat, radial-gradient(circle at 40% 30%, #fffbe9, #ecd592 70%, #c9a552); box-shadow: 0 2px 6px rgba(0, 0, 0, .5); animation: nudge 1.4s ease-in-out infinite; pointer-events: none; }
@keyframes nudge { 50% { translate: 4px 0; } }
@keyframes finalIn { from { opacity: 0; transform: translateY(24px) scale(.8); } }
@keyframes glow {
	0%, 100% { box-shadow: 0 0 0 2px #a3854a, 0 10px 18px rgba(20, 10, 0, .65), 0 0 18px 3px rgba(255, 230, 150, .35); }
	50% { box-shadow: 0 0 0 2px #a3854a, 0 10px 18px rgba(20, 10, 0, .65), 0 0 28px 9px rgba(255, 230, 150, .75); transform: scale(1.025); }
}

/* ---------- En-tête arrondi ; le logo reprend celui qui ouvre le tirage ---------- */
.site-header { width: 100%; max-width: 1228px; margin: 0 auto; padding: 16px 14px 0; }
.site-header__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 8px 12px 8px 24px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: 0 18px 40px -28px rgba(100, 65, 10, .6); }
.site-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-family: var(--font-serif); text-decoration: none; }
.site-logo__sprig { width: 52px; height: auto; }
.site-logo__name { font-size: 1.75rem; line-height: 1.1; white-space: nowrap; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(16px, 2.6vw, 36px); margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-block; padding: 6px 0; border-bottom: 2px solid transparent; color: #4c3a1c; font-size: .92rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: var(--gold); }
@media (max-width: 860px) {
	.site-header__row { justify-content: center; padding: 10px 14px 6px; border-radius: 28px; }
	.site-header nav { width: 100%; }
	.site-header .pill { display: none; }
	.site-logo__sprig { width: 46px; }
	.site-logo__name { font-size: 1.55rem; }
	.site-nav { gap: 2px 18px; }
}

.site-main { flex: 1 0 auto; overflow-x: clip; }

/* ---------- Titre de page ---------- */
.hero { max-width: 960px; margin: 0 auto; padding: 26px 14px 0; text-align: center; }
.hero__lead { margin: 6px auto 0; max-width: 38em; color: var(--soft); text-wrap: pretty; }

.ad { width: calc(100% - 24px); margin: 28px auto; text-align: center; }
.ad--placeholder { display: flex; align-items: center; justify-content: center; border: 1px dashed #c4ad80; border-radius: 8px; color: #7a684a; font-size: .85rem; }

/* ---------- Formats publicitaires (mêmes seuils que config/ads.php) : 970 × 250 sur ordinateur, 336 × 280 sur mobile et
   tablette, 300 × 250 sur petit mobile. La place est réservée pour éviter les sauts de mise en page. ---------- */
.ad--format { --ad-w: 300px; --ad-h: 250px; width: 100%; min-height: var(--ad-h) !important; margin-block: 20px; }
@media (min-width: 376px) { .ad--format { --ad-w: 336px; --ad-h: 280px; } }
@media (min-width: 1000px) { .ad--format { --ad-w: 970px; --ad-h: 250px; } }
/* cadre témoin (hors production) à la taille exacte du bloc */
.ad--placeholder.ad--format { width: min(var(--ad-w), 100%); height: var(--ad-h); }
@media (max-width: 339px) { .ad--placeholder.ad--format { --ad-w: calc(100% - 24px); } }
.ad--placeholder.ad--format span::after { content: " (300 \00D7\a0 250)"; }
@media (min-width: 376px) { .ad--placeholder.ad--format span::after { content: " (336 \00D7\a0 280)"; } }
@media (min-width: 1000px) { .ad--placeholder.ad--format span::after { content: " (970 \00D7\a0 250)"; } }

/* ---------- Bandes claires ---------- */
.band { position: relative; padding: clamp(46px, 7vw, 88px) 16px; text-align: center; scroll-margin-top: 0; }
.band--wheat { background: linear-gradient(#f8e7bd, #fbf0d6); }
.band--cream { background: var(--cream); }
.band--sage { background: linear-gradient(#f3f3e2, #f8f6ea); }
.wrap { position: relative; width: 100%; max-width: 1160px; margin: 0 auto; }
.wrap--narrow { max-width: 860px; }
.band__lead { margin: 0 auto 30px; max-width: 42em; color: var(--soft); text-wrap: pretty; }
.band__note { margin: 36px auto 0; max-width: 50em; color: var(--soft); font-size: .98rem; text-wrap: pretty; }

/* ---------- Anneau de bois et pierre ---------- */
.ring { position: relative; display: grid; place-items: center; width: 220px; max-width: 100%; aspect-ratio: 360 / 366; margin: 0 auto; background: url("../img/celtic/anneau.webp") center / contain no-repeat; filter: drop-shadow(0 14px 14px rgba(90, 50, 5, .3)); }
.ring .stone { width: 58%; max-width: none; }
.ring b { position: absolute; right: -4px; top: 4px; display: grid; place-items: center; width: 50px; height: 50px; border: 3px solid #e9d8a8; border-radius: 50%; background: var(--green); color: #fff5da; font: 700 1.25rem var(--font-figures); }
.stone { display: block; width: 100%; max-width: var(--stone-w, 104px); height: auto; }

/* ---------- Comment ça marche ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 40px 0 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 110px; border-top: 3px dotted var(--gold); }
.steps li { position: relative; }
.steps .ring { margin-bottom: 22px; }
.steps h3 { font-size: 1.75rem; }
.steps p { max-width: 20em; margin: 0 auto; color: var(--soft); font-size: .98rem; }
@media (max-width: 760px) {
	.steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.steps::before { display: none; }
	.steps .ring { width: 170px; margin-bottom: 14px; }
}

/* ---------- Histoire : timeline centrée ---------- */
.history { overflow: hidden; }
.page-home .band { padding-block: clamp(30px, 3.6vw, 44px); }   /* accueil : bandes resserrées */
.page-home .history { padding-bottom: 10px; }                   /* la publicité suit le bandeau d'article : 30 px avec sa marge */
.page-home .ad + .band { padding-top: 26px; }                   /* titre rapproché de la publicité qui précède */
.watermark { position: absolute; right: 3%; top: 20px; color: rgba(160, 106, 23, .07); font-family: var(--font-rune); font-size: clamp(220px, 32vw, 420px); line-height: 1; pointer-events: none; }
.timeline { position: relative; margin: 20px 0 56px; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(rgba(201, 154, 70, 0), var(--gold) 12%, var(--gold) 88%, rgba(201, 154, 70, 0)); }
.timeline li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; align-items: center; min-height: 156px; }
.timeline li::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; translate: -50% -50%; border: 4px solid var(--gold); border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 7px rgba(201, 154, 70, .18); }
.timeline__year { color: var(--green); font: 700 clamp(2.6rem, 6vw, 4.75rem)/1 var(--font-figures); text-align: right; }
.timeline__card { padding: 20px 28px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); text-align: left; }
.timeline__card h3 { margin-bottom: 4px; font-size: 1.55rem; }
.timeline__card p { margin: 0; color: var(--soft); font-size: .98rem; }
.timeline li:nth-child(even) .timeline__year { order: 2; text-align: left; }
.timeline li:nth-child(even) .timeline__card { text-align: right; }
@media (max-width: 700px) {
	.timeline::before { left: 11px; }
	.timeline li { display: block; min-height: 0; margin-bottom: 22px; padding-left: 40px; text-align: left; }
	.timeline li::after { left: 11px; top: 22px; width: 16px; height: 16px; }
	.timeline__year { display: block; margin-bottom: 6px; text-align: left; }
	.timeline li:nth-child(even) .timeline__card { text-align: left; }
}
.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; text-align: left; }
.articles article { padding: 28px 28px 14px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); }
.articles p { margin: 0 0 1em; font-size: .98rem; }

/* ---------- Les 24 runes de l'accueil : trois familles de huit pierres ---------- */
.coll { display: grid; gap: 18px; margin: 0 0 34px; }
.coll__aett { --band: #f8e5b6; --soft-band: #fcf3da; --edge: #c99a46; padding: 16px 8px 12px; border: 2px solid var(--edge); border-radius: 28px; background: linear-gradient(var(--band), var(--soft-band)); box-shadow: var(--shadow); }
.coll__aett--2 { --band: #dfe6cd; --soft-band: #f0f3e6; --edge: #7d9b6a; }
.coll__aett--3 { --band: #f2d9c4; --soft-band: #fbede1; --edge: #b4764c; }
.coll__aett h3 { margin: 0 0 12px; color: var(--green); font-size: 1.35rem; }
.coll__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 2px; margin: 0; padding: 0; list-style: none; }
.coll__list a { display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 18px; color: var(--green); font-size: .8rem; font-weight: 600; text-decoration: none; }
.coll__list span { position: relative; margin-top: -6px; }
.coll__list a:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.coll__list .stone { width: min(100%, 76px); filter: drop-shadow(0 8px 7px rgba(90, 55, 5, .28)); }
.coll__list li:nth-child(odd) .stone { rotate: -5deg; }
.coll__list li:nth-child(even) .stone { rotate: 4deg; }
@media (min-width: 640px) { .coll__list { grid-template-columns: repeat(8, minmax(0, 1fr)); } .coll__aett { padding: 18px 16px 14px; } }
@media (min-width: 960px) { .coll { grid-template-columns: repeat(3, minmax(0, 1fr)); } .coll__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } .coll__aett { padding-inline: 12px; } }

/* ---------- Questions fréquentes ---------- */
.faq h2 { margin-bottom: 34px; }
.faq details { margin-bottom: 14px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); text-align: left; }
.faq details[open] { background: linear-gradient(135deg, #fff7df, #fbe7b4); }
.faq summary { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 76px 18px 24px; border-radius: 22px; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary b { color: var(--gold); font: 700 .95rem var(--font-figures); }
.faq summary h3 { margin: 0; font-size: 1.3rem; line-height: 1.35; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; translate: 0 -50%; border-radius: 50%; background: #f6ead0; color: var(--green); font-size: 1.45rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; background: var(--green); color: #fbeed0; }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.faq details p { margin: 0; padding: 0 60px 22px 58px; color: var(--soft); }
@media (max-width: 560px) {
	.faq summary { gap: 12px; padding: 16px 62px 16px 16px; }
	.faq summary h3 { font-size: 1.1rem; }
	.faq summary::after { right: 12px; width: 36px; height: 36px; }
	.faq details p { padding: 0 18px 18px 40px; }
}

/* ---------- Dernier bloc : invitation et pied de page fin ---------- */
.finale { flex: none; margin-top: 24px; background: linear-gradient(#f8e7bd, #fbf0d6); }
.page-home .finale { margin-top: 0; }
.cta { padding: clamp(40px, 6vw, 70px) 16px clamp(36px, 5vw, 56px); text-align: center; }
.cta__bags { display: flex; justify-content: center; width: fit-content; max-width: 100%; margin: 0 auto 4px; cursor: pointer; }   /* seules les bourses sont cliquables */
.cta__bags img { width: clamp(96px, 16vw, 170px); height: auto; margin: 0 -10px; filter: drop-shadow(0 14px 12px rgba(90, 55, 5, .25)); }
.cta p { margin: 0 auto 26px; max-width: 32em; color: var(--soft); }
/* Encart vers un article (includes/runes.php, culture_teaser) */
.teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; max-width: 892px; margin: 30px auto; padding: 20px 26px; border: 2px solid var(--parchment-edge); border-radius: 28px; background: linear-gradient(120deg, #f8e5b6, #fbf1d9); box-shadow: var(--shadow); text-align: center; }
.teaser__stones { display: flex; flex: none; }
.teaser__stones .stone { width: 62px; margin: 0 -6px; }
.teaser > div { flex: 1 1 280px; }
.teaser__title { margin: 0; color: var(--green); font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.3; text-wrap: balance; }
.teaser__text { margin: 4px 0 0; color: var(--soft); font-size: .92rem; }
.wrap > .teaser, .band .teaser { width: 100%; }

/* Bandeau illustré de l'accueil : l'image en fond, une carte crème à gauche ; tout le bandeau est cliquable */
.promo { position: relative; display: flex; align-items: center; min-height: 360px; margin: 46px auto 0; padding: 24px; overflow: hidden; border: 4px solid #e9d8a8; border-radius: 34px; box-shadow: 0 0 0 2px #a3854a, 0 34px 50px -30px rgba(80, 48, 5, .75); text-align: left; }
.promo__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; transition: scale .9s cubic-bezier(.2, .7, .2, 1); }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 244, 214, .55), rgba(255, 244, 214, 0) 62%); pointer-events: none; }
.promo__card { position: relative; z-index: 1; max-width: 470px; padding: 26px 30px; text-align: center; border-radius: 26px; background: rgba(255, 251, 240, .94); box-shadow: 0 22px 34px -18px rgba(50, 28, 0, .6); }
.promo__card .eyebrow { margin-bottom: 8px; }
.promo__title { margin: 0 0 10px; color: var(--green); font-family: var(--font-serif); font-size: clamp(1.5rem, 3.2vw, 2.15rem); line-height: 1.2; text-wrap: balance; }
.promo__text { margin: 0 0 18px; color: var(--soft); text-wrap: balance; }
/* sur grand écran, l'image commence après le premier quart pour que la lyre ne soit pas cachée par la carte ;
   le fond reprend ses tons, et son bord gauche s'y fond */
@media (min-width: 920.02px) {
	.promo { background: linear-gradient(100deg, #f8e5b6, #d9b874 40%, #6d5a36); }
	.promo__image { left: 28%; width: 72%; object-position: 50% 50%; transform-origin: 70% 60%; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), #000 18%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), #000 18%); }
	.promo__card { max-width: 430px; }
	.promo::after { content: none; }
}
/* le texte et le bouton passent au-dessus du voile ; la zone cliquable du lien couvre tout le bandeau */
.promo__card { z-index: 2; }
.promo__link::marker { content: none; }
.promo__cover { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.promo__cover .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.promo__cover:focus-visible { outline: 4px solid var(--accent); outline-offset: -8px; }
.promo:hover .promo__image { scale: 1.05; }
.promo:hover .promo:hover .promo__link { filter: brightness(1.1); }
@media (max-width: 920px) {
	.promo { flex-direction: column; align-items: stretch; min-height: 0; padding: 0; border-radius: 28px; text-align: center; }
	.promo::after { content: none; }
	.promo__image { position: static; height: auto; aspect-ratio: 16 / 10; }
	.promo__card { max-width: none; padding: 24px 20px 26px; border-radius: 0; box-shadow: none; background: linear-gradient(#fffaec, #fbeec9); }
	}

/* Bannière de suggestion de langue (assets/js/langsuggest.js) : fixe en bas, non bloquante, sans décalage de mise en
   page ; elle redescend hors de l'écran quand une publicité arrive à sa hauteur */
.lang-suggest { position: fixed; left: 50%; bottom: 12px; z-index: 35; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; width: max-content; max-width: calc(100% - 20px); padding: 12px 20px; translate: -50% 0; transform: translateY(calc(100% + 24px)); visibility: hidden; border: 3px solid #e9d8a8; border-radius: 28px; background: linear-gradient(#fffdf6, #fbeec9); box-shadow: 0 0 0 2px #a3854a, 0 18px 30px -14px rgba(80, 48, 5, .75); color: var(--ink); font-size: .92rem; transition: transform .35s ease, visibility 0s .35s; }
.lang-suggest.is-in { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.lang-suggest.is-away { transform: translateY(calc(100% + 24px)); visibility: hidden; transition: none; }      /* jamais sur une publicité */
.lang-suggest__msg { margin: 0; font-weight: 600; }
.lang-suggest__go { padding: 7px 18px; border-radius: 999px; background: linear-gradient(#2f6137, #17361c); color: #fff5da; font-weight: 700; text-decoration: none; }
.lang-suggest__go:hover { color: #fff; filter: brightness(1.12); }
.lang-suggest__no { padding: 6px 4px; border: 0; background: none; color: var(--soft); font: inherit; text-decoration: underline; cursor: pointer; }
.lang-suggest__go:focus-visible, .lang-suggest__no:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Pied de page, centré sous un filet : pages légales, choix de la langue, puis la mention */
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 900px; margin: 0 auto; padding: 18px 20px 22px; border-top: 1px solid rgba(160, 106, 23, .25); color: var(--soft); font-size: .8rem; line-height: 1.5; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 4px; font-size: .86rem; font-weight: 600; }
.footer-links > * { display: inline-flex; align-items: center; }
/* un petit losange blé entre deux liens */
.footer-links > * + *::before { content: ""; width: 6px; height: 6px; margin: 0 14px; rotate: 45deg; background: var(--gold); }
.footer-links a, .footer-consent { color: var(--bark); text-decoration: none; }
.footer-consent { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.footer-links a:hover, .footer-consent:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.footer-links a:focus-visible, .footer-consent:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
/* 13 langues : drapeau et nom de la langue, une pastille chacune ; en colonnes régulières sur petit écran */
.footer-langs { width: 100%; }
.footer-langs ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-langs li { display: flex; }
.footer-langs a, .footer-langs .is-soon { display: flex; flex: 1; align-items: center; gap: 8px; min-height: 34px; padding: 5px 13px; border: 1px solid var(--parchment-edge); border-radius: 999px; background: rgba(255, 255, 255, .55); color: var(--ink); font-weight: 600; line-height: 1.2; text-align: left; text-decoration: none; }
.footer-langs a:hover { background: var(--card); box-shadow: 0 6px 14px -10px rgba(100, 65, 10, .7); }
.footer-langs a[aria-current] { border-color: var(--gold); background: var(--card); box-shadow: 0 0 0 1px var(--gold); }
.footer-langs a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.footer-langs .is-soon { opacity: .55; cursor: default; }
.footer-langs img { display: block; flex: none; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; }
.footer-langs .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; margin: 0; font-size: .76rem; }
.site-footer__legal span + span::before { content: "·"; margin-right: 10px; }
@media (max-width: 620px) {
	.site-footer__legal { flex-direction: column; }
	.site-footer__legal span + span::before { content: none; }
	.footer-links { column-gap: 18px; }                    /* sur plusieurs lignes, les losanges se retrouveraient en tête de ligne */
	.footer-links > * + *::before { content: none; }
	.footer-langs ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.footer-langs li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; }   /* pastille seule sur le dernier rang : centrée */
}
@media (min-width: 620.02px) and (max-width: 860px) {
	.footer-langs ul { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 459.98px) {
	.footer-langs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 419.98px) {
	.footer-links { font-size: .8rem; }
	.footer-langs a, .footer-langs .is-soon { gap: 6px; padding: 5px 10px; }
}
