/* cerclesdefemmes.fr — feuille unique. Tokens repris du thème d'origine (Fraunces + Inter,
   palette terracotta / sauge / pourpre sur fond ivoire). */
:root {
	--terracotta: #C97B5E;
	--terracotta-fonce: #94523A;
	--terracotta-soft: #E2A88E;
	--sauge: #8AA295;
	--sauge-fonce: #4F6B5D;
	--sauge-soft: #DCE5DF;
	--creme: #F4EBDD;
	--creme-deep: #EAD9BF;
	--ivoire: #FBF7F0;
	--pourpre: #3D2C42;
	--pourpre-soft: #5C4863;
	--charbon: #1F1A19;
	--rose: #E8C9C0;
	--ocre: #C8985A;
	--ocre-fonce: #8A6326;
	--trait: rgba(61, 44, 66, 0.12);
	/* Couleurs sémantiques : fiche active (date récente) / à confirmer (sans date publiée). */
	--ok-doux: #E6EEE9;
	--ok-filet: #B9CCC1;
	--doute-doux: #F6ECDD;
	--doute-filet: #E3CBA2;
	--display: "Fraunces", "Cormorant Garamond", Georgia, serif;
	--body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--largeur: 72rem;
	--texte: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ivoire);
	color: var(--charbon);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.65;
}
::selection { background: var(--rose); color: var(--pourpre); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 3px; }
img, svg { max-width: 100%; }
input, select { accent-color: var(--terracotta-fonce); }

a { color: var(--pourpre); text-decoration-color: var(--terracotta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta-fonce); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--pourpre); line-height: 1.15; letter-spacing: -0.01em; font-variation-settings: "SOFT" 60, "WONK" 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0.2em 0 0.4em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin: 2.2em 0 0.6em; }
h3 { font-size: 1.3rem; margin: 1.6em 0 0.4em; }
h1 em, h2 em { font-style: italic; color: var(--terracotta-fonce); font-variation-settings: "SOFT" 100, "WONK" 1; }
p, li, dd { text-wrap: pretty; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }

.eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta-fonce); font-weight: 600; margin: 0 0 0.6rem; }
.lede { font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.45; color: var(--pourpre-soft); max-width: var(--texte); }
.sous-titre { color: var(--pourpre-soft); font-size: 1.1rem; max-width: var(--texte); }

/* ---- En-tête -------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(251, 247, 240, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); }
.site-header__inner { max-width: var(--largeur); margin: 0 auto; padding: 0.8rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-link { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--pourpre); }
.brand-mark { width: 32px; height: 32px; color: var(--terracotta); flex-shrink: 0; }
.brand-wordmark { font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; margin: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.site-nav li { margin: 0; }
.site-nav a { text-decoration: none; font-size: 0.95rem; color: var(--pourpre); }
.site-nav a:hover { color: var(--terracotta-fonce); }
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn { display: none; }

@media (max-width: 760px) {
	.menu-btn { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
	.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: var(--pourpre); position: relative; content: ""; transition: transform 0.2s; }
	.menu-btn span::before { position: absolute; top: -7px; }
	.menu-btn span::after { position: absolute; top: 7px; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivoire); border-bottom: 1px solid var(--trait); padding: 0.5rem 1rem 1rem; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav a { display: block; padding: 0.7rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--trait); }
	.menu-toggle:checked ~ .site-nav { display: block; }
	.menu-toggle:checked + .menu-btn span { background: transparent; }
	.menu-toggle:checked + .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
	.menu-toggle:checked + .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
}

/* ---- Mise en page --------------------------------------------------- */
main { max-width: var(--largeur); margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.page > p, .page > ul, .page > ol, .page > h2, .page > h3, .page > .sous-titre, .prose > * { max-width: var(--texte); }
.ariane ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.3rem; font-size: 0.85rem; color: var(--pourpre-soft); }
.ariane li { margin: 0; }
.ariane li + li::before { content: "›"; margin-right: 0.3rem; color: var(--terracotta); }

/* ---- Accueil -------------------------------------------------------- */
.hero { display: grid; gap: 2rem; padding: 1.5rem 0 1rem; }
.hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); margin: 0; }
.hero__chiffres { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; margin: 0.4rem 0 0; padding: 0; list-style: none; }
.hero__chiffres li { margin: 0; }
.hero__chiffres strong { display: block; font-family: var(--display); font-size: 2rem; font-weight: 400; color: var(--terracotta-fonce); line-height: 1.1; }
.hero__chiffres span { font-size: 0.85rem; color: var(--pourpre-soft); }
.choix-zone { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 0.8rem 0 0; }
.choix-zone select { font: inherit; font-size: 1rem; padding: 0.7rem 0.9rem; border-radius: 999px; border: 1px solid var(--trait); background: #fff; color: var(--pourpre); min-width: min(100%, 18rem); }
.btn { display: inline-flex; align-items: center; gap: 0.4rem; height: 46px; padding: 0 1.3rem; border-radius: 999px; border: 0; background: var(--pourpre); color: var(--ivoire); font: inherit; font-size: 0.95rem; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--terracotta-fonce); color: #fff; }
.btn--clair { background: transparent; color: var(--pourpre); border: 1px solid var(--pourpre); }
.btn--clair:hover { background: var(--pourpre); color: var(--ivoire); }

.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0.8rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.regions li { margin: 0; }
.regions a { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; padding: 0.9rem 1.1rem; border: 1px solid var(--trait); border-radius: 14px; background: #fff; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.regions a:hover { border-color: var(--terracotta); transform: translateY(-1px); }
.regions .nom { font-family: var(--display); font-size: 1.15rem; color: var(--pourpre); }
.regions .nb { font-size: 0.85rem; color: var(--sauge-fonce); white-space: nowrap; }

.bandeau { background: var(--creme); border-radius: 22px; padding: 1.6rem 1.4rem; margin: 2.5rem 0; }
.bandeau h2 { margin-top: 0; }
.bandeau > * { max-width: var(--texte); }

.cartes-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; margin: 1rem 0; }
.carte-guide { display: block; padding: 1.3rem; border-radius: 18px; background: #fff; border: 1px solid var(--trait); text-decoration: none; color: var(--charbon); }
.carte-guide:hover { border-color: var(--terracotta); }
.carte-guide h2, .carte-guide h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.carte-guide p { margin: 0; font-size: 0.95rem; color: var(--pourpre-soft); }

/* ---- Carte ---------------------------------------------------------- */
.autour { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 1.6rem 0 0; }
.autour .btn svg { flex-shrink: 0; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.autour__etat { margin: 0; font-size: 0.95rem; color: var(--pourpre-soft); }
.autour-liste { list-style: none; padding: 0; margin: -0.6rem 0 1.4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 0.5rem; }
.autour-liste li { margin: 0; }
.autour-liste a { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; padding: 0.6rem 0.9rem; border: 1px solid var(--trait); border-radius: 12px; background: #fff; text-decoration: none; }
.autour-liste a:hover { border-color: var(--terracotta); }
.autour-liste strong { font-family: var(--display); font-weight: 400; font-size: 1.02rem; color: var(--pourpre); }
.autour-liste span { font-size: 0.85rem; color: var(--pourpre-soft); white-space: nowrap; }
.carte { height: 420px; border-radius: 20px; overflow: hidden; border: 1px solid var(--trait); margin: 1.2rem 0 1.6rem; background: var(--creme); z-index: 1; }
@media (max-width: 600px) { .carte { height: 320px; } }
.leaflet-popup-content { font-family: var(--body); font-size: 0.9rem; }
.leaflet-container .leaflet-control-attribution { padding: 2px 8px; background: rgba(255, 255, 255, 0.9); color: var(--charbon); }
.leaflet-container .leaflet-control-attribution a { color: var(--pourpre); }
.leaflet-popup-content strong { font-family: var(--display); font-weight: 500; font-size: 1rem; color: var(--pourpre); }

/* ---- Fiches --------------------------------------------------------- */
.fiches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1rem; margin: 1rem 0 0; }
.fiche { background: #fff; border: 1px solid var(--trait); border-radius: 18px; padding: 1.1rem 1.2rem 1rem; display: flex; flex-direction: column; }
.fiche__type { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta-fonce); font-weight: 600; margin: 0 0 0.3rem; }
.fiche__nom { font-size: 1.2rem; margin: 0 0 0.2rem; }
.fiche__lieu { font-size: 0.92rem; color: var(--pourpre-soft); margin: 0 0 0.6rem; }
.fiche__etat { font-size: 0.92rem; margin: 0 0 0.8rem; }
.fiche--active { background: var(--ok-doux); border-color: var(--ok-filet); }
.fiche--probable { background: var(--doute-doux); border-color: var(--doute-filet); }
.pastille { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; margin-right: 0.45rem; vertical-align: 0.05em; }
.fiche--active .pastille { background: var(--sauge-fonce); }
.fiche--probable .pastille { background: var(--ocre); }
.fiche__sources { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fiche__sources li { margin: 0; }
.fiche__sources a { display: inline-block; font-size: 0.85rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: #fff; color: var(--pourpre); text-decoration: none; font-weight: 500; border: 1px solid var(--trait); }
.fiche__sources a:hover { background: var(--pourpre); color: #fff; border-color: var(--pourpre); }
.legende { font-size: 0.88rem; color: var(--pourpre-soft); display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.legende span { white-space: nowrap; }
.legende .pastille { margin-right: 0.35rem; }
.legende .a .pastille { background: var(--sauge-fonce); }
.legende .p .pastille { background: var(--ocre); }

.groupe-dep { margin-top: 2.2rem; }
.groupe-dep h2 { margin: 0 0 0.2rem; }
.groupe-dep .lien-dep { font-size: 0.95rem; margin: 0 0 0.6rem; }

.faits { background: var(--creme); border-radius: 18px; padding: 1.2rem 1.4rem; margin: 1.2rem 0; max-width: var(--texte); }
.faits p:last-child { margin-bottom: 0; }

/* ---- Guides --------------------------------------------------------- */
.guide { max-width: var(--texte); }
.guide h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.byline { font-size: 0.88rem; color: var(--pourpre-soft); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); padding: 0.6rem 0; margin: 1rem 0 1.8rem; }
.encadre { background: var(--sauge-soft); border-radius: 16px; padding: 1rem 1.2rem; margin: 1.4rem 0; }
.encadre p:last-child { margin-bottom: 0; }
.faq dt { font-family: var(--display); font-size: 1.15rem; color: var(--pourpre); margin-top: 1.2rem; }
.faq dd { margin: 0.3rem 0 0; }
.sources { font-size: 0.88rem; color: var(--pourpre-soft); margin-top: 2.5rem; }
.suite { margin-top: 2.5rem; }

/* ---- Pied de page --------------------------------------------------- */
.site-footer { background: var(--pourpre); color: var(--creme); margin-top: 3rem; }
.site-footer a { color: var(--creme); text-decoration-color: var(--terracotta-soft); }
.site-footer a:hover { color: #fff; }
.site-footer__inner { max-width: var(--largeur); margin: 0 auto; padding: 2.5rem 1rem 1rem; display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.site-footer li { margin-bottom: 0.35rem; }
.footer-brand p { font-size: 0.92rem; }
.footer-brand .brand-wordmark { font-size: 1.4rem; color: #fff; }
.footer-title { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta-soft); font-weight: 600; margin: 0 0 0.6rem; }
.footer-bottom { max-width: var(--largeur); margin: 0 auto; padding: 1rem; font-size: 0.82rem; color: var(--creme-deep); border-top: 1px solid rgba(244, 235, 221, 0.15); }
